1.1.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 by connection handle.

Parameters

ParameterDescription
[in] connHandleConnection handle.
[out] p_dataLengthPoniter to the length of the queued data.

Return values

Return valueDescription
MBA_RES_SUCCESSGet the length successfully.
MBA_RES_INVALID_PARAThe L2CAP link doesn't exist.