TinyGSM icon indicating copy to clipboard operation
TinyGSM copied to clipboard

Problem with M66 File Download

Open nunomiguelferreira opened this issue 4 years ago • 1 comments

[x] I have read the Troubleshooting section of the ReadMe

What type of issues is this?

[ ] Request to support a new module [ ] Bug or problem compiling the library [ ] Bug or issue with library functionality (ie, sending data over TCP/IP) [x] Question or request for help

What are you working with?

Modem: Quectel M66(using the M95 driver which has around the same commands) Main processor board: Custom Board with SAMD21 (Arduino M0) TinyGSM version: 0.10.9 Code: FileDownload Example

Scenario, steps to reproduce

I'm trying to download a binary file using the File Download example but it always fails around 1200Bytes downloaded (for a 11KB file). It also is really slow downloading, I see around 10bytes printed in Serial (as a debug measure) every second

Expected result

I was expecting to be able to download the 11KB binary in order to be able to update my device OTA. I notice files around 1024 bytes are able to download but it still takes around 2 mins for each file.

Actual result

Cannot download file, it says:

Content-length: 11004 Actually read: 12xx-14xx (it varies but most times is constant)

The calculated CRC and known CRC are obvisouly different, with an elapse duration of around 160s

Debug and AT command log

nunomiguelferreira avatar Feb 26 '21 18:02 nunomiguelferreira

Hey can you post your working code here

piyush9999 avatar Mar 31 '23 16:03 piyush9999