grizzly v0.8.4 Grizzly.CommandClass.Powerlevel.TestNodeGet View Source
Command module for working with the Powerlevel command class TEST_NODE_GET command. It is used to get the results of a prior TEST_NODE_SET command. Command Options:
:seq_number
- The sequence number of the Z/IP Packet:retries
- The number of times to try to send the command (default 2)
Link to this section Summary
Functions
Callback implementation for Grizzly.Command.encode/1
.
Callback implementation for Grizzly.Command.handle_response/2
.
Callback implementation for Grizzly.Command.init/1
.
Link to this section Types
Link to this type
opt()
View Source
opt()
View Source
opt() :: {:seq_number, Grizzly.seq_number()} | {:retries, non_neg_integer()}
opt() :: {:seq_number, Grizzly.seq_number()} | {:retries, non_neg_integer()}
Link to this type
t()
View Source
t()
View Source
t() :: %Grizzly.CommandClass.Powerlevel.TestNodeGet{
retries: non_neg_integer(),
seq_number: Grizzly.seq_number()
}
t() :: %Grizzly.CommandClass.Powerlevel.TestNodeGet{ retries: non_neg_integer(), seq_number: Grizzly.seq_number() }
Link to this section Functions
Link to this function
encode(test_node_get) View Source
Callback implementation for Grizzly.Command.encode/1
.
Link to this function
handle_response(command, packet)
View Source
handle_response(command, packet)
View Source
handle_response(t(), Grizzly.Packet.t()) ::
{:continue, t()}
| {:done, {:error, :nack_response}}
| {:done, Grizzly.CommandClass.Powerlevel.test_node_report()}
| {:retry, t()}
| {:queued, t()}
handle_response(t(), Grizzly.Packet.t()) :: {:continue, t()} | {:done, {:error, :nack_response}} | {:done, Grizzly.CommandClass.Powerlevel.test_node_report()} | {:retry, t()} | {:queued, t()}
Callback implementation for Grizzly.Command.handle_response/2
.
Link to this function
init(opts) View Source
Callback implementation for Grizzly.Command.init/1
.