I'm working toward making an MCU-based solution to communicate ISO 15118-2 messages (TCP included) and one hurdle to this making compact code for EXI messages (your generated code is built for speed not reduced size). The EXI spec seems to indicate that there is the option for byte-alignment for certain parts. My question is if the generated code is utilizing this byte-alignment (I'm not an EXI expert) and if not, does the spec allow for it (I couldn't find anything definitive)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm working toward making an MCU-based solution to communicate ISO 15118-2 messages (TCP included) and one hurdle to this making compact code for EXI messages (your generated code is built for speed not reduced size). The EXI spec seems to indicate that there is the option for byte-alignment for certain parts. My question is if the generated code is utilizing this byte-alignment (I'm not an EXI expert) and if not, does the spec allow for it (I couldn't find anything definitive)?
Hi,
There is the possibility to encode EXI messages in byte-aligned mode (see https://sourceforge.net/p/openv2g/code/HEAD/tree/trunk/src/codec/EXIOptions.h#l57) as described by the EXI specification (see https://www.w3.org/TR/exi/#key-bytealignment)
Anyhow, this is NOT following the rules for ISO 15118 which require bit-aligned encoding.
Hence, this might be of interest for debugging purposes only.
-- Daniel