Search found 2 matches

by obdevel
Tue Oct 22, 2019 3:58 pm
Forum: ESP32 Arduino
Topic: Can bus issue , stuck messages
Replies: 10
Views: 25485

Re: Can bus issue , stuck messages

I use the Arduino wrapper but I prefer to use the IDF CAN driver directly as it provides more control, instrumentation and alerts than the ESP32CAN library. You can take code straight from the IDF examples, although the default Arduino compiler settings are stricter and may require some explicit cas...
by obdevel
Tue Sep 24, 2019 10:44 pm
Forum: ESP-IDF
Topic: ESP-NOW peer private data
Replies: 1
Views: 2608

ESP-NOW peer private data

I'm trying to understand the purpose of the .priv member of the esp_now_peer_info struct. I'd like to store some data for each paired peer, e.g. number of send errors, so that I can un-peer unresponsive devices after a set number of errors. Otherwise, I'll need to maintain a separate, parallel list ...