|
ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
|
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< KeyValue > | getChargePointSerialNumberKeyValue () |
| CiString< 20 > | getChargePointVendor () |
| KeyValue | getChargePointVendorKeyValue () |
| CiString< 50 > | getFirmwareVersion () |
| KeyValue | getFirmwareVersionKeyValue () |
| std::optional< CiString< 20 > > | getICCID () |
| std::optional< KeyValue > | getICCIDKeyValue () |
| std::optional< CiString< 20 > > | getIMSI () |
| std::optional< KeyValue > | getIMSIKeyValue () |
| std::optional< CiString< 25 > > | getMeterSerialNumber () |
| std::optional< KeyValue > | getMeterSerialNumberKeyValue () |
| std::optional< CiString< 25 > > | getMeterType () |
| std::optional< KeyValue > | getMeterTypeKeyValue () |
| 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< KeyValue > | getIgnoredProfilePurposesOfflineKeyValue () |
| bool | setIgnoredProfilePurposesOffline (const std::string &ignored_profile_purposes_offline) |
| int32_t | getMaxCompositeScheduleDuration () |
| KeyValue | getMaxCompositeScheduleDurationKeyValue () |
| std::optional< int32_t > | getCompositeScheduleDefaultLimitAmps () |
| std::optional< KeyValue > | getCompositeScheduleDefaultLimitAmpsKeyValue () |
| void | setCompositeScheduleDefaultLimitAmps (int32_t limit_amps) |
| std::optional< int32_t > | getCompositeScheduleDefaultLimitWatts () |
| std::optional< KeyValue > | getCompositeScheduleDefaultLimitWattsKeyValue () |
| void | setCompositeScheduleDefaultLimitWatts (int32_t limit_watts) |
| std::optional< int32_t > | getCompositeScheduleDefaultNumberPhases () |
| std::optional< KeyValue > | getCompositeScheduleDefaultNumberPhasesKeyValue () |
| void | setCompositeScheduleDefaultNumberPhases (int32_t number_phases) |
| std::optional< int32_t > | getSupplyVoltage () |
| std::optional< KeyValue > | getSupplyVoltageKeyValue () |
| 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< KeyValue > | getHostNameKeyValue () |
| std::optional< std::string > | getIFace () |
| std::optional< KeyValue > | getIFaceKeyValue () |
| std::optional< bool > | getQueueAllMessages () |
| std::optional< KeyValue > | getQueueAllMessagesKeyValue () |
| std::optional< std::string > | getMessageTypesDiscardForQueueing () |
| std::optional< KeyValue > | getMessageTypesDiscardForQueueingKeyValue () |
| std::optional< int > | getMessageQueueSizeThreshold () |
| std::optional< KeyValue > | getMessageQueueSizeThresholdKeyValue () |
| std::optional< bool > | getAllowOfflineTxForUnknownId () |
| void | setAllowOfflineTxForUnknownId (bool enabled) |
| std::optional< KeyValue > | getAllowOfflineTxForUnknownIdKeyValue () |
| std::optional< bool > | getAuthorizationCacheEnabled () |
| void | setAuthorizationCacheEnabled (bool enabled) |
| std::optional< KeyValue > | getAuthorizationCacheEnabledKeyValue () |
| bool | getAuthorizeRemoteTxRequests () |
| void | setAuthorizeRemoteTxRequests (bool enabled) |
| KeyValue | getAuthorizeRemoteTxRequestsKeyValue () |
| std::optional< int32_t > | getBlinkRepeat () |
| void | setBlinkRepeat (int32_t blink_repeat) |
| std::optional< KeyValue > | getBlinkRepeatKeyValue () |
| 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< KeyValue > | getConnectorPhaseRotationMaxLengthKeyValue () |
| 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< KeyValue > | getLightIntensityKeyValue () |
| 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< KeyValue > | getMaxEnergyOnInvalidIdKeyValue () |
| std::string | getMeterValuesAlignedData () |
| bool | setMeterValuesAlignedData (std::string meter_values_aligned_data) |
| KeyValue | getMeterValuesAlignedDataKeyValue () |
| std::vector< MeasurandWithPhase > | getMeterValuesAlignedDataVector () |
| std::optional< int32_t > | getMeterValuesAlignedDataMaxLength () |
| std::optional< KeyValue > | getMeterValuesAlignedDataMaxLengthKeyValue () |
| std::string | getMeterValuesSampledData () |
| bool | setMeterValuesSampledData (std::string meter_values_sampled_data) |
| KeyValue | getMeterValuesSampledDataKeyValue () |
| std::vector< MeasurandWithPhase > | getMeterValuesSampledDataVector () |
| std::optional< int32_t > | getMeterValuesSampledDataMaxLength () |
| std::optional< KeyValue > | getMeterValuesSampledDataMaxLengthKeyValue () |
| int32_t | getMeterValueSampleInterval () |
| void | setMeterValueSampleInterval (int32_t interval) |
| KeyValue | getMeterValueSampleIntervalKeyValue () |
| std::optional< int32_t > | getMinimumStatusDuration () |
| void | setMinimumStatusDuration (int32_t minimum_status_duration) |
| std::optional< KeyValue > | getMinimumStatusDurationKeyValue () |
| int32_t | getNumberOfConnectors () |
| KeyValue | getNumberOfConnectorsKeyValue () |
| std::optional< bool > | getReserveConnectorZeroSupported () |
| std::optional< KeyValue > | getReserveConnectorZeroSupportedKeyValue () |
| 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< KeyValue > | getStopTxnAlignedDataMaxLengthKeyValue () |
| std::string | getStopTxnSampledData () |
| bool | setStopTxnSampledData (std::string stop_txn_sampled_data) |
| KeyValue | getStopTxnSampledDataKeyValue () |
| std::optional< int32_t > | getStopTxnSampledDataMaxLength () |
| std::optional< KeyValue > | getStopTxnSampledDataMaxLengthKeyValue () |
| std::string | getSupportedFeatureProfiles () |
| KeyValue | getSupportedFeatureProfilesKeyValue () |
| std::set< SupportedFeatureProfiles > | getSupportedFeatureProfilesSet () |
| std::optional< int32_t > | getSupportedFeatureProfilesMaxLength () |
| std::optional< KeyValue > | getSupportedFeatureProfilesMaxLengthKeyValue () |
| 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< KeyValue > | getWebsocketPingIntervalKeyValue () |
| 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< KeyValue > | getConnectorSwitch3to1PhaseSupportedKeyValue () |
| int32_t | getMaxChargingProfilesInstalled () |
| KeyValue | getMaxChargingProfilesInstalledKeyValue () |
| std::optional< bool > | getAdditionalRootCertificateCheck () |
| std::optional< KeyValue > | getAdditionalRootCertificateCheckKeyValue () |
| std::optional< std::string > | getAuthorizationKey () |
| void | setAuthorizationKey (std::string authorization_key) |
| std::optional< KeyValue > | getAuthorizationKeyKeyValue () |
| std::optional< int32_t > | getCertificateSignedMaxChainSize () |
| std::optional< KeyValue > | getCertificateSignedMaxChainSizeKeyValue () |
| std::optional< int32_t > | getCertificateStoreMaxLength () |
| std::optional< KeyValue > | getCertificateStoreMaxLengthKeyValue () |
| std::optional< std::string > | getCpoName () |
| void | setCpoName (std::string cpo_name) |
| std::optional< KeyValue > | getCpoNameKeyValue () |
| 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< KeyValue > | getCentralContractValidationAllowedKeyValue () |
| std::optional< int32_t > | getCertSigningWaitMinimum () |
| void | setCertSigningWaitMinimum (const int32_t cert_signing_wait_minimum) |
| std::optional< KeyValue > | getCertSigningWaitMinimumKeyValue () |
| std::optional< int32_t > | getCertSigningRepeatTimes () |
| void | setCertSigningRepeatTimes (const int32_t cert_signing_repeat_times) |
| std::optional< KeyValue > | getCertSigningRepeatTimesKeyValue () |
| 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< KeyValue > | getSeccLeafSubjectCommonNameKeyValue () |
| std::optional< std::string > | getSeccLeafSubjectCountry () |
| void | setSeccLeafSubjectCountry (const std::string &secc_leaf_subject_country) |
| std::optional< KeyValue > | getSeccLeafSubjectCountryKeyValue () |
| std::optional< std::string > | getSeccLeafSubjectOrganization () |
| void | setSeccLeafSubjectOrganization (const std::string &secc_leaf_subject_organization) |
| std::optional< KeyValue > | getSeccLeafSubjectOrganizationKeyValue () |
| std::optional< std::string > | getConnectorEvseIds () |
| void | setConnectorEvseIds (const std::string &connector_evse_ids) |
| std::optional< KeyValue > | getConnectorEvseIdsKeyValue () |
| std::optional< bool > | getAllowChargingProfileWithoutStartSchedule () |
| void | setAllowChargingProfileWithoutStartSchedule (const bool allow) |
| std::optional< KeyValue > | getAllowChargingProfileWithoutStartScheduleKeyValue () |
| 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< KeyValue > | getPriceNumberOfDecimalsForCostValuesKeyValue () |
| 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< KeyValue > | getDefaultPriceKeyValue () |
| std::optional< std::string > | getDisplayTimeOffset () |
| ConfigurationStatus | setDisplayTimeOffset (const std::string &offset) |
| std::optional< KeyValue > | getDisplayTimeOffsetKeyValue () |
| std::optional< std::string > | getNextTimeOffsetTransitionDateTime () |
| ConfigurationStatus | setNextTimeOffsetTransitionDateTime (const std::string &date_time) |
| std::optional< KeyValue > | getNextTimeOffsetTransitionDateTimeKeyValue () |
| std::optional< std::string > | getTimeOffsetNextTransition () |
| ConfigurationStatus | setTimeOffsetNextTransition (const std::string &offset) |
| std::optional< KeyValue > | getTimeOffsetNextTransitionKeyValue () |
| std::optional< bool > | getCustomIdleFeeAfterStop () |
| void | setCustomIdleFeeAfterStop (const bool &value) |
| std::optional< KeyValue > | getCustomIdleFeeAfterStopKeyValue () |
| std::optional< bool > | getCustomMultiLanguageMessagesEnabled () |
| std::optional< KeyValue > | getCustomMultiLanguageMessagesEnabledKeyValue () |
| std::optional< std::string > | getMultiLanguageSupportedLanguages () |
| std::optional< KeyValue > | getMultiLanguageSupportedLanguagesKeyValue () |
| std::optional< std::string > | getLanguage () |
| void | setLanguage (const std::string &language) |
| std::optional< KeyValue > | getLanguageKeyValue () |
| std::optional< KeyValue > | getCustomKeyValue (CiString< 50 > key) |
| ConfigurationStatus | setCustomKey (CiString< 50 > key, CiString< 500 > value, bool force) |
| std::optional< KeyValue > | get (CiString< 50 > key) |
| std::vector< KeyValue > | get_all_key_value () |
| ConfigurationStatus | set (CiString< 50 > key, CiString< 500 > value) |
contains the configuration of the charge point