[8548-G] http sample code

Hi,

the Hilo starter development tool (V1.9.5 & V 1.9.11.0) used an old script originally write for HL6528.
So we can’t test the http feature because script timeout after

+CME ERROR: 916

of the command

AT+KCNXCFG=0,"GPRS","APN","username","password"\r

because of the first parameter “0” who can’t be accept by HL8548.
And the “AirPrime_HL6_and_HL8_Series_AT_Commands_Interface_Guide_Rev7_0.pdf” give sample for the HL6528 with the same problem.
Can you tell me where to find examples of the use of http ?

Regard,

Take a look in the at command guide section 20.10. There is an example for http client. Of course you need to change the the first parameter of the AT+KCNXCFG command to 1.

It’s not enough. 8548 block after AT+KHTTPHEADER=1. I tried with different servers and the same thing happens. Any idea ?
My logs:

SET Flow Control: Hardware

+GPSEVINIT: 1
AT&K3

OK
AT+KCNXCFG=1,"GPRS","orange.fr","orange","orange"

OK
AT+KCNXTIMER=1,60,2,70

OK
AT+KCNXPROFILE=1

OK
AT+CPIN="0000"

OK
AT+CGATT=1

+CME ERROR: 148
AT+KHTTPCFG=1,"www.google.com",80,1

+KHTTPCFG: 1
OK

+KCNX_IND: 1,4,1

+KCNX_IND: 1,1,0

+KHTTP_IND: 1,1
AT+KHTTPHEADER=1

CONNECT

Using this command will switch at command port to data mode so it is not possible to use at commands. See the comment in the example below:

Set the header of the request
CONNECT Send HTTP data after “CONNECT”. Do not
forget the PATTERN characters. For
example :
“Data flow
–EOF–Pattern–"