Skip to content
Advertisement

Tag: can-bus

slcand error : Inappropriate ioctl for device

I want to use can interface with slcand, but I have a problem. To link can device(canable) with slcand, I make symbolic link with udev-rule SUBSYSTEM==”usb”, ENV{DEVTYPE}==”usb_device”, ATTR{product}==”canable gs_usb”, ATTR{serial}==”002900355934570820373433″, SYMLINK+=”cantest2″ It successfully made symbolic link “/dev/cantest2”. However, when I use command “sudo slcand -o -c -s8 -F /dev/cantest2 can8”, I got a error message enter image description here I

How to create virtual CAN port on linux? (C++)

I want to create program that would emulate CAN port for testing purposes for another big application. Program should send previously recorded data through this virtual CAN. Anyone has any experience with such thing? I’m thinking to establish virtual COM, and send through it data packed in CAN Frames. Could it work? And how could I establish virtual COM on

Advertisement