Z-Wave Protocol Controller Reference
zwave_s2_network.c File Reference
#include "zwave_s2_network.h"
#include "etimer.h"
#include "s2_classcmd.h"
#include "s2_inclusion.h"
#include "s2_keystore.h"
#include "s2_protocol.h"
#include "sl_log.h"
#include "zwave_s2_internal.h"
#include "zwave_s2_keystore_int.h"
#include "zwave_helper_macros.h"
#include "zwapi_protocol_controller.h"
#include "zwave_utils.h"
Include dependency graph for zwave_s2_network.c:

Macros

#define LOG_TAG   "zwave_s2_network"
 

Functions

const char * s2_inclusion_event_name (zwave_event_codes_t ev)
 
static void event_handler (zwave_event_t *event)
 
void zwave_s2_key_grant (bool accept, uint8_t keys, bool csa)
 Must be called as a response to the on_keys_request callback. More...
 
void zwave_s2_dsk_accept (bool accept, uint8_t *dsk, uint8_t len)
 Must be called as a response to the on_dsk_challenge callbacks. More...
 
void zwave_s2_network_init ()
 Initialize the S2 network layer. More...
 
void zwave_s2_start_learn_mode (zwave_node_id_t node_id)
 Start the S2 learn mode. More...
 
void zwave_s2_neighbor_discovery_complete ()
 
void zwave_s2_start_add_node (zwave_node_id_t node_id)
 Start the S2 add node process. More...
 
void zwave_s2_set_network_callbacks (const zwave_s2_network_callbacks_t *cb)
 Set callback function for the S2 inclusion. This structure is copied internally. More...
 
void zwave_s2_abort_join ()
 
void zwave_s2_refresh_home_id (zwave_home_id_t current_home_id)
 Update the homeID for the S2 engine. More...
 

Variables

static zwave_s2_network_callbacks_t callbacks
 

Macro Definition Documentation

◆ LOG_TAG

#define LOG_TAG   "zwave_s2_network"

Function Documentation

◆ event_handler()

static void event_handler ( zwave_event_t *  event)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ s2_inclusion_event_name()

const char * s2_inclusion_event_name ( zwave_event_codes_t  ev)
Here is the caller graph for this function:

Variable Documentation

◆ callbacks

zwave_s2_network_callbacks_t callbacks
static