AirPrime and HL7548 AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 209
AT Commands Interface Guide
Protocol Specific Commands
HL7518 and HL7548
Write command
Syntax
AT+KTCPCLOSE
=<session_id>
[,<closing_type>]
Response
OK
+CME ERROR: <err>
NO CARRIER
+KTCP_NOTIF: <session_id>, <tcp_notif>
Parameters
<session_id> TCP session index
<closing_type> 0 Abort. Fast closing of the TCP connection (not supported).
1 The TCP connection is properly closed, which means that data
sent to the module by AT+KTCPSND will be sent to the TCP
server and acknowledged before the socket is closed.
<tcp_notif> See command AT+KTCPCNX
Reference
Sierra Wireless
Proprietary
Notes
This function first closes the TCP socket and if there is no other session running
then the PDP context is released.
AT+KTCPDEL=<session_id> can be used to delete the socket configuration after
close.
11.10.6. +KTCPDEL Command: Delete a Configured TCP
Session
HL7518 and HL7548
Test command
Syntax
AT+KTCPDEL=?
Response
+KTCPDEL: (list of possible <session_id>s)
OK
Write command
Syntax
AT+KTCPDEL=
<session_id>
Response
OK
+CME ERROR: <err>
Parameters
<session_id> TCP session index
Reference
Sierra Wireless
Proprietary
Notes
The session must be closed (using +KTCPCLOSE) before using this command.