#ifndef WIFIOTA_H #define WIFIOTA_H #include "mesh-pb-constants.h" #include namespace WiFiOTA { void initialize(); bool isUpdated(); void recoverConfig(meshtastic_Config_NetworkConfig *network); void saveConfig(meshtastic_Config_NetworkConfig *network); bool trySwitchToOTA(); const char *getVersion(); } // namespace WiFiOTA #endif // WIFIOTA_H