wifimgr.h 586 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include <WiFi.h>
  3. #include <WebServer.h>
  4. #include <SPIFFS.h>
  5. using WebServerClass = WebServer;
  6. #define AC_DEBUG
  7. #include <AutoConnect.h>
  8. /*
  9. AC_USE_SPIFFS indicates SPIFFS or LittleFS as available file systems that
  10. will become the AUTOCONNECT_USE_SPIFFS identifier and is exported as shown
  11. the valid file system. After including AutoConnect.h, the Sketch can determine
  12. whether to use FS.h or LittleFS.h by AUTOCONNECT_USE_SPIFFS definition.
  13. */
  14. #include <FS.h>
  15. #include <SPIFFS.h>
  16. extern AutoConnect portal;
  17. extern AutoConnectAux configAux;
  18. void setup_wifimgr();