AP Mode DHCP range
Posted: Fri Oct 27, 2017 2:55 am
Hi,
Question on esp32 with ESP-IDF v2.1
I want esp32 to turn to AP mode and set the DHCP range. For example , I want the clients who connect to ESP32 AP to get IP from "10.10.7.5" to "10.10.7.10", and the EPS32 AP ip_mask to be "255.255.255.0" and ip_Gateway to be "10.10.7.1" .
I can do the AP mode now but do not know how to set the dhcp range, ip mask and ip gate way.
Anyone can give a help?
Thanks very much.
Question on esp32 with ESP-IDF v2.1
I want esp32 to turn to AP mode and set the DHCP range. For example , I want the clients who connect to ESP32 AP to get IP from "10.10.7.5" to "10.10.7.10", and the EPS32 AP ip_mask to be "255.255.255.0" and ip_Gateway to be "10.10.7.1" .
I can do the AP mode now but do not know how to set the dhcp range, ip mask and ip gate way.
Anyone can give a help?
Thanks very much.