grizzly v0.6.4 Grizzly.CommandClass.NetworkManagementInclusion.NodeNeighborUpdateRequest View Source

Module for using the NODE_NEIGHBOR_UPDATE_REQUEST command.

This command is used to instruct a node with NodeID to perform a Node Neighbor Update operation in order to update the topology on the controller.

Link to this section Summary

Link to this section Types

Link to this type

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

Link to this type

status() View Source
status() :: :done | :failed

Link to this type

t() View Source
t() ::
  %Grizzly.CommandClass.NetworkManagementInclusion.NodeNeighborUpdateRequest{
    node_id: byte(),
    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}} | {:done, status()}

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.