![USR IOT USR-DR404 Скачать руководство пользователя страница 68](http://html.mh-extra.com/html/usr-iot/usr-dr404/usr-dr404_user-manual_1064542068.webp)
USR-DR404 user manual
Jinan USR IOT Technology Limited
68
4.3.4.20. AT+WANN
Function: Query/Set WAN Setting, only valid in STA mode.
Format:
Query : AT+WANN<CR>
+ok=<mode,address,mask,gateway><CR>< LF ><CR>< LF >
Setting: AT+ WANN=< mode,address,mask,gateway ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
mode: IP mode of WAN, for example
static, static IP
DHCP, dynamic IP
address.: WAN IP address
mask: WAN subnet mask
gateway: WAN gateway address
4.3.4.21. AT+LANN
Function: Query/Set LAN settings, only valid in AP mode
Format:
Query : AT+LANN<CR>
+ok=<address,mask ><CR>< LF ><CR>< LF >
Setting: AT+ LANN=<address,mask ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
address.: LAN IP address
mask: LAN subnet mask
Note: The address of the WAN port of the module viewed by WANN and the address of the LAN port of the module viewed
by LANN. The two IPs cannot be set on the same network segment, otherwise the module does not work properly.
4.3.4.22. AT+TCPTO
Function: Query/Set TCP timeout
Format:
Query : AT+ TCPTO<CR>