NervesHubLink.UpdateManager.StreamingUpdater (nerves_hub_link v2.9.0)

View Source

This module is responsible for updating firmware using a streaming approach. It uses the NervesHubLink.Downloader module to download the firmware and then sends the chunks to the Fwup module to update the firmware.

This is the default NervesHubLink.UpdateManager.Updater used by the NervesHubLink.UpdateManager module.

Summary

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

send_update?(map, percent)

start_link(update_info, fwup_config, fwup_public_keys, opts \\ [])