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
Parameter | Description |
---|---|
[in] connHandle | The connection handle to identify the BLE connection. |
[out] p_descList | On success, filled with the discovered descriptors info. See BLE_ANPC_DescList_T. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | The descriptor list was successfully retrieved. |
MBA_RES_INVALID_PARA | The connection handle is invalid. |