| rcp_error_t rcp_rftp_send_file_v2 | ( | rcp_camera_connection_t * | con, |
| const char * | path, | ||
| uint8_t * | data, | ||
| int64_t | uncompressed_len, | ||
| int64_t | compressed_len, | ||
| int | file_is_compressed, | ||
| int | fragment_size, | ||
| rcp_uuid_t * | uuid | ||
| ) |
Send file to camera.
Sends a file to the camera. This can be a preset file, overlay file, upgrade image, etc.
| [in] | con | the camera connection |
| [in] | path | destination path of the file on the camera |
| [in] | data | data of the file to be sent |
| [in] | uncompressed_len | uncompressed length of data |
| [in] | compressed_len | compressed length of data |
| [in] | file_is_compressed | if true, data contains compressed data |
| [in] | fragment_size | number of base64-encoded bytes of data sent per fragment |
| [out] | uuid | UUID object to use in subsequent api calls |