JonnoFTW / rpi-can-logger

Project to log CAN bus data from a PiCAN2 and a GPS module
128 stars 20 forks source link

Invalid CAN Bus Type - socketcan_native #3

Open phoebeke opened 3 years ago

phoebeke commented 3 years ago

Hi,

Sorry i'm french and my English it'snt good. I test you project with a rapsberry 4 and pican2. I have an error of communication. can you help me? How can I contact you outside of Gitub

Thank you very much.

Best regards

JonnoFTW commented 3 years ago

Hi,

The python-can library has deprecated socketcan_native and you must now use socketcan: https://python-can.readthedocs.io/en/master/interfaces/socketcan.html

I will update the code to reflect this change.

JonnoFTW commented 3 years ago

@phoebeke please pull the code again and let me know if it works.