OpenCyphal-Garage / gui_tool

Legacy cross-platform GUI application for UAVCAN/CAN v0 bus management and diagnostics. Does not support UAVCAN v1; for that, see Yukon.
http://legacy.uavcan.org
MIT License
85 stars 53 forks source link

Add support to select Socket can interfaces #33

Closed irieblue closed 5 years ago

irieblue commented 6 years ago

I have an ubuntu system where the CAN interface appears as a network interface - can0 . The driver plumbs this as a socket can device and not a traditional UART/Serial device.

It would be helpful to have the gui_tool communicate over socket can on systems where that is the hardware interface to the UAVCAN device.

It would make for a good sample application/code on how to use UAVCAN programmatically over Socket can.

kjetilkjeka commented 6 years ago

The gui tool works over socketcan. When ifconfig shows a socketcan interface the gui tool will also have an alternative for chosing that interface. If this doesn't work, something is off at your end.

Can you confirm that ifconfig shows the socketcan interface?

Perhaps you also should set up a virtual can interface and see if it works with it?

pavel-kirienko commented 5 years ago

Closing because as Kjetil said, SocketCAN is already supported.