1.2.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

MacroDescription
BLE_OTAPC_RESULT_SUCCESSResponse for successful operation.
BLE_OTAPC_RESULT_INVALID_STATEResponse if the requested operation is not valid in the current state of the firmware update process.
BLE_OTAPC_RESULT_NOT_SUPPORTEDResponse if unsupported Opcode is received.
BLE_OTAPC_RESULT_OPERATION_FAILEDResponse if the requested operation failed.
BLE_OTAPC_RESULT_INVALID_PARAResponse if Parameter received does not meet the requirements of the service.
BLE_OTAPC_RESULT_UNSPECIED_ERRORThe server has encountered an unspecified error.