
Chapter 8 – General AT Commands
54 Universal IP AT Commands Reference Guide
Use these AT commands with SocketEthernet IP devices.
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: AT#DHCP=<0,1>
AT#DHCP? Read or display the current setting.
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
Responses: AT#DHCP=0 returns OK
AT#DHCP? returns 0 and OK
#IPADDR – Set Static IP Address
Description: Sets the static IP Address.
Note: The module must be reset to put the command into effect.
Syntax: AT#IPADDR="<IP Address value>"
AT#IPADDR? Read or display the current setting.
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
Responses: AT#IPADDR =192.168.1.10 returns and OK
AT#IPADDR? returns 192.168.1.10 (Manually Configured) and OK
#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: AT#IPGATEWAY="<gateway address value>"
AT#IPGATEWAY? Read or display the current setting.
Values: IP Address in dotted decimal notation (xxx.xxx.xxx.xxxx). "x" = a number between 0-255.
Default: 192.168.2.1
Responses: AT#IPGATEWAY =192.168.1.11 returns and OK
AT#IPGATEWAY? returns 192.168.1.11 (Manually Configured) and OK
Kommentare zu diesen Handbüchern