AutoApi.LegacyCommand.state
You're seeing just the function
state
, go back to AutoApi.LegacyCommand module for more information.
Specs
state(AutoApi.State.t()) :: binary()
Converts a state structure into a set command binary message.
Example
iex> state = %AutoApi.EngineState{status: %AutoApi.Property{data: :on}}
iex> Elixir.AutoApi.LegacyCommand.state(state)
<<13, 0, 105, 1, 1, 0, 4, 1, 0, 1, 1>>