Z-Wave Protocol Controller Reference
zpc_attribute_store_network_helper.c File Reference
#include "zpc_attribute_store_network_helper.h"
#include "attribute_store_defined_attribute_types.h"
#include "unify_dotdot_defined_attribute_types.h"
#include "unify_dotdot_attribute_store_node_state.h"
#include "zpc_attribute_store.h"
#include <stdlib.h>
#include <stdbool.h>
#include "attribute_store_helper.h"
#include "sl_log.h"
#include "sl_status.h"
#include "zwave_unid.h"
#include "zwave_api.h"
Include dependency graph for zpc_attribute_store_network_helper.c:

Macros

#define LOG_TAG   "zpc_attribute_store"
 

Functions

attribute_store_node_t attribute_store_network_helper_create_home_id_node (const unid_t node_unid)
 Take a UNID and return its attribute store node representing the HomeID. More...
 
attribute_store_node_t attribute_store_network_helper_create_node_id_node (const unid_t node_unid)
 Take a UNID and return its attribute store node representing the NodeID. More...
 
attribute_store_node_t attribute_store_network_helper_create_endpoint_node (const unid_t node_unid, zwave_endpoint_id_t endpoint_id)
 Take a UNID/endpoint combination and returns its attribute store node. More...
 
attribute_store_node_t attribute_store_network_helper_get_home_id_node (const unid_t node_unid)
 Take a UNID and return its attribute store node representing the HomeID. More...
 
attribute_store_node_t attribute_store_network_helper_get_node_id_node (const unid_t node_unid)
 Take a UNID and return its attribute store node representing the NodeID. More...
 
attribute_store_node_t attribute_store_network_helper_get_zwave_node_id_node (zwave_node_id_t zwave_node_id)
 Take a Z-Wave NodeID and return its Attribute Store node representing the NodeID. More...
 
attribute_store_node_t attribute_store_network_helper_get_endpoint_node (const unid_t node_unid, zwave_endpoint_id_t endpoint_id)
 Take a UNID/endpoint combination and returns its attribute store node. More...
 
attribute_store_node_t attribute_store_get_endpoint_0_node (attribute_store_node_t node_id_node)
 Returns the Attribute Store node for Endpoint 0, under a NodeID node. More...
 
sl_status_t attribute_store_network_helper_get_unid_endpoint_from_node (attribute_store_node_t node, unid_t unid, zwave_endpoint_id_t *endpoint_id)
 Traverse the tree up from a node and find under which UNID/endpoints it is. More...
 
sl_status_t attribute_store_network_helper_get_unid_from_node (attribute_store_node_t node, unid_t unid)
 Traverse up the tree from a node and finds under which UNID it is. More...
 
sl_status_t attribute_store_network_helper_get_node_id_from_node (attribute_store_node_t node, zwave_node_id_t *zwave_node_id)
 Traverse up the tree from a node and finds under which Z-Wave NodeID it is. More...
 
sl_status_t attribute_store_network_helper_get_endpoint_id_from_node (attribute_store_node_t node, zwave_endpoint_id_t *zwave_endpoint_id)
 Traverse up the tree from a node and finds under which Z-Wave endpoint id it is located. More...
 
sl_status_t attribute_store_network_helper_get_zwave_ids_from_node (attribute_store_node_t node, zwave_node_id_t *zwave_node_id, zwave_endpoint_id_t *zwave_endpoint_id)
 Traverse up the tree from a node and finds under which Z-Wave NodeID/endpoint id it is located. More...
 
attribute_store_node_t zwave_command_class_get_endpoint_id_node (zwave_node_id_t node_id, zwave_endpoint_id_t endpoint_id)
 Gets the Attribute Store Endpoint ID node for a given Z-Wave NodeID / Endpoint ID in our network. More...
 
NodeStateNetworkStatus attribute_store_network_helper_get_network_status (attribute_store_node_t node)
 

Macro Definition Documentation

◆ LOG_TAG

#define LOG_TAG   "zpc_attribute_store"

Function Documentation

◆ attribute_store_network_helper_get_network_status()

NodeStateNetworkStatus attribute_store_network_helper_get_network_status ( attribute_store_node_t  node)