Multi-Tech Systems iCell GPRS (MTSMC-G2-IP manual #IPNETMASK Set Subnet Mask

Page 51

Part 2 – AT Commands for the SocketEthernet IPChapter 8 – General AT Commands for SocketEthernet IP

#IPNETMASK – Set Subnet Mask

Description:

Sets the subnet mask.

 

Note: The module must be reset to put the command into effect.

Syntax:

AT#IPNETMASK="<Subnet Mask value>"

 

AT#IPNETMASK? Read or display the current setting.

Responses:

AT#IPNETMASK = 255.255.255.0 returns and OK

 

AT#NETMASK? returns 255.255.255.0 (Manually Configured) and OK

Values:

IP Address in dotted decimal notation (xxx.xxx.xxx.xxxx). "x" = a number between 0-255.

Default:

255.255.255.0

#DNSSERV1 – Set DNS Server IP Address

Description: In order to translate the server names from literal format into IP addresses, the TCP/IP stack software implements the Domain Name System (DNS) protocol. The DNS Server IP address must be specified for use by the TCP/IP stack software.

Syntax: AT#DNSSERV1="<value>"

AT#DNSSERV1? Read or display the current setting.

Responses: AT# DNSSERV1=192.168.0.1 returns and OK

AT# DNSSERV1? returns 192.168.0.1 and OK

Values: 32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.xxx).

Default: 202.56.215.6

#DNSSERV2 – Set Secondary DNS Server

Description: In order to translate the server names from literal format into IP addresses, the TCP/IP stack software implements the Domain Name System (DNS) protocol. The DNS Server IP address has to be specified for use by the TCP/IP stack software. This secondary DNS server is used in the case where the primary DNS server does not respond to a request.

Syntax: AT#DNSSERV2="<value>"

AT#DNSSERV2? Read or display the current setting.

Values: 32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.xxx).

Default: 202.56.230.6

Note: The Universal IP resolver (DNS Client) has a list that holds up to 4 DNS servers, the first 2 in the list are populated by the #DNSSERV1 and #DNSSERV2 commands, the 3rd and 4th are populated by DNS information provided by the ISP or cellular carrier. The list is checked in order (1-4). This means that user configured name servers will be checked before dynamically assigned name servers.

#EMACSPD – Set Ethernet Connection

Description: Sets the Ethernet connection at 10 or 100 full or half duplex.

Syntax: AT#EMACSPD=x where x stands for 0,1,2,3,4

Values: 0 – Auto Sensing

1 – 10Mbis half duplex

2 – 10Mbis full duplex

3 – 100Mbis half duplex

4 – 100Mbis full duplex

AT#EMACSPD? View the current setting. Can view with AT#VALL or AT#VIP also.

Default: AT#EMACSPD=0

Universal IP AT Commands Reference Guide (Document S000457K)

51

Image 51
Contents Universal IP Copyright Product Number of This Document S000457K, Version KContents Display Command Ping AT Commands for All Universal IP Devices Set Commands #VTELNET View Telnet Settings Incoming Call Management Commands 106 103104 105Part AT Commands for All Universal IP Devices Identification Set CommandsAT Command Mode Turn Echo ON/OFFDTR Option Default ConfigurationReset Factory Defaults Rlsd DCD Option Turn On or Off+ICF DTE-DCE Character Framing Store Factory Defaults to NVMDisplay +IFC Set Flow Control+IPR Set Serial Speed #DELFLASH Erase Flash Memory Parameter Values#LEGACYMODE Legacy Mode Enable/Disable #RESET Reset Main Processor or Internal Modem#SHIELDCHAR Configure the Shielding Character for Dlemode AT#VSHOWSERIAL Display Commands#ESCAPECHAR Configure the Escape Character for Dlemode AT#ESCAPECHAR=parameter1AT#VSHOWUPTIMES #VVERSION Display Software Version#VSTATE Display Current State of Physical Connection AT#VSHOWUPTIMESyntax AT#VALL Possible Responses MT100SEM-IP #VALL Display All ParametersPossible Responses Applies to All Except MT100SEM-IP Syntax AT#VALL#CCRECi Set Additional Recipient CC Smtp AT Commands for All Universal IP Devices#SENDERNAME Set Sender Name #SENDERADDR Set Sender AddressSyntax AT#DOMAIN=value #DOMAIN Set Domain Name of the Sender#RECiADD Set Email Address #SUBJi Set Email Pre-Defined Subject TextSyntax AT#SMTPPORT=value Syntax AT#SMTPNETWORKTIMER=parameter1#BODYi Set Pre-Defined Email Combinations #SMTPPORT Set Smtp Server Port#SMTPPW Set Smtp Password #SMTPSERV Set Smtp Server Address#SMTPUN Set Smtp User Name #SENDMAILi Send Mail without Interactive Mode AT#SENDMAILi#SENDMAIL3 #PUTMAIL Send Mail to Recipient with Interactive Mode Command Possible ResponsesSyntax AT#PUTMAIL OFF #SMTPAUTH Authentication on or OFF#VSMTP Display Smtp Parameters #VMAILi Display Email Parameters for Respective Mail ID#POP3PORT Set POP3 Server Port POP3 AT Commands for All Universal IP Devices#POP3PW Set POP3 Password #POP3HEADERMODE POP3 Header#VPOP3 POP3 Module Parameters Display Command#POP3UN Set POP3 User Name #GETMAIL Retrieve Host Mail#FTPTYPE Specify Data Type FTP AT Commands for All Universal IP Devices#FTPMODE Enter FTP Mode #FTPPORT Enter FTP Server Port#FTPGETFILENAME Set FTP Download File Name #FTPPW Set FTP Password#FTPSERV Specify FTP Server Address #FTPUN Set FTP User NameAT#FTPPUT #FTPGET Download Files from FTP Server#FTPPUT Upload Files to FTP Server AT#FTPGET#FTPGETPATH Set Path to Get a File from FTP Server #FTPPUTPATH Set Path to Send Files to FTP Server#FTPAPPEND Append Data to Server Syntax AT#VFTP Values Ftpserv #VFTP Display FTP Parameters#PERSISTENTSOCKET Persistent Socket TCP AT Commands for All Universal IP Devices#DLEMODE Set DLE Mode Defaults 0,1AT#TCPPORT=id,TCP Port number for remote peer value #TCPTXDELAY Time Delay#TCPPORT Set TCP Port for Remote Peer #TCPSERV Set Address of Remote TCP ServerParameter #TCPPACKETMIN TCP Client Transmit Packet Minimum Size#TCPPACKETMAX TCP Client Transmit Packet Maximum Size AT#TCPPACKETMIN=parameter1, parameter2#TCPINACTIVITYTIMER TCP Client Inactivity Timeout Value AT#TCPINACTIVITYTIMER=parameter1, parameter2AT#TCPNETWORKTIMER=parameter1, parameter2 AT#TCPTELNETPW=parameter1, parameter2 #TCPTELNETMODE Enable/Disable TCP Client Telnet ProtocolLine feed character not just any key AT#TCPTELNETMODE=parameter1, parameter2Syntax AT#LTCPSTART=id #LTCPSTART Open Listening Mode#TCPTELNETUN Set the TCP Client Telnet Protocol User Name AT#TCPTELNETUN=parameter1, parameter2Dlemode Value Notes #LTCPSTOP Close TCP Listening Mode#OUTPORT UDP/TCP Local Port Number #OTCP Open a TCP ConnectionAT#VTCP=id or AT#VTCP Example Command Possible ResponsesTcptxdelay 2 #VTCP Display TCP ParametersResult Codes UDP AT Commands for All Universal IP DevicesDefaults Example #UDPPACKETMIN UDP Client Transmit Packet Minimum Size#UDPPACKETMAX UDP Client Transmit Packet Maximum Size #UDPINACTIVITYTIMER UDP Client Inactivity Timeout ValueAT#UDPINACTIVITYTIMER=parameter1 Command Examples#UDPPORT UDP Port Number Default Responses#UDPIGNORESRCPORT Ignore Send Source Port #UDPREMOTEPORT Remote Port Number#UDPSERV UDP Server Address #UDPTXDELAY Delay before Sending UDP DatagramSyntax AT#UDPTXDELAY=Value Default ValueAT#UDPDLEMODE=parameter1 #UDPDLEMODE Set DLE Mode#LUDPSTART Initiate the UDP Session in Listen Mode Udpsesrv UdptxdelaySyntax AT#VUDP #LUDPSTOP Close UDP Listening Mode#OUDP Initiate UDP Session in Active Mode #VUDP Display UDP Module Configuration#PINGREMOTE IP Address of Ping Request Ping AT Commands for All Universal IP Devices#PINGDELAY Ping Delay Time #PINGNUM Number of Ping RequestsValues Displayed Pingnum Pingremote Pingenable Pingdelay#VPING Display Ping Parameters Syntax AT#VPINGPart AT Commands for SocketEthernet IP #IPGATEWAY Set Gateway Address General AT Commands for SocketEthernet IP#DHCP Dhcp On or Off #IPADDR Set Static IP Address#EMACSPD Set Ethernet Connection #IPNETMASK Set Subnet Mask#DNSSERV1 Set DNS Server IP Address #DNSSERV2 Set Secondary DNS ServerValues None Display Example Interface UP #HOSTNAME Configure the Dhcp Client Host Name#ETHIFSTATUS View Network Interface Settings #VDNS Display Configuration of DNS ServersSyntax AT#VIP Values None #VIP View Address Settings#AUTODISCPORT Auto Discovery Port Auto Discovery AT Commands for the SocketEthernet IP#AUTODISCTIMER Auto Discovery Timer #AUTODISC Auto Discovery On/Off#AUTODISCPASSWORD Sets Auto Discover Password #VAUTODISC Display Auto Discovery Commands#AUTODISCUSERNAME Set Auto Discover User Name Part AT Commands for SocketWireless Wi-Fi Devices IP AT Commands for SocketWireless Wi-Fi AT#IPDNSSERV #IPDNSSERV Configure the DNS ServerDisables DNS Enable DNS#IPRESOLV Is There a Connection with DNS or Not #IPRELEASE Release a Dhcp Address Assigned by the Server#IPRENEW Renew the Dhcp Information from the Server #IPQUERY Give a Domain NameSyntax AT#VDNS #IPDNSTABLE Display DNS TableAT#IPDNSTABLE Response ValuesS2 Escape Sequence General AT Commands for SocketWireless Wi-FiPrevious Command Manual Answer of TCP or UDP ConnectionAT#BOOTMSG=0,1 #BOOTMSG Enable/Disable Boot Message#WATCHDOG Enable/Disable Watchdog #WATCHDOGTIMER Watchdog Timer#TELNETUSER Set Telnet User Values Default#TELNET Start/Stop Telnet Session #TELNETPORT- Set Telnet PortAT#TELNETPASSWORD? #TELNETPASSWORD Set Telnet Password#VTELNET View Telnet Settings AT# Telnetpassword = 64 char string#WLANCOUNTRYCODE Country Code Wlan AT Commands for SocketWireless Wi-Fi#WLANSECURITYMODE Security Mode of Wlan Module #WLANNETWORKMODE Wlan Network Mode#WLANDATARATE Wlan Transmission Data Rate #WLANSCANMODE Scanning Mode#WLANIBSSCHANNEL Channel for Ad-Hoc Mode #WLANSSID Ssid of Wlan#WLANDISCONNECT Disconnect with AP #WLANENABLE Auto Connect Module with AP#WLANDOZE= Moves Module into or out of Power Save #WLANCONNECT Connect with APSyntax AT#WLANSCAN #WLANSCAN Scan Wireless Networks#WLANPROFILEn=n Change the Wlan Profile Keyindex =#WEP64KEY Keys for WEP64 Security Mode #WLANGETRSSI Received Signal Strength#WLANACTIVATE Move Module out of Power Save #WLANROAM Enable/Disable Roaming#WEPKEYID Set the Default TX Key Index #WEP128KEY Keys for WEP128 Security Mode#WPAPSKKEY Keys for WPA PSK Security Mode #WPA2PSKKEY Keys for WPA2 PSK Security ModeAT#WLANSETPROFILEvalue? #WEP? See the Value of the WEP Keys#WLANPROFILE Display the Wlan Profile AT#WEP?AT#WLANASSOCINFO #WLAN? Wlan Module#WLANASSOCINFO Display Association Information AT#WLAN?AT Commands for the Following Devices AT Commands for +WOPEN Set IP Mode or Modem Mode#AUTHENT Authentication Type AT#SMSPHRASE=parameter1 #ANSWERMODE Set Answering Mode#SMSPHRASE Set Incoming SMS Phrase AT#ANSWERMODE=valueDefault Example #CALLBACKTIMER Set Automatic Call-Back Wait#CALLSCREENNUM Set Caller ID Service #KEEPALIVEMODE Keep-Alive Mode#KEEPALIVEDELAY Keep-Alive Delay #KEEPALIVEPORT Keep-Alive Port Number#KEEPALIVESERV Keep-Alive Server Address #REDIALCOUNT Set Connection Attempts Allowed #ATCMD Customize Dial-Up Commands#REDIALDELAY Set Call Retry Delay #PHYTIMEOUT Set Inactivity Time#RINGCOUNT Set Number of Rings/Automatic Operation #DIALN1 Set Primary Dial-Up Number#DIALN2 Set Secondary Dial-Up Number #ISPPW Set ISP Password #DIALSELECT Set Internet Connection Number#ISPUN Set ISP User Name AT#ACCEPT Incoming Call Management Commands#ACCEPT Answer Incoming Call #CONNECTIONSTOP Stop CommunicationAT#CONNECTIONSTART #CONNECTIONSTART Start Communication#PPPPEERIP Set IP Address for Remote PPP #PPPMYIP Set IP Address When Using PPP#AUTOCONNECT Automatically Connect the PPP Link #PPPMODE Set TCP/IP Behavior#APNUN Set Access Point User Name #PPPSERVPW Set Remote PPP Client Password#APNPW Set Access Point Name Password #APNSERV Set Access Point Name#GPRSMODE Activate Switching Between GSM and Gprs #GPRSCID Set PDP Context Identifier#DISPLAYIP Display IP Addresses AT#VPHY #VPPP Display PPP Parameters#VPHY Display Physical Parameters AT#VPPPGpio AT Commands Part Gpio AT CommandsTrigger Level Gpio AT CommandsAbout Gpio Values Gpio FunctionSend AT#GPIOR=1\r AT#GPIOR=parameterGpio Port \r\n#GPIOR VALUE1,VALUE2\r\n#GPIOTRIGGER Configure the Gpio pin and trigger type Description Configure the Gpio pin and trigger typeSyntax AT#GPIOTRIGGER=parameter1,parameter2 Commands for GPS-Enabled Device Part AT Commands for GPS-Enabled Device#GPSPROTO Set GPS Host Protocol AT Commands for GPS Enable Products#GPSSERV Set GPS Host Server Address #GPSPORT Set GPS Host Port#GPSINTERVAL Set GPS Server Transmission Interval #GPSPW Set GPS Host Login Password#GPSGPGGA Enable/Disable Gpgga Message #GPSURAIS Set GPS Unique Remote Asset Identification String#GPSGPRMC Enable/Disable Gprmc Message #GPSGPGLL Enable/Disable Gpgll Message#GPSGPGSA Enable/Disable Gpgsa Message #GPSGPGSV Enable/Disable Gpgsv Message#GPSGPVTG Enable/Disable Gpvtg Message #GPSINTERVALLOC GPS Local Transmission Interval#GPSGETMESSAGE Get Queued GPS Message Where GPS Message SyntaxGPS Message Examples GpsprefixgpsuraisnmeamessagecrlfGPS Configuration Examples Introduction Nmea Protocol Overview Application Note GPS Nmea MessagesGGA Global Positioning System Fix Data StructureExample GSA Gnss DOP and Active Satellites GLL Latitude/LongitudeGSV Gnss Satellites in View $GPGSVSNR $GPVTG RMC Recommended Minimum Specific Gnss DataVTG Course Over Ground and Ground Speed $GPRMCPart Appendixes Ring Appendix a Response Messages Error CodesResponse Messages Standard AT Messages Numeric Verbose DescriptionError Codes Error CodesNumeric Description Sending/Retrieving Email Response Messages Sending an Email AT#PUTMAIL Commands ResponsesAppendix B Response Message Examples Response Messages ExamplesAT#POP3PORT=110 AT#GETMAIL Retrieving an Email AT#GETMAIL Commands ResponsesAT#FTPPUT Upload a file to an FTP Server AT#FTPPUT Commands ResponsesFTP Download / Upload Files Response Messages AT#FTPPUTPATH=Act as a TCP Server AT#LTCPSTART Commands Responses Act as a TCP Client AT#OTCP Commands ResponsesTCP Socket Response Messages #FTPAPPEND Append Data to Server Index#UDPTXDELAY Delay before Sending UDP Datagram Close TCP Listening Mode #LTCPSTOP #LTCPSTART Open Listening Mode #PINGNUM Number of Ping Requests Commands for SocketModem IP Commands for SocketWireless Wi-Fi #PERSISTENTSOCKET Delay before Sending UDP Initiate the UDP Session in Listen Mode 119

iCell GPRS (MTSMC-G2-IP specifications

Multi-Tech Systems iCell GPRS (MTSMC-G2-IP) is a versatile and powerful device designed for seamless connectivity in various applications, particularly in industrial and commercial environments. Known for its robust performance, the iCell GPRS module incorporates advanced technologies that enable effective communication over GPRS networks, making it an ideal solution for IoT applications, remote monitoring, and data collection processes.

One of the main features of the iCell GPRS is its dual SIM capability, which enhances network reliability and ensures continuous connectivity even in the event of network outages. By allowing the use of two SIM cards from different carriers, the device can switch between networks automatically, thereby minimizing downtime and maintaining critical communication channels.

The iCell GPRS supports various protocols including TCP/IP, UDP, and MQTT, which facilitates seamless integration with a range of applications. This flexibility in communication protocols allows developers to create customized solutions tailored to their specific needs, ensuring that the device can fit seamlessly into their existing infrastructure.

Another key characteristic of the MTSMC-G2-IP is its compact design and durability, making it suitable for deployment in a variety of environments. It features a wide operating temperature range that allows it to function efficiently in both extreme heat and cold, thereby catering to diverse applications across different industries. Additionally, the device is designed for easy installation and integration, which helps reduce deployment time and costs.

The iCell GPRS also includes built-in security features such as firewalls and secure data transmission protocols, protecting sensitive information from unauthorized access. This is particularly important for applications in sectors such as healthcare, finance, and transportation, where data integrity and security are paramount.

Furthermore, the device is equipped with various I/O ports that facilitate connectivity with external sensors, actuators, and other hardware. This feature makes it highly adaptable for monitoring and control systems, enabling users to gather real-time data and respond promptly to changing conditions.

In sum, the Multi-Tech Systems iCell GPRS (MTSMC-G2-IP) is a reliable and feature-rich solution designed for modern communication needs. Its dual SIM support, protocol versatility, robust design, and integrated security features make it an ideal choice for IoT and remote monitoring applications across numerous industries. Whether used in industrial automation, environmental monitoring, or smart cities, the iCell GPRS stands out as a dependable device that enhances connectivity and operational efficiency.