-
Notifications
You must be signed in to change notification settings - Fork 63
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
Firmware update message is sent (if needed) when device joins channel. #79
Comments
We will need to look up devices by the Still browsing the codebase to see what I can find as well. |
If I understand correctly, I think that @mobileoverlord You agree? I know that you're getting close on cert generation, but it's still probably end next week-ish before you have something ready. |
Why: * We want to know if a device needs new firmware ASAP. * nerves-hub/nerves_hub#79 This change addresses the need by: * Checking if `%{"version" => version}` in the join payload matches the target version in the database, and acting accordingly. * Also updates the `current_version` in the database to the version that is reported in the join payload. Caveats: * Cannot send out a message with instructions for updating firmware because that is yet to be implemented.
☝️ gets us part of the way there, but I think this issue should stay open until we can send an actual firmware image. |
Why: * We want to know if a device needs new firmware ASAP. * nerves-hub/nerves_hub#79 This change addresses the need by: * Checking if `%{"version" => version}` in the join payload matches the target version in the database, and acting accordingly. * Also updates the `current_version` in the database to the version that is reported in the join payload. Caveats: * Cannot send out a message with instructions for updating firmware because that is yet to be implemented.
References: https://github.com/nerves-hub/nerves_hub/blob/master/docs/client-server.md
Depends On: #78
The text was updated successfully, but these errors were encountered: