View Source Cantastic.Signal (Cantastic v1.0.1)
Cantastic.Signal is a Struct used to represent one CAN frame signal.
Each received Cantastic.Frame contains a list of :signals
The attributes are the following:
:nameThe signal's name, as defined in your YAML file.:frame_nameThe signal's frame name.:valueThe interpreted value based on the rules defined in you YAML file.:raw_valueThe raw value received on the CAN network.:unitThe unit defined in your YAML file (String).:kindThe kind defined in your YAML file, one off::static:integer:decimal:enum
Summary
Functions
Returns a String representation of the signal, used for debugging.
Example
iex> Cantastic.Signal.to_string(signal)
"[Signal] my_frame_name.signal_name = 12"