BLE_TRCBPS_SendData

C

uint16_t BLE_TRCBPS_SendData(uint16_t connHandle, uint16_t len, uint8_t *p_data);

Description

Send data through the BLE Transparent Credit Based Profile Data pipe.

Parameters

ParameterDescription
[in] connHandleConnection handle.
[in] lenLength of the data to be sent. Must not exceed BLE_TRCBPS_DATA_MTU.
[in] p_dataPointer to the buffer containing the data to send.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully sent data.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid L2CAP link or data length exceeds max MTU.
MBA_RES_NO_RESOURCEInsufficient credit from the remote device.
MBA_RES_BAD_STATEConnection not established.