26 lines
1.1 KiB
Go
26 lines
1.1 KiB
Go
package ocpp
|
|
|
|
import "time"
|
|
|
|
var Timeout = 30 * time.Second // 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"
|
|
)
|