« Return to Thread: Widely used low level API?

Re: Widely used low level API?

by YAP-2 :: Rate this Message:

Reply to Author | View in Thread

On Fri, Nov 14, 2008 at 1:14 PM, Oliver Betz <list_ob@...> wrote:

> Hello All,
>
> as I'm redesigning and extending parts of an application, I have to
> change the API accessing the CAN hardware (init, filter, read,
> write...).
>
> I wonder whether there is a widely used/accepted API I should
> consider to be compatible to.
>
> Any suggestions?
>

Not commonly used maybe but there is CANAL (CAN abstraction layer), It
is documented here
http://www.vscp.org/wiki/doku.php/canal_specification and there is
drivers for many common adapters and equipment (some listed here
http://www.vscp.org/wiki/doku.php/canal_vscp_drivers).

There is a lot of code around CANAL in the VSCP project. One API can
be used to talk directly to a device or through a device connected to
a server over the Internet or similar.  Very easy to do simulated
systems on a machine or over TCP/IP. I use to support raw CAN in a
client application before but no one was interested in that so at the
moment I only do VSCP but will probably add raw CAN support to VSCP
Works in the future.

You also have canPie https://sourceforge.net/projects/canpie

On linux you have socketCAN http://en.wikipedia.org/wiki/Socketcan
CANAL will support Socket CAN as soon as I get time to add a driver.

Cheers
/Ake

Cheers
/Ake




--
 ---
Ake Hedman
D of Scandinavia, http://www.dofscandinavia.com
--
Archives and useful links: http://groups.yahoo.com/group/CANbus
Subscribe and unsubscribe at www.vector-informatik.com/canlist/
Report any problems to <canlist-owner@...>

 « Return to Thread: Widely used low level API?