User manual

Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
13
Defined Values:
<buff>
The number of bytes of data to be buffered. Default value is 0 (i.e. no buffering). Valid range is 0 to 100.
Note: If the TCP or UDP socket connection is broken, buffered data will be lost.
3.4. Extra TCP/UDP Parameters Setup
User can set additional parameters of TCP/UDP connection, including keep alive packet, maximum packet size, TTL
and periodic PING action to monitor Internet connection
3.4.1. AT+IPOPT command
This command specifies the extra TCP/UDP socket parameters.
Command Syntax
AT+IPOPT=<CMDType>,<parameter>,[,<action>,<conn_str>]
Response Syntax
+ IPOPT: <CMDType>,<parameter>[,<action>,<conn_str>]
Command
Possible responses:
AT+ IPOPT?
+IPOPT: 1, 0
+IPOPT: 2, 1500
+IPOPT: 3, 64
+IPOPT: 4, 0, 0
+IPOPT: 5,””
OK
Note: display current settings
AT+ IPOPT =1,60
OK
Note: enable the keep alive packet feature (for 60 seconds cycle
period)
AT+IPOPT=2,512
OK
Note: set the size of maximum packet that to be sent to 512 bytes
AT+ IPOPT=3,128
OK
Note: set TTL to 128
AT+IPOPT=4,60,1
OK
Note: Enable Ping action every 60 seconds, if ping fail then
disconnect GPRS
AT+IPOPT=5,010203FF
Set F bytes (0x01,0x02,0x03,0xFF) will be sent to remote
TCP/UDP peer when AutoTCP/UDP connection is just made
AT+ IPOPT=?
+IPOPT: (1-5),(0-65535)[,(0-2),(120)]
OK
Note : possible argument
Defined Values:
<CMDType>
1 setup keep alivepacket feature:
when <parameter> is 0, the feature is disabled
when <parameter> is larger than 1 the modem will send an empty keep alivepacket over the TCP socket every
<parameter> seconds, in order to avoid socket being closed because of idle timeout. The value of <parameter> is
0 to 65536.
2 specify the maximum size of the outgoing packet to <parameter>. The size can be set from 1 to 65535(0xFFFF)
default value is 1500.