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
| 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 | Invalid L2CAP link. |
| MBA_RES_FAIL | Queue is empty or other failure. |
