Hi,
I've found your tool very usefull and well thought out!
Unfortunately I noticed the following limitation, which make this tool unpractical for me:
My can packet has a dlc of say 8, but the sig are sparse and cover only a non contiguous portion of the 64 bits, the bit fields in the .h file turns out to be scrambled:
Here underneath a portion of the dbc file:
Any workaround (beside filling missing gaps manually? over 3000 signals, sig):
BO_ 2250326016 STATUS_BCM: 8 BCM
SG_ BonnetSts : 15|1@0+ (1,0) [0|1] "-" IPC
SG_ BrakeFluidLevelSts : 6|1@0+ (1,0) [0|1] "-" IPC
SG_ BrakePadWearSts : 7|1@0+ (1,0) [0|1] "-" IPC,TUM
SG_ DriverDoorLockSts : 29|1@0+ (1,0) [0|1] "-" TUM
SG_ DriverDoorSts : 10|1@0+ (1,0) [0|1] "-" ASM,IPC,TUM
SG_ FpsNotAvailable : 55|1@0+ (1,0) [0|1] "" IPC,TUM
SG_ FPSSts : 31|1@0+ (1,0) [0|1] "-" IPC,TUM
SG_ FuelLevel : 47|8@0+ (1,0) [0|100] "%" IPC
SG_ FuelLevelFailSts : 32|1@0+ (1,0) [0|1] "-" IPC
SG_ HandBrakeSts : 5|1@0+ (1,0) [0|1] "-" ASM,IPC,TUM
SG_ IMMOCodeWarningLightSts : 54|7@0+ (1,0) [0|18] "-" IPC
SG_ InternalLightSts : 3|1@0+ (1,0) [0|1] "-" IPC,LTM,RRM,SDM
SG_ KeySts : 23|4@0+ (1,0) [0|12] "-" ACM,AHM,ASM,IPC,LTM,RRM,SDM,TPM,TTM
SG_ LHRDoorSts : 12|1@0+ (1,0) [0|1] "-" ASM,IPC,TUM
SG_ LowFuelWarningSts : 33|1@0+ (1,0) [0|1] "-" IPC,TUM
SG_ PsngrDoorSts : 11|1@0+ (1,0) [0|1] "-" ASM,IPC,TUM
SG_ RainSensorFailSts : 63|1@0+ (1,0) [0|1] "-" IPC,TUM
SG_ RechargeSts : 19|1@0+ (1,0) [0|1] "-" ACM,ASM,SDM,TUM
SG_ RHatchSts : 14|1@0+ (1,0) [0|1] "-" IPC,LTM,TUM
SG_ RHRDoorSts : 13|1@0+ (1,0) [0|1] "-" ASM,IPC,TUM
SG_ SysEOLSts : 2|1@0+ (1,0) [0|1] "-" IPC
to make it work correctly I would have to add by hand the following dummy signals:
SG_ XF1 : 1|2@0+ (1,0) [0|1] "-" IPC
SG_ XF2 : 4|1@0+ (1,0) [0|1] "-" IPC
SG_ XF3 : 9|2@0+ (1,0) [0|1] "-" IPC
SG_ XF4 : 18|3@0+ (1,0) [0|1] "-" IPC
SG_ XF5 : 28|5@0+ (1,0) [0|1] "-" IPC
SG_ XF6 : 30|1@0+ (1,0) [0|1] "-" IPC
SG_ XF7 : 39|6@0+ (1,0) [0|1] "-" IPC
SG_ XF8 : 62|7@0+ (1,0) [0|1] "-" IPC
Thank a lot for your work, any help is welcome!