Downloading binary files with AT+HTTPCGET

tjaffey
Posts: 1
Joined: Thu Feb 29, 2024 11:11 am

Downloading binary files with AT+HTTPCGET

Postby tjaffey » Thu Feb 29, 2024 11:18 am

With ESP-AT, is it possible to download binary files using "AT+HTTPCGET"?

It seems that the "+AT+HTTPCGET" responses are ASCII with non-printing characters stripped out.
Is it possible to request ESP-AT to pass through the raw binary data escaped in some way?

I understand that I could use the passthrough mode to open a raw SSL socket to a webserver, but then my host processor would need to implement an HTTP client.

As a workaround, I am currently Base64 encoding the binary on the server and decoding on my host processor.
However, this adds overhead and means it's not possible to request arbitrary binary files from HTTP servers.

esp-at
Posts: 133
Joined: Mon May 09, 2022 3:00 am

Re: Downloading binary files with AT+HTTPCGET

Postby esp-at » Mon Apr 01, 2024 8:27 am

i think AT+HTTPCGET supports to download binary files. Could you please provide the reproduce steps, thanks.

~

Who is online

Users browsing this forum: No registered users and 68 guests