package
0.18.2
Repository: https://github.com/glcharge/ocpp-go.git
Documentation: pkg.go.dev

# Functions

Creates a new CancelReservationRequest, containing all required fields.
Creates a new CancelReservationResponse, containing all required fields.
Creates a new ReservationStatusUpdateRequest, containing all required fields.
Creates a new ReservationStatusUpdateResponse, which doesn't contain any required or optional fields.
Creates a new ReserveNowRequest, containing all required fields.
Creates a new ReserveNowResponse, containing all required fields.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
16A 1 phase IEC60309 socket.
32A 1 phase IEC60309 socket.
16A 3 phase IEC60309 socket.
32A 3 phase IEC60309 socket.
UK domestic socket a.k.a.
Combined Charging System 1 (captive cabled) a.k.a.
Combined Charging System 2 (captive cabled) a.k.a.
CEE 7/7 16A socket.
IEC62196-2 Type 1 connector (captive cabled) a.k.a.
IEC62196-2 Type 2 connector (captive cabled) a.k.a.
JARI G105-1993 (captive cabled) a.k.a.
Other single phase (domestic) sockets not mentioned above, rated at no more than 16A.
Other single phase sockets not mentioned above (over 16A).
Other 3 phase sockets not mentioned above.
Pantograph connector.
EC62196-2 Type 2 socket a.k.a.
IEC62196-2 Type 2 socket a.k.a.
Tesla Connector.
Yet to be determined (e.g.
Unknown; not determinable.
Wireless inductively coupled connection.
Wireless resonant coupled connection.
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

No description provided by the author

# Structs

To cancel a reservation the CSMS SHALL send an CancelReservationRequest to the Charging Station.
The field definition of the CancelReservation request payload sent by the CSMS to the Charging Station.
This field definition of the CancelReservation response payload, sent by the Charging Station to the CSMS in response to a CancelReservationRequest.
A Charging Station shall cancel an existing reservation when: - the status of a targeted EVSE changes to either Faulted or Unavailable - the reservation has expired, before the EV driver started using the Charging Station This message is not triggered, if a reservation is explicitly canceled by the user or the CSMS.
The field definition of the ReservationStatusUpdate request payload sent by the Charging Station to the CSMS.
This field definition of the ReservationStatusUpdate response payload, sent by the CSMS to the Charging Station in response to a ReservationStatusUpdateRequest.
To ensure an EV drive can charge their EV at a charging station, the EV driver may make a reservation until a certain expiry time.
The field definition of the ReserveNow request payload sent by the CSMS to the Charging Station.
This field definition of the ReserveNow response payload, sent by the Charging Station to the CSMS in response to a ReserveNowRequest.

# Interfaces

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

# Type aliases

Status reported in CancelReservationResponse.
Allowed ConnectorType, as supported by most charging station vendors.
Status reported in ReservationStatusUpdateRequest.
Status reported in ReserveNowResponse.