|
◆ mobilebackup2_send_raw()
Send binary data to the device.
- Note
- This function returns MOBILEBACKUP2_E_SUCCESS even if less than the requested length has been sent. The fourth parameter is required and must be checked to ensure if the whole data has been sent.
- Parameters
-
client | The MobileBackup client to send to. |
data | Pointer to the data to send |
length | Number of bytes to send |
bytes | Number of bytes actually sent |
- Returns
- MOBILEBACKUP2_E_SUCCESS if any data was successfully sent, MOBILEBACKUP2_E_INVALID_ARG if one of the parameters is invalid, or MOBILEBACKUP2_E_MUX_ERROR if sending of the data failed.
|