19 * @brief Death of a node. Mark it offline in the database. |
19 * @brief Death of a node. Mark it offline in the database. |
20 * @param topic The MQTT topic string, contains the node type and name. |
20 * @param topic The MQTT topic string, contains the node type and name. |
21 */ |
21 */ |
22 void node_death(char *topic); |
22 void node_death(char *topic); |
23 |
23 |
|
24 /** |
|
25 * @brief Check if nodes are still online and mark them offline if not |
|
26 * been seen for 10 minutes. |
|
27 */ |
|
28 void nodes_check_online(void); |
|
29 |
24 #endif |
30 #endif |