AirPrime and HL7548 AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 230
AT Commands Interface Guide
Protocol Specific Commands
11.13.2. +KHTTPCNX Command: Start the HTTP
Connection
HL7518 and HL7548
Test command
Syntax
AT+KHTTPCNX=
?
Response
+KHTTPCNX: (list of possible <session_id>s)
OK
Write command
Syntax
AT+KHTTPCNX=
<session_id>
Response
OK
or
+CME ERROR: <err>
+KHTTP_ERROR: <session_id>, <http_notif>
Parameters
<session_id> HTTP session index
<http_notif> Integer type. Indicates the cause of the HTTP connection failure
4 DNS error
5 HTTP connection error due to internal trouble
6 HTTP connection timeout
9 Triple plus (+++) error (switch to command mode)
10 HTTP has no data
11 HTTP has partial data
Reference
Sierra Wireless
Proprietary
Notes
This command is used to start the HTTP connection created by +KHTTPCFG with
<start>=0.
+KHTTPGET, +KHTTPHEAD, +KHTTPPOST automatically starts the connection if
it has not been started before using AT+KHTTPCNX.
11.13.3. +KHTTPHEADER Command: Set the HTTP
Request Header
HL7518 and HL7548
Test command
Syntax
AT+
KHTTPHEADER
=?
Response
+KHTTPHEADER: (list of possible <session_id>s),<local_uri>
OK
Read command
Syntax
AT+
KHTTPHEADER?
Response
+KHTTPHEADER: <session_id>,<count>
[…]