Sat, 13 Jun 2020 23:16:50 +0200
Fix lock sync loss in unit zero set when the pressure sensor is not connected. Removed some log messages.
/** * @file task_mqtt.h * @brief The FreeRTOS task to maintain MQTT connections. */ #ifndef _TASK_MQTT_H #define _TASK_MQTT_H /** * @brief Request a MQTT connection * @param state Request of disconnect a connection. */ void connect_mqtt(bool state); /** * @brief Check if MQTT is connected * @return Returns true if MQTT is connected */ bool ready_mqtt(void); /** * @brief Publish node birth */ void publishNode(void); /** * @brief Publish units results */ void publishUnits(void); /** * @brief Publish measurement logs */ void publishLogs(void); /** * @brief The FreeRTOS task to run MQTT connections. * @param pvParameters Parameters for the task. */ void task_mqtt(void *pvParameters); #endif