Z-Wave Protocol Controller Reference
zwave_command_class_security_2.c File Reference
#include "zwave_command_class_security_2.h"
#include "zwave_command_class_indices.h"
#include "zwave_command_classes_utils.h"
#include "zwave_command_class_granted_keys_resolver.h"
#include <assert.h>
#include "zwave_controller_connection_info.h"
#include "zwave_controller_utils.h"
#include "zwave_rx.h"
#include "zwave_command_handler.h"
#include "attribute_store_defined_attribute_types.h"
#include "zpc_attribute_store.h"
#include "zpc_attribute_store_network_helper.h"
#include "ZW_classcmd.h"
#include "zwave_tx_scheme_selector.h"
#include "sl_log.h"
#include "attribute_store.h"
#include "attribute_store_helper.h"
#include "attribute_resolver.h"
Include dependency graph for zwave_command_class_security_2.c:

Macros

#define LOG_TAG   "zwave_command_class_security_2"
 
#define SECURE_SUPPORTED_COMMAND_CLASSES_INDEX   2
 

Functions

static sl_status_t zwave_command_class_security_2_commands_supported_report (const zwave_controller_connection_info_t *connection, const uint8_t *frame_data, uint16_t frame_length)
 
static sl_status_t zwave_command_class_security_2_support_handler (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame_data, uint16_t frame_length)
 
static sl_status_t zwave_command_class_security_2_control_handler (const zwave_controller_connection_info_t *connection_info, const uint8_t *frame_data, uint16_t frame_length)
 
static void on_nls_state_get_v2_send_complete (uint8_t status, const zwapi_tx_report_t *tx_info, void *user)
 
static void on_nls_state_set_v2_send_complete (uint8_t status, const zwapi_tx_report_t *tx_info, void *user)
 
static sl_status_t zwave_command_class_security_2_nls_state_set (zwave_node_id_t node_id)
 
static void on_attribute_zwave_nls_state_desired_change (attribute_store_node_t node, attribute_store_change_t change)
 
sl_status_t zwave_command_class_security_2_commands_supported_get (uint8_t *frame, uint16_t *frame_len)
 Writes down an S2 Supported Get Command to the frame/frame_length. More...
 
sl_status_t zwave_command_class_security_2_init ()
 Intitialize the security 2 command class handler. More...
 

Variables

static zwave_node_id_t last_node_id = 0
 

Macro Definition Documentation

◆ LOG_TAG

#define LOG_TAG   "zwave_command_class_security_2"

◆ SECURE_SUPPORTED_COMMAND_CLASSES_INDEX

#define SECURE_SUPPORTED_COMMAND_CLASSES_INDEX   2

Function Documentation

◆ on_attribute_zwave_nls_state_desired_change()

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

◆ on_nls_state_get_v2_send_complete()

static void on_nls_state_get_v2_send_complete ( uint8_t  status,
const zwapi_tx_report_t tx_info,
void *  user 
)
static
Here is the caller graph for this function:

◆ on_nls_state_set_v2_send_complete()

static void on_nls_state_set_v2_send_complete ( uint8_t  status,
const zwapi_tx_report_t tx_info,
void *  user 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zwave_command_class_security_2_commands_supported_report()

static sl_status_t zwave_command_class_security_2_commands_supported_report ( const zwave_controller_connection_info_t connection,
const uint8_t *  frame_data,
uint16_t  frame_length 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zwave_command_class_security_2_control_handler()

static sl_status_t zwave_command_class_security_2_control_handler ( const zwave_controller_connection_info_t connection_info,
const uint8_t *  frame_data,
uint16_t  frame_length 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zwave_command_class_security_2_nls_state_set()

static sl_status_t zwave_command_class_security_2_nls_state_set ( zwave_node_id_t  node_id)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zwave_command_class_security_2_support_handler()

static sl_status_t zwave_command_class_security_2_support_handler ( const zwave_controller_connection_info_t connection_info,
const uint8_t *  frame_data,
uint16_t  frame_length 
)
static
Here is the caller graph for this function:

Variable Documentation

◆ last_node_id

zwave_node_id_t last_node_id = 0
static