1.1.2.3.6.1.4.9 BLE_TRCBPS_SendData

C

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

Description

Send data via BLE Transparent Credit Based Profile.

Parameters

ParameterDescription
[in] connHandleConnection handle.
[in] lenData length.
[in] p_dataPointer to the transparent data.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issue a send data command.
MBA_RES_OOMNo available memory.
MBA_RES_INVALID_PARAThe L2CAP link doesn't exist or parameter does not meet the spec such as the data length exceeds the maximum MTU size of remote device.
MBA_RES_NO_RESOURCEThere is no avaliable credit of the remote device.
MBA_RES_BAD_STATEThe connection of Transparent Credit Based Profile is not established.