BLE_ANPC_GetDescList

C

uint16_t BLE_ANPC_GetDescList(uint16_t connHandle, BLE_ANPC_DescList_T *p_descList);

Description

Retrieves a list of descriptors within the Alert Notification Service. This function should be called after the BLE_ANPC_EVT_DISC_COMPLETE_IND event.

Parameters

ParameterDescription
[in] connHandleThe connection handle to identify the BLE connection.
[out] p_descListOn success, filled with the discovered descriptors info. See BLE_ANPC_DescList_T.

Return values

Return valueDescription
MBA_RES_SUCCESSThe descriptor list was successfully retrieved.
MBA_RES_INVALID_PARAThe connection handle is invalid.