It seems the enum value for the message is specified by an integer index into the enum definition.
The current implementation just assumes a string value and copies the index as value into the property.
I couldn't find any solid information how enum values are supposed to be specified, but this is the way CANdb++ writes the dbc file.
I will try to provide a PR to handle this correctly.
I copied the relevant lines from a sample J1939 file:
It seems the enum value for the message is specified by an integer index into the enum definition. The current implementation just assumes a string value and copies the index as value into the property.
I couldn't find any solid information how enum values are supposed to be specified, but this is the way CANdb++ writes the dbc file. I will try to provide a PR to handle this correctly.