-
Notifications
You must be signed in to change notification settings - Fork 7.6k
How to find IP address of ESP32? #1937
New issue
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
Comments
|
Hi martin thanks for reply. You didn't get my point. I need to know the IP address without serial monitor. I have tried mDNS which works fine but not on Android. I am now trying UDP with which I have some success. |
WiFi.localIP(); returns IPAddress, You can print it or use it somewhere. |
@nomanshahsyed set it static then :) |
Guys thanks for your answers. But please read the question before answering. Anyhow the answer to my question is to use UDP broadcast. mDNS is also working but not on android. UDP broadcast is working fine. |
Can you please put here how did you solve this problem? Thanks |
I also want to achieve this, can you please share the details how you managed to do it? |
mDNS must be enabled on devices and also on network... |
I need to know the IP address of ESP32 on the local network. The idea is to do mDNS or UDP broadcast to send the IP to the android application. The app will then use that IP to do the communication. Is there someone who has already done it? Thanks.
The text was updated successfully, but these errors were encountered: