280 } sys_co2meter_list; |
280 } sys_co2meter_list; |
281 |
281 |
282 |
282 |
283 |
283 |
284 /** |
284 /** |
285 * @brief Strcuture holding a co2 pressure log entry. |
285 * @brief Structure holding a co2 pressure log entry. |
286 */ |
286 */ |
287 typedef struct co2meter_log { |
287 typedef struct co2meter_log { |
288 char *datetime; ///< Date/time stamp |
288 char *datetime; ///< Date/time stamp |
289 char *product_uuid; ///< Product uuid |
289 char *product_uuid; ///< Product uuid |
290 char *product_code; ///< Product code |
290 char *product_code; ///< Product code |
308 |
308 |
309 |
309 |
310 // Make it universal and make it connectable with a beer. |
310 // Make it universal and make it connectable with a beer. |
311 typedef struct _ispindel_list { |
311 typedef struct _ispindel_list { |
312 struct _ispindel_list *next; |
312 struct _ispindel_list *next; |
|
313 char *uuid; ///< Fixed uuid string. |
|
314 char *alias; ///< Alias name. |
313 char *node; ///< Node name received. |
315 char *node; ///< Node name received. |
314 bool online; ///< Is considered online. |
316 bool online; ///< Is considered online. |
|
317 char *mode; ///< Working mode OFF or ON. |
315 uint32_t alarm; ///< Alarm flags. |
318 uint32_t alarm; ///< Alarm flags. |
316 char *beercode; ///< Beer unique code |
319 char *beercode; ///< Beer unique code |
317 char *beername; ///< Beer name being measured |
320 char *beername; ///< Beer name being measured |
318 char *beeruuid; ///< Beer uuid being measured |
321 char *beeruuid; ///< Beer uuid being measured |
319 float tilt; ///< Tilt angle in degrees |
322 float angle; ///< Tilt angle in degrees |
320 float temperature; ///< Temperature in C |
323 float temperature; ///< Temperature in C |
321 float battery; ///< Battery voltage |
324 float battery; ///< Battery voltage |
322 float gravity; ///< Gravity in plato? |
325 float gravity; ///< Gravity in plato? |
323 int interval; ///< Measure interval |
326 int interval; ///< Measure interval |
324 int8_t rssi; ///< WiFi RSSI |
|
325 } sys_ispindel_list; |
327 } sys_ispindel_list; |
326 |
328 |
327 |
329 |
328 |
330 |
329 /** |
|
330 * @brief Standalone temperature loggers. (Freezers, refrigerators, chambers). |
|
331 */ |
|
332 typedef struct _thb_list { |
|
333 struct _thb_list *next; |
|
334 char *uuit; ///< Fixed uuid string |
|
335 char *name; ///< Name or description |
|
336 char *beercode; ///< Beer code if needed. |
|
337 float temperature; ///< Temperature in Celcius |
|
338 float humidity; ///< Humidity in % |
|
339 float barometer; ///< Air pressure. |
|
340 float gps_latitude; ///< GPS latitude |
|
341 float gps_longitude; ///< GPS longitide |
|
342 float gps_altitude; ///< GPS altitude |
|
343 } thb_list; |
|
344 |
|
345 |
|
346 #endif |
331 #endif |