Skip to content
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

Finish setting up OTA updates for firmware. ($200) #505

Closed
josancamon19 opened this issue Aug 2, 2024 · 3 comments · Fixed by #531
Closed

Finish setting up OTA updates for firmware. ($200) #505

josancamon19 opened this issue Aug 2, 2024 · 3 comments · Fixed by #531
Assignees

Comments

@josancamon19
Copy link
Contributor

Is your feature request related to a problem? Please describe.
From the app I should be able to update to new firmware versions.

Describe the solution you'd like
There should be a device settings in the app, that determines current firmware vs somewhere hosted maybe github, and tells if there's a new firmware version available.

Then should download that zip file, and use dfu.dart (which already works) to do the firmware restart on the device for the user.

Additional context
dfu.dart was commented, because the dependency was causing building issues for iOS and android (this should be fixed too)

@mdmohsin7
Copy link
Collaborator

To manage and pull versions, we could certainly use the releases API, but that would require us to maintain releases properly.

https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#get-the-latest-release

The other option could be to use something like Firebase (since we already have it integrated)

@beastoin
Copy link
Collaborator

@mdmohsin7 does it still work ?

@mdmohsin7
Copy link
Collaborator

mdmohsin7 commented Nov 12, 2024

Yes it does @beastoin with dk1. If the dk2 firmware supports OTA updates, then I can make some changes to the endpoint to support dk2 releases as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants