package
0.19.0
Repository: https://github.com/lorenzodonini/ocpp-go.git
Documentation: pkg.go.dev

# Functions

Creates a new AuthorizeConfirmation.
Creates a new AuthorizeRequest, containing all required fields.
Creates a new BootNotificationConfirmation.
Creates a new BootNotificationRequest, containing all required fields.
Creates a new ChangeAvailabilityConfirmation, containing all required fields.
Creates a new ChangeAvailabilityRequest, containing all required fields.
Creates a new ChangeConfigurationConfirmation, containing all required fields.
Creates a new ChangeConfigurationRequest, containing all required fields.
Creates a new ClearCacheConfirmation, containing all required fields.
Creates a new ClearCacheRequest, which doesn't contain any required or optional fields.
Creates a new DataTransferConfirmation.
Creates a new DataTransferRequest, containing all required fields.
Creates a new GetConfigurationConfirmation, containing all required fields.
Creates a new GetConfigurationRequest, containing all required fields.
Creates a new HeartbeatConfirmation, containing all required fields.
Creates a new HeartbeatRequest, which doesn't contain any required or optional fields.
Creates a new MeterValuesConfirmation, which doesn't contain any required or optional fields.
Creates a new MeterValuesRequest, containing all required fields.
Creates a new RemoteStartTransactionConfirmation, containing all required fields.
Creates a new RemoteStartTransactionRequest, containing all required fields.
Creates a new RemoteStopTransactionConfirmation, containing all required fields.
Creates a new RemoteStopTransactionRequest, containing all required fields.
Creates a new ResetConfirmation, containing all required fields.
Creates a new ResetRequest, containing all required fields.
Creates a new StartTransaction confirmation.
Creates a new StartTransaction request.
Creates a new StatusNotificationConfirmation, which doesn't contain any required or optional fields.
Creates a new StatusNotificationRequest, containing all required fields.
Creates a new StopTransactionConfirmation.
Creates a new StopTransactionRequest, containing all required fields.
Creates a new UnlockConnectorConfirmation, containing all required fields.
Creates a new UnlockConnectorRequest, containing all required fields.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

Provides support for Basic Charge Point functionality comparable with OCPP 1.5.
THe profile name.

# Structs

This field definition of the Authorize confirmation payload, sent by the Charge Point to the Central System in response to an AuthorizeRequest.
Before the owner of an electric vehicle can start or stop charging, the Charge Point has to authorize the operation.
The field definition of the Authorize request payload sent by the Charge Point to the Central System.
This field definition of the BootNotification confirmation payload, sent by the Central System to the Charge Point in response to a BootNotificationRequest.
After each (re)boot, a Charge Point SHALL send a request to the Central System with information about its configuration (e.g.
The field definition of the BootNotification request payload sent by the Charge Point to the Central System.
This field definition of the ChangeAvailability confirmation payload, sent by the Charge Point to the Central System in response to a ChangeAvailabilityRequest.
Central System can request a Charge Point to change its availability.
The field definition of the ChangeAvailability request payload sent by the Central System to the Charge Point.
This field definition of the ChangeConfiguration confirmation payload, sent by the Charge Point to the Central System in response to a ChangeConfigurationRequest.
Central System can request a Charge Point to change configuration parameters, by sending a ChangeConfigurationRequest.
The field definition of the ChangeConfiguration request payload sent by the Central System to the Charge Point.
This field definition of the ClearCache confirmation payload, sent by the Charge Point to the Central System in response to a ClearCacheRequest.
Central System can request a Charge Point to clear its Authorization Cache.
The field definition of the ClearCache request payload sent by the Central System to the Charge Point.
Contains information about a specific configuration key.
This field definition of the DataTransfer confirmation payload, sent by an endpoint in response to a DataTransferRequest, coming from the other endpoint.
If a Charge Point needs to send information to the Central System for a function not supported by OCPP, it SHALL use a DataTransfer message.
The field definition of the DataTransfer request payload sent by an endpoint to ther other endpoint.
TODO: validation of cardinalities for the two fields should be handled somewhere (#configurationKey + #unknownKey > 0) TODO: add uniqueness of configurationKey in slice, once PR is merged (https://github.com/go-playground/validator/pull/496) This field definition of the GetConfiguration confirmation payload, sent by the Charge Point to the Central System in response to a GetConfigurationRequest.
To retrieve the value of configuration settings, the Central System SHALL send a GetConfigurationRequest to the Charge Point.
The field definition of the GetConfiguration request payload sent by the Central System to the Charge Point.
This field definition of the Heartbeat confirmation payload, sent by the Central System to the Charge Point in response to a HeartbeatRequest.
To let the Central System know that a Charge Point is still connected, a Charge Point sends a heartbeat after a configurable time interval.
The field definition of the Heartbeat request payload sent by the Charge Point to the Central System.
This field definition of the Authorize confirmation payload, sent by the Charge Point to the Central System in response to an AuthorizeRequest.
A Charge Point MAY sample the electrical meter or other sensor/transducer hardware to provide extra information about its meter values.
The field definition of the MeterValues request payload sent by the Charge Point to the Central System.
This field definition of the RemoteStartTransaction confirmation payload, sent by the Charge Point to the Central System in response to a RemoteStartTransactionRequest.
Central System can request a Charge Point to start a transaction by sending a RemoteStartTransactionRequest.
The field definition of the RemoteStartTransaction request payload sent by the Central System to the Charge Point.
This field definition of the RemoteStopTransaction confirmation payload, sent by the Charge Point to the Central System in response to a RemoteStopTransactionRequest.
Central System can request a Charge Point to stop a transaction by sending a RemoteStopTransactionRequest to Charge Point with the identifier of the transaction.
The field definition of the RemoteStopTransaction request payload sent by the Central System to the Charge Point.
This field definition of the Reset confirmation payload, sent by the Charge Point to the Central System in response to a ResetRequest.
The Central System SHALL send a ResetRequest for requesting a Charge Point to reset itself.
The field definition of the Reset request payload sent by the Central System to the Charge Point.
This field definition of the StartTransactionConfirmation payload sent by the Central System to the Charge Point in response to a StartTransactionRequest.
The Charge Point SHALL send a StartTransactionRequest to the Central System to inform about a transaction that has been started.
This field definition of the StartTransactionRequest payload sent by the Charge Point to the Central System.
This field definition of the StatusNotification confirmation payload, sent by the Central System to the Charge Point in response to a StatusNotificationRequest.
A Charge Point sends a notification to the Central System to inform the Central System about a status change or an error within the Charge Point.
The field definition of the StatusNotification request payload sent by the Charge Point to the Central System.
This field definition of the StopTransaction confirmation payload, sent by the Central System to the Charge Point in response to a StopTransactionRequest.
When a transaction is stopped, the Charge Point SHALL send a StopTransactionRequest, notifying to the Central System that the transaction has stopped.
The field definition of the StopTransaction request payload sent by the Charge Point to the Central System.
This field definition of the UnlockConnector confirmation payload, sent by the Charge Point to the Central System in response to an UnlockConnectorRequest.
Central System can request a Charge Point to unlock a connector.
The field definition of the UnlockConnector request payload sent by the Central System to the Charge Point.

# Interfaces

Needs to be implemented by Central systems for handling messages part of the OCPP 1.6 Core profile.
Needs to be implemented by Charge points for handling messages part of the OCPP 1.6 Core profile.

# Type aliases

Status returned in response to ChangeAvailabilityRequest.
Requested availability change in ChangeAvailabilityRequest.
Charge Point status reported in StatusNotificationRequest.
Status reported in StatusNotificationRequest.
Status returned in response to ClearCacheRequest.
Status in ChangeConfigurationConfirmation.
Status in DataTransferConfirmation messages.
Reason for stopping a transaction in StopTransactionRequest.
Result of registration in response to a BootNotification request.
Result of ResetRequest.
Type of reset requested by ResetRequest.
Status in response to UnlockConnectorRequest.