diff --git a/lib/ocpp/v201/charge_point.cpp b/lib/ocpp/v201/charge_point.cpp index cb9484fc7..bd12354ee 100644 --- a/lib/ocpp/v201/charge_point.cpp +++ b/lib/ocpp/v201/charge_point.cpp @@ -3593,7 +3593,6 @@ void ChargePoint::handle_install_certificate_req(Call const auto msg = call.msg; InstallCertificateResponse response; - const auto certificateType = ocpp::evse_security_conversions::from_ocpp_v201(msg.certificateType); if ((msg.certificateType == InstallCertificateUseEnum::CSMSRootCertificate || msg.certificateType == InstallCertificateUseEnum::ManufacturerRootCertificate) && diff --git a/lib/ocpp/v201/smart_charging.cpp b/lib/ocpp/v201/smart_charging.cpp index bcc09610b..29201b71f 100644 --- a/lib/ocpp/v201/smart_charging.cpp +++ b/lib/ocpp/v201/smart_charging.cpp @@ -76,8 +76,6 @@ std::string profile_validation_result_to_string(ProfileValidationResultEnum e) { return "DuplicateProfileValidityPeriod"; case ProfileValidationResultEnum::RequestStartTransactionNonTxProfile: return "RequestStartTransactionNonTxProfile"; - case ProfileValidationResultEnum::InvalidSecurityProfile: - return "SecurityProfileTooLowForCertificateInstall"; } throw EnumToStringException{e, "ProfileValidationResultEnum"}; @@ -118,8 +116,6 @@ std::string profile_validation_result_to_reason_code(ProfileValidationResultEnum return "InvalidValue"; case ProfileValidationResultEnum::InvalidProfileType: return "InternalError"; - case ProfileValidationResultEnum::InvalidSecurityProfile: - return "LowSecurityProfile"; } throw std::out_of_range("No applicable reason code for provided enum of type ProfileValidationResultEnum");