Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/ocpp/v16/charge_point.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,11 +632,11 @@ class ChargePoint {
/// \return a response containing the requested key(s) including the values and unkown keys if present
GetConfigurationResponse get_configuration_key(const GetConfigurationRequest& request);

/// \brief Sets a custom configuration key
/// \brief Sets a configuration key
/// \param key
/// \param value
/// \return Indicates the result of the operation
ConfigurationStatus set_custom_configuration_key(CiString<50> key, CiString<500> value);
ConfigurationStatus set_configuration_key(CiString<50> key, CiString<500> value);

/// \brief Delay draining the message queue after reconnecting, so the CSMS can perform post-reconnect checks first
/// \param delay The delay period (seconds)
Expand Down
6 changes: 4 additions & 2 deletions include/ocpp/v16/charge_point_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -921,11 +921,13 @@ class ChargePointImpl : ocpp::ChargingStationBase {
/// \return a response containing the requested key(s) including the values and unkown keys if present
GetConfigurationResponse get_configuration_key(const GetConfigurationRequest& request);

/// \brief Sets a custom configuration key
/// \brief Sets a configuration key
/// \param key
/// \param value
/// \return Indicates the result of the operation
ConfigurationStatus set_custom_configuration_key(CiString<50> key, CiString<500> value);
ConfigurationStatus set_configuration_key(CiString<50> key, CiString<500> value);
std::pair<ConfigurationStatus, std::optional<ChangeConfigurationResponse>>
set_configuration_key_internal(CiString<50> key, CiString<500> value, std::optional<MessageId> uniqueId);

/// \brief Delay draining the message queue after reconnecting, so the CSMS can perform post-reconnect checks first
/// \param delay The delay period (seconds)
Expand Down
4 changes: 2 additions & 2 deletions lib/ocpp/v16/charge_point.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ GetConfigurationResponse ChargePoint::get_configuration_key(const GetConfigurati
return this->charge_point->get_configuration_key(request);
}

ConfigurationStatus ChargePoint::set_custom_configuration_key(CiString<50> key, CiString<500> value) {
return this->charge_point->set_custom_configuration_key(key, value);
ConfigurationStatus ChargePoint::set_configuration_key(CiString<50> key, CiString<500> value) {
return this->charge_point->set_configuration_key(key, value);
}

void ChargePoint::set_message_queue_resume_delay(std::chrono::seconds delay) {
Expand Down
Loading