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

# Functions

Creates a new ChangeAvailabilityRequest, containing all required fields.
Creates a new ChangeAvailabilityResponse, containing all required fields.
Creates a new HeartbeatRequest, which doesn't contain any required or optional fields.
Creates a new HeartbeatResponse, containing all required fields.
Creates a new StatusNotificationRequest, containing all required fields.
Creates a new StatusNotificationResponse, which doesn't contain any required or optional 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
When a Connector becomes available for a new User (Operative).
When a Connector (or the EVSE or the entire Charging Station it belongs to) has reported an error and is not available for energy delivery.
When a Connector becomes occupied, so it is not available for a new EV driver.
When a Connector becomes reserved as a result of ReserveNow command (Operative).
When a Connector becomes unavailable as the result of a Change Availability command or an event upon which the Charging Station transitions to unavailable at its discretion.
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

No description provided by the author

# Structs

CSMS can request a Charging Station to change its availability.
The field definition of the ChangeAvailability request payload sent by the CSMS to the Charging Station.
This field definition of the ChangeAvailability response payload, sent by the Charging Station to the CSMS in response to a ChangeAvailabilityRequest.
A Charging Station may send a heartbeat to let the CSMS know the Charging Station is still connected, after a configurable time interval.
The field definition of the Heartbeat request payload sent by the Charging Station to the CSMS.
This field definition of the Heartbeat response payload, sent by the CSMS to the Charging Station in response to a HeartbeatRequest.
The Charging Station notifies the CSMS about a connector status change.
The field definition of the StatusNotification request payload sent by the Charging Station to the CSMS.
This field definition of the StatusNotification response payload, sent by the CSMS to the Charging Station in response to a StatusNotificationRequest.

# Interfaces

Needs to be implemented by Charging stations for handling messages part of the OCPP 2.0 Availability profile.
Needs to be implemented by a CSMS for handling messages part of the OCPP 2.0 Availability profile.

# Type aliases

Status returned in response to ChangeAvailabilityRequest.
No description provided by the author
Requested availability change in ChangeAvailabilityRequest.