571:468377312726 | 572:7a03181d29a3 |
---|---|
56 | 56 |
57 #define MBSE_SS(x) (x)?(x):"(null)" | 57 #define MBSE_SS(x) (x)?(x):"(null)" |
58 | 58 |
59 | 59 |
60 #define MQTT_NODE_CONTROL 0x0001 ///< Show node control | 60 #define MQTT_NODE_CONTROL 0x0001 ///< Show node control |
61 | 61 #define LOWBATT 3.3 ///< Low battery voltage |
62 | 62 |
63 | 63 |
64 /** | 64 /** |
65 * @brief Configuration structure. Stored in a flat ascii file ~/.bms/bms.config | 65 * @brief Configuration structure. Stored in a flat ascii file ~/.bms/bms.config |
66 */ | 66 */ |
150 | 150 |
151 typedef enum | 151 typedef enum |
152 { | 152 { |
153 ALARM_FLAG_DOOR = 0x0001, ///< Door open | 153 ALARM_FLAG_DOOR = 0x0001, ///< Door open |
154 ALARM_FLAG_PSU = 0x0002, ///< PSU problem | 154 ALARM_FLAG_PSU = 0x0002, ///< PSU problem |
155 ALARM_FLAG_BATTERY = 0x0004, ///< Low battery | |
155 ALARM_FLAG_CHILLER = 0x0100, ///< Chiller too warm | 156 ALARM_FLAG_CHILLER = 0x0100, ///< Chiller too warm |
156 } ALARM_FLAGS; | 157 } ALARM_FLAGS; |
157 | 158 |
158 | 159 |
159 /** | 160 /** |