OcppModel.V20.Behaviours.BasicCharger behaviour (ocpp_model v0.3.0)
View Source
Behaviour of a Basic Charger, this is a charger behaviour with a limit set of actions
Main entrypoint, based on the action parameter, this function will call one of the callback functions
Specs
Main entrypoint, based on the action parameter, this function will call one of the callback functions
Specs
reset(OcppModel.V20.Messages.ResetRequest.t(), any()) ::
{{:ok, OcppModel.V20.Messages.ResetResponse.t()}, any()}
| {{:error, :reset, String.t()}, any()}
Specs
unlock_connector(OcppModel.V20.Messages.UnlockConnectorRequest.t(), any()) ::
{{:ok, OcppModel.V20.Messages.UnlockConnectorResponse.t()}, any()}
| {{:error, :unlock_connector, String.t()}, any()}