SocketCAN

Request a new feature for Carberry

Re: SocketCAN

Postby redheadedrod » Sat Oct 07, 2017 6:25 am

Ps, I should also mention that one of my projects is to help build a database system to store the commands for vehicles...

When people research vehicles they will put the codes they find into this database so it can be shared with all. Would be helpful to include other vehicles into your database as well..
redheadedrod
 
Posts: 19
Joined: Wed May 04, 2016 5:50 pm

Re: SocketCAN

Postby redheadedrod » Sat Oct 07, 2017 11:38 pm

Could also start with the daemon and try to get it to be socketcan compatible since it already is a network port since the actual socketcan IS a network socket...
redheadedrod
 
Posts: 19
Joined: Wed May 04, 2016 5:50 pm

Re: SocketCAN

Postby redheadedrod » Tue Oct 10, 2017 8:07 pm

Still researching but if I could get a copy of the source code for the Daemon I should be able to create something that would work well for applications needing socketcan support.

While I could do it on my own from scratch, using a program already written and re purposing it would save lots of time. I offer this as an option as I suspect giving me access to the firmware source code would not be likely.
redheadedrod
 
Posts: 19
Joined: Wed May 04, 2016 5:50 pm

Re: SocketCAN

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

Update:
I am working on a driver level implementation for another device right now. When I am done with that I will do one for this device. The finished product will add a linux driver which will allow socketcan access to the Carberry and will support Lawicel 2.0. Lawicell 2.0 allows for other protocols and has some additional options for standard canbus. (Lawicel 1.0 defines current socketcan processes.)

Since I am a computer science student, work full time and this will be my first Linux Driver, I can not promise a finished date but I plan to create a fully functional Linux driver to control everything. Command line access will be available too. This will allow normal socketcan utilities to be used with this device as well as other common tools I hope to help develop to work with the newer protocol.

At this time I will be creating a Linux level driver for 3 different devices with the carberry being one of those. (I am also building Windows drivers for the other two as well.)

Rodney
redheadedrod
 
Posts: 19
Joined: Wed May 04, 2016 5:50 pm

Re: SocketCAN

Postby PAOLOPED » Fri Nov 10, 2017 12:17 pm

Hello,
sorry but, at the moment, we can't communicate to anyone the source code of our CARBERRY PROJECT.
Anyway, the implementation of the compatibility towards socketCAN should be developped also on the Raspberry, a service that by one side exposes the socketCAN compatibility and from the other side, connects to Carberry through the current commands.
thanks and best regards.
PAOLOPED
 
Posts: 108
Joined: Thu Mar 10, 2016 10:34 am

Re: SocketCAN

Postby redheadedrod » Wed Nov 15, 2017 8:07 pm

At this point in time the direction I have decided to go with this won't require any access to any of the source code. I will be writing a driver that runs under linux to connect to the device. The direction I am going with it will allow it to be used with standard socket can utilities and allow additional features as well.
redheadedrod
 
Posts: 19
Joined: Wed May 04, 2016 5:50 pm

Previous

Return to Request a Feature

Who is online

Users browsing this forum: No registered users and 1 guest

cron