how to get Internet adress of modem with AT command ?

magnetron
Posts: 9
Joined: Tue Nov 10, 2015 10:13 pm

how to get Internet adress of modem with AT command ?

Postby magnetron » Sat Dec 05, 2015 4:55 am

hello dear forum ,

I need to get Internet IP adress of the modem to which the ESP is connected

is there an AT command for this purpose ?

thank you

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: how to get Internet adress of modem with AT command ?

Postby ESP_Faye » Mon Dec 07, 2015 4:34 pm

Hi,

Download documentation about AT commands.

Could "AT+CIFSR" help ?

magnetron
Posts: 9
Joined: Tue Nov 10, 2015 10:13 pm

Re: how to get Internet adress of modem with AT command ?

Postby magnetron » Wed Dec 09, 2015 10:08 pm

AT+CIFSR

+CIFSR:STAIP,"192.168.1.110"

+CIFSR:STAMAC,"18:fe:34:f3:3e:81"

OK
--------------------------------------------
Hello dear Espressif.com ,

AT+CIFSR gives the Local IP ( above ^ )

I need the WLAN ( Internet ) IP of the modem , to which the ESP-01 is connected

thank you

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: how to get Internet adress of modem with AT command ?

Postby ESP_Faye » Thu Dec 10, 2015 10:59 am

Hi,

Sorry that it can not get Internet address of modem, it can only get local IP.

Who is online

Users browsing this forum: No registered users and 189 guests