BLE_TRCBPS_GetData

C

uint16_t BLE_TRCBPS_GetData(uint16_t connHandle, uint8_t *p_data);

Description

Retrieve queued data from the Data pipe for a given 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_PARAInvalid L2CAP link.
MBA_RES_FAILQueue is empty or other failure.