User's Manual

DTU-H100 Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com - 55 -
sta.: set/qurey TCP link status;
on: TCP link availabe; When setting “on", device will connect to TCP server
right away.
off: TCP link not availabe; when setting “off", device will disconnect with TCP
server and not connect again.
5.2.2.26. AT+ WANN
Function: Set/Query WAN setting, only effective as STA mode;
Format:
Query Operation
AT+WANN<CR>
+ok=<mode,address,mask,gateway><CR>< LF ><CR>< LF >
Set Operation
AT+ WANN=< mode,address,mask,gateway ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
mode: IP setting for WAN port
static: Static IP
DHCP: Dynamic IP
address: WAN port IP address;
mask: WAN port subnet mask;
gateway: WAN port gateway address;
This Instruction only effective for The device works as STA. After device boots up again, the setting
will be effective. But user can set this command when device configured as AP.
5.2.2.27. AT+ LANN
Function: Set/Query LAN setting, only effective as AP mode;
Format:
Query Operation
AT+LANN<CR>
+ok=<address,mask ><CR>< LF ><CR>< LF >
Set Operation
AT+ LANN=<address,mask ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
address: LAN port IP address;
mask: LAN port subnet mask;
This Instruction only effective for The device works as AP. After device boots up again, the setting will
be effective. But user can set this command when device configured as STA.
5.2.2.28. AT + DHCPDEN
Function: Enable/Disable LAN DHCP server function;
Format:
Query Operation