View Source Grizzly.ZWave.Commands.NodeAddStatus (grizzly v8.0.1)

Command for NODE_ADD_STATUS

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

Params:

  • :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

Summary

Types

@type param() ::
  {:node_id, Grizzly.node_id() | Grizzly.VirtualDevices.id()}
  | {:status,
     Grizzly.ZWave.CommandClasses.NetworkManagementInclusion.node_add_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

tagged_command_classes()

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()]}

Functions

Link to this function

encode_listening_bit(bool)

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