Daniel Peintner - 2024-07-02

OpenV2G uses static memory allocation (no malloc is used) with a fixed set of entries for arrays etc.
Everyone using the library (source code) can configure it according to the needs, see

#define XYZ_ARRAY_SIZE 5

entries in

https://sourceforge.net/p/openv2g/code/HEAD/tree/trunk/src/iso1/iso1EXIDatatypes.h

Defining the possible maximum for each would result in a huge static memory allocation.

I hope this helps to understand the rational.

-- Daniel