You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: