tarask
6 days ago 532005c6573d95199ce0ffbc33df4c7a0a4c3ef9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef UPDATESERVER_H
#define UPDATESERVER_H
 
#include <WebServer.h>
#define INTERVAL_MIN 100
 
 
class UpdateServer
{
public:
    void InitAndStart();
private:
    static void ServerUpdate(void *pvParameters);
    const char* ssid = "MARA_OTA";
    int interval = INTERVAL_MIN;
    void apMode();
    void webServerInit(void*);
    static void everySecond(void*);
};
#endif