Z-Wave Protocol Controller Reference
zwave_network_management_helpers.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2022 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
24#ifndef ZWAVE_NETWORK_MANAGEMENT_HELPERS_H
25#define ZWAVE_NETWORK_MANAGEMENT_HELPERS_H
26
27#include <stdbool.h>
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
42
50
61
69
77
86
95
101
111 uint8_t nif_length,
112 zwave_command_class_t command_class);
113
120
125
126#ifdef __cplusplus
127}
128#endif
129
130#endif //ZWAVE_NETWORK_MANAGEMENT_HELPERS_H
uint16_t zwave_command_class_t
Definition: zwave_generic_types.h:29
bool is_command_class_in_nif(const zwave_command_class_t *nif, uint8_t nif_length, zwave_command_class_t command_class)
Verifies if a Command Class is part of of NIF's command class list.
Definition: zwave_network_management_helpers.c:108
void network_management_stop_ongoing_operations()
Makes sure that the Z-Wave API is not performing any network management operation.
Definition: zwave_network_management_helpers.c:101
bool network_management_is_ready_for_a_new_operation()
Checks if all the conditions are fulfilled to start a new network management operation....
Definition: zwave_network_management_helpers.c:67
void network_management_take_sis_role_if_no_suc_in_network()
Attempts to take the SUC/SIS Role, if there is no SUC in the network.
Definition: zwave_network_management_helpers.c:165
void network_management_refresh_cached_node_list()
Asks the Z-Wave API about the list of NodeIDs in our network.
Definition: zwave_network_management_helpers.c:84
void network_management_refresh_cached_ids()
Asks the Z-Wave API to tell us our current HomeID and NodeID.
Definition: zwave_network_management_helpers.c:79
void network_management_refresh_network_information()
Quick helper function that will refresh all network information (HomeID, NodeID, Node list,...
Definition: zwave_network_management_helpers.c:94
void network_management_refresh_controller_capabilities_bitmask()
Asks the Z-Wave API to tell us what are the controller's capabilities in this network.
Definition: zwave_network_management_helpers.c:89
bool we_are_alone_in_our_network()
Checks if we are alone in our network and returns true if so.
Definition: zwave_network_management_helpers.c:52
bool we_should_self_destruct()
Looks at the state of network S2 bootstrapping after being SmartStart included and decides if we shou...
Definition: zwave_network_management_helpers.c:130
void reset_nms_last_operation_data()
Resets all the variables sets in the nms struct.
Definition: zwave_network_management_helpers.c:37