Open hagenbuch opened 6 years ago
The current OTA function is for proof of concept purpose. It has a can of desgin flaws and therefore should not be further developed;
current approach does not scale if you need to update bunches of devices in the field
I think We need a completely new and more elaborated approach here:
etc.
You're very welcome to do start here and do some of the heavy lifting and make pull request!
While I think OTA flashing is a great idea, I am thinking about making the following:
After being flashed, the software must contain credentials for my (local) Wifi - or accept any unencrypted Wifi.
Then it makes a GET request to my webserver (HTTPS) sending its own MAC to fetch a specific configuration vector (maybe even with new Wifi data) including LoRa constants. Would be great if these could be flashed into flash memory.
Big advantage would be: If I deploy many devices, I can flash them all with the same firmware. Later in the field I may ask colleagues to just bring them into the vicinity of an open Wifi to be reconfigured.
So, I duplicate the Bintray code and go from there?