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

Pagina di 119
Part 1 – AT Commands for All Universal IP Devices
   
Chapter 5 – TCP AT Commands 
Universal IP AT Commands Reference Guide (Document S000457K) 
35 
 
 
#TCPPACKETMIN – TCP Client Transmit Packet Minimum Size 
Description: 
This parameter determines the minimum packet size the TCP Client will transmit. 
 
Note:
 This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP)
 
Syntax:  
AT#TCPPACKETMIN=<parameter1>, <parameter2> 
Values:
 
parameter 1 
 
1 TCP profile 1 
2 TCP profile 2 
parameter 2 
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#TCPPACKETMIN: VALUE1,VALUE2\r\n 
\r\nOK\r\n 
\r\nERROR\r\n 
Examples: 
send: AT#TCPPACKETMIN=1,100\r 
 
reply: \r\nOK\r\n 
send: AT#TCPPACKETMIN=1\r 
 
reply: \r\n#TCPPACKETMIN: 1,100\r\n 
 
reply: \r\nOK\r\n 
send: AT#TCPPACKETMIN=2,300\r 
 
reply: \r\nOK\r\n 
send: AT#TCPPACKETMIN=2\r 
 
reply: \r\n#TCPPACKETMIN: 2,300\r\n 
 
reply: \r\nOK\r\n 
 
 
 
 
#TCPPACKETMAX – TCP Client Transmit Packet Maximum Size 
Description:
   This parameter determines the maximum packet size the TCP Client will transmit. 
 
Note:
  
This value cannot be larger then the internal maximum UIP TCP payload size. 
 
Note:
 
 
This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP)
 
Syntax: 
AT#TCPPACKETMAX=<parameter1>, <parameter2> 
Values: 
parameter 1  
1 TCP profile 1 
 
2 TCP profile 2 
 
parameter 2  
 
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#TCPPACKETMAX: VALUE1,VALUE2\r\n 
\r\nOK\r\n 
\r\nERROR\r\n 
Examples: 
send: AT#TCPPACKETMAX=1,100\r 
 
reply: \r\nOK\r\n 
send: AT#TCPPACKETMAX=1\r 
 
reply: \r\n#TCPPACKETMAX: 1,100\r\n 
 
reply: \r\nOK\r\n 
send: AT#TCPPACKETMAX=2,300\r 
 
reply: \r\nOK\r\n 
send: AT#TCPPACKETMAX=2\r 
 
reply: \r\n#TCPPACKETMAX: 2,300\r\n 
 
reply: \r\nOK\r\n