CANBabel icon indicating copy to clipboard operation
CANBabel copied to clipboard

Possibility to parse DBCs represented as strings

Open cosmin-radu opened this issue 7 months ago • 0 comments

Hi everyone,

We want to reuse CANBabel library for a Java project in order to parse DBC stored in a database and then reuse the obtained details of parsed signals for different manipulations.

However, I saw the library allows only to parse a DBC from files, but, in my case, the content of the DBC is stored as a string. Also, I saw the internal field of the DbcReader (bus) wasn't exposed outside, so I couldn't use the obtained details.

I have created #13 PR that solves the issues (my editor also did automatically some extra changes for imports + casts).

Could you integrate the changes?

Thanks in advance! Cosmin

cosmin-radu avatar Jul 17 '24 11:07 cosmin-radu