I’m trying to write a program (in C/C++) that sends CAN messages from a Raspberry Pi 3B+ (with an image made with buildroots) with a PiCAN2 shield to another device. I open and bind a CAN socket and send a message using the write function just as in this example : https://www.beyondlogic.org/example-c-socketcan-code/. My problem is ..
I have a specific problem with the CAN communication in QT. It is not a problem to send/write CAN messages, but the readFrame() function in QT doesn’t load my received frames. If you are implementing a CAN communication in C++ you can use the read() and write() functions. But in QT it is not supported. ..
I would like to know if there is a way to modify a cyclic task using socket can’s broadcast manager. I am writing a piece of code that reads data from a buffer, than writes it on a virtual can interface. I want to therefore create a cyclic task, but the contents of the data ..