AirPrime HL76xx AT Commands Interface Guide Rev6 2

Table Of Contents
4118395 Rev 6.2 June 26, 2017 287
AT Commands Interface Guide
Protocol Specific Commands
12.13.4. +KHTTPGET Command: Get HTTP Server
Information
HL7618, HL7618RD, HL7648, HL7650, HL7690 and HL7692
Test command
Syntax
AT+KHTTPGET
=?
Response
+KHTTPGET: (list of possible <session_id>s),<request_uri >,
(list of possible <show_resp>s)
OK
Write command
Syntax
AT+KHTTPGET=
<session_id>,
<request_uri>
[,<show_resp>]
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 the 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
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 18.9
Switch Data/Command Mode DTR +++ ATO Behavior Table.
HTTP does not support DTR1.