User guide

Part 3 – Commands for Wi-Fi Devices Chapter 10 – IP Commands for the SocketWireless Wi-Fi (MT810SWM-IP)
Universal IP AT Commands Reference Guide (Document S000457H) 53
Chapter 10 IP Commands for the
SocketWireless Wi-Fi (MT810SWM-IP)
Set Commands
#DHCP – DHCP On or Off
Description: Enables or disables the DHCP client. If the DHCP client is enabled, the module will take the IP
address from DHCP server. If DHCP client is disabled, the module will take the static IP address
configured for the module.
Note: The module must be reset to put the command into effect.
Syntax: Set Value: AT#DHCP=<0,1>
View Value: AT#DHCP?
Values: AT#DHCP=0 Turn off DHCP (sets IP Address, Netmask, and Gateway back to defaults)
AT#DHCP=1 Turn on DHCP (automatically assigns IP Address, Netmask, and Gateway)
Default: 0
#IPADDR – Set Static IP Address
Description: Sets the static IP Address.
Note: The module must be reset to put the command into effect.
Syntax: Set Value: AT#IPADDR="<IP Address value>"
View Value: AT#IPADDR?
Values: IP Address in dotted decimal notation (xxx.xxx.xxx.xxx) "x" stands for a number between 0-
255. 255 is the maximum value in an xxx group.
Default: 192.168.2.3
#IPGATEWAY – Set Gateway Address
Description: Sets the default gateway address. The view of get command shows whether the address is
statically configured or obtained from the DHCP server.
Note: The module must be reset to put the command into effect.
Syntax: Set Value: AT#IPGATEWAY="<gateway address value>"
View Value: AT#IPGATEWAY?
Values: IP Address in dotted decimal notation (xxx.xxx.xxx.xxxx). "x" = a number between 0-255.
Default: 192.168.2.1