Skip to content

Commit

Permalink
Update symlinks after V2G certificate update
Browse files Browse the repository at this point in the history
Signed-off-by: Menno de Graaf <[email protected]>
  • Loading branch information
Menno de Graaf authored and AssemblyJohn committed Jan 24, 2024
1 parent 64f04de commit 280bbc2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/ocpp/v201/charge_point.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1763,6 +1763,11 @@ void ChargePoint::handle_certificate_signed_req(Call<CertificateSignedRequest> c
}
}

// Trigger a symlink update for V2G certificates
if (cert_signing_use == ocpp::CertificateSigningUseEnum::V2GCertificate) {
this->evse_security->update_certificate_links(cert_signing_use);
}

ocpp::CallResult<CertificateSignedResponse> call_result(response, call.uniqueId);
this->send<CertificateSignedResponse>(call_result);

Expand Down

0 comments on commit 280bbc2

Please sign in to comment.