OcppModel.V20.Behaviours.BasicChargeSystem behaviour (ocpp_model v0.2.4) View Source
Behaviour of a ChargeSystem, allowing the module assuming the behaviour to be able to respond to messages send to it
Link to this section Summary
Functions
Main entrypoint, based on the action parameter, this function will call one of the callback functions with the payload
Link to this section Functions
Specs
Main entrypoint, based on the action parameter, this function will call one of the callback functions with the payload
Link to this section Callbacks
Specs
Specs
Specs
Specs
Specs
transaction_event( req :: %OcppModel.V20.Messages.TransactionEventRequest{ cableMaxCurrent: term(), eventType: term(), evse: term(), idToken: term(), meterValue: term(), numberOfPhasesUsed: term(), offline: term(), reservationId: term(), seqNo: term(), timestamp: term(), transactionInfo: term(), triggerReason: term() } ) :: {:ok, %OcppModel.V20.Messages.TransactionEventResponse{ chargingPriority: term(), idTokenInfo: term(), totalCost: term(), updatedPersonalMessage: term() }} | {:error, :transaction_event, String.t()}