This class is used to control components' upgrade. It also provides methods to receive firmware consistency upgrade state and the latest firmware version information. It is only supported by Mavic Air, Mavic 2 series, Matrice 300 RTK.
Returns the upgrade component index. Index is zero based. Please refer to getIndex to get the component index. For instance, if Matrice 300 RTK can have three gimbal mounted cameras, the three camera components are with indices 0, 1 and 4.
Check if the consistency upgrade can be canceled. If false, please check the consistency of the firmware to ensure flight safety. It is only supported by Mavic Air, Mavic 2 series.
Starts firmware consistency upgrade. If the firmware version of some modules in the device is not compatible with the firmware version of other modules, the firmware will send a request for consistent upgrade. After you start firmware consistency upgrade, You should Invoke onFirmwareUpgradeProgressUpdated to receive upgrade progress information. Before invoking this method, please make sure that the motors are turned off and getWiFiLink is not using. It is only supported by Mavic Air, Mavic 2 series.
voidstopFirmwareConsistencyUpgrade(@Nullable final CommonCallbacks.CompletionCallback callback)
Package:
dji.sdk.upgrade.component
Description:
Cancels firmware consistency upgrade. onConsistencyUpgradeRequestReceived will stop to notify. Before invoking this method, please make sure that the motors are turned off and getWiFiLink is not using. It is only supported by Mavic Air, Mavic 2 series.
To ensure flight safety, upgrade device is strongly recommended. Check DJI GO for available firmware updates. Find more details in FirmwareInformation.
OPTIONAL_UPGRADE_AVAILABLE
Optional upgrade is available. Check DJI GO for any available firmware updates.