Excellent finding, MAW!
It works as a charm. Here is what I did, following your advice. Please, do note that commands are generic, and that there is a environment preparation I do NOT want to go into!
To set socketCAN framework beneath Linux kernel (I am using 4.17.2), please, as root:
lsmod | grep can
modprobe can
modprobe can_raw
modprobe can-bcm
modprobe can-dev
modprobe can-gw
modprobe vcan
lsmod | grep can
To set the socketCAN-Fd framework, the following should be done (also as root):
ip link add dev vcan0 type vcan
ip link set vcan0 mtu 72
ip link set dev vcan0 up
ifconfig
The can-utils package is required to test the socketCAN-Fd framework. Also, the following is required:
https://github.com/mguentner/cannelloni
And, everything is working like Swiss Clock! :-)
On the xmit side: cangen -f vcan0 -v
vcan0
2C3##0.25.5A.FF.1E.DC.BD.CB.42.25.5A.FF.1E.DC.BD.CB.42.25.5A.FF.1E.DC.BD.CB.42.25.5A.FF.1E.DC.BD.CB.42.25.5A.FF.1E.DC.BD.CB.42.25.5A.FF.1E.DC.BD.CB.42.25.5A.FF.1E.DC.BD.CB.42.25.5A.FF.1E.DC.BD.CB.42
On the receiving side: candump vcan0
vcan0 2C3 [64] 25 5A FF 1E DC BD CB 42 25 5A FF 1E DC BD CB 42 25
5A FF 1E DC BD CB 42 25 5A FF 1E DC BD CB 42 25 5A FF 1E DC BD CB 42
25 5A FF 1E DC BD CB 42 25 5A FF 1E DC BD CB 42 25 5A FF 1E DC BD CB
42
Perfect! Thank you so much!
nobody