bmsd/bms.h

changeset 578
e75ce5bbda73
parent 572
7a03181d29a3
child 671
4b54d6f79d25
--- a/bmsd/bms.h	Fri Jan 03 15:21:22 2020 +0100
+++ b/bmsd/bms.h	Sun Jan 05 11:42:02 2020 +0100
@@ -282,7 +282,7 @@
 
 
 /**
- * @brief Strcuture holding a co2 pressure log entry.
+ * @brief Structure holding a co2 pressure log entry.
  */
 typedef struct co2meter_log {
     char			*datetime;		///< Date/time stamp
@@ -310,37 +310,22 @@
 // Make it universal and make it connectable with a beer.
 typedef struct _ispindel_list {
     struct _ispindel_list	*next;
+    char			*uuid;			///< Fixed uuid string.
+    char			*alias;			///< Alias name.
     char			*node;			///< Node name received.
     bool			online;			///< Is considered online.
+    char			*mode;			///< Working mode OFF or ON.
     uint32_t			alarm;			///< Alarm flags.
     char			*beercode;              ///< Beer unique code
     char                        *beername;              ///< Beer name being measured
     char                        *beeruuid;              ///< Beer uuid being measured
-    float			tilt;			///< Tilt angle in degrees
+    float			angle;			///< Tilt angle in degrees
     float			temperature;		///< Temperature in C
     float			battery;		///< Battery voltage
     float			gravity;		///< Gravity in plato?
     int				interval;		///< Measure interval
-    int8_t			rssi;			///< WiFi RSSI
 } sys_ispindel_list;
 
 
 
-/**
- * @brief Standalone temperature loggers. (Freezers, refrigerators, chambers).
- */
-typedef struct _thb_list {
-    struct _thb_list		*next;
-    char			*uuit;			///< Fixed uuid string
-    char			*name;			///< Name or description
-    char			*beercode;		///< Beer code if needed.
-    float			temperature;		///< Temperature in Celcius
-    float			humidity;		///< Humidity in %
-    float			barometer;		///< Air pressure.
-    float			gps_latitude;		///< GPS latitude
-    float			gps_longitude;		///< GPS longitide
-    float			gps_altitude;		///< GPS altitude
-} thb_list;
-
-
 #endif

mercurial