I am trying to HTTP GET Request and Read the Response but it’s fails
I am folwing this document Quectel_LTE_Standard_HTTPS_Application_Note_V1.1.pdf
page 23
# this is the currunet Frimware version
AT+CVERSION
VERSION: EG915NEUAGR03A11M16
Jun 9 2023 21:01:09
Authors: QCT
this is my c code
// Quectel_listen(); : read any data caming from uart
void http_request()
{
//Configure the PDP context ID as 1.
uart_puts(UART_ID ,"AT+QHTTPCFG=\"contextid\",1\r");
sleep_ms(300);
Quectel_listen();
//Allow to output HTTP response header.
uart_puts(UART_ID ,"AT+QHTTPCFG=\"requestheader\",1\r");
sleep_ms(300);
Quectel_listen();
//Query the state of context.
uart_puts(UART_ID ,"AT+QIACT?\r");
sleep_ms(300);
Quectel_listen();
//Configure PDP context 1. APN is net for UMNIAH.
// uart_puts(UART_ID ,"AT+QICSGP=1,1,\"net\",\"\",\"\",1" );
// uart_puts(UART_ID ,"AT+QICSGP=1,1,\"net\",\"\",\"\",1");
uart_puts(UART_ID ,"AT+QICSGP=1,1,\"net\",1");
sleep_ms(300);
Quectel_listen();
//Activate context 1
uart_puts(UART_ID ,"AT+QIACT=1\r");
sleep_ms(300);
Quectel_listen();
//Query the state of context.
uart_puts(UART_ID ,"AT+QIACT?\r");
sleep_ms(300);
Quectel_listen();
uart_puts(UART_ID ,"AT+QHTTPURL=33,4\r");
sleep_ms(300);
Quectel_listen();
//Input URL whose length is 33 bytes
// uart_puts(UART_ID ,"HTTP://catfact.ninja/fact\r");//26
uart_puts(UART_ID ,"HTTP://https://catfact.ninja/fact\r");//33
sleep_ms(300);
Quectel_listen();
//Send HTTP GET request and the maximum response time is 80 s.
uart_puts(UART_ID ,"AT+QHTTPGET=80\r");
sleep_ms(3000);
Quectel_listen();
uart_puts(UART_ID ,"AT+QHTTPREAD=80\r");
sleep_ms(3000);
Quectel_listen();
}
and this is the output in the termenal
AT+QIACT?
OK
AT+QICSGP=1,1,"net",1AT+QIACT=1
OK
AT+QIACT?
OK
AT+QHTTPURL=33,4
CONNECT
OK
AT+QHTTPGET=80
+CME ERROR: 730