IOT-WORKSHOP
DTU-H10X
Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
- 54 -
on: TCP link setup;
off: TCP link not setup;
5.2.2.26.
AT + TCPDIS
Function: Open/Cose TCP (Only TCP Client available);
Format:
Query Operation
AT+TCPDIS<CR>
+ok=<sta><CR>< LF ><CR>< LF >
Set Operation
AT+ TCPDIS=<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
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.27.
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.28.
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 >