[Ovmsdev] DBC primer

Michael Balzer dexter at expeedo.de
Tue Dec 1 05:53:24 HKT 2020


Collin,

thanks for the info. I could not find any actual specification on how to 
model transmissions.

I could only find user defined attributes on this, like in this example: 
http://socialledge.com/sjsu/index.php/DBC_Format#DBC_Example
… where you've got an attribute "GenMsgCycleTime" that seems to define 
cyclic transmission intervals – but isn't explained anywhere.

Do I miss something, or is the "industry standard" way here to just 
introduce whatever custom attributes you need to do the job?

Do you have some actual examples of DBC files containing request 
definitions? If there is some accepted standard, we could consider 
implementing that.

Regards,
Michael


Am 30.11.20 um 16:01 schrieb Collin Kidder:
> The one slight correction I might offer is this: DBC files can most
> definitely be used for transmission and people do. One can specify the
> cycle time for a frame within the DBC file so it's possible to even
> know how often to send. But, this is academic if OVMS doesn't support
> sending from DBC file definitions.
>
> On Sun, Nov 29, 2020 at 8:31 PM Michael Balzer <dexter at expeedo.de> wrote:
>> Everyone,
>>
>> I'm in contact to a guy who would like to add support for the Renault
>> Kangoo ZE.
>>
>> He's no developer, but has managed to collect quite some info on the
>> Kangoo's CAN / OBD2 communication. The Kangoo has lots of live data
>> frames, and partially even works with the Zoe module. I told him he can
>> define a DBC file, but saw we didn't have any documentation on this
>> approach yet.
>>
>> So I've written a small primer:
>> https://docs.openvehicles.com/en/latest/components/vehicle_dbc/docs/dbc-primer.html
>>
>> But I haven't used DBC myself except for writing this primer now, so if
>> someone has more experience, I'd appreciate a second look.
>>
>> An example on how to trigger and decode OBD2 reads would also be nice,
>> but I think he'll manage without for now.
>>
>> Regards,
>> Michael
>>
>> --
>> Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
>> Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
>>
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.openvehicles.com
>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20201130/ac1a2863/attachment.sig>


More information about the OvmsDev mailing list