Page 1 of 1

C++ CAN BUS API

PostPosted: Sat Apr 01, 2017 8:22 am
by gsconsulting
Has anyone produced an open source C++ wrapper for the CAN bus API? I have been trying to do one, but have been having no end of trouble with timing issues. Hopefully I'm wasting time, and a tested class is already available?

Cheers,
Garrick

Re: C++ CAN BUS API

PostPosted: Mon Apr 03, 2017 1:37 am
by redheadedrod
You mean like make it run with can-utils?

Re: C++ CAN BUS API

PostPosted: Tue Apr 18, 2017 3:13 pm
by PAOLOPED
Dear Garrick,
please give us more details about your difficulties and then we'll try to support you.
thanks, best regards.

Re: C++ CAN BUS API

PostPosted: Tue Aug 15, 2017 9:32 am
by gsconsulting
Thanks PAOLOPED,

This has been on the back burner for ages, as my paid work got in the way. I'll revisit it shortly, and post the issues I was having.

Thanks,
Garrick

Re: C++ CAN BUS API

PostPosted: Sun Nov 05, 2017 5:48 pm
by redheadedrod
I will be looking into building a driver for this once I complete the one I am doing for another piece of hardware.

My solution will be a driver level implementation which will allow this and standard USB ELM/STN cables to be accessed via Socket Can and the newer Lawicel 2.0 Protocol. (Lawicel 1.0 is current SocketCan implimentation, 2.0 includes other ODB protocols)

This will be my first attempt at writing a linux driver and I am a full time computer science student so no promise on completion date.

So I am interested in anything you are doing and what issues you ran into.