Sun, 10 Feb 2019 16:36:25 +0100
Ignore mash steps above 75 degrees for estimate_fg calculation. If multiple yeasts for primary fermentation, ise the highest attenuation because that yeast usually wins.
0 | 1 | #ifndef _MQTT_H |
2 | #define _MQTT_H | |
3 | ||
4 | #define STATUS_CONNECTING 0 | |
5 | #define STATUS_CONNACK_RECVD 1 | |
6 | #define STATUS_WAITING 2 | |
7 | ||
8 | ||
9 | /** | |
10 | * @brief Connect to the MQTT server. | |
11 | * @return 0 if success, else the connection failed. | |
12 | */ | |
13 | int mqtt_connect(void); | |
14 | ||
15 | /** | |
16 | * @brief Disconnect from the MQTT server. | |
17 | */ | |
18 | void mqtt_disconnect(void); | |
19 | ||
20 | #endif |