Part 1 – AT Commands for All Universal IP Devices

Chapter 5 – TCP AT Commands

Chapter 5 – TCP AT Commands for All

Universal IP Devices

Set Commands

The id parameter is used for setting up profiles; Profile 1 and Profile 2. To view parameters including profile settings, use AT#<cmd>=id or AT#VTCP=id or AT#VALL.

#PERSISTENTSOCKET - Persistent Socket

Description:

If enabled and the physical connection is present, a socket will be created automatically.

 

Note: This command is for all devices except the SocketEthernet IP (MT100SEM-IP).

Syntax:

AT#PERSISTENTSOCKET=<Persistentsocket value>,<Result Codes>

 

AT#PERSISTENTSOCKET? Read or display the current setting (or AT#VALL).

Values:

0 – Persistent socket is disabled

 

1

– The TCP originate is started (#OTCP=1)

 

2

– The TCP listener is started (#LTCPSTART=1)

 

3

– The UDP originate is started (#OUDP=1)

 

4

– The UDP listener is started (#LUDPSTART=1)

 

5

– The TCP originate is started (#OTCP=2)

 

6

– The TCP originate is started (#LTCPSTART=2)

Result Codes: 0 All result codes will be suppressed during socket connection/disconnection

1All result codes will be displayed during socket connection/disconnection

Defaults: 0,1

Example: AT#PERSISTENTSOCKET=1,0

#DLEMODE – Set DLE Mode

Description:

When using socket TCP, the attached host has the choice whether or not to code the ETX

 

character.

Syntax:

AT#DLEMODE=id,<DEL Mode value>

 

AT#DLEMODE=id Read or display the current setting (or AT#VTCP=id, AT#VALL).

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

Values: Set the value that the Profile will use:

0When DLEMODE is set to 0, no specific process is needed on [ETX] characters.

It means that it is not possible for a host to request an end of connection or to receive a clear indication of the end of a connection from the TCP/IP stack.

1When DLEMODE is set to 1, the [ETX] character means a request or an indication of end of connection.

As a consequence, [ETX] characters that belong to the payload data must be sent by the host on the serial port preceded by a DLE character. Similarly, ETX characters received by the TCP/IP stack from the Internet are sent to the host through the serial port preceded by a

DLE character.

Default: 1

Universal IP AT Commands Reference Guide (Document S000457K)

33

Page 33
Image 33
Multi-Tech Systems iCell GPRS (MTSMC-G2-IP manual TCP AT Commands for All Universal IP Devices, #DLEMODE Set DLE Mode

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.