grizzly v0.15.3 Grizzly.ZWave.Commands.NodeAddStatus View Source
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)
Link to this section Summary
Link to this section Types
Specs
param() :: {:node_id, Grizzly.node_id()} | {:status, 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()}
Specs
status() :: :done | :failed | :security_failed
Specs
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()]}