![Lantronix M110 Series Command Reference Manual Download Page 35](http://html.mh-extra.com/html/lantronix/m110-series/m110-series_command-reference-manual_675725035.webp)
Chapter 7. Socket Commands
7.8
AT#IPOPT
Optional IP socket parameters
ALLOWED: exec-state-info
Note: Some options are not yet implemented, and will be implemented stage by stage. Therefore, ERROR
may be returned for some of the options
AT#IPOPT=(option),(value),[(action)/(string)]
–
option:
•
1: Keep alive packet
•
2: Packet size
•
3: (deprecated)
•
4: Enable ping & configure ping period. When enabled, the modem will PING the address set by
the AT#IPPING command, and will perform the specified action upon PING failure.
•
5: Data on first connection
–
value
•
for option 1 : 0-43200. Duration to send keep alive packet, in seconds; 0 disables the feature
•
for option 2 : 0-1472. TCP Packet size; if 0, default size is used
•
for option 4 : 1 - 65535. Time period of PING. If 0, then PING is disabled
•
for option 5 : 0 to disable; 1 to enable data on first connection; 2 to edit the string to be sent
–
action : To specify the action will be taken if a set of ping action fail:
•
0: do nothing (default). If ping fails the timer will reload & no action will be taken.
•
1: reactivate data connection.
•
2: reset modem.
–
string:
•
for option 5 : maximum 120 hex characters and only even length
exec :
AT#IPOPT=1,30
OK
AT#IPOPT=5,2,"414243444546474849"
OK
state :
AT#IPOPT?
#IPOPT:
#IPOPT: 1,30
#IPOPT: 2,0
#IPOPT: 3,
#IPOPT: 4,0,0
#IPOPT: 5,0,"",1
OK
M110 Series Cellular Modem mPACK Command Reference
34