BLE_TRCBPS_GetDataLength
C
uint16_t BLE_TRCBPS_GetDataLength(uint16_t connHandle, uint16_t *p_dataLength);
Description
Get the length of queued data in the Data pipe for a given connection handle.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle. |
[out] p_dataLength | Pointer to store the length of the queued data. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully retrieved the data length. |
MBA_RES_INVALID_PARA | Invalid L2CAP link. |