Hi Uwe,
long time no read ;-)
On 16/08/2019 14.38, bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
Marc Kleine-Budde writes:
On 8/16/19 12:52 PM, bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
However this would imply a user-space socketcan adapter. Is such a
thing possible?
Create a vcan and attach your userspace components to it.
ACK.
Is there some example code doing something similar?
There were some binary CAN tools that needed a serial line with SLCAN
protocol to work.
For that reason I built this piece of code to emulate a serial line with
a pty and connected the frame flow to a CAN socket.
https://github.com/linux-can/can-utils/blob/master/slcanpty.c
Best,
Oliver