Is it possible to transfer files through ESP32C3 Mini?

ggeorge
Posts: 32
Joined: Mon Mar 07, 2022 6:00 am

Is it possible to transfer files through ESP32C3 Mini?

Postby ggeorge » Mon Jun 27, 2022 6:35 am

Is it possible to transfer files through ESP32C3 Mini with the existing AT Firmware V2.4?

ESP_Sun
Posts: 291
Joined: Thu Dec 30, 2021 9:52 am

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

Postby ESP_Sun » Mon Jun 27, 2022 12:05 pm

Hi,

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

ggeorge
Posts: 32
Joined: Mon Mar 07, 2022 6:00 am

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

Postby ggeorge » Mon Jun 27, 2022 12:26 pm

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?

ESP_Sun
Posts: 291
Joined: Thu Dec 30, 2021 9:52 am

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

Postby ESP_Sun » Mon Jun 27, 2022 12:33 pm

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

ggeorge
Posts: 32
Joined: Mon Mar 07, 2022 6:00 am

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

Postby ggeorge » Mon Jun 27, 2022 12:39 pm

Can I do this through BLE instead of TCP?

ESP_Sun
Posts: 291
Joined: Thu Dec 30, 2021 9:52 am

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

Postby ESP_Sun » Mon Jun 27, 2022 12:47 pm

Maybe you can look at this example:https://docs.espressif.com/projects/esp ... s.html#id7

ggeorge
Posts: 32
Joined: Mon Mar 07, 2022 6:00 am

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

Postby ggeorge » Mon Jun 27, 2022 1:02 pm

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?

ggeorge
Posts: 32
Joined: Mon Mar 07, 2022 6:00 am

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

Postby ggeorge » Tue Jun 28, 2022 7:35 am

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?

ESP_Sun
Posts: 291
Joined: Thu Dec 30, 2021 9:52 am

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

Postby ESP_Sun » Fri Jul 08, 2022 9:08 am

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)

Who is online

Users browsing this forum: No registered users and 32 guests