24#ifndef ZWAVE_NETWORK_MANAGEMENT_HELPERS_H
25#define 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