35#include "attribute_store.h"
94 bool is_nls_supported,
95 attribute_store_node_value_state_t value_state);
109 attribute_store_node_value_state_t value_state);
281 const uint8_t *command_list,
282 uint8_t command_list_length);
uint32_t sl_status_t
Definition: sl_status.h:139
uint8_t zwave_cc_version_t
Version of a Z-Wave Command Class
Definition: zwave_command_class_version_types.h:26
uint32_t wake_up_interval_t
Value in seconds to represent a Wake Up Period
Definition: zwave_command_class_wake_up_types.h:26
enum zwave_operating_mode zwave_operating_mode_t
Z-Wave Operating Modes (AL, FL or NL). Refer to the Z-Wave Network Layer Specification for details.
uint16_t zwave_command_class_t
Definition: zwave_generic_types.h:29
uint8_t zwave_command_t
Definition: zwave_generic_types.h:30
enum zwave_protocol zwave_protocol_t
Z-Wave Inclusion Protocol (Z-Wave / Z-Wave Long Range).
uint8_t zwave_keyset_t
Definition: zwave_keyset_definitions.h:32
uint8_t zwave_endpoint_id_t
Z-Wave Endpoint ID type.
Definition: zwave_node_id_definitions.h:125
uint16_t zwave_node_id_t
Z-Wave NodeID type.
Definition: zwave_node_id_definitions.h:84
sl_status_t zwave_get_node_granted_keys(zwave_node_id_t node_id, zwave_keyset_t *keys)
Get the node granted keys object.
Definition: zwave_utils.c:250
const char * zwave_get_protocol_name(zwave_protocol_t protocol)
Returns the name of a protocol value.
Definition: zwave_utils.c:215
wake_up_interval_t zwave_get_wake_up_interval(zwave_node_id_t node_id)
Navigates the attribute store to find out what is the Wake Up Interval of a node.
Definition: zwave_utils.c:433
bool zwave_get_nls_support(zwave_node_id_t node_id, attribute_store_node_value_state_t value_state)
Returns whether a node supports Network Layer Security (NLS)
Definition: zwave_utils.c:30
sl_status_t zwave_store_nls_state(zwave_node_id_t node_id, bool is_nls_enabled, attribute_store_node_value_state_t value_state)
Stores Network Layer Security (NLS) state for a NodeID in the attribute store.
Definition: zwave_utils.c:107
zwave_cc_version_t zwave_node_get_command_class_version(zwave_command_class_t command_class, zwave_node_id_t node_id, zwave_endpoint_id_t endpoint_id)
Return the version of a Command Class implemented by a node.
Definition: zwave_utils.c:377
zwave_protocol_t zwave_get_inclusion_protocol(zwave_node_id_t node_id)
Returns the protocol that the node is running in this network.
Definition: zwave_utils.c:193
sl_status_t zwave_store_inclusion_protocol(zwave_node_id_t node_id, zwave_protocol_t inclusion_protocol)
Stores a protocol value for a NodeID in the attribute store.
Definition: zwave_utils.c:227
bool zwave_get_nls_state(zwave_node_id_t node_id, attribute_store_node_value_state_t value_state)
Returns whether a node has Network Layer Security (NLS) enabled.
Definition: zwave_utils.c:55
bool zwave_security_validation_is_node_s2_capable(zwave_node_id_t node_id)
Verify if we registered a node as supporting S2.
Definition: zwave_utils.c:408
sl_status_t zwave_set_node_granted_keys(zwave_node_id_t node_id, zwave_keyset_t *keyset)
Set the node granted keys object.
Definition: zwave_utils.c:267
sl_status_t zwave_security_validation_set_node_as_s2_capable(zwave_node_id_t node_id)
Sets a node as S2 capable, meaning that we know it supports S2, and it will forever do.
Definition: zwave_utils.c:420
attribute_store_node_t zwave_get_endpoint_node(zwave_node_id_t node_id, zwave_endpoint_id_t endpoint_id)
Get endpoint node associated with the ZWave NodeID and Endpoint ID.
Definition: zwave_utils.c:398
bool endpoint_exists(zwave_node_id_t node_id, zwave_endpoint_id_t endpoint_id)
Verifies if an endpoint exists under a NodeID.
Definition: zwave_utils.c:514
sl_status_t zwave_store_nls_support(zwave_node_id_t node_id, bool is_nls_supported, attribute_store_node_value_state_t value_state)
Stores Network Layer Security (NLS) support for a NodeID in the attribute store.
Definition: zwave_utils.c:81
bool is_command_in_array(zwave_command_class_t command_class, zwave_command_t command, const uint8_t *command_list, uint8_t command_list_length)
Searches if a Command Class/Command pair is in a byte array of Command class/command pairs.
Definition: zwave_utils.c:474
bool zwave_node_supports_command_class(zwave_command_class_t command_class, zwave_node_id_t node_id, zwave_endpoint_id_t endpoint_id)
Verify whether a node/endpoint supports a Command Class using the attribute Store.
Definition: zwave_utils.c:320
bool zwave_node_want_supervision_frame(zwave_node_id_t node_id, zwave_endpoint_id_t endpoint_id)
Verify whether a node/endpoint supports Supervision CC AND wants to use it.
Definition: zwave_utils.c:285
zwave_operating_mode_t zwave_get_operating_mode(zwave_node_id_t node_id)
Returns the operating mode of a node.
Definition: zwave_utils.c:133
const zwave_endpoint_id_t endpoint_id
const zwave_node_id_t node_id