web_config.h 479 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef AMPEL_WEB_CONFIG_H_
#define AMPEL_WEB_CONFIG_H_

#if defined(ESP8266)
#  include <ESP8266WebServer.h>
#elif defined(ESP32)
#  include <WebServer.h>
#endif

//#include "config.h"

#include <IotWebConf.h>
#include <IotWebConfTParameter.h>

Eric Duminil's avatar
Eric Duminil committed
15
#include "util.h"
16
17
18
19
//#include "sensor_console.h"

namespace web_config {
  void initialize();
Eric Duminil's avatar
Eric Duminil committed
20
21
  void setWifiConnectionCallback(void (*function)());
  void setWifiConnectionFailedCallback(void (*function)());
22
23
24
  void update();
}
#endif