mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 20:09:14 +03:00
air firmware upgrade
This commit is contained in:
@@ -60,6 +60,16 @@ void setup() {
|
||||
|
||||
getMemoryLoad("[i] After loading");
|
||||
|
||||
#ifdef ESP8266
|
||||
new_version = getURL("http://91.204.228.124:1100/update/esp8266/version.txt");
|
||||
#endif
|
||||
#ifdef ESP32
|
||||
new_version = getURL("http://91.204.228.124:1100/update/esp32/version.txt");
|
||||
#endif
|
||||
|
||||
Serial.print("[i] Last firmware version: ");
|
||||
Serial.println(new_version);
|
||||
|
||||
ts.add(TEST, 14400, [&](void*) {
|
||||
|
||||
statistics();
|
||||
|
||||
Reference in New Issue
Block a user