Part 2 – Commands for the SocketEthernet IP
Chapter 8 – General Commands for the
SocketEthernet IP (MT100SEM-IP)
Set Commands
#DHCP – DHCP On or Off
Description:
Syntax:
Responses:
Values:
Default:
#IPADDR – Set Static IP Address
Description:
Syntax:
Responses:
Values:
Default:
#IPGATEWAY – Set Gateway Address
Description:
Syntax:
Responses:
Values:
Default:
Universal IP AT Commands Reference Guide (Document S000457G)
Downloaded from
Elcodis.com
electronic components distributor
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.
Set Value:
AT#DHCP=<0,1>
View Value:
AT#DHCP?
AT#DHCP=0 returns OK
AT#DHCP? returns 0 and OK
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)
0
Sets the static IP Address.
Note:
The module must be reset to put the command into effect.
Set Value:
AT#IPADDR="<IP Address value>"
View Value:
AT#IPADDR?
AT#IPADDR =192.168.1.10 returns and OK
AT#IPADDR? returns 192.168.1.10 (Manually Configured) and OK
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.
192.168.2.3
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.
Set Value:
AT#IPGATEWAY="<gateway address value>"
View Value:
AT#IPGATEWAY?
AT#IPGATEWAY =192.168.1.11 returns and OK
AT#IPGATEWAY? returns 192.168.1.11 (Manually Configured) and OK
IP Address in dotted decimal notation (xxx.xxx.xxx.xxxx). "x" = a number between 0-255.
192.168.2.1
Chapter 8 – General Commands for SocketEthernet IP (MT100SEM-IP)
41
Need help?
Do you have a question about the SocketModem iCell MTSMC-G2-IP and is the answer not in the manual?