OcppModel.V20.Transport (ocpp_model v0.3.0) 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
MessageType | MessageTypeId | Struct | Description |
---|---|---|---|
CALL | 2 | OcppModel.V20.Transport.Call | a request message |
CALLRESULT | 3 | OcppModel.V20.Transport.CallResult | a response message |
CALLERROR | 4 | OcppModel.V20.Transport.CallError | an 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()