Does EC200U-CN supports AT+QHTTPDL?

Hi everyone,

I am working on EC200U-CN for one of my project. I have an active MQTT context ID 1 running, all OK. Next, I am triggering FOTA command on MQTT and then disconnecting context ID 1(for safer side) and connecting context ID2 for HTTP connection to download file using URL(github for testing). I tried two options:

First: USING AT+QHTTPREAD

STARTFOTA_OK

AT+QIDEACT=1

AT+QICSGP=2,1,“www”,“”,“”,0
OK

AT+QIACT=2
OK

AT+QHTTPCFG=“contextid”,2
OK

AT+QHTTPCFG=“sslctxid”,1
OK

AT+QHTTPURL=93,80
CONNECT

https://raw.githubusercontent.com/Naresh****/firmware-test/main/firmware_v1.2.5.bin
OK

AT+QHTTPGET=80
OK
+QHTTPGET: 0,200,108232

AT+QHTTPREAD=120
CONNECT
@ Ð }É …É  
É  —É ¡É aÐ aÐ aÐ aÐ aÐ !Î aÐ 1Î aÐ aÐ aÐ aÐ aÐ aÐ aÐ aÐ aÐ aÐ aÐ aÐ aÐ AÎ aÐ aÐ aÐ aÐ aÐ aÐ YÎ qÎ aÐ  µL#x +aÑK +ÐH à ¿##p½à PˆKµ +ÐIH à ¿½ÀF ä Pˆx x *Ð01šB÷ÐÐpG \3 *ûÑXpG ´qFII \I ŽD¼pGÀF´qFI@ I ^I ŽD¼pG “C‹BtÓ ‹B_Ó
‹BDÓ ‹B(Ó ‹B
Óÿ” º ‹BÓ eÐ ‹BÓ à
à ‹BÓËÀRAƒ ‹BÓ‹ÀRAC ‹BÓKÀRA ‹BÓ ÀRAÃ
‹BÓËÀRAƒ
‹BÓ‹ÀRAC
‹BÓKÀRA
‹BÓ ÀRAÍÒà ‹BÓËÀRAƒ ‹BÓ‹ÀRAC ‹BÓKÀRA ‹BÓ ÀRAËBÓË ÀR

Above data is bin from github url

But AT+QHTTPREAD dumps whole 108232 bytes on uart just after CONNECT, not possible to store such big data via MCU.

So tried using SECOND method

Second: USING QHTTPDL
[2025-10-16 16:09:57.947]# RECV ASCII>
STARTFOTA_OK

[2025-10-16 16:09:58.988]# RECV ASCII>
AT+QIDEACT=1

[2025-10-16 16:10:02.506]# RECV ASCII>
AT+QICSGP=2,1,“www”,“”,“”,0
OK

[2025-10-16 16:10:05.528]# RECV ASCII>
AT+QIACT=2
OK

[2025-10-16 16:10:08.661]# RECV ASCII>
AT+QHTTPCFG=“contextid”,2
OK

[2025-10-16 16:10:11.685]# RECV ASCII>
AT+QHTTPCFG=“sslctxid”,1
OK

[2025-10-16 16:10:14.708]# RECV ASCII>
AT+QHTTPURL=93,80
CONNECT

[2025-10-16 16:10:17.738]# RECV ASCII>
myurl here…firmware_clstr.bin
OK

[2025-10-16 16:10:22.761]# RECV ASCII>
AT+QHTTPGET=80
OK
+QHTTPGET: 0,200,48462

[2025-10-16 16:10:39.042]# RECV ASCII> (tried with & without RAM also)
AT+QHTTPDL=“RAM:firmware_clstr.bin”,48462,300

+CME ERROR: invalid command line

I am getting error, tried multiple time changing bin file for smaller length but same result.

Can anyone tell what is wrong or EC200U-CN supports AT+QHTTPDL or not ?

Replies are highly appreciated, thanks …

Hi, I sent you a private HTTP usage document for your reference. The EC200U does not support the AT+QHTTPDL command. We are using our own AT commands. Please review the document.