Part 7 – Appendixes

Appendix B – Response Message Examples

TCP Socket Response Messages

Open a TCP socket between machines. One machine acts as a caller (TCP client); the other acts as a listener (TCP server). Both machines have to be connected to the Internet and set to the same TCP port.

Act as a TCP Server: AT#LTCPSTART

Commands

Responses

AT#TCPSERV=1,"255.255.255.255"

OK

Note: No filter of the incoming TCP client

 

AT#TCPPORT=1,"23"

OK

Note: TCP port between the TCP client and

 

the TCP server must be the same

 

AT#LTCPSTART=1

OK

Note: Launch the listening mode; waiting for

 

an incoming TCP connection from a TCP

Ok_Info_WaitingForData

client

Note: Message sent over the serial port in case of

 

 

successful TCP socket opening (Telnet for example in

 

the IP address)

Data

Data

Note: Data flow is bidirectional

Note: Data flow is bidirectional

 

 

Note: The socket can be closed locally by

OK

the attached host sending an [ETX]

 

character (CTRL+C on the keyboard)

 

 

Note: The socket can be closed by the remote

 

Ok_Info_SocketClosed

 

OK

 

 

Act as a TCP Client: AT#OTCP

 

 

 

Commands

Responses

AT#TCPSERV=1,"xxx.xxx.xxx.xxx"

OK

Note: No filter of the incoming TCP client

 

AT#TCPPORT=1,"23"

OK

Note: TCP port between the TCP client and

 

the TCP server must be the same

 

AT#OTCP=1

Ok_Info_WaitingForData

Note: Open as a TCP client, a socket TCP

Note: Message notifying the socket opening and the

with remote TCP server

switch in data mode

Data

Data

Note: Data flow is bidirectional

Note: Data flow is bidirectional

 

 

Note: The socket can be closed locally by

OK

the attached host sending an [ETX]

 

character (CTRL+C on the keyboard)

 

 

Note: The socket can be closed by the remote

 

Ok_Info_SocketClosed

 

OK

 

 

Note: The closing of the socket can be performed either locally or remotely.

Universal IP AT Commands Reference Guide (Document S000457K)

109

Page 109
Image 109
Multi-Tech Systems iCell GPRS (MTSMC-G2-IP TCP Socket Response Messages, Act as a TCP Client AT#OTCP Commands Responses

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.