#include "attribute_store.h"
#include "zwave_utils.h"
#include "zwave_generic_types.h"
Go to the source code of this file.
◆ network_monitor_get_operating_mode()
Gets the Z-Wave operating mode () from the Attribute Store Node for the NodeID.
- Parameters
-
| node_id_node | NodeID node in the attribute store. |
- Returns
- zwave_operating_mode_t
◆ network_monitor_is_node_asleep_due_to_inactivity()
| bool network_monitor_is_node_asleep_due_to_inactivity |
( |
attribute_store_node_t |
node_id_node, |
|
|
int32_t |
inactive_time |
|
) |
| |
Checks if we had a long tx/rx inactivity that would result in an NL node falling asleep.
- Parameters
-
| node_id_node | Attribute Store Node for the NodeID |
| inactive_time | time span in seconds of the node being inactive |
- Returns
- true if the last tx/rx is too old and we should consider the node asleep now.