grizzly v0.8.0 Grizzly.CommandClass.NodeProvisioning.ListIterationGet View Source

This command is used to read the entire the provisioning list of a supporting node.

Command Options:

  • :remaining_counter - The field indicates the remaining amount of entries in the Provisioning List. Defaults to 0xFF when starting the iteration.
  • :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

Link to this section Types

Link to this type

opt() View Source
opt() ::
  {:remaining_counter, non_neg_integer()}
  | {:seq_number, Grizzly.seq_number()}
  | {:retries, non_neg_integer()}

Link to this type

t() View Source
t() :: %Grizzly.CommandClass.NodeProvisioning.ListIterationGet{
  remaining_counter: non_neg_integer(),
  retries: non_neg_integer(),
  seq_number: Grizzly.seq_number()
}

Link to this section Functions

Link to this function

encode(command) View Source
encode(t()) :: {:ok, binary()} | {:error, Grizzly.Command.EncodeError.t()}

Callback implementation for Grizzly.Command.encode/1.

Link to this function

handle_response(command, arg2) View Source
handle_response(t(), Grizzly.Packet.t()) ::
  {:continue, t()}
  | {:done, {:error, :nack_response | :not_found}}
  | {:done,
     {:ok,
      %{
        seq_number: non_neg_integer(),
        remaining_count: non_neg_integer(),
        dsk: Grizzly.DSK.dsk_string()
      }}}

Callback implementation for Grizzly.Command.handle_response/2.

Link to this function

init(opts) View Source
init([opt()]) :: {:ok, t()}

Callback implementation for Grizzly.Command.init/1.