grizzly v0.8.6 Grizzly.CommandClass.NetworkManagementInclusion.NodeAddDSKSet View Source

Command module for working with NETWORK_MANAGEMENT_INCLUSION NODE_ADD_DSK_SET command.

command options:

  • :accept: - Boolean that indicates if S2 requested keys should be granted
  • :input_dsk - The 5 digit pin code found on the device
  • :input_dsk_length - the lengh of the DSK
  • :seq_number - The sequence number for the Z/IP Packet
  • :retries - The number of times to resend the command (default 2)

Link to this section Summary

Types

t()

The input_dsk field is the 5 digit pin found on the joining node, normally near the QR code.

Link to this section Types

Link to this type

t() View Source
t() :: %Grizzly.CommandClass.NetworkManagementInclusion.NodeAddDSKSet{
  accept: boolean(),
  input_dsk: non_neg_integer(),
  input_dsk_length: non_neg_integer(),
  retries: non_neg_integer(),
  seq_number: Grizzly.seq_number()
}

The input_dsk field is the 5 digit pin found on the joining node, normally near the QR code.

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

Callback implementation for Grizzly.Command.handle_response/2.

Callback implementation for Grizzly.Command.init/1.