1.1.2.3.4.1.1.5 OTAPC result code
C
#define BLE_OTAPC_RESULT_SUCCESS 0x00 #define BLE_OTAPC_RESULT_INVALID_STATE 0x01 #define BLE_OTAPC_RESULT_NOT_SUPPORTED 0x02 #define BLE_OTAPC_RESULT_OPERATION_FAILED 0x03 #define BLE_OTAPC_RESULT_INVALID_PARA 0x04 #define BLE_OTAPC_RESULT_UNSPECIED_ERROR 0x05
Description
The definition of operation result.
Macro Definition
Macro | Description |
---|---|
BLE_OTAPC_RESULT_SUCCESS | Response for successful operation. |
BLE_OTAPC_RESULT_INVALID_STATE | Response if the requested operation is not valid in the current state of the firmware update process. |
BLE_OTAPC_RESULT_NOT_SUPPORTED | Response if unsupported Opcode is received. |
BLE_OTAPC_RESULT_OPERATION_FAILED | Response if the requested operation failed. |
BLE_OTAPC_RESULT_INVALID_PARA | Response if Parameter received does not meet the requirements of the service. |
BLE_OTAPC_RESULT_UNSPECIED_ERROR | The server has encountered an unspecified error. |