AirPrime and HL7548 AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 232
AT Commands Interface Guide
Protocol Specific Commands
HL7518 and HL7548
<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
<show_resp> Whether to show HTTP response and HTTP headers
0 Do not show response and headers
1 Show response and headers (default)
Reference
Sierra Wireless
Proprietary
Notes
<session_id> is always 0.
The user can abort the download by sending the “End of Data pattern” from the
host. In this case, the module will end the transfer by transmitting the EOF followed
by NO CARRIER.
Download can also be aborted (disconnected) by +++ or DTR as specified in 16.9
Switch Data/Command Mode DTR +++ ATO Behavior Table.
HTTP does not support DTR1.
11.13.5. +KHTTPHEAD Command: Get HTTP Headers
HL7518 and HL7548
Test command
Syntax
AT+KHTTPHEAD
=?
Response
+KHTTPHEAD: (list of possible <session_id>s),<request_uri>
OK
Write command
Syntax
AT+KHTTPHEAD
=<session_id>,
<request_uri>
Response
CONNECT
…<EOF pattern>
OK
or
NO CARRIER
+CME ERROR: <err>
+KHTTP_ERROR: <session_id>, <http_notif>
Parameters
<session_id> HTTP session index
<request_uri> String type, indicates the information URL to get during HTTP
connection
<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