1.2.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

ParameterDescription
[in] connHandleHandle of the connection.
[out] p_descListDescriptor information of the discovered service. When the descriptor is not found then descriptor list will be 0.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully get the descriptor list.
MBA_RES_INVALID_PARAInvalid parameters. Connection handle is not valid.