BLE_TRSPC_SendData

C

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

Description

Sends transparent data to the connected BLE device.

Parameters

ParameterDescription
[in] connHandleConnection handle associated with this connection.
[in] lenThe length of the data to be sent.
[in] p_dataPointer to the data to be sent.

Return values

Return valueDescription
MBA_RES_SUCCESSThe data was successfully sent.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAThe parameters do not meet the specifications.