grizzly v0.7.0 Grizzly.CommandClass.MultiChannelAssociation.Remove View Source

Command module for working with MULTI_CHANNEL_ASSOCIATION_SET command.

Command Options:

  • :group - The association group
  • :nodes - List of node ids to receive messages about node events
  • :endpoints - List of endpoints corresponding one-to-one to the nodes
  • :seq_number - The sequence number used in the Z/IP packet
  • :retries - The number of attempts to send the command (default 2)

Link to this section Summary

Link to this section Types

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, :ok}
  | {:retry, t()}
  | {:queued, t()}

Callback implementation for Grizzly.Command.handle_response/2.

Link to this function

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

Callback implementation for Grizzly.Command.init/1.