ESP DHCP commands?
Posted: Wed Feb 10, 2021 3:54 pm
Can someone please help me with the correct commands to do the following:
1) set DHCP to ON and DHCP for Station only
2) set DHCP to ON and DHCP for Station & SoftAP
3) turn off DHCP for Station only
4) turn off DHCP for Station & SoftAP
For example, when I try to turn on DHCP for JUST THE STATION:
AT+CWDHCP=1,1
OK
AT+CWDHCP?
+CWDHCP:7
OK
What the heck is "7". That doesn't correspond to anything in the manual.
My client will not fetch a DHCP address at all...
1) set DHCP to ON and DHCP for Station only
2) set DHCP to ON and DHCP for Station & SoftAP
3) turn off DHCP for Station only
4) turn off DHCP for Station & SoftAP
For example, when I try to turn on DHCP for JUST THE STATION:
AT+CWDHCP=1,1
OK
AT+CWDHCP?
+CWDHCP:7
OK
What the heck is "7". That doesn't correspond to anything in the manual.
My client will not fetch a DHCP address at all...