1.2.2.3.2.1.4.6 BLE_ANPC_GetCharList
C
uint16_t BLE_ANPC_GetCharList(uint16_t connHandle, uint16_t charUuid, BLE_ANPC_CharList_T *p_charList);
Description
Get information about characteristic UUID of the Alert Notification services 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. |
[in] charUuid | Characteristic uuid. See UUID of characteristic in Alert Notification profile. |
[out] p_charList | Characteristic information of discovered service. When the characteristic UUID is not found then characteristic list will be 0. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully get the characteristic list. |
MBA_RES_INVALID_PARA | Invalid parameters. - Connection handle is not valid. - Characteristic Uuid is not valid. |