I'm not sure where to ask this but I'm hoping someone has run into this and has a fix.
I'm using esp32-wifi-manager (https://github.com/tonyp7/esp32-wifi-manager) in my project. It works great and appears pretty simple. When the WiFi is uninitialized it starts initialized the WiFi in AP mode and provides a web page for configuring the SSID and PW to attach to. Then it switches into STA (station) mode and attached to the access point you specified and as long as it can re-attach to that access point it will stay in STA mode.
When I start mDNS in STA mode, defining an HTML service, and try to attach to my device (ex: http://myesp32.local) the address that is resolved by mDNS is the address of the AP mode, not what was served by DHCP in STA mode. I can, however, ping myesp32.local just fine. The address is properly resolved.
Any ideas?
mDNS reporting wrong IP address with esp32-wifi-manager
Re: mDNS reporting wrong IP address with esp32-wifi-manager
An old post but I have the same problem. Solution is changing from line 233 in http_app.c as per link:https://github.com/elijahnyp/esp32-wifi-manager
Now through the browser "name.local" works.
Now through the browser "name.local" works.
Re: mDNS reporting wrong IP address with esp32-wifi-manager
Thank you for your response.boblock wrote: ↑Tue Apr 18, 2023 8:40 pmAn old post but I have the same problem. Solution is changing from line 233 in http_app.c as per link:https://github.com/elijahnyp/esp32-wifi-manager
Now through the browser "name.local" works.
I'm not sure I understand. What is the change that is needed at line 233? I'm looking at the code and my code looks just like the code you linked.
Thank you
Who is online
Users browsing this forum: Google [Bot] and 145 guests