Closed SiebrenW closed 10 months ago
Good point.
This is in the code imported from cbV2G, as generated by cbExiGen.
As mentioned in https://github.com/EVerest/cbexigen/issues/56, the code for choice sequences is not completely correct anyway, this is an additional artefact of that. As furthermore mentioned, this element is not to be used, according to ISO 15118-2 and ISO 15118-20, therefore we are not putting any manpower into fixing it.
If someone happens to want to use it anyway, feel free to propose a fix/PR to the code generator. Thank you.
Looking through the code I noticed that the _isUsed for the choices in the iso20_PGPDataType union are within the union. That is not going to work.