DHCPS and DHCPC not working simultaneously
Posted: Wed May 24, 2017 8:56 am
I am using the ESP8266 as an internet gateway for some IoT devices. I would like to use the ESP8266 in AP_STA mode so that users can connect to it in AP mode using their phone or laptop to configure network settings and view status, and the ESP8266 will also connect as a station to another access point that provides internet access to a remote database.
Although the AP function works well in either AP or AP_STA modes, I have been unable to get it to issue an IP address to connected stations even though debug output shows the DHCP server started and the station connected and assigned an IP address. The station never receives its IP address. This may be related to setting the AP SSID to something other than its default. Does anyone have this working reliably? If so, can you provide some details on how you did this? Thank you!
Although the AP function works well in either AP or AP_STA modes, I have been unable to get it to issue an IP address to connected stations even though debug output shows the DHCP server started and the station connected and assigned an IP address. The station never receives its IP address. This may be related to setting the AP SSID to something other than its default. Does anyone have this working reliably? If so, can you provide some details on how you did this? Thank you!