Search found 10 matches

by tjaffey
Mon Nov 25, 2024 11:13 pm
Forum: ESP-AT
Topic: "busy p..." appearing in passthrough mode binary data
Replies: 0
Views: 210

"busy p..." appearing in passthrough mode binary data

When downloading large binary files in passthrough mode (https://github.com/espressif/esp-at/blob/84b025894debf0d3fb025d245c7377f45328de44/docs/en/AT_Command_Examples/at_msg_resp_fmt_ctrl_examples.rst#L159) I am sometimes seeing the data stream being corrupted with the bytes: 0d0a 6275 7379 2070 2e2...
by tjaffey
Tue Aug 20, 2024 1:07 pm
Forum: ESP-AT
Topic: WiFi provisioning over BLE
Replies: 2
Views: 3365

WiFi provisioning over BLE

Does ESP-AT support WiFi provisioning over BLE?

I would like to make use of the existing apps for this (e.g. https://github.com/espressif/esp-idf-pr ... ng-android)

https://docs.espressif.com/projects/esp ... oning.html
by tjaffey
Tue Aug 20, 2024 7:32 am
Forum: ESP-AT
Topic: Downloading binary files with AT+HTTPCGET
Replies: 12
Views: 14339

Re: Downloading binary files with AT+HTTPCGET

Can you give me the command for this? I'm not sure exactly what you mean?

Do you mean step 5 from https://github.com/espressif/esp-at/blo ... s.rst#L159
by tjaffey
Mon Aug 19, 2024 3:22 pm
Forum: ESP-AT
Topic: Downloading binary files with AT+HTTPCGET
Replies: 12
Views: 14339

Re: Downloading binary files with AT+HTTPCGET

How can I reliably detect the end of an HTTPCGET transfer? There seem to be 3 ways to do this, but each has problems... a) Doesn't work with HTTP servers which don't support HEAD requests and doesn't work with dynamically generated content which is missing a "Content-Length" HTTP header - Use AT+SYS...
by tjaffey
Fri Aug 16, 2024 8:35 am
Forum: ESP-AT
Topic: Downloading binary files with AT+HTTPCGET
Replies: 12
Views: 14339

Re: Downloading binary files with AT+HTTPCGET

Thank you. This is working in all of my tests so far.
by tjaffey
Tue Aug 06, 2024 10:54 am
Forum: ESP-AT
Topic: Downloading binary files with AT+HTTPCGET
Replies: 12
Views: 14339

Re: Downloading binary files with AT+HTTPCGET

'AT+GMR'
'AT version:3.5.0.0-dev(0f91d98 - ESP32C3 - Jul 19 2024 02:57:45)'
'SDK version:v5.0.6-dirty'
'compile time(5d1f30af):Aug 6 2024 09:58:55'
'Bin version:v3.4.0.0-dev(MINI-1)'
Log file attached. The zip file contains the binary data I am attempting to download.

Thanks
by tjaffey
Fri Aug 02, 2024 10:07 am
Forum: ESP-AT
Topic: Downloading binary files with AT+HTTPCGET
Replies: 12
Views: 14339

Re: Downloading binary files with AT+HTTPCGET

Using the above instructions it's possible to have ESP-AT pass through most data, but it seems not all. I have a webserver with a file containing the following 9 bytes 0d0a0d0a0d0a0a0d0a ("\r\n\r\n\r\n\n\r\n"). ESP-AT appears to be doing some filtering which ends the transfer when "\n\n" is encounte...
by tjaffey
Thu Aug 01, 2024 9:15 am
Forum: ESP-AT
Topic: Downloading binary files with AT+HTTPCGET
Replies: 12
Views: 14339

Re: Downloading binary files with AT+HTTPCGET

Using these instructions, it's possible to place the ESP-AT device into a passthrough mode where there are no encoding issues. https://github.com/espressif/esp-at/blob/84b025894debf0d3fb025d245c7377f45328de44/docs/en/AT_Command_Examples/at_msg_resp_fmt_ctrl_examples.rst#L159 However, it's not clear ...
by tjaffey
Mon Jul 08, 2024 7:28 am
Forum: ESP-AT
Topic: Downloading binary files with AT+HTTPCGET
Replies: 12
Views: 14339

Re: Downloading binary files with AT+HTTPCGET

I cannot receive binary data. The ESP-AT code appears to drop non-printing characters. I produced a binary file using this short C program. It contains all of the characters from 0-255, repeated for 4 cycles: #include <stdio.h> #include <stdint.h> void main(void) { uint8_t c = 0; int i; for (i=0;i<1...
by tjaffey
Thu Feb 29, 2024 11:18 am
Forum: ESP-AT
Topic: Downloading binary files with AT+HTTPCGET
Replies: 12
Views: 14339

Downloading binary files with AT+HTTPCGET

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 passth...