We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#ifdef USE_SOFTAP #include <DNSServer.h> DNSServer dnsServer; #else #if defined(ESP32) #include <ESPmDNS.h> #else #include <ESP8266mDNS.h> #endif #endif
...
if (!MDNS.begin(host_name)) { #ifdef DEBUG_SERIAL DEBUG_SERIAL.println("Error starting mDNS"); #endif return; }
// Add service to MDNS-SD MDNS.addService("http", "tcp", 80); // TODO also add websocket ??
#endif // USE_SOFTAP
... #if !defined(ESP32) //We don't need to call this explicitly on ESP32 but we do on 8266 MDNS.update(); #endif
The text was updated successfully, but these errors were encountered:
No branches or pull requests
#ifdef USE_SOFTAP
#include <DNSServer.h>
DNSServer dnsServer;
#else
#if defined(ESP32)
#include <ESPmDNS.h>
#else
#include <ESP8266mDNS.h>
#endif
#endif
...
if (!MDNS.begin(host_name)) {
#ifdef DEBUG_SERIAL
DEBUG_SERIAL.println("Error starting mDNS");
#endif
return;
}
// Add service to MDNS-SD
MDNS.addService("http", "tcp", 80);
// TODO also add websocket ??
#endif // USE_SOFTAP
...
#if !defined(ESP32)
//We don't need to call this explicitly on ESP32 but we do on 8266
MDNS.update();
#endif
The text was updated successfully, but these errors were encountered: