USR-WIFI232-A/B/C User Manual
http://www.usriot.com
Jinan USR IOT Technology Limited
Page 64 of 93
This Instruction only effective for USR-WIFI232-A/B/C works as AP. After USR-WIFI232-A/B/C module
boots up again, the setting will be effective. But user can set this command when module configured
as STA.
Note: AT+WANN check the wan port address of module, AT+LANN check the LAN port address of
module, and the two IP cannot be set on the same network segment,If do,Module will be abnormal.
5.2.2.2.23
5.2.2.2.23
5.2.2.2.23
5.2.2.2.23
AT+DHCPDEN
AT+DHCPDEN
AT+DHCPDEN
AT+DHCPDEN
�
Function: Enable/Disable LAN DHCP server function;
�
Format:
�
Query Operation
AT+DHCPDEN<CR>
AT+DHCPDEN<CR>
AT+DHCPDEN<CR>
AT+DHCPDEN<CR>
+ok=<sta><CR><LF><CR><LF>
+ok=<sta><CR><LF><CR><LF>
+ok=<sta><CR><LF><CR><LF>
+ok=<sta><CR><LF><CR><LF>
�
Set Operation
AT+DHCPDEN=<sta><CR>
AT+DHCPDEN=<sta><CR>
AT+DHCPDEN=<sta><CR>
AT+DHCPDEN=<sta><CR>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
+ok<CR><LF><CR><LF>
�
Parameters:
�
sta. If Enable/Disable LAN DHCP server function;
�
on: Enable LAN DHCP function
�
off: Disable LAN DHCP function
5.2.2.2.24
5.2.2.2.24
5.2.2.2.24
5.2.2.2.24
AT+
AT+
AT+
AT+ DHCPGW
DHCPGW
DHCPGW
DHCPGW
�
Function: Set/Query DHCP gateway address;
�
Format:
�
Query Operation
AT+
AT+
AT+
AT+ DHCPGW<CR>
DHCPGW<CR>
DHCPGW<CR>
DHCPGW<CR>
+ok=<address><CR><
+ok=<address><CR><
+ok=<address><CR><
+ok=<address><CR>< LF
LF
LF
LF ><CR><
><CR><
><CR><
><CR>< LF
LF
LF
LF >
>
>
>
�
Set Operation
AT+
AT+
AT+
AT+ DHCPGW=<address
DHCPGW=<address
DHCPGW=<address
DHCPGW=<address ><CR>
><CR>
><CR>
><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
LF
LF
LF ><CR><
><CR><
><CR><
><CR>< LF
LF
LF
LF >
>
>
>
�
Parameters:
�
address: DHCP gate address;
5.2.2.2.25
5.2.2.2.25
5.2.2.2.25
5.2.2.2.25
AT+
AT+
AT+
AT+ TCPTO
TCPTO
TCPTO
TCPTO
�
Function: Set/Query TCP timeout;
�
Format:
�
Query Operation
AT+
AT+
AT+
AT+ TCPTO<CR>
TCPTO<CR>
TCPTO<CR>
TCPTO<CR>
+ok=<time><CR><
+ok=<time><CR><
+ok=<time><CR><
+ok=<time><CR>< LF
LF
LF
LF ><CR><
><CR><
><CR><
><CR>< LF
LF
LF
LF >
>
>
>
�
Set Operation
AT+
AT+
AT+
AT+ TCPTO=<time
TCPTO=<time
TCPTO=<time
TCPTO=<time ><CR>
><CR>
><CR>
><CR>
+ok<CR><
+ok<CR><
+ok<CR><
+ok<CR>< LF
LF
LF
LF ><CR><
><CR><
><CR><
><CR>< LF
LF
LF
LF >
>
>
>
�
Parameters:
�
time: TCP timeout time.
�
<= 600, (600s);
�
>=0, (0 means no timeout);
�
Default, 0s;