grizzly v0.8.7 Grizzly.CommandClass.NetworkManagementInclusion.FailedNodeRemove View Source

A module for working with the FAILED_NODE_REMOVE command

This command is used for removing failed nodes

Link to this section Summary

Types

t()

Mode for the controller to use during exclusion

Link to this section Types

Link to this type

t() View Source
t() :: %Grizzly.CommandClass.NetworkManagementInclusion.FailedNodeRemove{
  node_id: byte(),
  retries: non_neg_integer(),
  seq_number: Grizzly.seq_number()
}

Mode for the controller to use during exclusion

  • :node_id - the id of the failed node to be removed

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, packet) View Source
handle_response(t(), Grizzly.Packet.t()) ::
  {:continue, t()}
  | {:done, {:error, :nack_response}}
  | {:done,
     Grizzly.CommandClass.NetworkManagementInclusion.failed_node_remove_report()}
  | {:retry, t()}

Callback implementation for Grizzly.Command.handle_response/2.

Callback implementation for Grizzly.Command.init/1.