Sat, 26 Jan 2019 15:03:09 +0100
Import set tun_material from the specifix heat value. Equipment database uses POST instead of GET. Equipment editor screen in style with other inventory screens. In stock print now uses the type indexes to translate to text. Also show the correct unit and values of the yeast.
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 |