© Microhard Systems Inc.
174
5.0 AT Command Line Interface
AT+MNWAN
Command Syntax (Effect: AT&W)
Show/Add/Edit/Delete the network WAN interface.
AT+MNWAN[=<Mode>[,<Protocol>[,<IP>,<Netmask>[,<Gateway>]]]]
Usage:
AT+MNWAN
AT+MNWAN=<Mode>,<Protocol>,<IP>,<Netmask>[,<Gateway>] Where <Mode>=0/2 and <Protocol>=0
AT+MNWAN=<Mode>,<Protocol> Where <Mode>=0/2 and <Protocol>=1
AT+MNWAN=<Mode>,<Protocol> Where <Mode>=2 and <Protocol>=2
AT+MNWAN=<Mode> Where <Mode>=1
Parameters:
Mode: 0 - Independent WAN
1 - Bridge with LAN Port
2 - Independent LAN
Protocol: 0 - Static IP
1 - DHCP
2 - None
IP: Valid IP address
Netmask: Valid netmask
Gateway: Valid IP address. 0 - Reset
Description
Example
Input:
AT+MNWAN=0,1<enter>
Response:
OK
Input:
AT+MNWAN?
Response:
Working Mode: Independent WAN
WAN Configuration
Connection Type: DHCP
Default Route: Yes
DNS Server Mode: auto
OK