Multi-Tech Systems iCell GPRS (MTSMC-G2-IP #LTCPSTART Open Listening Mode, Syntax AT#LTCPSTART=id

Page 38

Part 1 – AT Commands for All Universal IP DevicesChapter 5 – TCP AT Commands

#TCPTELNETUN – Set the TCP Client Telnet Protocol User Name

Description:

Configure the TCP Client Telnet protocol login user name.

 

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

Syntax:

AT#TCPTELNETUN=<parameter1>, <parameter2>

Values:

parameter 1

 

1 TCP profile 1

 

2 TCP profile 2

 

parameter 2

 

64 character alphanumeric string

Responses:

\r\n#TCPTELNETUN: VALUE1,VALUE2\r\n

 

\r\nOK\r\n

 

\r\nERROR\r\n

Examples:

send: AT#TCPTELNETUN=1,"USER"\r

 

 

reply: \r\nOK\r\n

 

send: AT#TCPTELNETUN=1

 

reply: \r\n#TCPTELNETUN: 1,"USER"\r\n

 

reply: \r\nOK\r\n

#LTCPSTART – Open Listening Mode

Description: This command, sent by the attached host, directs the TCP/IP stack to open a listening TCP connection on the specified TCP port.

Once an IP link is established, the attached host can open a listening TCP socket at any time (except when the TCP/IP stack software is already in a process using TCP resources).

The TCP connection will be active upon reception of a TCP connection request sent by a remote allowed TCP peer (TCPSERV) on the appropriate TCP port (TCPPORT).

Once opened, this TCP connection may be closed by the remote TCP peer or by the attached host by sending an ETX character on the serial port (depending on the DLEMODE parameter).

Notes:

The LTCP command can be aborted before an incoming TCP request has been received by issuing an <ETX> character on the serial port.

If the DLEMODE parameter is set to 1, the TCP/IP stack will interpret an <ETX> character only as a close request if a <DLE> character does not precede it. As a consequence, the attached host must send <ETX> characters preceded by <DLE> characters, and it must also code <DLE> characters in <DLE><DLE>. Similarly, each <ETX> character present in the payload data of the TCP frame will be coded by the TCP/IP stack on the serial port as <DLE><ETX>. Each <DLE> character will be coded as <DLE><DLE>. The attached host must then decode the TCP socket flow to remove these escape characters.

If the DLEMODE parameter is set to 0, the TCP/IP stack will never close the TCP connection (unless an error occurs).

Syntax: AT#LTCPSTART=id

id:Enter a Profile Setting: 1 or 2 {1,2}

Values: DLEMODE TCPPORT TCPSERV TCPTXDELAY

Universal IP AT Commands Reference Guide (Document S000457K)

38

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