Iso11518 simlator: best model to return error message
We published an initial version of a simulator[1] for ISO15118/din/iso2 (iso20 should come later). The simulator target in 1st hand the evcc(vehicle) side in CI mode. Nevertheless we also use it to simulate the evse(charger) side to check encoders behaviors.
Presenting error messages on evcc side remain relatively simple because we handle errors outside of ISO15118 spec. On the other hand when something wrong append (i.e. invalid encoding) on the evse simulated side, I do not see how returning a clean error to the EVCC simulated side through existing ISO15118 TCP/TLS channel. I understand that in real live, such error should never happen. Nevertheless simulation is made to track errors and when something wrong append, users expect to receive more information than <sorry: connection close>.
Question: is there a way to send back and unattended message from EVSE->EVCC that would support an embedded error text message ?
Thank you Fulup