Skip to content

Commit 34d9ad7

Browse files
committed
Add comments about webServer MDNS.begin
1 parent 66b3774 commit 34d9ad7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Firmware/RTK_Everywhere/WebServer.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,8 @@ bool webServerAssignResources(int httpPort = 80)
820820
/* https://github.com/espressif/arduino-esp32/blob/master/libraries/DNSServer/examples/CaptivePortal/CaptivePortal.ino
821821
*/
822822

823+
// Note: MDNS should probably be begun by networkMulticastDNSUpdate, but that doesn't seem to be happening...
824+
// Is the networkInterface aware that AP needs it? Let's start it manually...
823825
if (MDNS.begin(&settings.mdnsHostName[0]) == false)
824826
{
825827
systemPrintln("Error setting up MDNS responder!");

0 commit comments

Comments
 (0)