Versions in this module Expand all Collapse all v0 v0.0.5 Oct 6, 2024 v0.0.4 Oct 4, 2024 v0.0.3 Oct 1, 2024 v0.0.2 Oct 1, 2024 Changes in this version + const ClearDisplayMessageFeatureName + const GetDisplayMessagesFeatureName + const MessagePriorityAlwaysFront + const MessagePriorityInFront + const MessagePriorityNormalCycle + const MessageStateCharging + const MessageStateFaulted + const MessageStateIdle + const MessageStateUnavailable + const MessageStatusAccepted + const MessageStatusUnknown + const NotifyDisplayMessagesFeatureName + const ProfileName + const SetDisplayMessageFeatureName + var Profile = ocpp.NewProfile(ProfileName, ClearDisplayFeature{}, GetDisplayMessagesFeature{}, ...) + type CSMSHandler interface + OnNotifyDisplayMessages func(chargingStationID string, request *NotifyDisplayMessagesRequest) (response *NotifyDisplayMessagesResponse, err error) + type ChargingStationHandler interface + OnClearDisplay func(request *ClearDisplayRequest) (confirmation *ClearDisplayResponse, err error) + OnGetDisplayMessages func(request *GetDisplayMessagesRequest) (confirmation *GetDisplayMessagesResponse, err error) + OnSetDisplayMessage func(request *SetDisplayMessageRequest) (response *SetDisplayMessageResponse, err error) + type ClearDisplayFeature struct + func (f ClearDisplayFeature) GetFeatureName() string + func (f ClearDisplayFeature) GetRequestType() reflect.Type + func (f ClearDisplayFeature) GetResponseType() reflect.Type + type ClearDisplayRequest struct + ID int + func NewClearDisplayRequest(id int) *ClearDisplayRequest + func (r ClearDisplayRequest) GetFeatureName() string + type ClearDisplayResponse struct + Status ClearMessageStatus + StatusInfo *types.StatusInfo + func NewClearDisplayResponse(status ClearMessageStatus) *ClearDisplayResponse + func (c ClearDisplayResponse) GetFeatureName() string + type ClearMessageStatus string + const ClearMessageStatusAccepted + const ClearMessageStatusUnknown + type DisplayMessageStatus string + const DisplayMessageStatusAccepted + const DisplayMessageStatusNotSupportedMessageFormat + const DisplayMessageStatusNotSupportedPriority + const DisplayMessageStatusNotSupportedState + const DisplayMessageStatusRejected + const DisplayMessageStatusUnknownTransaction + type GetDisplayMessagesFeature struct + func (f GetDisplayMessagesFeature) GetFeatureName() string + func (f GetDisplayMessagesFeature) GetRequestType() reflect.Type + func (f GetDisplayMessagesFeature) GetResponseType() reflect.Type + type GetDisplayMessagesRequest struct + ID []int + Priority MessagePriority + RequestID int + State MessageState + func NewGetDisplayMessagesRequest(requestId int) *GetDisplayMessagesRequest + func (r GetDisplayMessagesRequest) GetFeatureName() string + type GetDisplayMessagesResponse struct + Status MessageStatus + func NewGetDisplayMessagesResponse(status MessageStatus) *GetDisplayMessagesResponse + func (c GetDisplayMessagesResponse) GetFeatureName() string + type MessageInfo struct + Display *types.Component + EndDateTime *types.DateTime + ID int + Message types.MessageContent + Priority MessagePriority + StartDateTime *types.DateTime + State MessageState + TransactionID string + type MessagePriority string + type MessageState string + type MessageStatus string + type NotifyDisplayMessagesFeature struct + func (f NotifyDisplayMessagesFeature) GetFeatureName() string + func (f NotifyDisplayMessagesFeature) GetRequestType() reflect.Type + func (f NotifyDisplayMessagesFeature) GetResponseType() reflect.Type + type NotifyDisplayMessagesRequest struct + MessageInfo []MessageInfo + RequestID int + Tbc bool + func NewNotifyDisplayMessagesRequest(requestID int) *NotifyDisplayMessagesRequest + func (r NotifyDisplayMessagesRequest) GetFeatureName() string + type NotifyDisplayMessagesResponse struct + func NewNotifyDisplayMessagesResponse() *NotifyDisplayMessagesResponse + func (c NotifyDisplayMessagesResponse) GetFeatureName() string + type SetDisplayMessageFeature struct + func (f SetDisplayMessageFeature) GetFeatureName() string + func (f SetDisplayMessageFeature) GetRequestType() reflect.Type + func (f SetDisplayMessageFeature) GetResponseType() reflect.Type + type SetDisplayMessageRequest struct + Message MessageInfo + func NewSetDisplayMessageRequest(message MessageInfo) *SetDisplayMessageRequest + func (r SetDisplayMessageRequest) GetFeatureName() string + type SetDisplayMessageResponse struct + Status DisplayMessageStatus + StatusInfo *types.StatusInfo + func NewSetDisplayMessageResponse(status DisplayMessageStatus) *SetDisplayMessageResponse + func (c SetDisplayMessageResponse) GetFeatureName() string