NervesHubLink (nerves_hub_link v1.0.0) View Source
Link to this section Summary
Functions
Checks if the device is connected to the NervesHub device channel.
Restart the socket and device channel
Send update progress percentage for display in web
Send an update status to web
Checks if the device has a socket connection with NervesHub
Current status of the update manager
Link to this section Functions
Specs
connected?() :: boolean()
Checks if the device is connected to the NervesHub device channel.
Specs
reconnect() :: :ok
Restart the socket and device channel
Specs
send_update_progress(non_neg_integer()) :: :ok
Send update progress percentage for display in web
Specs
Send an update status to web
Checks if the device has a socket connection with NervesHub
Specs
status() :: NervesHubLinkCommon.UpdateManager.State.status()
Current status of the update manager