Search found 33 matches

by bmartin0
Sun May 22, 2022 10:52 pm
Forum: ESP-IDF
Topic: idf 4.4 restful_server example
Replies: 6
Views: 3221

Re: idf 4.4 restful_server example

I downloaded nodejs and got it working. I used a browser and set it to the IP on the serial term. It seems to be working fine now. Just need to figure out how it works. Kinda new to this webserver stuff. I get IP 10.0.0.115 and can go to that via chrome and the web page shows up no problem. Just hav...
by bmartin0
Sun May 22, 2022 7:32 pm
Forum: ESP-IDF
Topic: idf 4.4 restful_server example
Replies: 6
Views: 3221

Re: idf 4.4 restful_server example

Ok, thanks for the help. I'll install nodejs and see if I can get it to work.
thanks
by bmartin0
Fri May 20, 2022 12:48 pm
Forum: ESP-IDF
Topic: idf 4.4 restful_server example
Replies: 6
Views: 3221

idf 4.4 restful_server example

Hello, I'm trying to run the restful_server example in idf4.4. I can build the program but get the following in the output window: Make Error at main/CMakeLists.txt:10 (message): C:/Workspace/Eclipse/restful_server/main/../front/web-demo/dist doesn't exit. Please run 'npm run build' in C:/Workspace/...
by bmartin0
Fri May 06, 2022 3:39 pm
Forum: ESP-IDF
Topic: http simple server example
Replies: 1
Views: 1141

http simple server example

Hello,
Does anyone have guidance on how to modify this example to post real time data on the web page? I'm using this example to make an asynchronous web server and could really use some guidance.
Thanks
by bmartin0
Wed May 04, 2022 8:29 pm
Forum: ESP-IDF
Topic: asynchronous web server in esp idf
Replies: 0
Views: 1191

asynchronous web server in esp idf

Hello, I want to create an asynchronous web server on the esp32. When a client connects, I want to be able to push sensor data values to the web page, without reloading the entire webpage. There are many examples of this with Arduino, but I can find very few for the esp idf framework. My product is ...
by bmartin0
Thu Apr 28, 2022 4:35 pm
Forum: ESP-IDF
Topic: setting system time/date
Replies: 3
Views: 3227

Re: setting system time/date

The year in this code is Runtime.year = 22 just to be clear.
by bmartin0
Thu Apr 28, 2022 4:33 pm
Forum: ESP-IDF
Topic: setting system time/date
Replies: 3
Views: 3227

Re: setting system time/date

Ok, so if you need to set the ESP32 system time and date at boot from an RTC(connected to the serial port), here's a method that works. Runtime.hour, minute, second, etc. is updated by reading the RTC via serial commands before calling this routine. Hopes this helps. void SetESP32SysTime(void) { str...
by bmartin0
Tue Apr 26, 2022 8:52 pm
Forum: ESP-IDF
Topic: setting system time/date
Replies: 3
Views: 3227

setting system time/date

Hello, I have an external RTC connected to the ESP32 via an i2c port. I want to use this time/date as the ESP32 time reference. I need to update the ESP32 time/date at boot with this external RTC value. I also have an sdcard interface and I want to be able to create a file and have that file time/da...
by bmartin0
Fri Apr 15, 2022 9:33 am
Forum: ESP-IDF
Topic: mkdir
Replies: 2
Views: 1649

Re: mkdir

Thanks, I'll take a look at settimeofday() and see what I can do.
by bmartin0
Thu Apr 14, 2022 4:39 pm
Forum: ESP-IDF
Topic: mkdir
Replies: 2
Views: 1649

mkdir

Hi, I'm trying to create a folder on an sd card. When I used the following mkdir("/sdcard/sysdl") I get a folder that is created on the sd card named sysdl. I've noticed that, when looking at the sd card in windows explorer, the date on the folder is 12/31/1979 at 11:00 pm. Does anyone know of a met...