Z-Wave Protocol Controller Reference
List of defined attributes types

List of defines Attribute Types for the attribute store. More...

Collaboration diagram for List of defined attributes types:

Macros

#define ZWAVE_CC_VERSION_ATTRIBUTE(cc)   (attribute_store_type_t)((cc << 8) | 0x1)
 Type of a node in the attribute store. More...
 
#define COUNT_OF(x)    ((sizeof(x) / sizeof(0 [x])) / ((size_t)(!(sizeof(x) % sizeof(0 [x])))))
 

Functions

 DEFINE_ATTRIBUTE (ATTRIBUTE_COMMAND_CLASS_ALARM_SENSOR_VERSION, ZWAVE_CC_VERSION_ATTRIBUTE(COMMAND_CLASS_SENSOR_ALARM)) DEFINE_ATTRIBUTE(ATTRIBUTE_COMMAND_CLASS_ALARM_SENSOR_BITMASK
 < This represents a Home ID. zwave_home_id_t type More...
 

Detailed Description

List of defines Attribute Types for the attribute store.

Attribute Type Ranges:

Range From Range To Type
0x00000000 0x00000001 Attribute Store
0x00000002 0x0000FFFF Z-Wave Command Class Attributes
0x00010000 0xFFFFFFFF ZigBee Cluster Command Attributes

Macro Definition Documentation

◆ COUNT_OF

#define COUNT_OF (   x)     ((sizeof(x) / sizeof(0 [x])) / ((size_t)(!(sizeof(x) % sizeof(0 [x])))))

◆ ZWAVE_CC_VERSION_ATTRIBUTE

#define ZWAVE_CC_VERSION_ATTRIBUTE (   cc)    (attribute_store_type_t)((cc << 8) | 0x1)

Type of a node in the attribute store.

Function Documentation

◆ DEFINE_ATTRIBUTE()

DEFINE_ATTRIBUTE ( ATTRIBUTE_COMMAND_CLASS_ALARM_SENSOR_VERSION  ,
ZWAVE_CC_VERSION_ATTRIBUTE(COMMAND_CLASS_SENSOR_ALARM)   
)

< This represents a Home ID. zwave_home_id_t type

< This represents a Node ID. zwave_node_id_t type. < This represents an endpoint. zwave_endpoint_id_t type. < This represents a list of granted security keys to a node. zwave_keyset_t type < This represents the outcome of the S2 Bootstrapping process. zwave_kex_fail_type_t < This represents the S2 DSK to a node. zwave_dsk_t < This represent the listening protocol byte from the NIF. uint8_t < This represent the optional protocol byte from the NIF. uint8_t < This represents the Z-Wave Role Type of a node. zwave_role_type_t < This represents the name assigned to a node. This is a string. < This represents the location assigned to a node. This is a string < This represents a timestamp (in seconds!) of the last time when we received and/or successfully transmitted a frame towards a node. storage type of the timestamp is clock_time_t < This is the protocol used for including a node. zwave_protocol_t < This is a token shown if a node is S2 capable. No value, it's a token < This is the S2 SPAN data for a node. span_entry_t type < This is the S2 MPAN table for the ZPC. No type. < This is one entry of the S2 MPAN table for the ZPC. mpan_entry_t type < This is an attribute that keeps a list of assigned groups. no type < This is an assigned Multicast group. zwave_multicast_group_id_t < This is the interval for sending NOPs to failing node clock_time_t < Used by poll engine to request of for polling of the attributer < This represents whether a Z-Wave node supports NLS. < This represents whether a Z-Wave node has NLS enabled. This represents the list of supported command classes (NIF) for a node This represents the list of supported command classes only at the highest security level (secure NIF) for a node. This represents the Z-Wave Basic device class of a node/endpoint This represents the Z-Wave Generic Device Type of a node/endpoint. This represents the Z-Wave Specific Device Type of a node/endpoint. < This represent a zwave_key_protocol_combination_t This indicates if more reports are expected to "complete" the value of an attribute