client how to get AP ip Address

zhao007z8
Posts: 2
Joined: Tue Aug 15, 2017 2:50 am

client how to get AP ip Address

Postby zhao007z8 » Tue Aug 15, 2017 3:01 am

i have two esp32 device, use tcp/ip. one device(A) create ap, other device(B) connect the ap.
B device how to get the A device ip Address.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: client how to get AP ip Address

Postby WiFive » Tue Aug 15, 2017 10:35 am

1. use dhcp gateway address
2. Mdns

enitalp
Posts: 60
Joined: Thu Jan 12, 2017 10:03 pm

Re: client how to get AP ip Address

Postby enitalp » Wed Aug 16, 2017 1:40 pm

Have socket server on the AP, and at every new connection, send an hello package message with your name, you ip etc..

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 131 guests