Z-Wave Protocol Controller Reference
zwave_command_class_node_info_resolver.c File Reference
#include "zwave_command_class_node_info_resolver.h"
#include "zwave_command_class_version.h"
#include "zwave_command_class_security_0.h"
#include "zwave_command_class_security_2.h"
#include "zwave_command_class_multi_channel.h"
#include <assert.h>
#include "zwave_controller.h"
#include "zwave_controller_utils.h"
#include "zwave_command_class_indices.h"
#include "attribute_store.h"
#include "attribute_store_defined_attribute_types.h"
#include "zpc_attribute_store_network_helper.h"
#include "zpc_attribute_store.h"
#include "attribute_store_helper.h"
#include "attribute_resolver.h"
#include "zwave_unid.h"
#include "zwave_security_validation.h"
#include "zwave_utils.h"
#include "zpc_attribute_resolver.h"
#include "sl_log.h"
Include dependency graph for zwave_command_class_node_info_resolver.c:

Macros

#define LOG_TAG   "zwave_command_class_node_info_resolver"
 

Functions

static void create_secure_nifs_if_missing (attribute_store_node_t node_id_node)
 
static void on_non_secure_nif_update (attribute_store_node_t updated_node, attribute_store_change_t change)
 
static void on_granted_security_key_update (attribute_store_node_t updated_node, attribute_store_change_t change)
 
static sl_status_t resolve_node_info (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length)
 
static sl_status_t resolve_secure_node_info (attribute_store_node_t node, uint8_t *frame, uint16_t *frame_length)
 
static void on_nif_resolution_failed (attribute_store_node_t nif_node)
 Deletes the endpoint (if it is not ep 0) when we failed resolving a NIF. More...
 
static void on_node_information_update (zwave_node_id_t node_id, const zwave_node_info_t *node_info)
 
static void on_secure_node_info_no_response (attribute_store_node_t secure_nif_node)
 
sl_status_t zwave_command_class_node_info_resolver_init ()
 Registers callbacks to the attribute store and rules to the attribute resolver to be able to resolve Node's capabilities. More...
 

Variables

static zwave_controller_callbacks_t zwave_controller_callbacks = {NULL}
 

Macro Definition Documentation

◆ LOG_TAG

#define LOG_TAG   "zwave_command_class_node_info_resolver"

Function Documentation

◆ create_secure_nifs_if_missing()

static void create_secure_nifs_if_missing ( attribute_store_node_t  node_id_node)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_granted_security_key_update()

static void on_granted_security_key_update ( attribute_store_node_t  updated_node,
attribute_store_change_t  change 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_nif_resolution_failed()

static void on_nif_resolution_failed ( attribute_store_node_t  nif_node)
static

Deletes the endpoint (if it is not ep 0) when we failed resolving a NIF.

Parameters
nif_nodeAttribute Store Node for the NIF
Here is the caller graph for this function:

◆ on_node_information_update()

static void on_node_information_update ( zwave_node_id_t  node_id,
const zwave_node_info_t node_info 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_non_secure_nif_update()

static void on_non_secure_nif_update ( attribute_store_node_t  updated_node,
attribute_store_change_t  change 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_secure_node_info_no_response()

static void on_secure_node_info_no_response ( attribute_store_node_t  secure_nif_node)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resolve_node_info()

static sl_status_t resolve_node_info ( attribute_store_node_t  node,
uint8_t *  frame,
uint16_t *  frame_length 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resolve_secure_node_info()

static sl_status_t resolve_secure_node_info ( attribute_store_node_t  node,
uint8_t *  frame,
uint16_t *  frame_length 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ zwave_controller_callbacks

zwave_controller_callbacks_t zwave_controller_callbacks = {NULL}
static