NervesHubLinkCommon.UpdateManager (nerves_hub_link_common v0.1.2) View Source
GenServer responsible for brokering messages between:
- an external controlling process
- FWUP
- HTTP
Should be started in a supervision tree
Link to this section Summary
Functions
Must be called when an update payload is dispatched from
NervesHub. the map must contain a "firmware_url"
key.
Returns the current status of the update manager
Link to this section Functions
Specs
apply_update(GenServer.server(), map()) :: NervesHubLinkCommon.UpdateManager.State.status()
Must be called when an update payload is dispatched from
NervesHub. the map must contain a "firmware_url"
key.
Specs
status(GenServer.server()) :: NervesHubLinkCommon.UpdateManager.State.status()
Returns the current status of the update manager