
Chapter 5 – TCP AT Commands
38 Universal IP AT Commands Reference Guide
#TCPPACKETMAX – TCP Client Transmit Packet Maximum Size
Description: This parameter determines the maximum packet size the TCP Client will transmit.
This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP)
Note: This value cannot be larger than the internal maximum UIP TCP payload size.
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
Comentarios a estos manuales