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.

EnumeratorDescription
BLE_OTAPC_EVT_SEC_REQRequest 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_INDOTA profile ready for firmware update. Refer to BLE_OTAPC_EvtConnectInd_T for details.
BLE_OTAPC_EVT_FEATURE_INDSupported OTA server features read. Refer to BLE_OTAPC_EvtFeatureInd_T for details.
BLE_OTAPC_EVT_REQ_RSP_INDResponse for update request received. Refer to BLE_OTAPC_EvtReqRspInd_T for details.
BLE_OTAPC_EVT_START_RSP_INDResponse for start update received. Refer to BLE_OTAPC_EvtStartRspInd_T for details.
BLE_OTAPC_EVT_FRAGMENT_COMPL_INDNotification 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_INDResponse for complete update received. Refer to BLE_OTAPC_EvtCompleteRspInd_T for details.
BLE_OTAPC_EVT_ERR_UNSPECIFIED_INDUnspecified internal error occurred.