I am downloading a file using AT+QHTTPREADFILE but the file which appears on modem is not the same like on server. Starting from byte 254 server and downloaded on modem UFS file differs. Also I tried to get file CRC but there is always an error. Does anybody know why?
AT+QGMR
BG96MAR02A07M1G
OK
AT+QHTTPURL=53,10
CONNECT
https://test.net:11111/fw/update1.bin
OK
GET /fw/update1.bin HTTP/1.1
Host: test.net:11111
Authorization: Basic xxxxxxxxxxx=
User-Agent: xyz-mIoT
Content-Type: application/*
Accept: */*
AT+QHTTPGET=40,208
CONNECT
GET /fw/IceFridge_IoT_v244.bin HTTP/1.1
Host: test.net:11111
Authorization: Basic xxxxxxxxxx
User-Agent: xyz-mIoT
Content-Type: application/*
Accept: */*
OK
+QHTTPGET : 0,200,100412
AT+QHTTPREADFILE="ufs:update1.bin",80
OK
+QHTTPREADFILE: 0
AT+QFLST="*"
+QFLST: "conifg.xyz",39
+QFLST: "update1.bin",100412
OK
AT+QFCRC=?
ERROR
AT+QFCRC="ufs:update1.bin
ERROR
Hello,
I have same problem, I used command AT+QHTTPREADFILE=“test.bin”,80,for downloading file from http server, but how should I get this file from EC20 to com or into computer. Which command should I use to download file from ec20 to COM.?
I’m facing the same issue. Trying to download files as small as 10kb (through HTTP) and the modem loses data.
I’ve discarded my main board (ESP32) being the cause because I have the exact same data loss connected directly to the modem UART (BC66 dev kit).
If I try to download 10kb files, I always receive only about 8kb (always the exact same number of bytes).
If I try to download 100kb files, I always receive about 80kb (the same amount of bytes in EVERY TRY). And so on… about 20-30% of data is loss, no matter file size.
I repeat. I’m totally sure this is a BC66 problem. Main board discarded.