Closed dogmaphobic closed 8 years ago
Fantastic! With the relatively easy to use HTTP support in QGC the upload part should be manageable as well. The really good thing is that when shipping the module with this users don't ever need serial again (except for a reset, which we can do via GPIO as well).
@pkocmoud Now is the right point to flash all of them with this, as its future-proofed.
With the relatively easy to use HTTP support in QGC the upload part should be manageable as well.
It's actually just a few lines of code. The hard part (as always) will be the UI to handle it. Even that it won't be that much work.
The plan is to have the same interface for uploading PX4 firmware as well.
Between yesterday and today I must have uploaded the firmware well over 50 times. Not once I had a problem. Several uploads in sequence (without power cycling the ESP). It all works better than I expected.
Over the Air Upgrades.
For now you must use a browser to do the upload (I have yet to implement the functionality within QGC). Point your browser to
http://192.168.4.1/update
(obviously this will only work if connected to the ESP WiFi AP). Select thefirmware.bin
you built and upload it. That's all there is to it.I've added a couple of URLs while at it:
http://192.168.4.1/getstatus
For comm links and system statushttp://192.168.4.1/getparameters
For a list of the parameters (and their current values)This is all work in progress...