mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
рабочая для 8266 версия
This commit is contained in:
@@ -8,9 +8,10 @@
|
||||
#include <TickerScheduler.h>
|
||||
|
||||
#ifdef ESP32
|
||||
#include <WiFi.h>
|
||||
#include "WiFi.h"
|
||||
#include <HTTPClient.h>
|
||||
#include <HTTPUpdate.h>
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef ESP8266
|
||||
@@ -34,8 +35,10 @@
|
||||
|
||||
#ifdef STANDARD_WEB_SOCKETS
|
||||
#include <WebSocketsServer.h>
|
||||
#ifdef ESP8266
|
||||
#include <Hash.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <FS.h>
|
||||
|
||||
@@ -49,6 +52,7 @@
|
||||
**********************************************************************************************************************/
|
||||
|
||||
extern TickerScheduler ts;
|
||||
extern WiFiClient espClient;
|
||||
#ifdef ASYNC_WEB_SERVER
|
||||
extern AsyncWebServer server;
|
||||
#endif
|
||||
|
||||
@@ -19,4 +19,7 @@ extern void handleFileList();
|
||||
#ifdef STANDARD_WEB_SOCKETS
|
||||
extern void standWebSocketsInit();
|
||||
extern void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length);
|
||||
#ifdef ESP32
|
||||
extern void hexdump(const void* mem, uint32_t len, uint8_t cols);
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user