#ifndef simpleota_h #define simpleota_h #include #include #include #define OTA_WIFI_SSID "Chaos-West temp alternative" #define OTA_WIFI_PASSWORD "" #define OTA_WAIT_TIMEOUT 1000 // in 0.1s increments -> 10s void checkOTA(); bool initOTA(); bool loopOTA(); enum OTA_MODE { NONE, SEARCHING, WAITING, UPDATING }; extern OTA_MODE otaMode; extern uint16_t otaWaitCounter; #endif