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

OverTheAir Update #10

Open
goetzvr opened this issue Nov 25, 2021 · 2 comments
Open

OverTheAir Update #10

goetzvr opened this issue Nov 25, 2021 · 2 comments

Comments

@goetzvr
Copy link

goetzvr commented Nov 25, 2021

I'm a bit tired of opening the Box every time I want to upload a new Firmware. So I started to implement a OverTheAir Update wich looks for a new firmware version and a corresponding version of my BIKE.CFG.

The data is loaded from an Webserver, port and path combination like http://raspberrypi:8575/ota/sensBoxBIke/. It then should try to find a <sensebox-id>-Vx.bin and <sensebox-id>-Vx.cfg. The CFG goes on the SD card, the BIN into InternalStorage the device should the load the new Firmware and restart. The Version x is to be maintained in the sketch, the update process looks for x+1.

This could also be helpful for mass deployment / update.

I would send an PR, once I'm done.

@johnjohndoe
Copy link
Contributor

@goetzvr I saw that you are working on this feature in your senseBox-bike-Arduino/OTA branch.

  • What is the current state of your efforts?
  • Are there open TODOs?

@goetzvr
Copy link
Author

goetzvr commented May 30, 2022

Well in principle it works. (See https://github.com/goetzvr/senseBox-bike-Arduino/blob/OTA/README.md#upload-via-overtheair-ota)
However, I do not like the current versioning scheme which is a simple increment counter. One other issue might be to provide a simple http-Server to serve the files.
One potential TODO could be to provide a .cfg file for the local WLAN setttings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants