BLE_TRSPS_SendData
C
uint16_t BLE_TRSPS_SendData(uint16_t connHandle, uint16_t len, uint8_t *p_data);Description
Sends transparent data over BLE.
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 | Data successfully sent. |
| MBA_RES_OOM | Internal memory allocation failure. |
| MBA_RES_INVALID_PARA | Invalid parameters; data length does not meet specifications. |
