OcppModel.V20.Transport (ocpp_model v0.2.3) View Source

contains structs for the three message types, and helper functions to transform between terms, structs and json

There are 3 different Message type identified by the message_type_id

MessageTypeMessageTypeIdStructDescription
CALL2OcppModel.V20.Transport.Calla request message
CALLRESULT3OcppModel.V20.Transport.CallResulta response message
CALLERROR4OcppModel.V20.Transport.CallErroran error message

The messageId of the message for CallResult, CallError should correspond with that of the request they respond to

Link to this section Summary

Link to this section Functions

Specs

from_message(message()) :: Message.t()

Specs

to_message(Message.t()) :: Message.message()