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

Page 45
Image 45
Multi-Tech Systems iCell GPRS (MTSMC-G2-IP #UDPDLEMODE Set DLE Mode, #LUDPSTART Initiate the UDP Session in Listen 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.