Updated Python HTTP OTA Server (markdown)

Xavier MULLER 2019-10-06 10:43:35 +02:00
parent fed31fc9b2
commit ed3f0fd84b
1 changed files with 1 additions and 0 deletions

@ -114,6 +114,7 @@ To feed the linux server, we're now able to copy new firmwares in the folder `/s
Let's upload `firmware.bin` into the folder, the service can be tested from any browser by issuing the address `http://<ip_address>:5000/firmware.bin` were `<ip_address>` is the adress of the linux server.
If you reboot the server, the service should startup again.
- After a power failure, local HTTP OTA server may become unresponsive
If your notice that the OTA mechanism is broken, try at first to download the served file from a browser. If you can't, then check the status of the service as said above. After a power failure, it may happen that your wlan0 IP resolves to an invalid value like `169.254.5.153` because your LAN gateway was not ready.
Login as root in a Terminal session and enter:
```