Remote Firmware Update¶
PrecheckFirmwareUpdate¶
- Overview
Precheck firmware update.
See “Remote Firmware Update” for usage instructions.
- Definition
CrError PrecheckFirmwareUpdate(CrDeviceHandle deviceHandle, CrInt64u fwFileSize);
Input parameters
Type |
Explanation |
|---|---|
CrDeviceHandle |
deviceHandle |
CrInt64u |
fwFileSize
Specify size of firmware file that will update firmware.
|
- Output parameters
None
Return value
Type |
Explanation |
|---|---|
CrError |
CrError_None on Success
Other than errors above, see Status code & Error
|
- Related API
- Special note (details)
The result of this API will be notified by OnNotifyRemoteFirmwareUpdateResult(). You can get the result by callback argument.
UploadPartialFile¶
- Overview
Upload file by split to camera.
See “Remote Firmware Update” for usage instructions.
- Definition
CrError UploadPartialFile(CrDeviceHandle deviceHandle, CrUploadPartialDataType type, CrChar* filePath);
Input parameters
Type |
Explanation |
|---|---|
CrDeviceHandle |
deviceHandle |
CrUploadPartialDataType |
|
CrChar* |
filePath
Specify file path of upload target.
|
- Output parameters
None
Return value
Type |
Explanation |
|---|---|
CrError |
CrError_None on Success
Other than errors above, see Status code & Error
|
- Related API
- Special note (details)
None in particular
CancelFirmwareUpload¶
- Overview
Cancel firmware upload by UploadPartialFile().
See “Remote Firmware Update” for usage instructions.
- Definition
CrError CancelFirmwareUpload(CrDeviceHandle deviceHandle);
Input parameters
Type |
Explanation |
|---|---|
CrDeviceHandle |
deviceHandle |
- Output parameters
None
Return value
Type |
Explanation |
|---|---|
CrError |
CrError_None on Success
Other than errors above, see Status code & Error
|
- Related API
- Special note (details)
None in particular
RequestFirmwareUpdaterInfo¶
- Overview
Request firmware updater info of uploaded to camera by UploadPartialFile().
See “Remote Firmware Update” for usage instructions.
- Definition
CrError RequestFirmwareUpdaterInfo(CrDeviceHandle deviceHandle);
Input parameters
Type |
Explanation |
|---|---|
CrDeviceHandle |
deviceHandle |
- Output parameters
None
Return value
Type |
Explanation |
|---|---|
CrError |
CrError_None on Success
Other than errors above, see Status code & Error
|
- Related API
- Special note (details)
None in particular
StartFirmwareUpdate¶
- Overview
Start firmware update.
See “Remote Firmware Update” for usage instructions.
- Definition
CrError StartFirmwareUpdate(CrDeviceHandle deviceHandle);
Input parameters
Type |
Explanation |
|---|---|
CrDeviceHandle |
deviceHandle |
- Output parameters
None
Return value
Type |
Explanation |
|---|---|
CrError |
CrError_None on Success
Other than errors above, see Status code & Error
|
- Related API
- Special note (details)
None in particular
CrUploadPartialDataType¶
Enumerate of kind of partial upload.
Member Enumerations
Definition |
Summary |
|---|---|
CrUploadPartialDataType_FirmwareData |
Used for remote firmware update |