code generators for c++ and other languages #5
Labels
enhancement
New feature or request
fringe
Tangentially related stuff, e.g., separate projects that can be built using odxtools
nice to have
Things which improve the quality of life but are not a matter of life and death.
to be able to implement diagnostic services with low-cost hardware (i.e., microcontrollers for embedded systems or machines exhibiting less than 28 cores in the cloud world), it is necessary to use a compiled language, most commonly C++ (or C, but IMO even for microcontrollers restricting oneself to this is pretty masochistic). The way odxtools could help on this front is to generate the c++ boiler plate code necssarry for encoding and decoding UDS telegrams which needs to be filled by the developer wishing to implement a diagnostic service. This is basically the same approach as
cantools generate_c_source
, but I'd warmly recommend to use a proper template engine such as jinja for this.On the c++ side, this could look similar to:
Andreas Lauser <[email protected]>, on behalf of MBition GmbH.
Provider Information
The text was updated successfully, but these errors were encountered: