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 type of BLE OTA profile callback events.
Enumerator | Description |
---|---|
BLE_OTAPC_EVT_SEC_REQ | Encryption is required accessing OTA Service characteristic at remote. Application should encrypt the link to perform further OTA operations. See BLE_OTAPC_EvtSecReq_T for event details. |
BLE_OTAPC_EVT_CONNECT_IND | OTA profile is ready to perform firmware update procedure. See BLE_OTAPC_EvtConnectInd_T for event details. |
BLE_OTAPC_EVT_FEATURE_IND | The supported feature of the OTA server read by BLE_OTAPC_FeatureDisc. See BLE_OTAPC_EvtFeatureInd_T for event details. |
BLE_OTAPC_EVT_REQ_RSP_IND | The response of BLE_OTAPC_UpdateRequest operation. See BLE_OTAPC_EvtReqRspInd_T for event details. |
BLE_OTAPC_EVT_START_RSP_IND | The response of BLE_OTAPC_UpdateStart operation. See BLE_OTAPC_EvtStartRspInd_T for event details. |
BLE_OTAPC_EVT_FRAGMENT_COMPL_IND | The notification of BLE_OTAPC_FragmentDist operation. See BLE_OTAPC_EvtFragmentComplInd_T for event details. Application shall wait this event after the total length of sent fragmented images reaches to max fragmented image size before distributing the next fragmented images. If the length of remaining fragmented image is less than max fragmented image size, application shall wait this event before calling BLE_OTAPC_UpdateComplete. |
BLE_OTAPC_EVT_COMPLETE_RSP_IND | The response of BLE_OTAPC_UpdateComplete operation. See BLE_OTAPC_EvtCompleteRspInd_T for event details. |
BLE_OTAPC_EVT_ERR_UNSPECIFIED_IND | Profile internal unspecified error occurs. |