linux-can / can-utils

Linux-CAN / SocketCAN user space applications
2.39k stars 711 forks source link

J1939 #71

Closed Swompet closed 4 years ago

Swompet commented 6 years ago

Im trying to use this at a tractor. Why dont I get an output here? Candump brings me an output.

itachi1995 commented 6 years ago

you have to test it with oscilloscope

Swompet commented 6 years ago

what do you mean? what can be the reason that candump works but cansniffer dont? Thank you very mutch for your help.

marckleinebudde commented 6 years ago

What's the output of candump? Which program doesn't work? How do you start it?

Swompet commented 6 years ago

can dump gives me an output like this: 1CE726A0#A87D69FFE60C0000 1CE6A026#A87D6900E60C0000 1CE726A0#A87E69FFE70C0000 1CE6A026#A87E6900E70C0000 1CE726A0#A87F69FFE80C0000 1CE6A026#A87F6900E80C0000 1CE726A0#A88069FFE90C0000 I using a raspberry pi with a Pican2. and that the programs on the pi. The problem might be the the 29 bit identifier on the isobus ISO 11783

coryjfowler commented 6 years ago

Currently, the mainstream version of cansniffer does not support extended (29bit) IDs. You would need to clone and make either hartkopp's can-utils or my can-utils. I have not tested kartkopp's version as I was unaware of its existence until earlier this morning, but I can vouch that my version is currently working for me.

josemic commented 5 years ago

Can this issue be closed now? Has hartkopp's can-utils been merged in the meantime? Are extended (29bit) IDs now supported?

hartkopp commented 5 years ago

My attempt to make the cansniffer 29bit ID capable is still not finished. Maybe I wanted to much and need to restart that development.