I'm working on an electric motorcycle project and I was searching for an way to convert the DBC file into an usable Rust code close to an library.
I tested your tool and worked but I have 55 different messages on the DBC and your tool generated an file with !!!!!22559 lines!!!!!!
My DBC has 5 devices that are listed as BU_: MCU BMS DISPLAY VCU CHARGER
This is an example how you can explicit the sender and receiver for an message:
BO_ 2203160576 Gear_Selection: 8 VCU // 0x3519000
SG_ Gear : 0|2@1+ (1,0) [0|1] "" MCU
SG_ Drive_Profile : 8|4@1+ (1,0) [0|15] "" MCU
SG_ Allow_Discharge : 16|16@1+ (0.1,0) [0|6553.5] "A" MCU
SG_ Allow_Charge : 32|16@1+ (0.1,0) [0|6553.5] "A" MCU
My suggestion was to take the devices and generated different code for each device sender. The example above should go into an mcu.rs, if it was the charger should be on an charger.rs etc.
I'm working on an electric motorcycle project and I was searching for an way to convert the DBC file into an usable Rust code close to an library.
I tested your tool and worked but I have 55 different messages on the DBC and your tool generated an file with !!!!!22559 lines!!!!!!
My DBC has 5 devices that are listed as
BU_: MCU BMS DISPLAY VCU CHARGERThis is an example how you can explicit the sender and receiver for an message:
My suggestion was to take the devices and generated different code for each device sender. The example above should go into an mcu.rs, if it was the charger should be on an charger.rs etc.