Z-Wave Protocol Controller Reference
zwave_network_management.c File Reference
#include "zwave_network_management.h"
#include "zwave_network_management_process.h"
#include "zwave_network_management_return_route_queue.h"
#include "zwave_network_management_helpers.h"
#include "nm_state_machine.h"
#include "zwave_controller.h"
#include "zwave_controller_types.h"
#include "zwapi_protocol_controller.h"
#include "zwave_s2_keystore.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "sl_log.h"
Include dependency graph for zwave_network_management.c:

Macros

#define LOG_TAG   "zwave_network_managment"
 

Functions

void zwave_network_management_enable_smart_start_add_mode (bool enabled)
 Set the controller in SmartStart Add mode. More...
 
void zwave_network_management_enable_smart_start_learn_mode (bool enabled)
 Configures if the Network Management module will enter SmartStart learn mode when it goes back to IDLE, we are alone in a network SmartStart Add mode is disabled. More...
 
zwave_network_management_state_t zwave_network_management_get_state ()
 Get the current state of the network management module. More...
 
sl_status_t zwave_network_management_add_node_with_dsk (const zwave_dsk_t dsk, zwave_keyset_t granted_keys, zwave_protocol_t preferred_inclusion)
 Put the Z-Wave controller in SmartStart add node mode. More...
 
sl_status_t zwave_network_management_set_default ()
 Reset the controller. More...
 
sl_status_t zwave_network_management_remove_failed (zwave_node_id_t node_id)
 Remove a failed node. More...
 
sl_status_t zwave_network_management_remove_node ()
 Put the Z-Wave controller in remove node mode. More...
 
static sl_status_t zwave_network_management_stop_add_mode ()
 
sl_status_t zwave_network_management_abort ()
 Abort current state and return to idle if its possible. More...
 
sl_status_t zwave_network_management_add_node ()
 Put the Z-Wave controller in add node mode. More...
 
sl_status_t zwave_network_management_keys_set (bool accept, bool csa, zwave_keyset_t granted_keys)
 Inform an S2 bootstrapping controller which keys must be granted to the node being bootstrapped. More...
 
sl_status_t zwave_network_management_dsk_set (zwave_dsk_t dsk)
 Indicate to the S2 bootstrapping controller whether the DSK is accepted and report the user input when needed. More...
 
sl_status_t zwave_network_management_learn_mode (zwave_learn_mode_t mode)
 Put the Z-Wave controller in learn mode. More...
 
bool zwave_network_management_is_zpc_sis ()
 Checks if we have the SIS role in the current network. More...
 
bool zwave_network_management_is_protocol_sending_frames_to_node (zwave_node_id_t node_id)
 Checks if the protocol may be sending some frames to a particular NodeID. More...
 
sl_status_t zwave_network_management_request_node_neighbor_discovery (zwave_node_id_t node_id)
 Request Node Neighbor Discovery. More...
 
sl_status_t zwave_network_management_start_proxy_inclusion (zwave_node_id_t node_id, zwave_node_info_t nif, uint8_t inclusion_step)
 Request the NM to perform proxy inclusion. More...
 
sl_status_t zwave_network_management_assign_return_route (zwave_node_id_t node_id, zwave_node_id_t destination_node_id)
 Assign static return routes to End Nodes. More...
 
bool zwave_network_management_is_busy ()
 Verify if we are carrying some network management operations. More...
 
zwave_home_id_t zwave_network_management_get_home_id ()
 Get the cached HomeID. More...
 
zwave_node_id_t zwave_network_management_get_node_id ()
 Get the cached NodeID. More...
 
uint16_t zwave_network_management_get_network_size ()
 Returns the number of nodes in our network. More...
 
void zwave_network_management_get_network_node_list (zwave_nodemask_t node_list)
 Get the cached Node List for the current network. More...
 
zwave_keyset_t zwave_network_management_get_granted_keys ()
 Return the currently granted keys. More...
 
sl_status_t zwave_network_management_set_priority_route (zwave_node_id_t node_id, const uint8_t *const priority_route)
 Assign a priority route to a node. More...
 

Variables

static smartstart_event_data_t smartstart_event_data
 
static route_event_data_t priority_route_event_data
 

Macro Definition Documentation

◆ LOG_TAG

#define LOG_TAG   "zwave_network_managment"

Function Documentation

◆ zwave_network_management_stop_add_mode()

static sl_status_t zwave_network_management_stop_add_mode ( )
static
Here is the caller graph for this function:

Variable Documentation

◆ priority_route_event_data

route_event_data_t priority_route_event_data
static

◆ smartstart_event_data