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
Retrieves information about the characteristic UUID of the Proximity service that has been discovered.
Note
This API could be called only after BLE_PXPM_EVT_DISC_COMPLETE_IND event is issued.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle. |
[in] svcUuid | Service UUID (see UUIDs for services in the Proximity profile). |
[in] charUuid | Characteristic UUID (see UUIDs for characteristics in the Proximity profile). |
[out] p_charList | Pointer to store the characteristic information of the discovered service. See BLE_PXPM_CharList_T. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully retrieved the characteristic list. |
MBA_RES_INVALID_PARA | Invalid parameters, such as: |
- Invalid connection handle. - Invalid service UUID. - Invalid characteristic UUID.|