ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | List of all members
ocpp::v16::ChargePointConfiguration Class Reference

contains the configuration of the charge point More...

#include <charge_point_configuration.hpp>

Public Member Functions

 ChargePointConfiguration (const std::string &config, const fs::path &ocpp_main_path, const fs::path &user_config_path)
 
std::string getChargePointId ()
 
KeyValue getChargePointIdKeyValue ()
 
std::string getCentralSystemURI ()
 
void setCentralSystemURI (std::string ocpp_uri)
 
KeyValue getCentralSystemURIKeyValue ()
 
std::string getChargeBoxSerialNumber ()
 
KeyValue getChargeBoxSerialNumberKeyValue ()
 
CiString< 20 > getChargePointModel ()
 
KeyValue getChargePointModelKeyValue ()
 
std::optional< CiString< 25 > > getChargePointSerialNumber ()
 
std::optional< KeyValuegetChargePointSerialNumberKeyValue ()
 
CiString< 20 > getChargePointVendor ()
 
KeyValue getChargePointVendorKeyValue ()
 
CiString< 50 > getFirmwareVersion ()
 
KeyValue getFirmwareVersionKeyValue ()
 
std::optional< CiString< 20 > > getICCID ()
 
std::optional< KeyValuegetICCIDKeyValue ()
 
std::optional< CiString< 20 > > getIMSI ()
 
std::optional< KeyValuegetIMSIKeyValue ()
 
std::optional< CiString< 25 > > getMeterSerialNumber ()
 
std::optional< KeyValuegetMeterSerialNumberKeyValue ()
 
std::optional< CiString< 25 > > getMeterType ()
 
std::optional< KeyValuegetMeterTypeKeyValue ()
 
int32_t getWebsocketReconnectInterval ()
 
KeyValue getWebsocketReconnectIntervalKeyValue ()
 
bool getAuthorizeConnectorZeroOnConnectorOne ()
 
KeyValue getAuthorizeConnectorZeroOnConnectorOneKeyValue ()
 
bool getLogMessages ()
 
KeyValue getLogMessagesKeyValue ()
 
std::vector< std::string > getLogMessagesFormat ()
 
KeyValue getLogMessagesFormatKeyValue ()
 
bool getLogRotation ()
 
KeyValue getLogRotationKeyValue ()
 
bool getLogRotationDateSuffix ()
 
KeyValue getLogRotationDateSuffixKeyValue ()
 
uint64_t getLogRotationMaximumFileSize ()
 
KeyValue getLogRotationMaximumFileSizeKeyValue ()
 
uint64_t getLogRotationMaximumFileCount ()
 
KeyValue getLogRotationMaximumFileCountKeyValue ()
 
std::vector< ChargingProfilePurposeType > getSupportedChargingProfilePurposeTypes ()
 
KeyValue getSupportedChargingProfilePurposeTypesKeyValue ()
 
std::vector< ChargingProfilePurposeType > getIgnoredProfilePurposesOffline ()
 
std::optional< KeyValuegetIgnoredProfilePurposesOfflineKeyValue ()
 
bool setIgnoredProfilePurposesOffline (const std::string &ignored_profile_purposes_offline)
 
int32_t getMaxCompositeScheduleDuration ()
 
KeyValue getMaxCompositeScheduleDurationKeyValue ()
 
std::optional< int32_t > getCompositeScheduleDefaultLimitAmps ()
 
std::optional< KeyValuegetCompositeScheduleDefaultLimitAmpsKeyValue ()
 
void setCompositeScheduleDefaultLimitAmps (int32_t limit_amps)
 
std::optional< int32_t > getCompositeScheduleDefaultLimitWatts ()
 
std::optional< KeyValuegetCompositeScheduleDefaultLimitWattsKeyValue ()
 
void setCompositeScheduleDefaultLimitWatts (int32_t limit_watts)
 
std::optional< int32_t > getCompositeScheduleDefaultNumberPhases ()
 
std::optional< KeyValuegetCompositeScheduleDefaultNumberPhasesKeyValue ()
 
void setCompositeScheduleDefaultNumberPhases (int32_t number_phases)
 
std::optional< int32_t > getSupplyVoltage ()
 
std::optional< KeyValuegetSupplyVoltageKeyValue ()
 
void setSupplyVoltage (int32_t supply_voltage)
 
std::string getSupportedCiphers12 ()
 
KeyValue getSupportedCiphers12KeyValue ()
 
std::string getSupportedCiphers13 ()
 
KeyValue getSupportedCiphers13KeyValue ()
 
bool getUseSslDefaultVerifyPaths ()
 
KeyValue getUseSslDefaultVerifyPathsKeyValue ()
 
bool getVerifyCsmsCommonName ()
 
KeyValue getVerifyCsmsCommonNameKeyValue ()
 
bool getVerifyCsmsAllowWildcards ()
 
void setVerifyCsmsAllowWildcards (bool verify_csms_allow_wildcards)
 
KeyValue getVerifyCsmsAllowWildcardsKeyValue ()
 
bool getUseTPM ()
 
bool getUseTPMSeccLeafCertificate ()
 
std::string getSupportedMeasurands ()
 
KeyValue getSupportedMeasurandsKeyValue ()
 
int getMaxMessageSize ()
 
KeyValue getMaxMessageSizeKeyValue ()
 
bool getEnableTLSKeylog ()
 
std::string getTLSKeylogFile ()
 
int32_t getRetryBackoffRandomRange ()
 
void setRetryBackoffRandomRange (int32_t retry_backoff_random_range)
 
KeyValue getRetryBackoffRandomRangeKeyValue ()
 
int32_t getRetryBackoffRepeatTimes ()
 
void setRetryBackoffRepeatTimes (int32_t retry_backoff_repeat_times)
 
KeyValue getRetryBackoffRepeatTimesKeyValue ()
 
int32_t getRetryBackoffWaitMinimum ()
 
void setRetryBackoffWaitMinimum (int32_t retry_backoff_wait_minimum)
 
KeyValue getRetryBackoffWaitMinimumKeyValue ()
 
std::set< MessageType > getSupportedMessageTypesSending ()
 
std::set< MessageType > getSupportedMessageTypesReceiving ()
 
std::string getWebsocketPingPayload ()
 
KeyValue getWebsocketPingPayloadKeyValue ()
 
int32_t getWebsocketPongTimeout ()
 
KeyValue getWebsocketPongTimeoutKeyValue ()
 
std::optional< std::string > getHostName ()
 
std::optional< KeyValuegetHostNameKeyValue ()
 
std::optional< std::string > getIFace ()
 
std::optional< KeyValuegetIFaceKeyValue ()
 
std::optional< bool > getQueueAllMessages ()
 
std::optional< KeyValuegetQueueAllMessagesKeyValue ()
 
std::optional< std::string > getMessageTypesDiscardForQueueing ()
 
std::optional< KeyValuegetMessageTypesDiscardForQueueingKeyValue ()
 
std::optional< int > getMessageQueueSizeThreshold ()
 
std::optional< KeyValuegetMessageQueueSizeThresholdKeyValue ()
 
std::optional< bool > getAllowOfflineTxForUnknownId ()
 
void setAllowOfflineTxForUnknownId (bool enabled)
 
std::optional< KeyValuegetAllowOfflineTxForUnknownIdKeyValue ()
 
std::optional< bool > getAuthorizationCacheEnabled ()
 
void setAuthorizationCacheEnabled (bool enabled)
 
std::optional< KeyValuegetAuthorizationCacheEnabledKeyValue ()
 
bool getAuthorizeRemoteTxRequests ()
 
void setAuthorizeRemoteTxRequests (bool enabled)
 
KeyValue getAuthorizeRemoteTxRequestsKeyValue ()
 
std::optional< int32_t > getBlinkRepeat ()
 
void setBlinkRepeat (int32_t blink_repeat)
 
std::optional< KeyValuegetBlinkRepeatKeyValue ()
 
int32_t getClockAlignedDataInterval ()
 
void setClockAlignedDataInterval (int32_t interval)
 
KeyValue getClockAlignedDataIntervalKeyValue ()
 
int32_t getConnectionTimeOut ()
 
void setConnectionTimeOut (int32_t timeout)
 
KeyValue getConnectionTimeOutKeyValue ()
 
std::string getConnectorPhaseRotation ()
 
void setConnectorPhaseRotation (std::string connector_phase_rotation)
 
KeyValue getConnectorPhaseRotationKeyValue ()
 
std::optional< int32_t > getConnectorPhaseRotationMaxLength ()
 
std::optional< KeyValuegetConnectorPhaseRotationMaxLengthKeyValue ()
 
int32_t getGetConfigurationMaxKeys ()
 
KeyValue getGetConfigurationMaxKeysKeyValue ()
 
int32_t getHeartbeatInterval ()
 
void setHeartbeatInterval (int32_t interval)
 
KeyValue getHeartbeatIntervalKeyValue ()
 
std::optional< int32_t > getLightIntensity ()
 
void setLightIntensity (int32_t light_intensity)
 
std::optional< KeyValuegetLightIntensityKeyValue ()
 
bool getLocalAuthorizeOffline ()
 
void setLocalAuthorizeOffline (bool local_authorize_offline)
 
KeyValue getLocalAuthorizeOfflineKeyValue ()
 
bool getLocalPreAuthorize ()
 
void setLocalPreAuthorize (bool local_pre_authorize)
 
KeyValue getLocalPreAuthorizeKeyValue ()
 
std::optional< int32_t > getMaxEnergyOnInvalidId ()
 
void setMaxEnergyOnInvalidId (int32_t max_energy)
 
std::optional< KeyValuegetMaxEnergyOnInvalidIdKeyValue ()
 
std::string getMeterValuesAlignedData ()
 
bool setMeterValuesAlignedData (std::string meter_values_aligned_data)
 
KeyValue getMeterValuesAlignedDataKeyValue ()
 
std::vector< MeasurandWithPhasegetMeterValuesAlignedDataVector ()
 
std::optional< int32_t > getMeterValuesAlignedDataMaxLength ()
 
std::optional< KeyValuegetMeterValuesAlignedDataMaxLengthKeyValue ()
 
std::string getMeterValuesSampledData ()
 
bool setMeterValuesSampledData (std::string meter_values_sampled_data)
 
KeyValue getMeterValuesSampledDataKeyValue ()
 
std::vector< MeasurandWithPhasegetMeterValuesSampledDataVector ()
 
std::optional< int32_t > getMeterValuesSampledDataMaxLength ()
 
std::optional< KeyValuegetMeterValuesSampledDataMaxLengthKeyValue ()
 
int32_t getMeterValueSampleInterval ()
 
void setMeterValueSampleInterval (int32_t interval)
 
KeyValue getMeterValueSampleIntervalKeyValue ()
 
std::optional< int32_t > getMinimumStatusDuration ()
 
void setMinimumStatusDuration (int32_t minimum_status_duration)
 
std::optional< KeyValuegetMinimumStatusDurationKeyValue ()
 
int32_t getNumberOfConnectors ()
 
KeyValue getNumberOfConnectorsKeyValue ()
 
std::optional< bool > getReserveConnectorZeroSupported ()
 
std::optional< KeyValuegetReserveConnectorZeroSupportedKeyValue ()
 
int32_t getResetRetries ()
 
void setResetRetries (int32_t retries)
 
KeyValue getResetRetriesKeyValue ()
 
bool getStopTransactionOnEVSideDisconnect ()
 
void setStopTransactionOnEVSideDisconnect (bool stop_transaction_on_ev_side_disconnect)
 
KeyValue getStopTransactionOnEVSideDisconnectKeyValue ()
 
bool getStopTransactionOnInvalidId ()
 
void setStopTransactionOnInvalidId (bool stop_transaction_on_invalid_id)
 
KeyValue getStopTransactionOnInvalidIdKeyValue ()
 
std::string getStopTxnAlignedData ()
 
bool setStopTxnAlignedData (std::string stop_txn_aligned_data)
 
KeyValue getStopTxnAlignedDataKeyValue ()
 
std::optional< int32_t > getStopTxnAlignedDataMaxLength ()
 
std::optional< KeyValuegetStopTxnAlignedDataMaxLengthKeyValue ()
 
std::string getStopTxnSampledData ()
 
bool setStopTxnSampledData (std::string stop_txn_sampled_data)
 
KeyValue getStopTxnSampledDataKeyValue ()
 
std::optional< int32_t > getStopTxnSampledDataMaxLength ()
 
std::optional< KeyValuegetStopTxnSampledDataMaxLengthKeyValue ()
 
std::string getSupportedFeatureProfiles ()
 
KeyValue getSupportedFeatureProfilesKeyValue ()
 
std::set< SupportedFeatureProfiles > getSupportedFeatureProfilesSet ()
 
std::optional< int32_t > getSupportedFeatureProfilesMaxLength ()
 
std::optional< KeyValuegetSupportedFeatureProfilesMaxLengthKeyValue ()
 
int32_t getTransactionMessageAttempts ()
 
void setTransactionMessageAttempts (int32_t attempts)
 
KeyValue getTransactionMessageAttemptsKeyValue ()
 
int32_t getTransactionMessageRetryInterval ()
 
void setTransactionMessageRetryInterval (int32_t retry_interval)
 
KeyValue getTransactionMessageRetryIntervalKeyValue ()
 
bool getUnlockConnectorOnEVSideDisconnect ()
 
void setUnlockConnectorOnEVSideDisconnect (bool unlock_connector_on_ev_side_disconnect)
 
KeyValue getUnlockConnectorOnEVSideDisconnectKeyValue ()
 
std::optional< int32_t > getWebsocketPingInterval ()
 
void setWebsocketPingInterval (int32_t websocket_ping_interval)
 
std::optional< KeyValuegetWebsocketPingIntervalKeyValue ()
 
int32_t getChargeProfileMaxStackLevel ()
 
KeyValue getChargeProfileMaxStackLevelKeyValue ()
 
std::string getChargingScheduleAllowedChargingRateUnit ()
 
KeyValue getChargingScheduleAllowedChargingRateUnitKeyValue ()
 
std::vector< ChargingRateUnit > getChargingScheduleAllowedChargingRateUnitVector ()
 
int32_t getChargingScheduleMaxPeriods ()
 
KeyValue getChargingScheduleMaxPeriodsKeyValue ()
 
std::optional< bool > getConnectorSwitch3to1PhaseSupported ()
 
std::optional< KeyValuegetConnectorSwitch3to1PhaseSupportedKeyValue ()
 
int32_t getMaxChargingProfilesInstalled ()
 
KeyValue getMaxChargingProfilesInstalledKeyValue ()
 
std::optional< bool > getAdditionalRootCertificateCheck ()
 
std::optional< KeyValuegetAdditionalRootCertificateCheckKeyValue ()
 
std::optional< std::string > getAuthorizationKey ()
 
void setAuthorizationKey (std::string authorization_key)
 
std::optional< KeyValuegetAuthorizationKeyKeyValue ()
 
std::optional< int32_t > getCertificateSignedMaxChainSize ()
 
std::optional< KeyValuegetCertificateSignedMaxChainSizeKeyValue ()
 
std::optional< int32_t > getCertificateStoreMaxLength ()
 
std::optional< KeyValuegetCertificateStoreMaxLengthKeyValue ()
 
std::optional< std::string > getCpoName ()
 
void setCpoName (std::string cpo_name)
 
std::optional< KeyValuegetCpoNameKeyValue ()
 
int32_t getSecurityProfile ()
 
void setSecurityProfile (int32_t security_profile)
 
KeyValue getSecurityProfileKeyValue ()
 
bool getDisableSecurityEventNotifications ()
 
void setDisableSecurityEventNotifications (bool disable_security_event_notifications)
 
KeyValue getDisableSecurityEventNotificationsKeyValue ()
 
bool getLocalAuthListEnabled ()
 
void setLocalAuthListEnabled (bool local_auth_list_enabled)
 
KeyValue getLocalAuthListEnabledKeyValue ()
 
int32_t getLocalAuthListMaxLength ()
 
KeyValue getLocalAuthListMaxLengthKeyValue ()
 
int32_t getSendLocalListMaxLength ()
 
KeyValue getSendLocalListMaxLengthKeyValue ()
 
bool getISO15118PnCEnabled ()
 
void setISO15118PnCEnabled (const bool iso15118_pnc_enabled)
 
KeyValue getISO15118PnCEnabledKeyValue ()
 
std::optional< bool > getCentralContractValidationAllowed ()
 
void setCentralContractValidationAllowed (const bool central_contract_validation_allowed)
 
std::optional< KeyValuegetCentralContractValidationAllowedKeyValue ()
 
std::optional< int32_t > getCertSigningWaitMinimum ()
 
void setCertSigningWaitMinimum (const int32_t cert_signing_wait_minimum)
 
std::optional< KeyValuegetCertSigningWaitMinimumKeyValue ()
 
std::optional< int32_t > getCertSigningRepeatTimes ()
 
void setCertSigningRepeatTimes (const int32_t cert_signing_repeat_times)
 
std::optional< KeyValuegetCertSigningRepeatTimesKeyValue ()
 
bool getContractValidationOffline ()
 
void setContractValidationOffline (const bool contract_validation_offline)
 
KeyValue getContractValidationOfflineKeyValue ()
 
int32_t getOcspRequestInterval ()
 
void setOcspRequestInterval (const int32_t ocsp_request_interval)
 
KeyValue getOcspRequestIntervalKeyValue ()
 
std::optional< std::string > getSeccLeafSubjectCommonName ()
 
void setSeccLeafSubjectCommonName (const std::string &secc_leaf_subject_common_name)
 
std::optional< KeyValuegetSeccLeafSubjectCommonNameKeyValue ()
 
std::optional< std::string > getSeccLeafSubjectCountry ()
 
void setSeccLeafSubjectCountry (const std::string &secc_leaf_subject_country)
 
std::optional< KeyValuegetSeccLeafSubjectCountryKeyValue ()
 
std::optional< std::string > getSeccLeafSubjectOrganization ()
 
void setSeccLeafSubjectOrganization (const std::string &secc_leaf_subject_organization)
 
std::optional< KeyValuegetSeccLeafSubjectOrganizationKeyValue ()
 
std::optional< std::string > getConnectorEvseIds ()
 
void setConnectorEvseIds (const std::string &connector_evse_ids)
 
std::optional< KeyValuegetConnectorEvseIdsKeyValue ()
 
std::optional< bool > getAllowChargingProfileWithoutStartSchedule ()
 
void setAllowChargingProfileWithoutStartSchedule (const bool allow)
 
std::optional< KeyValuegetAllowChargingProfileWithoutStartScheduleKeyValue ()
 
int32_t getWaitForStopTransactionsOnResetTimeout ()
 
void setWaitForStopTransactionsOnResetTimeout (const int32_t wait_for_stop_transactions_on_reset_timeout)
 
KeyValue getWaitForStopTransactionsOnResetTimeoutKeyValue ()
 
bool getCustomDisplayCostAndPriceEnabled ()
 
KeyValue getCustomDisplayCostAndPriceEnabledKeyValue ()
 
std::optional< uint32_t > getPriceNumberOfDecimalsForCostValues ()
 
std::optional< KeyValuegetPriceNumberOfDecimalsForCostValuesKeyValue ()
 
std::optional< std::string > getDefaultPriceText (const std::string &language)
 
ConfigurationStatus setDefaultPriceText (const CiString< 50 > &key, const CiString< 500 > &value)
 
KeyValue getDefaultPriceTextKeyValue (const std::string &language)
 
std::optional< std::vector< KeyValue > > getAllDefaultPriceTextKeyValues ()
 
std::optional< std::string > getDefaultPrice ()
 
ConfigurationStatus setDefaultPrice (const std::string &value)
 
std::optional< KeyValuegetDefaultPriceKeyValue ()
 
std::optional< std::string > getDisplayTimeOffset ()
 
ConfigurationStatus setDisplayTimeOffset (const std::string &offset)
 
std::optional< KeyValuegetDisplayTimeOffsetKeyValue ()
 
std::optional< std::string > getNextTimeOffsetTransitionDateTime ()
 
ConfigurationStatus setNextTimeOffsetTransitionDateTime (const std::string &date_time)
 
std::optional< KeyValuegetNextTimeOffsetTransitionDateTimeKeyValue ()
 
std::optional< std::string > getTimeOffsetNextTransition ()
 
ConfigurationStatus setTimeOffsetNextTransition (const std::string &offset)
 
std::optional< KeyValuegetTimeOffsetNextTransitionKeyValue ()
 
std::optional< bool > getCustomIdleFeeAfterStop ()
 
void setCustomIdleFeeAfterStop (const bool &value)
 
std::optional< KeyValuegetCustomIdleFeeAfterStopKeyValue ()
 
std::optional< bool > getCustomMultiLanguageMessagesEnabled ()
 
std::optional< KeyValuegetCustomMultiLanguageMessagesEnabledKeyValue ()
 
std::optional< std::string > getMultiLanguageSupportedLanguages ()
 
std::optional< KeyValuegetMultiLanguageSupportedLanguagesKeyValue ()
 
std::optional< std::string > getLanguage ()
 
void setLanguage (const std::string &language)
 
std::optional< KeyValuegetLanguageKeyValue ()
 
std::optional< KeyValuegetCustomKeyValue (CiString< 50 > key)
 
ConfigurationStatus setCustomKey (CiString< 50 > key, CiString< 500 > value, bool force)
 
std::optional< KeyValueget (CiString< 50 > key)
 
std::vector< KeyValueget_all_key_value ()
 
ConfigurationStatus set (CiString< 50 > key, CiString< 500 > value)
 

Detailed Description

contains the configuration of the charge point


The documentation for this class was generated from the following files: