Send data to a device via the given connection.
- Parameters
-
| connection | The connection to send data over. |
| data | Buffer with data to send. |
| len | Size of the buffer to send. |
| sent_bytes | Pointer to an uint32_t that will be filled with the number of bytes actually sent. |
- Returns
- IDEVICE_E_SUCCESS if ok, otherwise an error code.