#ifndef AMPEL_WEB_CONFIG_H_ #define AMPEL_WEB_CONFIG_H_ #if defined(ESP8266) # include #elif defined(ESP32) # include #endif #define STRING_LEN 64 #include "config.h" #include #include #include #include "util.h" //#include "sensor_console.h" namespace config { extern iotwebconf::TextTParameter stringParam; } namespace web_config { void initialize(); void setWifiConnectionCallback(void (*function)()); void setWifiConnectionFailedCallback(void (*function)()); void update(); #if defined(ESP8266) extern ESP8266WebServer http; #elif defined(ESP32) extern WebServer http; #endif } #endif