Cermetek Microelectronics, Inc Page 35 of 42
Document NO. 607-00xx Revision A (12/13)
4.2.5.20
AT+WANN
: This command allows the user to Set or Read the Wide Area Network (WAN)
settings of the CH232BGN.
Read WAN Configuration
AT+WANN<CR>
+ok=<mode,address,mask,gateway><CR>< LF ><CR>< LF >
Set WAN Configuration
AT+WANN=< mode,address,mask,gateway ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
mode (IP setting) = static (Static IP)
= DHCP (Dynamic IP)
address = WAN port IP address
mask = WAN port subnet mask
gateway = WAN port gateway address
Note: New settings for AT+WANN do not become active until the CH232BGN module reboots.
This command functions only in Station mode.
4.2.5.21
AT+ LANN
: This command Sets and Reads the Local Area network (LAN) parameters.
Read LAN Configuratoin
AT+LANN<CR>
+ok=<address,mask ><CR>< LF ><CR>< LF >
Set LAN Configuration
AT+LANN=<address,mask ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
address = IP Address
mask = subnet mask
Note: New settings for AT+LANN do not become active until the CH232BGN module reboots.
This command functions only when the CH232BGN is configured as an Access Point.