OTAPC result code definitions

C

#define BLE_OTAPC_RESULT_SUCCESS              (0x00U)
#define BLE_OTAPC_RESULT_INVALID_STATE        (0x01U)
#define BLE_OTAPC_RESULT_NOT_SUPPORTED        (0x02U)
#define BLE_OTAPC_RESULT_OPERATION_FAILED     (0x03U)
#define BLE_OTAPC_RESULT_INVALID_PARA         (0x04U)
#define BLE_OTAPC_RESULT_UNSPECIED_ERROR      (0x05U)

Description

Defines result codes from OTA operations.

Macro Definition

MacroDescription
BLE_OTAPC_RESULT_SUCCESSOperation completed successfully.
BLE_OTAPC_RESULT_INVALID_STATEOperation failed due to an invalid state.
BLE_OTAPC_RESULT_NOT_SUPPORTEDOperation failed because it is not supported.
BLE_OTAPC_RESULT_OPERATION_FAILEDOperation failed to complete as requested.
BLE_OTAPC_RESULT_INVALID_PARAOperation failed due to invalid parameters.
BLE_OTAPC_RESULT_UNSPECIED_ERROROperation failed due to an unspecified error.