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

ParameterDescription
[in] connHandleHandle of the connection.
[in] charUuidCharacteristic uuid. See UUID of characteristic in Alert Notification profile.
[out] p_charListCharacteristic information of discovered service. When the characteristic UUID is not found then characteristic list will be 0.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully get the characteristic list.
MBA_RES_INVALID_PARAInvalid parameters. - Connection handle is not valid. - Characteristic Uuid is not valid.