SwitchEV / RISE-V2G

The only fully-featured reference implementation of the Vehicle-2-Grid communication interface ISO 15118
MIT License
217 stars 92 forks source link

Handling in WaitForChargeParameterDiscoveryReq takes too long #13

Closed lategoodbye closed 7 years ago

lategoodbye commented 7 years ago

Currently the handling in WaitForChargeParameterDiscoveryReq on SECC side takes too long on embedded devices and violate the timing constraint of 2 seconds.

I identified 2 reasons for this:

The following changes fixed it for me (possibly not the right solution):

MarcMueltin commented 7 years ago

This issue has been resolved in commit d8c9fc7. I deleted the unconditional sleep of 1s in processIncomingMessage() of WaitForCertificateInstallationReq.java. And I shifted the process of reading the private key from the keystore to the constructor as suggested.