1.2.2.3.6.1.4.6 BLE_TRCBPS_GetDataLength
C
uint16_t BLE_TRCBPS_GetDataLength(uint16_t connHandle, uint16_t *p_dataLength);
Description
Get the length of queued data in Data pipe by connection handle.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle. |
[out] p_dataLength | Poniter to the length of the queued data. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Get the length successfully. |
MBA_RES_INVALID_PARA | The L2CAP link doesn't exist. |