ocpp16

package
v0.0.0-...-42d5c12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CentralSystem

type CentralSystem interface {
	// connect a charge point to this central system
	ConnectChargePoint(entityCode, identifier string, conn *websocket.Conn) (err error)
	// get the charge point, if available
	GetChargePoint(entityCode, identifier string) (cp ChargePoint, err error)
}

type ChargePoint

type ChargePoint interface {
	// start listening on the (websocket) connection for messages
	Listen()
	// make a request to remote start transactions
	RemoteStartTransaction(connectorID int) (transactionID int, err error)
	// make a request to remote stop transaction
	RemoteStopTransaction(connectorID int) (err error)
	// make a request to trigger a status notification from the charge point
	TriggerStatusNotification(connectorID int, errorStatusCode messaging.OCPP16ChargePointErrorCode) (err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL