How can I get velib.c? I am trying to write a driver to connect my RV-C SeeLevel. I've got the SeeLevel readings in C, but now I need to put them on the DBus. I'm trying to use dbus-adc, but velib appears to be missing from github
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
How can I get velib.c? I am trying to write a driver to connect my RV-C SeeLevel. I've got the SeeLevel readings in C, but now I need to put them on the DBus. I'm trying to use dbus-adc, but velib appears to be missing from github
Anyone? I'm rather stuck and worry that I'm just missing something obvious.
You're not missing anything, it is simply is not publicly available at the moment.
I have a python program that handled the SeeLevel N2K version. Might be of some help:
https://github.com/kwindrem/TankRepeater
Since you have the N2K SeeLevel system working, is there any chance you can capture the initial CAN discovery messages for me using candump? I think "candump can0 -x -tz" would work well. I'll need to do a similar discovery sequence with the RV-C version and would prefer to populate the DBus with real information from the SeeLevel as opposed to hardcoding it. I'm not very familiar with the higher level usage of J1939/RV-C, so it would be great to see how it is done over N2K and see if it can be done over RV-C.
Victron Venus OS Open Source intro page
Venus OS GitHub (please do not post to this)
40 People are following this question.