Search found 5 matches
- Sat Mar 30, 2024 12:33 am
- Forum: ESP-IDF
- Topic: Problems with nimBLE examples spp_client and spp_server
- Replies: 0
- Views: 425
Problems with nimBLE examples spp_client and spp_server
I opened projects in ESP-IDF for each of these examples. They built fine and I loaded them into ESP32s. When I run the code, though, I get most but not all of the output shown in the documentation. The two boards connect and the client will write to the server. The server, however, does not send its...
- Wed Feb 28, 2024 3:23 pm
- Forum: ESP-IDF
- Topic: settimeofday() not working
- Replies: 3
- Views: 910
Re: settimeofday() not working
Thank you. #include <sys/time.h> worked.
I have found no mention of sys/time.h anywhere in ESP-IDF documentation or examples. Where should I have found this information?
I have found no mention of sys/time.h anywhere in ESP-IDF documentation or examples. Where should I have found this information?
- Wed Feb 28, 2024 2:04 am
- Forum: ESP-IDF
- Topic: settimeofday() not working
- Replies: 3
- Views: 910
settimeofday() not working
ESP-IDF documentation says use settimeofday() to set the RTC.
"To stop smooth time adjustment and update the current time immediately, use the POSIX function settimeofday()."
When I compile IDE (VSC) says settimeofday() not declared. Is there a library I need?
"To stop smooth time adjustment and update the current time immediately, use the POSIX function settimeofday()."
When I compile IDE (VSC) says settimeofday() not declared. Is there a library I need?
- Sun Aug 27, 2023 4:08 pm
- Forum: ESP32 Arduino
- Topic: ESP32 crashes when using rom\miniz decompression function
- Replies: 2
- Views: 1796
Re: ESP32 crashes when using rom\miniz decompression function
Solved!!
SET_LOOP_TASK_STACK_SIZE( 16*1024 ); // 16KB
void setup() {
Thank you. I spent two weeks trying to crack this.
SET_LOOP_TASK_STACK_SIZE( 16*1024 ); // 16KB
void setup() {
Thank you. I spent two weeks trying to crack this.
- Sat Aug 26, 2023 10:24 pm
- Forum: ESP32 Arduino
- Topic: ESP32 crashes when using rom\miniz decompression function
- Replies: 2
- Views: 1796
ESP32 crashes when using rom\miniz decompression function
I am testing the use of the miniz library that is part of ESP32 Framework. This test should decompress the src_buf data and return uncomp_size = either -1 (failed) or 1440 (success). This sketch compiles on Arduino IDE 2.1.1 and loads to the board. When it runs, the ESP32 crashes with the messages b...