BLE_OTAPC_EventId_T
C
typedef enum BLE_OTAPC_EventId_T
{
BLE_OTAPC_EVT_SEC_REQ = 0x00,
BLE_OTAPC_EVT_CONNECT_IND,
BLE_OTAPC_EVT_FEATURE_IND,
BLE_OTAPC_EVT_REQ_RSP_IND,
BLE_OTAPC_EVT_START_RSP_IND,
BLE_OTAPC_EVT_FRAGMENT_COMPL_IND,
BLE_OTAPC_EVT_COMPLETE_RSP_IND,
BLE_OTAPC_EVT_ERR_UNSPECIFIED_IND
}BLE_OTAPC_EventId_T;
Description
Enumeration for BLE OTA profile callback events.
Enumerator | Description |
---|---|
BLE_OTAPC_EVT_SEC_REQ | Request for link encryption to access OTA Service characteristic. Applications should encrypt the link for OTA operations. Refer to BLE_OTAPC_EvtSecReq_T for details. |
BLE_OTAPC_EVT_CONNECT_IND | OTA profile ready for firmware update. Refer to BLE_OTAPC_EvtConnectInd_T for details. |
BLE_OTAPC_EVT_FEATURE_IND | Supported OTA server features read. Refer to BLE_OTAPC_EvtFeatureInd_T for details. |
BLE_OTAPC_EVT_REQ_RSP_IND | Response for update request received. Refer to BLE_OTAPC_EvtReqRspInd_T for details. |
BLE_OTAPC_EVT_START_RSP_IND | Response for start update received. Refer to BLE_OTAPC_EvtStartRspInd_T for details. |
BLE_OTAPC_EVT_FRAGMENT_COMPL_IND | Notification that a fragment distribution is complete. Applications should wait for this event after sending fragments reaching the max size before sending more. For the last fragment, wait for this event before completing the update. Refer to BLE_OTAPC_EvtFragmentComplInd_T for details. |
BLE_OTAPC_EVT_COMPLETE_RSP_IND | Response for complete update received. Refer to BLE_OTAPC_EvtCompleteRspInd_T for details. |
BLE_OTAPC_EVT_ERR_UNSPECIFIED_IND | Unspecified internal error occurred. |