Search found 5 matches
- Fri Jan 26, 2024 7:17 am
- Forum: ESP32 Arduino
- Topic: Determine size of event_data in esp_event_handler
- Replies: 2
- Views: 811
Re: Determine size of event_data in esp_event_handler
The problem is the variable size of the data, and the fact that the eventHandler has no way of determining the size. I have solved it now by prefixing the actual event_data with a magic number and the size, so the event_handler method can check if the data contains a size prefix by checking the magi...
- Thu Jan 25, 2024 7:54 pm
- Forum: ESP32 Arduino
- Topic: Determine size of event_data in esp_event_handler
- Replies: 2
- Views: 811
Determine size of event_data in esp_event_handler
I'm using an eventloop to distribute events accross my system, and I really love this system. I'ts perfect for decoupling dependencies between parts of the system and its helped me a lot. One thing i dont understand is that, when posting an event, you provide a pointer to the event data, and the siz...
- Mon Aug 29, 2022 11:18 am
- Forum: ESP32 Arduino
- Topic: Using software timers with lambda's
- Replies: 0
- Views: 1031
Using software timers with lambda's
In my project I'm creating a scheduler that can schedule "random" actions using xTimerCreate method to create a software timer. I'm using software timers as I don't need very high accuracy and using interrupts would make things more complex than needed. The xTimerCreate method has a parameter for a ...
- Thu Apr 28, 2022 7:20 pm
- Forum: ESP32 Arduino
- Topic: How to use ARDUHAL_SHORT_LOG_FORMAT
- Replies: 1
- Views: 1595
How to use ARDUHAL_SHORT_LOG_FORMAT
In esp_hal_log.h there are some changes to logging format, esp adding a millisecond timestamp by default as I already have a logging extension in place that outputs actual timestamp in stead of milliseconds since last boot, I want to ignore this change. esp-hal-Log.h does contain a simple format in ...
- Tue Sep 28, 2021 9:18 am
- Forum: ESP32 Arduino
- Topic: How to make vTaskList functional in VS Code and Platformio
- Replies: 4
- Views: 5279
Re: How to make vTaskList functional in VS Code and Platformio
I know this is a very old thread ..but still I'm also interrested in getting this to work to help monitoring the tasks we have running in our project