Chat freely about anything...

User avatar
By phil31
#2235 Hello guys,

well, i evaluate the ESP8266 since 2 days with more or less chance. so newbie for now
something works, some others don't.. but i assume that i'm not doing all right for now.

i can join my AP using AT+CWJAP="SSID", "PASS" good :o)
when i issue an AT+CIFSR command, the IP of the ESP8266 is showing :o)

in that case, i assume that the IP come from my DHCP server ..
but i see nothing in the command list, to specify the IP !?..
i mean, if i don't have a DHCP server on my LAN, how to specify the IP of the module please ?

thanks, regards
Phil
User avatar
By saper_2
#2269 Unfortunately there is no way to set static IP on original firmware, you can get ip by DHCP only (you can set-up your router/dhcp server to assign always same ip for esp mac - to get mac, check in your router for assigned ip).

At this moment, even adding custom AT command to setup static IP is practically impossible, because ESP sdk does not have even routines to do it.

Edit: fixed some typos
User avatar
By phil31
#2270 damned !

really bad news !.. my application need to work in booth mode : static and/or dhcp mode !

i'm waiting an official answer from Espressif support

thanks for you reply, regards