-->
Page 1 of 3

ESP8266 without DHCP server ??

PostPosted: Tue Nov 04, 2014 11:49 am
by phil31
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

Re: ESP8266 without DHCP server ??

PostPosted: Tue Nov 04, 2014 6:13 pm
by phil31
please.. nobody use this module with a static IP !?

thanks
phil

Re: ESP8266 without DHCP server ??

PostPosted: Wed Nov 05, 2014 4:28 pm
by saper_2
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

Re: ESP8266 without DHCP server ??

PostPosted: Wed Nov 05, 2014 6:24 pm
by phil31
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