View Source Grizzly.ZWave.Commands.NodeInfoCacheReport (grizzly v7.4.2)

Report the cached node information

This command is normally used to respond to the NodeInfoCacheGet command

Params:

  • :seq_number - the sequence number of the network command, normally from from the NodeInfoCacheGet command (required)
  • :status - the status fo the node information (required)
  • :age - the age of the cache data. A number that is expressed 2 ^ n minutes (required)
  • :listening? - if the node is listening node or sleeping node (required)
  • :command_classes - a list of lists of command classes tagged by security attributes (optional default empty list)
  • :basic_device_class - the basic device class (required)
  • :generic_device_class - the generic device class (required)
  • :specific_device_class - the specific device class (required)

Summary

Types

The status of the refresh of the node information cache

Types

@type param() ::
  {:seq_number, Grizzly.seq_number()}
  | {:status, status()}
  | {:age, 1..14}
  | {:listening?, boolean()}
  | {:command_classes, [tagged_command_classes()]}
  | {:basic_device_class, Grizzly.ZWave.DeviceClasses.basic_device_class()}
  | {:generic_device_class, Grizzly.ZWave.DeviceClasses.generic_device_class()}
  | {:specific_device_class,
     Grizzly.ZWave.DeviceClasses.specific_device_class()}
@type status() :: :ok | :not_responding | :unknown

The status of the refresh of the node information cache

Status:

  • :ok - the requested node id could found and up-to-date information is returned
  • :not_responding - the requested node id could be found but fresh information could not be retrieved
  • :unknown - the node id is unknown
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

decode_command_classes(arg1)

View Source
Link to this function

encode_command_classes(_)

View Source
Link to this function

encode_optional_functionality_byte(arg1)

View Source