Multi-Tech Systems iCell GPRS (MTSMC-G2-IP Manuale Utente

Pagina di 119
Part 1 – AT Commands for All Universal IP Devices
   
Chapter 6 – UDP AT Commands 
Universal IP AT Commands Reference Guide (Document S000457K) 
42 
 
 
#UDPPACKETMAX – UDP Client Transmit Packet Maximum Size 
Description:
    This parameter determines the maximum packet size the UDP Client will transmit. 
 
Note:
 
This value cannot be larger then the internal maximum UIP UDP payload size. 
 
Note:
 
This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP)
Syntax: 
AT#UDPPACKETMAX=<parameter1> 
 
AT#UDPPACKETMAX? Read or display the current setting. 
Values: 
parameter 1  
0-65535 – the size of the packet in bytes; a setting of 65535 will allow the max packet size 
allowed by the UIP stack 
Responses: 
\r\n#UDPPACKETMAX: VALUE\r\n 
 
 
\r\nOK\r\n 
 
 
\r\nERROR\r\n 
Examples: 
send: AT#UDPPACKETMAX=300\r 
reply: \r\nOK\r\n 
send: AT#UDPPACKETMAX?\r 
reply: \r\n#UDPPACKETMAX: 300\r\n 
reply: \r\nOK\r\n 
 
 
 
 
 
 
#UDPINACTIVITYTIMER – UDP Client Inactivity Timeout Value 
Description:
    This parameter determines the inactivity time in seconds as to when a socket connection will 
automatically disconnect. 
 
Note:  
Data transmission from either the remote or local side will reset the internal timer 
to the #UDPINACTIVITYTIMER value. 
 
Note:
  This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP)
Syntax: 
AT#UDPINACTIVITYTIMER=<parameter1> 
Values: 
parameter 1  
 
0-65535 – the time in seconds of inactivity before a socket will automatically disconnect. A 
setting of 0 will disable the function. 
Responses: 
\r\n#UDPINACTIVITYTIMER: VALUE1\r\n 
\r\nOK\r\n 
\r\nERROR\r\n 
Command Example(s): 
send: AT#UDPINACTIVITYTIMER=100\r 
reply: \r\nOK\r\n 
send: AT#UDPINACTIVITYTIMER?\r 
reply: \r\n#UDPINACTIVITYTIMER: 100\r\n 
reply: \r\nOK\r\n