diff --git a/modules/SatelliteAgent/SatelliteAgent.cpp b/modules/SatelliteAgent/SatelliteAgent.cpp index a629d6e..4e165a8 100644 --- a/modules/SatelliteAgent/SatelliteAgent.cpp +++ b/modules/SatelliteAgent/SatelliteAgent.cpp @@ -291,10 +291,6 @@ void SatelliteAgent::init_rpc_binds() { return this->r_evse_manager->call_force_unlock(connector_id); }); - this->rpc->bind("evse_manager_set_external_limits", [&](std::string& value) { - return this->r_evse_manager->call_set_external_limits(json::parse(value)); - }); - this->rpc->bind("evse_manager_set_get_certificate_response", [&](std::string& certificate_response) { this->r_evse_manager->call_set_get_certificate_response(json::parse(certificate_response)); }); diff --git a/modules/SatelliteController/evse_manager/evse_managerImpl.cpp b/modules/SatelliteController/evse_manager/evse_managerImpl.cpp index 1519084..d82af71 100644 --- a/modules/SatelliteController/evse_manager/evse_managerImpl.cpp +++ b/modules/SatelliteController/evse_manager/evse_managerImpl.cpp @@ -69,12 +69,6 @@ bool evse_managerImpl::handle_force_unlock(int& connector_id) { return this->mod->rpc->call("evse_manager_force_unlock", connector_id).as(); } -void evse_managerImpl::handle_set_external_limits(types::energy::ExternalLimits& value) { - json j = value; - - this->mod->rpc->call("evse_manager_set_external_limits", j.dump()); -} - void evse_managerImpl::handle_set_get_certificate_response( types::iso15118_charger::ResponseExiStreamStatus& certificate_response) { json j = certificate_response; diff --git a/modules/SatelliteController/evse_manager/evse_managerImpl.hpp b/modules/SatelliteController/evse_manager/evse_managerImpl.hpp index d125dd8..b69504f 100644 --- a/modules/SatelliteController/evse_manager/evse_managerImpl.hpp +++ b/modules/SatelliteController/evse_manager/evse_managerImpl.hpp @@ -46,7 +46,6 @@ class evse_managerImpl : public evse_managerImplBase { virtual bool handle_resume_charging() override; virtual bool handle_stop_transaction(types::evse_manager::StopTransactionRequest& request) override; virtual bool handle_force_unlock(int& connector_id) override; - virtual void handle_set_external_limits(types::energy::ExternalLimits& value) override; virtual void handle_set_get_certificate_response( types::iso15118_charger::ResponseExiStreamStatus& certificate_response) override; virtual bool handle_external_ready_to_start_charging() override;