#37 mDNS service added

This commit is contained in:
Thomas Ballmann 2020-08-25 19:49:33 +02:00
parent ff2cf9e5c7
commit 82557e4af4

View File

@ -76,6 +76,10 @@ void initClientMode(const char *ssid, const char *password)
Serial.println("Error setting up MDNS responder!");
}
// Add service to MDNS-SD
MDNS.addService("http", "tcp", 80);
MDNS.addServiceTxt("http", "tcp", "epd", "yes");
Serial.print(" connected in: ");
Serial.println(millis() - startMills);
}