Grizzly.ZWave.Commands.NodeInfoCacheReport (grizzly v0.15.6) View Source

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)

Link to this section Summary

Types

The status of the refresh of the node information cache

Link to this section Types

Specs

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

Specs

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

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

Link to this section Functions