|
|
|
@ -337,10 +337,15 @@ void setup(void){ |
|
|
|
|
DBG_OUTPUT_PORT.println(WiFi.localIP()); |
|
|
|
|
|
|
|
|
|
//Relocation as follows to make AutoConnect recognition.
|
|
|
|
|
MDNS.begin(host); |
|
|
|
|
DBG_OUTPUT_PORT.print("Open http://"); |
|
|
|
|
DBG_OUTPUT_PORT.print(host); |
|
|
|
|
DBG_OUTPUT_PORT.println(".local/edit to see the file browser"); |
|
|
|
|
if (MDNS.begin(host)) { |
|
|
|
|
MDNS.addService("http", "tcp", 80); |
|
|
|
|
DBG_OUTPUT_PORT.print("Open http://"); |
|
|
|
|
DBG_OUTPUT_PORT.print(host); |
|
|
|
|
DBG_OUTPUT_PORT.println(".local/edit to see the file browser"); |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
DBG_OUTPUT_PORT.print("mDNS start failed"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void loop(void){ |
|
|
|
|