Page 1 of 1

Is it possible to transfer files through ESP32C3 Mini?

Posted: Mon Jun 27, 2022 6:35 am
by ggeorge
Is it possible to transfer files through ESP32C3 Mini with the existing AT Firmware V2.4?

Re: Is it possible to transfer files through ESP32C3 Mini?

Posted: Mon Jun 27, 2022 12:05 pm
by ESP_Sun
Hi,

Maybe the AT+FS command (https://docs.espressif.com/projects/esp ... tml#cmd-fs) is what you want.

Re: Is it possible to transfer files through ESP32C3 Mini?

Posted: Mon Jun 27, 2022 12:26 pm
by ggeorge
My goal is to send a .txt file from my phone to the ESP32C3Mini. Is there a way to do this? Can I use the existing AT Command Firmware V2.4?

Re: Is it possible to transfer files through ESP32C3 Mini?

Posted: Mon Jun 27, 2022 12:33 pm
by ESP_Sun
I think it is possible, maybe you can try to establish a TCP connection with the mobile phone through AT, and then you can send data to the mobile phone in the transparent transmission mode.
ESP32-C3 AT binaries: https://docs.espressif.com/projects/esp ... aries.html

Re: Is it possible to transfer files through ESP32C3 Mini?

Posted: Mon Jun 27, 2022 12:39 pm
by ggeorge
Can I do this through BLE instead of TCP?

Re: Is it possible to transfer files through ESP32C3 Mini?

Posted: Mon Jun 27, 2022 12:47 pm
by ESP_Sun
Maybe you can look at this example:https://docs.espressif.com/projects/esp ... s.html#id7

Re: Is it possible to transfer files through ESP32C3 Mini?

Posted: Mon Jun 27, 2022 1:02 pm
by ggeorge
Yes, I have done this to transfer some data and it is working. What I would like to know is, If I have a text file or .hex file can I send it as a file instead of breaking it into line by line and sending?

Re: Is it possible to transfer files through ESP32C3 Mini?

Posted: Tue Jun 28, 2022 7:35 am
by ggeorge
ESP_Sun wrote:
Mon Jun 27, 2022 12:47 pm
Maybe you can look at this example:https://docs.espressif.com/projects/esp ... s.html#id7
How much data can I send through this process?

Re: Is it possible to transfer files through ESP32C3 Mini?

Posted: Fri Jul 08, 2022 9:08 am
by ESP_Sun
I think a lot of data can theoretically be sent, but in order to ensure that data is not lost, dual flow control needs to be turned on: AT+UART_CUR (https://docs.espressif.com/projects/esp ... d-in-flash)