LISA-C200 & FW75-C200
AT commands examples - Application Note
CDMA-CS-12000
Preliminary
Page 16 of 41
5.3
Socket operations with “Keep Alive” option
In “Keep Alive” mode, the module periodically sends dummy TCP packets to prevent the network from
closing the inactive context.
Command
Response
Description
AT+CMEE=2
OK
Set verbose error messages
AT+USOCR=6
+USOCR:78
OK
Creates a TCP socket, the return was that a socket
number 78 was created.
AT+USOSO=78,65535,8,1
OK
This step enables the “Keep Alive” mode for the TCP
socket:
78: Socket number
65535: Specifies the chosen mode will be
set at Socket level
8: Specifies the mode selected was “Keep
Alive”
1: Enabled the selected mode (in this case
“Keep Alive”).
AT+USOSO=78,6,2,5000
OK
This step configures the inactivity timeout after which
the module will start to send “Keep Alive” packets:
78: Socket number
6: Settings at TCP Protocol level
2: Chooses the “Keep Alive” option
5000: Timeout in milliseconds configured in
the ”Keep Alive” mode