BLE_PXPM_GetCharList
C
uint16_t BLE_PXPM_GetCharList(uint16_t connHandle, uint16_t svcUuid, uint16_t charUuid, BLE_PXPM_CharList_T *p_charList);
Description
Get information about characteristic UUID of the Proximity service that has been discovered. This API could be called only after BLE_PXPM_EVT_DISC_COMPLETE_IND event is issued.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Handle of the connection. |
[in] svcUuid | Service uuid. See UUID of Proximity Service. |
[in] charUuid | Characteristic uuid. See UUID of Alert Level and TX Power Level. |
[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. - Service Uuid is not valid. - Characteristic Uuid is not valid. |