bmsd/nodes.h

changeset 384
442d23455ae4
parent 0
033898178630
child 684
ccb9f24d0fe9
equal deleted inserted replaced
383:2395bdfac387 384:442d23455ae4
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

mercurial