Documentation updates
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
#include "ProjGlobals.h"
|
||||
#include "WiFiStateHandler.h"
|
||||
|
||||
#include <DNSServer.h> ///< Required for Captive Portal behavior.
|
||||
const byte DNS_PORT = 53; ///< Capture DNS requests on port 53
|
||||
//DNSServer dnsServer; ///< Used for the captive portal AP mode
|
||||
|
||||
WiFiConnectState wifiConState; ///< Track the current WiFi state
|
||||
|
||||
|
||||
@@ -73,7 +77,7 @@ WiFiConnectState WiFiStateHandler() {
|
||||
WiFi.softAP(AP_NAME.c_str());
|
||||
myIP = WiFi.softAPIP();
|
||||
Serial.printf("IP Address: %s\n", myIP.toString().c_str());
|
||||
// @todo dnsServer.start(DNS_PORT, "*", apIP);
|
||||
//dnsServer.start(DNS_PORT, "growcontroller.info", myIP);
|
||||
timeStateChange = millis();
|
||||
//StartWebServer();
|
||||
wifiConState = WFC_HostingAP;
|
||||
@@ -93,7 +97,7 @@ WiFiConnectState WiFiStateHandler() {
|
||||
// @todo SetLED(LED_WIFI, 0);
|
||||
// @todo }
|
||||
// @todo server.handleClient();
|
||||
// @todo dnsServer.processNextRequest();
|
||||
// dnsServer.processNextRequest();
|
||||
break;
|
||||
default:
|
||||
case WFC_Idle:
|
||||
|
||||
Reference in New Issue
Block a user