-->
Page 1 of 1

ESP8266 in STA mode. How to get AP(router/gatgway)'s IP?

PostPosted: Sun Dec 25, 2016 5:56 am
by Zazakas
Hi there!
I am using ESP8266 in STAtion mode, and conneting to a wifi hotspot (this hotspot is setup by my Android phone, and DHCP only ). I do can connect to the hotspot, but how could I konw the hotspot's IP(in this case my mobilephone's ip) after connecting, something like 192.168.0.1?
I've searched the web, and "AT+CIFSR" could only obtain ESP8266’s own IP address not the AP's.
And I hope this could all be done by ussing AT commands.

Best Regards!