This forum covers PCAN-Linux and Linux development issues concerning our products
-
arasbm
- Posts: 6
- Joined: Mon 29. May 2017, 19:50
Post
by arasbm » Tue 30. May 2017, 19:33
I was wondering if it would make sense to write a driver to create a
SocketCAN virtual CAN interface that connects to PCAN wireless gateway. I can see the following advantage:
- Use can-utils tools like candump and cansend for testing and troubleshooting a live system
- Seemlessly swap from wireless CAN to usb CAN
But then I suspect there may be some disadvantages:
- Potential performance penalty: intercepting TCP packets and recreating CAN messages
- More complex architecture, may introduce more point of failure
Are there other downsides to this approach? I think for us the ulternative would be to create a TCP interface and allow switching from USB to Ethernet/Wireless from our Linux application. What method do you recommend? Are there any other existing solutions that we are missing?
-
G.Lang
- Support

- Posts: 169
- Joined: Wed 22. Sep 2010, 14:58
Post
by G.Lang » Wed 31. May 2017, 13:44
Hi,
your suggestions/appreciations are right. A linux powered "Virtual Wireless Gateway" could be a nice thing but there exist no plans at PEAK to do this in the near future.
best regards
Gunther