Usage of FAILED_WrongChargeParameter in CPDRes
According to ISO 15118-2, the ResponseCode value FAILED_WrongChargeParameter shall be used in case there is a syntactial issue in the CPDReq received by the SECC. So for example, during a DC charging session, AC_EVChargeParameter is used in CPDReq instead of DC_EVChargeParameter.
[V2G2-477] The message 'ChargeParameterDiscoveryRes' shall contain the ResponseCode 'FAILED_WrongChargeParameter' if the content of attribute 'EVChargeParameter' in the ChargeParameterDiscoveryReq message is not valid, e.g. wrong parameter set is provided, one or multiple parameters can not be interpreted.
However, IEC has a different idea about the usage of this ResponseCode value. In IEC 61851-23, they define a compatibility check that compares the min/max values for voltage, etc. sent by EVCC and SECC respectively. If it turns out that they are not compatible with each other, IEC 61851-23 defines that the SECC shall send a CPDRes with FAILED_WrongChargeParameter, even when the content of the CPDReq by itself was fine.
See Table CC.8 t3.