evcc-io/charger/ocpp/const.go
2026-02-21 11:23:06 +00:00

26 lines
1.1 KiB
Go

package ocpp
import "time"
var Timeout = time.Minute // default request / response timeout on protocol level
const (
// Core profile keys
KeyMeterValueSampleInterval = "MeterValueSampleInterval"
KeyMeterValuesSampledData = "MeterValuesSampledData"
KeyMeterValuesSampledDataMaxLength = "MeterValuesSampledDataMaxLength"
KeyNumberOfConnectors = "NumberOfConnectors"
KeySupportedFeatureProfiles = "SupportedFeatureProfiles"
KeyWebSocketPingInterval = "WebSocketPingInterval"
// SmartCharging profile keys
KeyChargeProfileMaxStackLevel = "ChargeProfileMaxStackLevel"
KeyChargingScheduleAllowedChargingRateUnit = "ChargingScheduleAllowedChargingRateUnit"
KeyConnectorSwitch3to1PhaseSupported = "ConnectorSwitch3to1PhaseSupported"
KeyMaxChargingProfilesInstalled = "MaxChargingProfilesInstalled"
// Vendor specific keys
KeyAlfenPlugAndChargeIdentifier = "PlugAndChargeIdentifier"
KeyChargeAmpsPhaseSwitchingSupported = "ACPhaseSwitchingSupported"
KeyEvBoxSupportedMeasurands = "evb_SupportedMeasurands"
)