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
| Parameter | Description |
|---|---|
| [in] connHandle | Connection handle associated with this connection. |
| [in] len | The length of the data to be sent. |
| [in] p_data | Pointer to the data to be sent. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | The data was successfully sent. |
| MBA_RES_OOM | Internal memory allocation failure. |
| MBA_RES_INVALID_PARA | The parameters do not meet the specifications. |
