AirPrime and HL7548 AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 206
AT Commands Interface Guide
Protocol Specific Commands
HL7518 and HL7548
<data_mode> 0 Do not display <data> in URC (default setting)
1 Display <data> in URC
<URC-ENDTCP-enable> 0 Do not display URC "+KTCP_ACK" (default setting)
1 Display URC "+KTCP_ACK"
<af> Address family used for the connection.
0 IPV4
1 IPV6
<cipher_index> Cipher suite profile index to use for a secured socket; defined by
+KSSLCRYPTO
Reference
Sierra Wireless
Proprietary
Notes
If the socket is defined as a <CLIENT> socket, <tcp_port> and <tcp remote
address> define the port and the IP address of the remote server we want to
connect.
Maximum <session_id> is 32.
For child session, the property <data_mode> will be kept the same as the server
socket’s setting.
See section 16.5.6 for use cases of AT+KTCPACKINFO and <URC-ENDTCP-
enable> option of AT+KTCPCFG.
This command can be used before setting up +KCNXCFG configuration. Note
however that the latter is required to start the connection properly.
The connection timeout for TCP socket is about 9 seconds with 3 retransmissions
with 3 seconds delay.
11.10.2. +KTCPCNX Command: Start TCP Connection
HL7518 and HL7548
Test command
Syntax
AT+KTCPCNX=?
Response
+KTCPCNX: (list of possible <session_id>s)
OK
Write command
Syntax
AT+KTCPCNX=
<session_id>
Response
OK
+CME ERROR: <err>
+KTCP_NOTIF: <session_id>, <tcp_notif>
Parameters
<session_id> TCP session index
<tcp_notif> Integer type. Indicates the cause of the TCP connection failure
0 Network error
1 No more sockets available; max. number already reached
2 Memory problem
3 DNS error