Search found 7 matches

by christianw
Fri Apr 05, 2024 7:13 am
Forum: ESP32 Arduino
Topic: ESPAsyncWebServer : how to send a file ?
Replies: 7
Views: 3052

Re: ESPAsyncWebServer : how to send a file ?

I'll try this later, thanks.
But

Code: Select all

sprintf(buffer, "%.2f",...) 
won't work with an ESP32. I'll change to

Code: Select all

dtostrf()
but that's a detail.
On the other hand, I'm more worried about the RAM taken up: about 50 kB for the whole CSV :-(
by christianw
Fri Apr 05, 2024 6:47 am
Forum: ESP32 Arduino
Topic: ESPAsyncWebServer : how to send a file ?
Replies: 7
Views: 3052

Re: ESPAsyncWebServer : how to send a file ?

I prefer not to save the data permanently but to transmit it either for downloading or for display (using chart.js for example).
by christianw
Fri Apr 05, 2024 4:18 am
Forum: ESP32 Arduino
Topic: ESPAsyncWebServer : how to send a file ?
Replies: 7
Views: 3052

Re: ESPAsyncWebServer : how to send a file ?

lbernstone wrote:
Thu Apr 04, 2024 9:42 pm
If you are just sending a file from the flash
Thanks but... datas are in RAM : I have a array to store them :

Code: Select all

struct SDATA {
  float temp;
  long  tmillis;
};

SDATA TabMesures[3600];
by christianw
Thu Apr 04, 2024 7:38 pm
Forum: ESP32 Arduino
Topic: ESPAsyncWebServer : how to send a file ?
Replies: 7
Views: 3052

ESPAsyncWebServer : how to send a file ?

I have an ESP32 with an ESPAsyncWebServer which records data in a table (3600 rows maximum)

How do I get the web server to send the data as a CSV file to the browser?
Thanks in advance
by christianw
Thu Apr 27, 2023 9:03 pm
Forum: Hardware
Topic: Which ESP32 should I choose
Replies: 1
Views: 12139

Which ESP32 should I choose

Hello, I have a project to build a system with 4 force sensors and HX711 modules. I'm looking for an ESP32 that will allow me to : retransmit the instantaneous values via a web interface through wifi records a hundred values for each sensor every 0.1 s retrieve the values via the same web interface....
by christianw
Wed Apr 26, 2023 5:31 pm
Forum: ESP32 Arduino
Topic: LittleFS : cannot upload
Replies: 2
Views: 2539

Re: LittleFS : cannot upload

lbernstone wrote:
Sat Apr 22, 2023 6:03 pm
In 1.8, place the jar file in ~/Arduino/tools/ESP32FS/tool.
That's fine ! Thanks a lot... I'll be back for further questions ;-)
by christianw
Fri Apr 21, 2023 9:09 am
Forum: ESP32 Arduino
Topic: LittleFS : cannot upload
Replies: 2
Views: 2539

LittleFS : cannot upload

Hello, I am trying to use littleFS with a web server on ESP32. It is an ESP32-S3-WROOM from freenove, the dev computer is a linux debian 11, IDE 1.8.13 and 2.1.0 The example provided with the littleFS library works, that's something. In comment of the example there is : /* You only need to format Li...