sandeepmistry / arduino-CAN

An Arduino library for sending and receiving data using CAN bus.
MIT License
696 stars 238 forks source link

ESP to Pi not working #109

Open Juliandebruin opened 1 year ago

Juliandebruin commented 1 year ago

I am trying to send data from my esp32 to Raspberry Pi 4B however the messages are not received. When I send messages from my ESP32 with the example to my PI I receive nothing. I am using

sudo ip link set can0 type can bitrate 100000 sudo ifconfig can0 up cansniffer can0

And I receive 0 packages. I am suspecting the library sends it on an other channel then can0 could that be? I have set the boudrates correctly. (Changed example to 100E3) I am using platformio and an ESP32 Wroom. Pi to ESP CAN doesnt work ether.

What channel is used by the library or is something else causing the problem?