BLE_TRSPC_GetData
C
uint16_t BLE_TRSPC_GetData(uint16_t connHandle, uint8_t *p_data);
Description
Retrieves queued data from the buffer.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with the queued data. |
[out] p_data | Pointer to the buffer where the data should be copied. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | The data was successfully retrieved. |
MBA_RES_FAIL | No data in the input queue. |