Sun, 15 Dec 2019 16:49:29 +0100
Fix a small bug in mon_nodes view. More relaxed check nodes timeout, now 5 seconds instead of 0,1 second.
#ifndef _MQTT_H #define _MQTT_H #define STATUS_CONNECTING 0 #define STATUS_CONNACK_RECVD 1 #define STATUS_WAITING 2 /** * @brief Connect to the MQTT server. * @return 0 if success, else the connection failed. */ int mqtt_connect(void); /** * @brief Disconnect from the MQTT server. */ void mqtt_disconnect(void); #endif