Linux CAN drivers development
 help / color / mirror / Atom feed
* SocketCAN device enumeration API
@ 2016-08-09 11:06 André Hartmann
  2016-08-09 12:33 ` Mirza Krak
  2016-08-09 14:04 ` Kurt Van Dijck
  0 siblings, 2 replies; 6+ messages in thread
From: André Hartmann @ 2016-08-09 11:06 UTC (permalink / raw)
  To: linux-can

Hello all,

I'm one of the developers working on the new QtSerialBus module [0], [1]
which encapsulates different CAN hardware drivers (including SocketCAN) 
in a C++ API.

For a new hardware enumerating function, I'd like to do the following:

* Enumerate the currently available (i.e. ready to use)
   SocketCAN devices
* Get hardware information/manufacturer/bus type for a device
* Find out if a device is virtual
* Find out if a device is CAN FD capable

Is there already a possibility to do this from a C/C++ program?
Some information can be parsed from the ip command output, but I'd 
rather use a real API.

If not already possible, could such functionality be added to SocketCAN?

Thanks in advance!

Best regards,
Andre

[0] http://doc.qt.io/qt-5/qtserialbus-index.html
[1] https://code.qt.io/qt/qtserialbus.git

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-08-11 10:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-09 11:06 SocketCAN device enumeration API André Hartmann
2016-08-09 12:33 ` Mirza Krak
2016-08-09 14:04 ` Kurt Van Dijck
2016-08-11  8:36   ` André Hartmann
2016-08-11 10:05     ` Kurt Van Dijck
2016-08-11 10:31       ` André Hartmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox