I am trying to configure ESP8266 with static IP but somehow the IP gateway is changing automatically to some invalid value.
IP configuration I want to set:
IP: 192.168.1.100
Mask: 255.255.255.0
GW: 192.168.1.254
But when I print the ip configuration I get back this:
IP: 192.168.1.100
Mask: 255.255.255.0
GW: 255.255.255.127
Can someone tell me or point me where things are going wrong? Is it that GW IP 192.168.1.254 is not allowed??
Unable to set static IP
-
- Posts: 11
- Joined: Fri Jul 17, 2015 7:13 pm
Re: Unable to set static IP
Postby ESP_Xutao » Mon Feb 27, 2017 11:15 am
Hi
About this,I don't you how to set,but you can consult this sample to set.
https://github.com/espressif/esp8266-rt ... /conn_ap.c
About this,I don't you how to set,but you can consult this sample to set.
https://github.com/espressif/esp8266-rt ... /conn_ap.c
Who is online
Users browsing this forum: No registered users and 60 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.