user manual
Part 1 – AT Commands for All Universal IP Devices    Chapter 6 – UDP AT Commands 
Universal IP AT Commands Reference Guide (Document S000457K)  45 
#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 










