View Source Grizzly.ZWave.Commands.NodeAddStatus (grizzly v5.2.7)


This command is normally the report from adding a node to the Z-Wave network


  • :seq_number - the sequence number of the inclusion command
  • :status - the status of the inclusion
  • :node_id - the new id of the new Z-Wave node
  • :listening? - if the node is a listening node or not
  • :basic_device_class - the Z-Wave basic device class
  • :generic_device_class - the Z-Wave generic device class
  • :specific_device_class - the Z-Wave specific device class
  • :command_classes - a list of the command class the device supports, tagged by their security level used only if the device was included securely
  • :granted_keys - the security keys granted during S2 inclusion (optional)
  • :kex_fail_type - the error that occurred in the S2 bootstrapping (optional)
  • :input_dsk - the device DSK

Link to this section Summary

Link to this section Types

@type param() ::
  {:node_id, Grizzly.node_id() |}
  | {:status,
  | {:seq_number, Grizzly.seq_number()}
  | {:listening?, boolean()}
  | {:basic_device_class, byte()}
  | {:generic_device_class, byte()}
  | {:specific_device_class, byte()}
  | {:command_classes, [tagged_command_classes()]}
  | {:granted_keys, [Grizzly.ZWave.Security.key()]}
  | {:kex_fail_type, Grizzly.ZWave.Security.key_exchange_fail_type()}
  | {:input_dsk, Grizzly.ZWave.DSK.t()}
Link to this type


View Source
@type tagged_command_classes() ::
  {:non_secure_supported, [Grizzly.ZWave.CommandClasses.command_class()]}
  | {:non_secure_controlled, [Grizzly.ZWave.CommandClasses.command_class()]}
  | {:secure_supported, [Grizzly.ZWave.CommandClasses.command_class()]}
  | {:secure_controlled, [Grizzly.ZWave.CommandClasses.command_class()]}

Link to this section Functions

Link to this function


View Source
@spec encode_listening_bit(boolean()) :: byte()