Multi-Tech Systems iCell GPRS (MTSMC-G2-IP #UDPDLEMODE Set DLE Mode, AT#UDPDLEMODE=parameter1

Page 45

Part 1 – AT Commands for All Universal IP Devices

Chapter 6 – UDP AT Commands

#UDPDLEMODE – Set DLE Mode

Description:

The attached host has the choice whether or not to code the ETX character.

 

Note: This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP).

Notes:

If UDPDLEMODE is disabled, the user MUST use the RS232 DTR signal to perform a socket

 

disconnect or disconnect the network connection

Details:

If UDPDLEMODE is enabled, these rules must be followed: The user must shield all transmitted

 

ETX ([x03]) and DLE (x10) characters by preceding these characters with a DLE (x10).

 

The UIP stack will shield all UDP received ETX ([x03]) and DLE (x10) characters by preceding

 

these characters with a DLE (x10), the user must un-shield by removing the DLE (x10) shield

 

character.

 

An example payload to transmit from user to UIP stack:

 

(x01 x02 x03 x04 x01 x10) must be sent to the UIP stack as: (x01 x02 x10 x03 x04 x01 x10

 

x10). Notice the x10 before the [x03] and before the x10.

 

An example received payload by the UIP over UDP:

 

(x01 x02 x03 x04 x01 x10) is received by the UIP stack, the user will receive: (x01 x02 x10

 

x03 x04 x01 x10 x10). Notice the x10 before the [x03] and before the x10.

 

In summary: Encoding - 0x03 == 0x10 0x03

 

Encoding - 0x10 == 0x10 0x10

 

Decoding - 0x10 0x03 == 0x03

 

Decoding - 0x10 0x10 == 0x10

 

The REMOTE user does NOT have to perform any function pertaining to this mechanism.

 

If the user receives an un-shielded 0x03, the socket is finished.

Syntax:

AT#UDPDLEMODE=<parameter1>

 

AT#UDPDLEMODE? Read or display the current setting.

Values:

parameter 1

 

0 No extra processing is needed on DLE (x10) and ETX ([x03]) characters

 

1 The ETX character is used as a socket disconnect or indicates a socket disconnect

Responses:

\r\n#UDPDLEMODE: VALUE\r\n

 

\r\nOK\r\n

 

\r\nERROR\r\n

Command Example(s):

send: AT#UDPDLEMODE=0\r reply: \r\nOK\r\n

send: AT#UDPDLEMODE?\r reply: \r\n#UDPDLEMODE: 0\r\n reply: \r\nOK\r\n

#LUDPSTART – Initiate the UDP Session in Listen Mode

Description: Once an IP link is established, and if no other TCP/IP stack resource is active, this command sent by the attached host directs the TCP/IP stack to initiate the UDP session in listen mode on the specified UDP local port UDPPORT.

Syntax: AT#LUDPSTART

Values: UDPPORT

UDPSESRV

UDPTXDELAY

No default

Universal IP AT Commands Reference Guide (Document S000457K)

45

Image 45
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 104 103105 106Part AT Commands for All Universal IP Devices AT Command Mode Set CommandsTurn Echo ON/OFF IdentificationReset Factory Defaults Default ConfigurationRlsd DCD Option Turn On or Off DTR Option+ICF DTE-DCE Character Framing Store Factory Defaults to NVM+IPR Set Serial Speed +IFC Set Flow Control#DELFLASH Erase Flash Memory Parameter Values Display#LEGACYMODE Legacy Mode Enable/Disable #RESET Reset Main Processor or Internal Modem#SHIELDCHAR Configure the Shielding Character for Dlemode #ESCAPECHAR Configure the Escape Character for Dlemode Display CommandsAT#ESCAPECHAR=parameter1 AT#VSHOWSERIAL#VSTATE Display Current State of Physical Connection #VVERSION Display Software VersionAT#VSHOWUPTIME AT#VSHOWUPTIMESSyntax AT#VALL Possible Responses MT100SEM-IP #VALL Display All ParametersPossible Responses Applies to All Except MT100SEM-IP Syntax AT#VALL#SENDERNAME Set Sender Name Smtp AT Commands for All Universal IP Devices#SENDERADDR Set Sender Address #CCRECi Set Additional Recipient CC#RECiADD Set Email Address #DOMAIN Set Domain Name of the Sender#SUBJi Set Email Pre-Defined Subject Text Syntax AT#DOMAIN=value#BODYi Set Pre-Defined Email Combinations Syntax AT#SMTPNETWORKTIMER=parameter1#SMTPPORT Set Smtp Server Port Syntax AT#SMTPPORT=value#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 #VSMTP Display Smtp Parameters #SMTPAUTH Authentication on or OFF#VMAILi Display Email Parameters for Respective Mail ID OFF#POP3PW Set POP3 Password POP3 AT Commands for All Universal IP Devices#POP3HEADERMODE POP3 Header #POP3PORT Set POP3 Server Port#POP3UN Set POP3 User Name Display Command#GETMAIL Retrieve Host Mail #VPOP3 POP3 Module Parameters#FTPMODE Enter FTP Mode FTP AT Commands for All Universal IP Devices#FTPPORT Enter FTP Server Port #FTPTYPE Specify Data Type#FTPSERV Specify FTP Server Address #FTPPW Set FTP Password#FTPUN Set FTP User Name #FTPGETFILENAME Set FTP Download File Name#FTPPUT Upload Files to FTP Server #FTPGET Download Files from FTP ServerAT#FTPGET AT#FTPPUT#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#DLEMODE Set DLE Mode TCP AT Commands for All Universal IP DevicesDefaults 0,1 #PERSISTENTSOCKET Persistent Socket#TCPPORT Set TCP Port for Remote Peer #TCPTXDELAY Time Delay#TCPSERV Set Address of Remote TCP Server AT#TCPPORT=id,TCP Port number for remote peer value#TCPPACKETMAX TCP Client Transmit Packet Maximum Size #TCPPACKETMIN TCP Client Transmit Packet Minimum SizeAT#TCPPACKETMIN=parameter1, parameter2 Parameter#TCPINACTIVITYTIMER TCP Client Inactivity Timeout Value AT#TCPINACTIVITYTIMER=parameter1, parameter2AT#TCPNETWORKTIMER=parameter1, parameter2 Line feed character not just any key #TCPTELNETMODE Enable/Disable TCP Client Telnet ProtocolAT#TCPTELNETMODE=parameter1, parameter2 AT#TCPTELNETPW=parameter1, parameter2#TCPTELNETUN Set the TCP Client Telnet Protocol User Name #LTCPSTART Open Listening ModeAT#TCPTELNETUN=parameter1, parameter2 Syntax AT#LTCPSTART=id#OUTPORT UDP/TCP Local Port Number #LTCPSTOP Close TCP Listening Mode#OTCP Open a TCP Connection Dlemode Value NotesTcptxdelay 2 Example Command Possible Responses#VTCP Display TCP Parameters AT#VTCP=id or AT#VTCPDefaults Example UDP AT Commands for All Universal IP Devices#UDPPACKETMIN UDP Client Transmit Packet Minimum Size Result CodesAT#UDPINACTIVITYTIMER=parameter1 #UDPINACTIVITYTIMER UDP Client Inactivity Timeout ValueCommand Examples #UDPPACKETMAX UDP Client Transmit Packet Maximum Size#UDPIGNORESRCPORT Ignore Send Source Port Default Responses#UDPREMOTEPORT Remote Port Number #UDPPORT UDP Port NumberSyntax AT#UDPTXDELAY=Value #UDPTXDELAY Delay before Sending UDP DatagramDefault Value #UDPSERV UDP Server Address#LUDPSTART Initiate the UDP Session in Listen Mode #UDPDLEMODE Set DLE ModeUdpsesrv Udptxdelay AT#UDPDLEMODE=parameter1#OUDP Initiate UDP Session in Active Mode #LUDPSTOP Close UDP Listening Mode#VUDP Display UDP Module Configuration Syntax AT#VUDP#PINGDELAY Ping Delay Time Ping AT Commands for All Universal IP Devices#PINGNUM Number of Ping Requests #PINGREMOTE IP Address of Ping Request#VPING Display Ping Parameters Pingnum Pingremote Pingenable PingdelaySyntax AT#VPING Values DisplayedPart AT Commands for SocketEthernet IP #DHCP Dhcp On or Off General AT Commands for SocketEthernet IP#IPADDR Set Static IP Address #IPGATEWAY Set Gateway Address#DNSSERV1 Set DNS Server IP Address #IPNETMASK Set Subnet Mask#DNSSERV2 Set Secondary DNS Server #EMACSPD Set Ethernet Connection#ETHIFSTATUS View Network Interface Settings #HOSTNAME Configure the Dhcp Client Host Name#VDNS Display Configuration of DNS Servers Values None Display Example Interface UPSyntax AT#VIP Values None #VIP View Address Settings#AUTODISCTIMER Auto Discovery Timer Auto Discovery AT Commands for the SocketEthernet IP#AUTODISC Auto Discovery On/Off #AUTODISCPORT Auto Discovery Port#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 Disables DNS #IPDNSSERV Configure the DNS ServerEnable DNS AT#IPDNSSERV#IPRENEW Renew the Dhcp Information from the Server #IPRELEASE Release a Dhcp Address Assigned by the Server#IPQUERY Give a Domain Name #IPRESOLV Is There a Connection with DNS or NotAT#IPDNSTABLE #IPDNSTABLE Display DNS TableResponse Values Syntax AT#VDNSPrevious Command General AT Commands for SocketWireless Wi-FiManual Answer of TCP or UDP Connection S2 Escape Sequence#WATCHDOG Enable/Disable Watchdog #BOOTMSG Enable/Disable Boot Message#WATCHDOGTIMER Watchdog Timer AT#BOOTMSG=0,1#TELNET Start/Stop Telnet Session Values Default#TELNETPORT- Set Telnet Port #TELNETUSER Set Telnet User#VTELNET View Telnet Settings #TELNETPASSWORD Set Telnet PasswordAT# Telnetpassword = 64 char string AT#TELNETPASSWORD?#WLANSECURITYMODE Security Mode of Wlan Module Wlan AT Commands for SocketWireless Wi-Fi#WLANNETWORKMODE Wlan Network Mode #WLANCOUNTRYCODE Country Code#WLANIBSSCHANNEL Channel for Ad-Hoc Mode #WLANSCANMODE Scanning Mode#WLANSSID Ssid of Wlan #WLANDATARATE Wlan Transmission Data Rate#WLANDOZE= Moves Module into or out of Power Save #WLANENABLE Auto Connect Module with AP#WLANCONNECT Connect with AP #WLANDISCONNECT Disconnect with AP#WLANPROFILEn=n Change the Wlan Profile #WLANSCAN Scan Wireless NetworksKeyindex = Syntax AT#WLANSCAN#WLANACTIVATE Move Module out of Power Save #WLANGETRSSI Received Signal Strength#WLANROAM Enable/Disable Roaming #WEP64KEY Keys for WEP64 Security Mode#WPAPSKKEY Keys for WPA PSK Security Mode #WEP128KEY Keys for WEP128 Security Mode#WPA2PSKKEY Keys for WPA2 PSK Security Mode #WEPKEYID Set the Default TX Key Index#WLANPROFILE Display the Wlan Profile #WEP? See the Value of the WEP KeysAT#WEP? AT#WLANSETPROFILEvalue?#WLANASSOCINFO Display Association Information #WLAN? Wlan ModuleAT#WLAN? AT#WLANASSOCINFOAT Commands for the Following Devices AT Commands for +WOPEN Set IP Mode or Modem Mode#AUTHENT Authentication Type #SMSPHRASE Set Incoming SMS Phrase #ANSWERMODE Set Answering ModeAT#ANSWERMODE=value AT#SMSPHRASE=parameter1#CALLSCREENNUM Set Caller ID Service #CALLBACKTIMER Set Automatic Call-Back Wait#KEEPALIVEMODE Keep-Alive Mode Default Example#KEEPALIVEDELAY Keep-Alive Delay #KEEPALIVEPORT Keep-Alive Port Number#KEEPALIVESERV Keep-Alive Server Address #REDIALDELAY Set Call Retry Delay #ATCMD Customize Dial-Up Commands#PHYTIMEOUT Set Inactivity Time #REDIALCOUNT Set Connection Attempts Allowed#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 #ACCEPT Answer Incoming Call Incoming Call Management Commands#CONNECTIONSTOP Stop Communication AT#ACCEPTAT#CONNECTIONSTART #CONNECTIONSTART Start Communication#AUTOCONNECT Automatically Connect the PPP Link #PPPMYIP Set IP Address When Using PPP#PPPMODE Set TCP/IP Behavior #PPPPEERIP Set IP Address for Remote PPP#APNPW Set Access Point Name Password #PPPSERVPW Set Remote PPP Client Password#APNSERV Set Access Point Name #APNUN Set Access Point User Name#GPRSMODE Activate Switching Between GSM and Gprs #GPRSCID Set PDP Context Identifier#DISPLAYIP Display IP Addresses #VPHY Display Physical Parameters #VPPP Display PPP ParametersAT#VPPP AT#VPHYGpio AT Commands Part Gpio AT CommandsAbout Gpio Gpio AT CommandsValues Gpio Function Trigger LevelGpio Port AT#GPIOR=parameter\r\n#GPIOR VALUE1,VALUE2\r\n Send AT#GPIOR=1\r#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#GPSSERV Set GPS Host Server Address AT Commands for GPS Enable Products#GPSPORT Set GPS Host Port #GPSPROTO Set GPS Host Protocol#GPSGPGGA Enable/Disable Gpgga Message #GPSPW Set GPS Host Login Password#GPSURAIS Set GPS Unique Remote Asset Identification String #GPSINTERVAL Set GPS Server Transmission Interval#GPSGPGSA Enable/Disable Gpgsa Message #GPSGPGLL Enable/Disable Gpgll Message#GPSGPGSV Enable/Disable Gpgsv Message #GPSGPRMC Enable/Disable Gprmc Message#GPSGPVTG Enable/Disable Gpvtg Message #GPSINTERVALLOC GPS Local Transmission Interval#GPSGETMESSAGE Get Queued GPS Message GPS Message Examples GPS Message SyntaxGpsprefixgpsuraisnmeamessagecrlf WhereGPS 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 VTG Course Over Ground and Ground Speed RMC Recommended Minimum Specific Gnss Data$GPRMC $GPVTGPart Appendixes Response Messages Appendix a Response Messages Error CodesStandard AT Messages Numeric Verbose Description RingError Codes Error CodesNumeric Description Appendix B Response Message Examples Sending an Email AT#PUTMAIL Commands ResponsesResponse Messages Examples Sending/Retrieving Email Response MessagesAT#POP3PORT=110 AT#GETMAIL Retrieving an Email AT#GETMAIL Commands ResponsesFTP Download / Upload Files Response Messages Upload a file to an FTP Server AT#FTPPUT Commands ResponsesAT#FTPPUTPATH= AT#FTPPUTAct 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.