Versions in this module Expand all Collapse all v0 v0.15.0 Feb 5, 2021 v0.14.0 Nov 18, 2020 Changes in this version + const ClearVariableMonitoringFeatureName + const CustomerInformationFeatureName + const GetLogFeatureName + const GetMonitoringReportFeatureName + const LogStatusAccepted + const LogStatusAcceptedCanceled + const LogStatusRejected + const LogTypeDiagnostics + const LogTypeSecurity + const ProfileName + var Profile = ocpp.NewProfile(ProfileName, ClearVariableMonitoringFeature{}, CustomerInformationFeature{}, ...) + type CSMSHandler interface + type ChargingStationHandler interface + OnClearVariableMonitoring func(request *ClearVariableMonitoringRequest) (confirmation *ClearVariableMonitoringResponse, err error) + OnCustomerInformation func(request *CustomerInformationRequest) (confirmation *CustomerInformationResponse, err error) + OnGetLog func(request *GetLogRequest) (confirmation *GetLogResponse, err error) + OnGetMonitoringReport func(request *GetMonitoringReportRequest) (confirmation *GetMonitoringReportResponse, err error) + type ClearMonitoringResult struct + ID int + Status ClearMonitoringStatus + type ClearMonitoringStatus string + const ClearMonitoringStatusAccepted + const ClearMonitoringStatusNotFound + const ClearMonitoringStatusRejected + type ClearVariableMonitoringFeature struct + func (f ClearVariableMonitoringFeature) GetFeatureName() string + func (f ClearVariableMonitoringFeature) GetRequestType() reflect.Type + func (f ClearVariableMonitoringFeature) GetResponseType() reflect.Type + type ClearVariableMonitoringRequest struct + ID []int + func NewClearVariableMonitoringRequest(id []int) *ClearVariableMonitoringRequest + func (r ClearVariableMonitoringRequest) GetFeatureName() string + type ClearVariableMonitoringResponse struct + ClearMonitoringResult []ClearMonitoringResult + func NewClearVariableMonitoringResponse(result []ClearMonitoringResult) *ClearVariableMonitoringResponse + func (c ClearVariableMonitoringResponse) GetFeatureName() string + type CustomerInformationFeature struct + func (f CustomerInformationFeature) GetFeatureName() string + func (f CustomerInformationFeature) GetRequestType() reflect.Type + func (f CustomerInformationFeature) GetResponseType() reflect.Type + type CustomerInformationRequest struct + Clear bool + CustomerCertificate *types.CertificateHashData + CustomerIdentifier string + IdToken *types.IdToken + Report bool + RequestID int + func NewCustomerInformationRequest(requestId int, report bool, clear bool) *CustomerInformationRequest + func (r CustomerInformationRequest) GetFeatureName() string + type CustomerInformationResponse struct + Status CustomerInformationStatus + func NewCustomerInformationResponse(status CustomerInformationStatus) *CustomerInformationResponse + func (c CustomerInformationResponse) GetFeatureName() string + type CustomerInformationStatus string + const CustomerInformationStatusAccepted + const CustomerInformationStatusInvalid + const CustomerInformationStatusRejected + type GetLogFeature struct + func (f GetLogFeature) GetFeatureName() string + func (f GetLogFeature) GetRequestType() reflect.Type + func (f GetLogFeature) GetResponseType() reflect.Type + type GetLogRequest struct + Log LogParameters + LogType LogType + RequestID int + Retries *int + RetryInterval *int + func NewGetLogRequest(logType LogType, requestID int, logParameters LogParameters) *GetLogRequest + func (r GetLogRequest) GetFeatureName() string + type GetLogResponse struct + Filename string + Status LogStatus + func NewGetLogResponse(status LogStatus) *GetLogResponse + func (c GetLogResponse) GetFeatureName() string + type GetMonitoringReportFeature struct + func (f GetMonitoringReportFeature) GetFeatureName() string + func (f GetMonitoringReportFeature) GetRequestType() reflect.Type + func (f GetMonitoringReportFeature) GetResponseType() reflect.Type + type GetMonitoringReportRequest struct + ComponentVariable []types.ComponentVariable + MonitoringCriteria []MonitoringCriteriaType + RequestID *int + func NewGetMonitoringReportRequest() *GetMonitoringReportRequest + func (r GetMonitoringReportRequest) GetFeatureName() string + type GetMonitoringReportResponse struct + Status types.GenericDeviceModelStatus + func NewGetMonitoringReportResponse(status types.GenericDeviceModelStatus) *GetMonitoringReportResponse + func (c GetMonitoringReportResponse) GetFeatureName() string + type LogParameters struct + LatestTimestamp *types.DateTime + OldestTimestamp *types.DateTime + RemoteLocation string + type LogStatus string + type LogType string + type MonitoringCriteriaType string + const MonitoringCriteriaDeltaMonitoring + const MonitoringCriteriaPeriodicMonitoring + const MonitoringCriteriaThresholdMonitoring