1.1.2.3.6.1.4.5 BLE_TRCBPS_GetData

C

uint16_t BLE_TRCBPS_GetData(uint16_t connHandle, uint8_t *p_data);

Description

Get the queued data by connection handle.

Parameters

ParameterDescription
[in] connHandleConnection handle.
[out] p_dataPointer to the data buffer

Return values

Return valueDescription
MBA_RES_SUCCESSGet the data successfully.
MBA_RES_INVALID_PARAThe L2CAP link doesn't exist.
MBA_RES_FAILFailed to get data due to the queue is empty .