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
Parameter | Description |
---|---|
[in] connHandle | Connection handle. |
[out] p_data | Pointer to the data buffer |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Get the data successfully. |
MBA_RES_INVALID_PARA | The L2CAP link doesn't exist. |
MBA_RES_FAIL | Failed to get data due to the queue is empty . |