diff --git a/_weather_sensor_8h_source.html b/_weather_sensor_8h_source.html index 64bd97d9..4f3c6a51 100644 --- a/_weather_sensor_8h_source.html +++ b/_weather_sensor_8h_source.html @@ -223,7 +223,7 @@
152  /*
153  WeatherSensor()
154  {
-
155  memset(this, 0, sizeof(*this));
+
155  //memset(this, 0, sizeof(*this));
156  };
157  */
163  int16_t begin(void);
@@ -265,183 +265,173 @@
227  };
228 
229  struct Soil {
-
230  // TODO needed?
-
231  //bool temp_ok = false; //!< temperature o.k. (only 6-in-1)
-
232  //bool moisture_ok = false; //!< moisture o.k. (only 6-in-1)
-
233  float temp_c;
-
234  uint8_t moisture;
-
235  };
-
236 
-
237  struct Lightning {
-
238  //bool lightning_ok = false; //!< lightning o.k. (only lightning)
-
239  uint8_t distance_km;
-
240  uint8_t strike_count;
-
241  uint16_t unknown1;
-
242  uint16_t unknown2;
-
243 
+
230  float temp_c;
+
231  uint8_t moisture;
+
232  };
+
233 
+
234  struct Lightning {
+
235  uint8_t distance_km;
+
236  uint8_t strike_count;
+
237  uint16_t unknown1;
+
238  uint16_t unknown2;
+
239 
+
240  };
+
241 
+
242  struct Leakage {
+
243  bool alarm;
244  };
245 
-
246  struct Leakage {
-
247  //bool leakage_ok = false; //!< water leakage o.k. (only water leackage)
-
248  bool alarm;
-
249  };
-
250 
-
251  struct AirPM {
-
252  //bool pm_ok = false; //!< air quality (particle matter) o.k. (only 7-in-1)
-
253  uint16_t pm_2_5;
-
254  uint16_t pm_10;
-
255  };
-
256 
-
262  struct Sensor {
-
263  uint32_t sensor_id;
-
264  float rssi;
-
265  uint8_t s_type;
-
266  uint8_t chan;
-
267  bool startup = false;
-
268  bool battery_ok = false;
-
269  bool valid;
-
270  bool complete;
-
271  union {
-
272  struct Weather w;
-
273  struct Soil soil;
-
274  struct Lightning lgt;
-
275  struct Leakage leak;
-
276  struct AirPM pm;
-
277  };
+
246  struct AirPM {
+
247  //bool pm_ok = false; //!< air quality (particle matter) o.k. (only 7-in-1)
+
248  uint16_t pm_2_5;
+
249  uint16_t pm_10;
+
250  };
+
251 
+
257  struct Sensor {
+
258  uint32_t sensor_id = 0;
+
259  float rssi = 0.0;
+
260  uint8_t s_type = 0;
+
261  uint8_t chan = 0;
+
262  bool startup = false;
+
263  bool battery_ok = false;
+
264  bool valid = false;
+
265  bool complete = true;
+
266  union {
+
267  struct Weather w;
+
268  struct Soil soil;
+
269  struct Lightning lgt;
+
270  struct Leakage leak;
+
271  struct AirPM pm;
+
272  };
+
273  };
+
274 
+
275  typedef struct Sensor sensor_t;
+
276  sensor_t sensor[NUM_SENSORS];
+
277  float rssi;
278 
-
279  Sensor ()
-
280  {
-
281  memset(this, 0, sizeof(*this));
-
282  }
-
283  };
-
284 
-
285  typedef struct Sensor sensor_t;
-
286  sensor_t sensor[NUM_SENSORS];
-
287  float rssi;
-
288 
-
289 
-
295  bool genMessage(int i, uint32_t id = 0xff, uint8_t s_type = 1, uint8_t channel = 0, uint8_t startup = 0);
-
296 
-
297 
-
306  void clearSlots(uint8_t type = 0xFF)
-
307  {
-
308  for (int i=0; i< NUM_SENSORS; i++) {
-
309  if ((type == 0xFF) || (sensor[i].s_type == type)) {
-
310  sensor[i].valid = false;
-
311  sensor[i].complete = false;
-
312  }
-
313  }
-
314  };
+
279 
+
285  bool genMessage(int i, uint32_t id = 0xff, uint8_t s_type = 1, uint8_t channel = 0, uint8_t startup = 0);
+
286 
+
287 
+
296  void clearSlots(uint8_t type = 0xFF)
+
297  {
+
298  for (int i=0; i< NUM_SENSORS; i++) {
+
299  if ((type == 0xFF) || (sensor[i].s_type == type)) {
+
300  sensor[i].valid = false;
+
301  sensor[i].complete = false;
+
302  }
+
303  }
+
304  };
+
305 
+
313  int findId(uint32_t id);
+
314 
315 
-
323  int findId(uint32_t id);
-
324 
+
324  int findType(uint8_t type, uint8_t channel = 0xFF);
325 
-
334  int findType(uint8_t type, uint8_t channel = 0xFF);
-
335 
-
344  bool is_decode3in1(uint32_t id);
-
345 
-
346  private:
-
347  struct Sensor *pData;
-
348 
-
366  int findSlot(uint32_t id, DecodeStatus * status);
-
367 
-
368 
-
369  #ifdef BRESSER_5_IN_1
-
379  DecodeStatus decodeBresser5In1Payload(const uint8_t *msg, uint8_t msgSize);
-
380  #endif
-
381  #ifdef BRESSER_6_IN_1
-
393  DecodeStatus decodeBresser6In1Payload(const uint8_t *msg, uint8_t msgSize);
-
394  #endif
-
395  #ifdef BRESSER_7_IN_1
-
405  DecodeStatus decodeBresser7In1Payload(const uint8_t *msg, uint8_t msgSize);
-
406  #endif
-
407  #ifdef BRESSER_LIGHTNING
-
417  DecodeStatus decodeBresserLightningPayload(const uint8_t *msg, uint8_t msgSize);
-
418  #endif
-
419  #ifdef BRESSER_LEAKAGE
-
429  DecodeStatus decodeBresserLeakagePayload(const uint8_t *msg, uint8_t msgSize);
-
430  #endif
-
431 
-
432  protected:
-
436  uint16_t lfsr_digest16(uint8_t const message[], unsigned bytes, uint16_t gen, uint16_t key);
+
334  bool is_decode3in1(uint32_t id);
+
335 
+
336  private:
+
337  struct Sensor *pData;
+
338 
+
356  int findSlot(uint32_t id, DecodeStatus * status);
+
357 
+
358 
+
359  #ifdef BRESSER_5_IN_1
+
369  DecodeStatus decodeBresser5In1Payload(const uint8_t *msg, uint8_t msgSize);
+
370  #endif
+
371  #ifdef BRESSER_6_IN_1
+
383  DecodeStatus decodeBresser6In1Payload(const uint8_t *msg, uint8_t msgSize);
+
384  #endif
+
385  #ifdef BRESSER_7_IN_1
+
395  DecodeStatus decodeBresser7In1Payload(const uint8_t *msg, uint8_t msgSize);
+
396  #endif
+
397  #ifdef BRESSER_LIGHTNING
+
407  DecodeStatus decodeBresserLightningPayload(const uint8_t *msg, uint8_t msgSize);
+
408  #endif
+
409  #ifdef BRESSER_LEAKAGE
+
419  DecodeStatus decodeBresserLeakagePayload(const uint8_t *msg, uint8_t msgSize);
+
420  #endif
+
421 
+
422  protected:
+
426  uint16_t lfsr_digest16(uint8_t const message[], unsigned bytes, uint16_t gen, uint16_t key);
+
427 
+
436  int add_bytes(uint8_t const message[], unsigned num_bytes);
437 
-
446  int add_bytes(uint8_t const message[], unsigned num_bytes);
-
447 
-
458  uint16_t crc16(uint8_t const message[], unsigned nBytes, uint16_t polynomial, uint16_t init);
-
459 
-
460  #if CORE_DEBUG_LEVEL >= ARDUHAL_LOG_LEVEL_DEBUG
-
472  void log_message(const char *descr, const uint8_t *msg, uint8_t msgSize) {
-
473  char buf[128];
-
474  const char txt[] = "Byte #: ";
-
475  int offs;
-
476  int len1 = strlen(txt);
-
477  int len2 = strlen(descr) + 2; // add colon and space
-
478  int prefix_len = max(len1, len2);
-
479 
-
480  memset(buf, ' ', prefix_len);
-
481  buf[prefix_len] = '\0';
-
482  offs = (len1 < len2) ? (len2 - len1) : 0;
-
483  strcpy(&buf[offs], txt);
-
484 
-
485  // Print byte index
+
448  uint16_t crc16(uint8_t const message[], unsigned nBytes, uint16_t polynomial, uint16_t init);
+
449 
+
450  #if CORE_DEBUG_LEVEL >= ARDUHAL_LOG_LEVEL_DEBUG
+
462  void log_message(const char *descr, const uint8_t *msg, uint8_t msgSize) {
+
463  char buf[128];
+
464  const char txt[] = "Byte #: ";
+
465  int offs;
+
466  int len1 = strlen(txt);
+
467  int len2 = strlen(descr) + 2; // add colon and space
+
468  int prefix_len = max(len1, len2);
+
469 
+
470  memset(buf, ' ', prefix_len);
+
471  buf[prefix_len] = '\0';
+
472  offs = (len1 < len2) ? (len2 - len1) : 0;
+
473  strcpy(&buf[offs], txt);
+
474 
+
475  // Print byte index
+
476  for (size_t i = 0 ; i < msgSize; i++) {
+
477  sprintf(&buf[strlen(buf)], "%02d ", i);
+
478  }
+
479  log_d("%s", buf);
+
480 
+
481  memset(buf, ' ', prefix_len);
+
482  buf[prefix_len] ='\0';
+
483  offs = (len1 > len2) ? (len1 - len2) : 0;
+
484  sprintf(&buf[offs], "%s: ", descr);
+
485 
486  for (size_t i = 0 ; i < msgSize; i++) {
-
487  sprintf(&buf[strlen(buf)], "%02d ", i);
+
487  sprintf(&buf[strlen(buf)], "%02X ", msg[i]);
488  }
489  log_d("%s", buf);
-
490 
-
491  memset(buf, ' ', prefix_len);
-
492  buf[prefix_len] ='\0';
-
493  offs = (len1 > len2) ? (len1 - len2) : 0;
-
494  sprintf(&buf[offs], "%s: ", descr);
-
495 
-
496  for (size_t i = 0 ; i < msgSize; i++) {
-
497  sprintf(&buf[strlen(buf)], "%02X ", msg[i]);
-
498  }
-
499  log_d("%s", buf);
-
500  }
-
501  #endif
-
502 
-
503 };
-
504 
-
505 #endif
+
490  }
+
491  #endif
+
492 
+
493 };
+
494 
+
495 #endif
WeatherSensor
Receive, decode and store Bresser Weather Sensor Data Uses CC1101 or SX1276 radio module for receivin...
Definition: WeatherSensor.h:146
WeatherSensor::getMessage
DecodeStatus getMessage(void)
Tries to receive radio message (non-blocking) and to decode it. Timeout occurs after a multitude of e...
Definition: WeatherSensor.cpp:227
WeatherSensor::findId
int findId(uint32_t id)
Definition: WeatherSensor.cpp:442
WeatherSensor::is_decode3in1
bool is_decode3in1(uint32_t id)
Definition: WeatherSensor.cpp:468
-
WeatherSensor::rssi
float rssi
received signal strength indicator in dBm
Definition: WeatherSensor.h:287
+
WeatherSensor::rssi
float rssi
received signal strength indicator in dBm
Definition: WeatherSensor.h:277
WeatherSensor::getData
bool getData(uint32_t timeout, uint8_t flags=0, uint8_t type=0, void(*func)()=NULL)
Wait for reception of data or occurrance of timeout. With BRESSER_6_IN_1, data is distributed across ...
Definition: WeatherSensor.cpp:170
WeatherSensor::begin
int16_t begin(void)
Constructor.
Definition: WeatherSensor.cpp:106
WeatherSensor::findType
int findType(uint8_t type, uint8_t channel=0xFF)
Definition: WeatherSensor.cpp:455
-
WeatherSensor::sensor
sensor_t sensor[NUM_SENSORS]
sensor data array
Definition: WeatherSensor.h:286
+
WeatherSensor::sensor
sensor_t sensor[NUM_SENSORS]
sensor data array
Definition: WeatherSensor.h:276
WeatherSensor::genMessage
bool genMessage(int i, uint32_t id=0xff, uint8_t s_type=1, uint8_t channel=0, uint8_t startup=0)
Generates data otherwise received and decoded from a radio message.
Definition: WeatherSensor.cpp:313
-
WeatherSensor::sensor_t
struct Sensor sensor_t
Shortcut for struct Sensor.
Definition: WeatherSensor.h:285
-
WeatherSensor::clearSlots
void clearSlots(uint8_t type=0xFF)
Clear sensor data.
Definition: WeatherSensor.h:306
+
WeatherSensor::sensor_t
struct Sensor sensor_t
Shortcut for struct Sensor.
Definition: WeatherSensor.h:275
+
WeatherSensor::clearSlots
void clearSlots(uint8_t type=0xFF)
Clear sensor data.
Definition: WeatherSensor.h:296
WeatherSensor::decodeMessage
DecodeStatus decodeMessage(const uint8_t *msg, uint8_t msgSize)
Decode message Tries the available decoders until a decoding was successful.
Definition: WeatherSensor.cpp:269
SensorMap
Mapping of sensor IDs to names.
Definition: WeatherSensor.h:133
SensorMap::name
std::string name
Name of sensor (e.g. for MQTT topic)
Definition: WeatherSensor.h:135
SensorMap::id
uint32_t id
ID if sensor (as transmitted in radio message)
Definition: WeatherSensor.h:134
-
WeatherSensor::AirPM
Definition: WeatherSensor.h:251
-
WeatherSensor::AirPM::pm_2_5
uint16_t pm_2_5
air quality PM2.5 in µg/m³
Definition: WeatherSensor.h:253
-
WeatherSensor::AirPM::pm_10
uint16_t pm_10
air quality PM10 in µg/m³
Definition: WeatherSensor.h:254
-
WeatherSensor::Leakage
Definition: WeatherSensor.h:246
-
WeatherSensor::Leakage::alarm
bool alarm
water leakage alarm (only water leakage)
Definition: WeatherSensor.h:248
-
WeatherSensor::Lightning
Definition: WeatherSensor.h:237
-
WeatherSensor::Lightning::unknown1
uint16_t unknown1
unknown part 1
Definition: WeatherSensor.h:241
-
WeatherSensor::Lightning::strike_count
uint8_t strike_count
lightning strike counter (only lightning)
Definition: WeatherSensor.h:240
-
WeatherSensor::Lightning::distance_km
uint8_t distance_km
lightning distance in km (only lightning)
Definition: WeatherSensor.h:239
-
WeatherSensor::Lightning::unknown2
uint16_t unknown2
unknown part 2
Definition: WeatherSensor.h:242
-
WeatherSensor::Sensor
sensor data and status flags
Definition: WeatherSensor.h:262
-
WeatherSensor::Sensor::battery_ok
bool battery_ok
battery o.k.
Definition: WeatherSensor.h:268
-
WeatherSensor::Sensor::rssi
float rssi
received signal strength indicator in dBm
Definition: WeatherSensor.h:264
-
WeatherSensor::Sensor::complete
bool complete
data is split into two separate messages is complete (only 6-in-1 WS)
Definition: WeatherSensor.h:270
-
WeatherSensor::Sensor::s_type
uint8_t s_type
sensor type
Definition: WeatherSensor.h:265
-
WeatherSensor::Sensor::startup
bool startup
startup after reset / battery change
Definition: WeatherSensor.h:267
-
WeatherSensor::Sensor::sensor_id
uint32_t sensor_id
sensor ID (5-in-1: 1 byte / 6-in-1: 4 bytes / 7-in-1: 2 bytes)
Definition: WeatherSensor.h:263
-
WeatherSensor::Sensor::chan
uint8_t chan
channel
Definition: WeatherSensor.h:266
-
WeatherSensor::Sensor::valid
bool valid
data valid (but not necessarily complete)
Definition: WeatherSensor.h:269
+
WeatherSensor::AirPM
Definition: WeatherSensor.h:246
+
WeatherSensor::AirPM::pm_2_5
uint16_t pm_2_5
air quality PM2.5 in µg/m³
Definition: WeatherSensor.h:248
+
WeatherSensor::AirPM::pm_10
uint16_t pm_10
air quality PM10 in µg/m³
Definition: WeatherSensor.h:249
+
WeatherSensor::Leakage
Definition: WeatherSensor.h:242
+
WeatherSensor::Leakage::alarm
bool alarm
water leakage alarm (only water leakage)
Definition: WeatherSensor.h:243
+
WeatherSensor::Lightning
Definition: WeatherSensor.h:234
+
WeatherSensor::Lightning::unknown1
uint16_t unknown1
unknown part 1
Definition: WeatherSensor.h:237
+
WeatherSensor::Lightning::strike_count
uint8_t strike_count
lightning strike counter (only lightning)
Definition: WeatherSensor.h:236
+
WeatherSensor::Lightning::distance_km
uint8_t distance_km
lightning distance in km (only lightning)
Definition: WeatherSensor.h:235
+
WeatherSensor::Lightning::unknown2
uint16_t unknown2
unknown part 2
Definition: WeatherSensor.h:238
+
WeatherSensor::Sensor
sensor data and status flags
Definition: WeatherSensor.h:257
+
WeatherSensor::Sensor::battery_ok
bool battery_ok
battery o.k.
Definition: WeatherSensor.h:263
+
WeatherSensor::Sensor::rssi
float rssi
received signal strength indicator in dBm
Definition: WeatherSensor.h:259
+
WeatherSensor::Sensor::complete
bool complete
data is split into two separate messages is complete (only 6-in-1 WS)
Definition: WeatherSensor.h:265
+
WeatherSensor::Sensor::s_type
uint8_t s_type
sensor type
Definition: WeatherSensor.h:260
+
WeatherSensor::Sensor::startup
bool startup
startup after reset / battery change
Definition: WeatherSensor.h:262
+
WeatherSensor::Sensor::sensor_id
uint32_t sensor_id
sensor ID (5-in-1: 1 byte / 6-in-1: 4 bytes / 7-in-1: 2 bytes)
Definition: WeatherSensor.h:258
+
WeatherSensor::Sensor::chan
uint8_t chan
channel
Definition: WeatherSensor.h:261
+
WeatherSensor::Sensor::valid
bool valid
data valid (but not necessarily complete)
Definition: WeatherSensor.h:264
WeatherSensor::Soil
Definition: WeatherSensor.h:229
-
WeatherSensor::Soil::temp_c
float temp_c
temperature in degC
Definition: WeatherSensor.h:233
-
WeatherSensor::Soil::moisture
uint8_t moisture
moisture in % (only 6-in-1)
Definition: WeatherSensor.h:234
+
WeatherSensor::Soil::temp_c
float temp_c
temperature in degC
Definition: WeatherSensor.h:230
+
WeatherSensor::Soil::moisture
uint8_t moisture
moisture in % (only 6-in-1)
Definition: WeatherSensor.h:231
WeatherSensor::Weather
Definition: WeatherSensor.h:201
WeatherSensor::Weather::light_klx
float light_klx
Light KLux (only 7-in-1)
Definition: WeatherSensor.h:209
WeatherSensor::Weather::light_ok
bool light_ok
light o.k. (only 7-in-1)
Definition: WeatherSensor.h:204
diff --git a/navtreeindex0.js b/navtreeindex0.js index 497a2a81..73a1b1ac 100644 --- a/navtreeindex0.js +++ b/navtreeindex0.js @@ -63,20 +63,19 @@ var NAVTREEINDEX0 = "struct_weather_sensor_1_1_lightning.html#a2b353ea8a3a66402349b26fde4a25008":[1,0,5,2,0], "struct_weather_sensor_1_1_lightning.html#a57eba8d336a02ade096c8651f3b61d21":[1,0,5,2,3], "struct_weather_sensor_1_1_sensor.html":[1,0,5,3], -"struct_weather_sensor_1_1_sensor.html#a179014c02826f68faabbddbc9a57ff90":[1,0,5,3,1], -"struct_weather_sensor_1_1_sensor.html#a1890b5f983c111175f2702e10cd06627":[1,0,5,3,6], -"struct_weather_sensor_1_1_sensor.html#a2be0329dff70f431f408e70a57117ecf":[1,0,5,3,4], -"struct_weather_sensor_1_1_sensor.html#a56ca10defbfb8bb7bab5862a3fa2b7d1":[1,0,5,3,7], -"struct_weather_sensor_1_1_sensor.html#a70a0e2b3062eb6b3f1f7b9fc57a479bf":[1,0,5,3,5], -"struct_weather_sensor_1_1_sensor.html#a8d7ac24ffcbb4cbc5ef8005c72046a57":[1,0,5,3,3], -"struct_weather_sensor_1_1_sensor.html#aabf3f23ee4b7db05580765f7ce392838":[1,0,5,3,8], -"struct_weather_sensor_1_1_sensor.html#ab1fb3b6988f2a14d8246b1dc239426a4":[1,0,5,3,11], -"struct_weather_sensor_1_1_sensor.html#abb7429449881d93d8a23b20ad9a9b939":[1,0,5,3,10], -"struct_weather_sensor_1_1_sensor.html#abbf124d4f3f1792ff596b7dd03b9cd94":[1,0,5,3,9], -"struct_weather_sensor_1_1_sensor.html#acdcee37faebf4d2f77387d6e649b00c9":[1,0,5,3,2], -"struct_weather_sensor_1_1_sensor.html#ae28084d05f7e81b1c3a1b2cff859315a":[1,0,5,3,12], -"struct_weather_sensor_1_1_sensor.html#ae6c6e91d8e3d6d22e38c26ef212a6d69":[1,0,5,3,13], -"struct_weather_sensor_1_1_sensor.html#afd11d6f1f39345f3466a7e2eebaeb2e9":[1,0,5,3,0], +"struct_weather_sensor_1_1_sensor.html#a179014c02826f68faabbddbc9a57ff90":[1,0,5,3,0], +"struct_weather_sensor_1_1_sensor.html#a1890b5f983c111175f2702e10cd06627":[1,0,5,3,5], +"struct_weather_sensor_1_1_sensor.html#a2be0329dff70f431f408e70a57117ecf":[1,0,5,3,3], +"struct_weather_sensor_1_1_sensor.html#a56ca10defbfb8bb7bab5862a3fa2b7d1":[1,0,5,3,6], +"struct_weather_sensor_1_1_sensor.html#a70a0e2b3062eb6b3f1f7b9fc57a479bf":[1,0,5,3,4], +"struct_weather_sensor_1_1_sensor.html#a8d7ac24ffcbb4cbc5ef8005c72046a57":[1,0,5,3,2], +"struct_weather_sensor_1_1_sensor.html#aabf3f23ee4b7db05580765f7ce392838":[1,0,5,3,7], +"struct_weather_sensor_1_1_sensor.html#ab1fb3b6988f2a14d8246b1dc239426a4":[1,0,5,3,10], +"struct_weather_sensor_1_1_sensor.html#abb7429449881d93d8a23b20ad9a9b939":[1,0,5,3,9], +"struct_weather_sensor_1_1_sensor.html#abbf124d4f3f1792ff596b7dd03b9cd94":[1,0,5,3,8], +"struct_weather_sensor_1_1_sensor.html#acdcee37faebf4d2f77387d6e649b00c9":[1,0,5,3,1], +"struct_weather_sensor_1_1_sensor.html#ae28084d05f7e81b1c3a1b2cff859315a":[1,0,5,3,11], +"struct_weather_sensor_1_1_sensor.html#ae6c6e91d8e3d6d22e38c26ef212a6d69":[1,0,5,3,12], "struct_weather_sensor_1_1_soil.html":[1,0,5,4], "struct_weather_sensor_1_1_soil.html#a593b5edcdee32762132c39a143aaf1ff":[1,0,5,4,1], "struct_weather_sensor_1_1_soil.html#adb04b7368a78fae492a87b3bd0b734da":[1,0,5,4,0], diff --git a/struct_weather_sensor_1_1_sensor-members.html b/struct_weather_sensor_1_1_sensor-members.html index a491c0c1..b7f1e467 100644 --- a/struct_weather_sensor_1_1_sensor-members.html +++ b/struct_weather_sensor_1_1_sensor-members.html @@ -97,12 +97,11 @@ pm (defined in WeatherSensor::Sensor)WeatherSensor::Sensor rssiWeatherSensor::Sensor s_typeWeatherSensor::Sensor - Sensor() (defined in WeatherSensor::Sensor)WeatherSensor::Sensorinline - sensor_idWeatherSensor::Sensor - soil (defined in WeatherSensor::Sensor)WeatherSensor::Sensor - startupWeatherSensor::Sensor - validWeatherSensor::Sensor - w (defined in WeatherSensor::Sensor)WeatherSensor::Sensor + sensor_idWeatherSensor::Sensor + soil (defined in WeatherSensor::Sensor)WeatherSensor::Sensor + startupWeatherSensor::Sensor + validWeatherSensor::Sensor + w (defined in WeatherSensor::Sensor)WeatherSensor::Sensor diff --git a/struct_weather_sensor_1_1_sensor.html b/struct_weather_sensor_1_1_sensor.html index 15806ae5..2b26f000 100644 --- a/struct_weather_sensor_1_1_sensor.html +++ b/struct_weather_sensor_1_1_sensor.html @@ -98,19 +98,19 @@

Public Attributes

-uint32_t sensor_id +uint32_t sensor_id = 0  sensor ID (5-in-1: 1 byte / 6-in-1: 4 bytes / 7-in-1: 2 bytes)
  -float rssi +float rssi = 0.0  received signal strength indicator in dBm
  -uint8_t s_type +uint8_t s_type = 0  sensor type
  -uint8_t chan +uint8_t chan = 0  channel
  @@ -122,11 +122,11 @@  battery o.k.
  -bool valid +bool valid = false  data valid (but not necessarily complete)
  -bool complete +bool complete = true  data is split into two separate messages is complete (only 6-in-1 WS)
  diff --git a/struct_weather_sensor_1_1_sensor.js b/struct_weather_sensor_1_1_sensor.js index b9929958..cdb20376 100644 --- a/struct_weather_sensor_1_1_sensor.js +++ b/struct_weather_sensor_1_1_sensor.js @@ -1,6 +1,5 @@ var struct_weather_sensor_1_1_sensor = [ - [ "Sensor", "struct_weather_sensor_1_1_sensor.html#afd11d6f1f39345f3466a7e2eebaeb2e9", null ], [ "battery_ok", "struct_weather_sensor_1_1_sensor.html#a179014c02826f68faabbddbc9a57ff90", null ], [ "chan", "struct_weather_sensor_1_1_sensor.html#acdcee37faebf4d2f77387d6e649b00c9", null ], [ "complete", "struct_weather_sensor_1_1_sensor.html#a8d7ac24ffcbb4cbc5ef8005c72046a57", null ],