OcppModel.V20.Behaviours.BasicChargeSystem behaviour (ocpp_model v0.3.0)
View Source
Behaviour of a Basic ChargeSystem, it has a limited set of actions
Main entrypoint, based on the action parameter, this function will call one of the callback functions with the payload
Specs
Main entrypoint, based on the action parameter, this function will call one of the callback functions with the payload
Specs
authorize(OcppModel.V20.Messages.AuthorizeRequest.t(), any()) ::
{{:ok, OcppModel.V20.Messages.AuthorizeResponse.t()}, any()}
| {{:error, :authorize, String.t()}, any()}
Specs
boot_notification(OcppModel.V20.Messages.BootNotificationRequest.t(), any()) ::
{{:ok, OcppModel.V20.Messages.BootNotificationResponse.t()}, any()}
| {{:error, :boot_notification, String.t()}, any()}
Specs
heartbeat(OcppModel.V20.Messages.HeartbeatRequest.t(), any()) ::
{{:ok, OcppModel.V20.Messages.HeartbeatResponse.t()}, any()}
| {{:error, :heartbeat, String.t()}, any()}
Specs
status_notification(OcppModel.V20.Messages.StatusNotificationRequest.t(), any()) ::
{{:ok, OcppModel.V20.Messages.StatusNotificationResponse.t()}, any()}
| {{:error, :status_notification, String.t()}, any()}
Specs
transaction_event(OcppModel.V20.Messages.TransactionEventRequest.t(), any()) ::
{{:ok, OcppModel.V20.Messages.TransactionEventResponse.t()}, any()}
| {{:error, :transaction_event, String.t()}, any()}