Updater
Updater peripheral interface for Drone and RemoteControl devices.
Allows to:
- list and download available updates for the device from remote server.
- list locally available updates and apply them to the connected device
Updating requires the device to be connected; however, this peripheral provides the ability to apply several firmware updates in a row (mainly used in the presence of trampoline updates), and will maintain proper state across device reboot/reconnection after each update is applied.
This peripheral can be obtained from a peripheral providing device (such as a drone or a remote control) using:
device.getPeripheral(Updater.class)
Content copied to clipboard
See also
Peripheral. Provider
Types
Functions
Link copied to clipboard
Lists all firmwares that require to be applied to update the device to the latest available version.
Link copied to clipboard
Cancels an ongoing firmware(s) download operation.
Link copied to clipboard
Cancels an ongoing firmware(s) update operation.
Link copied to clipboard
Gives current firmware download operation state, if any is ongoing.
Link copied to clipboard
Gives current firmware update operation state, if any is ongoing.
Link copied to clipboard
Lists all firmwares that require to be downloaded to update the device to the latest available version.
Link copied to clipboard
Requests download of all downloadable firmware that should be applied to update the device to the latest available version.
Link copied to clipboard
Requests download of the next downloadable firmware that should be applied to update the device towards the latest available version.
Link copied to clipboard
Tells why it is currently impossible to download remote firmwares.
Link copied to clipboard
Retrieves the ideal version.
Link copied to clipboard
Tells whether the device is currently up-to-date.
Link copied to clipboard
Requests device update to the latest applicable firmware version.
Link copied to clipboard
Requests device update to the next currently applicable firmware version.
Link copied to clipboard
Tells why it is currently impossible to apply firmware updates.