C++ CAN BUS API

API and Firmware development

C++ CAN BUS API

Postby gsconsulting » Sat Apr 01, 2017 8:22 am

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
gsconsulting
 
Posts: 2
Joined: Sat Apr 01, 2017 8:17 am

Re: C++ CAN BUS API

Postby redheadedrod » Mon Apr 03, 2017 1:37 am

You mean like make it run with can-utils?
redheadedrod
 
Posts: 19
Joined: Wed May 04, 2016 5:50 pm

Re: C++ CAN BUS API

Postby PAOLOPED » Tue Apr 18, 2017 3:13 pm

Dear Garrick,
please give us more details about your difficulties and then we'll try to support you.
thanks, best regards.
PAOLOPED
 
Posts: 108
Joined: Thu Mar 10, 2016 10:34 am

Re: C++ CAN BUS API

Postby gsconsulting » Tue Aug 15, 2017 9:32 am

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
gsconsulting
 
Posts: 2
Joined: Sat Apr 01, 2017 8:17 am

Re: C++ CAN BUS API

Postby redheadedrod » Sun Nov 05, 2017 5:48 pm

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.
redheadedrod
 
Posts: 19
Joined: Wed May 04, 2016 5:50 pm


Return to API and Firmware

Who is online

Users browsing this forum: No registered users and 1 guest