-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Report FWUP version to NervesHub #43
Comments
@fhunleth @mobileoverlord I'm creating this issue to track adding the FWUP version here and, I assume, we'll also need it in the http version. I figured this would be a good place to discuss the approach since you guys have much greater familiarity with the whole Nerves/NervesHub ecosystem than I do. My first idea was to just grab the version from fwup via |
I like your idea. |
Why: * We need to verify that the device fwup supports patching This change addresses the need by: * Grabbing fwup from channel params or controller conn depending on nerves_hub_link package * Attach the fwup version to device.firmware_metadata * Pass fwup version to `get_firmware_url` function * Only make request for patch url if fwup version is >=1.6.0 Note: * For this to work properly nerves_hub_link and nerves_hub_link_http will need to be updated to pass fwup version * See nerves-hub/nerves_hub_link#43 for more details
Why: * NH needs to know the fwup version to make decisions about delta updates * Resolves Issue nerves-hub#43 This change addresses the need by: * Grab fwup version when creating config * Add fwup version to config params * Add a spec to check that fwup version key is present
Why: * NH needs to know the fwup version to make decisions about delta updates * Resolves Issue #43 This change addresses the need by: * Grab fwup version when creating config * Add fwup version to config params * Add a spec to check that fwup version key is present
Why: * We need to verify that the device fwup supports patching This change addresses the need by: * Grabbing fwup from channel params or controller conn depending on nerves_hub_link package * Attach the fwup version to device.firmware_metadata * Pass fwup version to `get_firmware_url` function * Only make request for patch url if fwup version is >=1.6.0 Note: * For this to work properly nerves_hub_link and nerves_hub_link_http will need to be updated to pass fwup version * See nerves-hub/nerves_hub_link#43 for more details
In certain scenarios it makes sense for NervesHub to know what version of FWUP a device is running this means FWUP needs to report this data in it's communications with the NervesHub back end.
The text was updated successfully, but these errors were encountered: