1.1.2.3.2.1.4.7 BLE_ANPC_GetDescList
C
uint16_t BLE_ANPC_GetDescList(uint16_t connHandle, BLE_ANPC_DescList_T *p_descList);
Description
Get information about descriptor list within start handle and end handle of the Alert Notification Service that has been discovered. This API could be called only after BLE_ANPC_EVT_DISC_COMPLETE_IND event is issued.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Handle of the connection. |
[out] p_descList | Descriptor information of the discovered service. When the descriptor is not found then descriptor list will be 0. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully get the descriptor list. |
MBA_RES_INVALID_PARA | Invalid parameters. Connection handle is not valid. |