diff --git a/_weather_sensor_8h_source.html b/_weather_sensor_8h_source.html
index 6a109c0..1b9647d 100644
--- a/_weather_sensor_8h_source.html
+++ b/_weather_sensor_8h_source.html
@@ -167,87 +167,87 @@
-
-
-
-
-
- 89 #ifndef WeatherSensor_h
- 90 #define WeatherSensor_h
-
-
-
-
- 95 #include <Preferences.h>
-
-
+
+
+
+
+
+
+ 90 #ifndef WeatherSensor_h
+ 91 #define WeatherSensor_h
+
+
+
+
+ 96 #include <Preferences.h>
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 113 #define SENSOR_TYPE_WEATHER0 0
- 114 #define SENSOR_TYPE_WEATHER1 1
- 115 #define SENSOR_TYPE_THERMO_HYGRO 2
- 116 #define SENSOR_TYPE_POOL_THERMO 3
- 117 #define SENSOR_TYPE_SOIL 4
- 118 #define SENSOR_TYPE_LEAKAGE 5
- 119 #define SENSOR_TYPE_AIR_PM 8
- 120 #define SENSOR_TYPE_RAIN 9
- 121 #define SENSOR_TYPE_LIGHTNING 9
- 122 #define SENSOR_TYPE_CO2 10
- 123 #define SENSOR_TYPE_HCHO_VOC 11
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 114 #define SENSOR_TYPE_WEATHER0 0
+ 115 #define SENSOR_TYPE_WEATHER1 1
+ 116 #define SENSOR_TYPE_THERMO_HYGRO 2
+ 117 #define SENSOR_TYPE_POOL_THERMO 3
+ 118 #define SENSOR_TYPE_SOIL 4
+ 119 #define SENSOR_TYPE_LEAKAGE 5
+ 120 #define SENSOR_TYPE_AIR_PM 8
+ 121 #define SENSOR_TYPE_RAIN 9
+ 122 #define SENSOR_TYPE_LIGHTNING 9
+ 123 #define SENSOR_TYPE_CO2 10
+ 124 #define SENSOR_TYPE_HCHO_VOC 11
-
- 127 #define WEATHER0_RAIN_OV 1000
- 128 #define WEATHER1_RAIN_OV 100000
-
+
+
+ 128 #define WEATHER0_RAIN_OV 1000
+ 129 #define WEATHER1_RAIN_OV 100000
-
- 132 #define DATA_COMPLETE 0x1
- 133 #define DATA_TYPE 0x2
- 134 #define DATA_ALL_SLOTS 0x8
-
-
- 137 #define DECODER_5IN1 0x01
- 138 #define DECODER_6IN1 0x02
- 139 #define DECODER_7IN1 0x04
- 140 #define DECODER_LIGHTNING 0x08
- 141 #define DECODER_LEAKAGE 0x10
-
-
- 144 #define MSG_BUF_SIZE 27
-
-
- 147 typedef enum DecodeStatus {
- 148 DECODE_INVALID, DECODE_OK, DECODE_PAR_ERR, DECODE_CHK_ERR, DECODE_DIG_ERR, DECODE_SKIP, DECODE_FULL
-
-
+
+
+ 133 #define DATA_COMPLETE 0x1
+ 134 #define DATA_TYPE 0x2
+ 135 #define DATA_ALL_SLOTS 0x8
+
+
+ 138 #define DECODER_5IN1 0x01
+ 139 #define DECODER_6IN1 0x02
+ 140 #define DECODER_7IN1 0x04
+ 141 #define DECODER_LIGHTNING 0x08
+ 142 #define DECODER_LEAKAGE 0x10
+
+
+ 145 #define MSG_BUF_SIZE 27
+
+
+ 148 typedef enum DecodeStatus {
+ 149 DECODE_INVALID, DECODE_OK, DECODE_PAR_ERR, DECODE_CHK_ERR, DECODE_DIG_ERR, DECODE_SKIP, DECODE_FULL
+
-
-
-
-
-
+
+
+
+
+
-
-
- 172 Preferences cfgPrefs;
- 173 std::vector<uint32_t> sensor_ids_inc;
- 174 std::vector<uint32_t> sensor_ids_exc;
- 175 uint8_t maxSensorsDefault;
+
+
+
+ 173 Preferences cfgPrefs;
+ 174 std::vector<uint32_t> sensor_ids_inc;
+ 175 std::vector<uint32_t> sensor_ids_exc;
183 int16_t
begin(uint8_t max_sensors_default = MAX_SENSORS_DEFAULT);
@@ -467,31 +467,31 @@
-Receive, decode and store Bresser Weather Sensor Data Uses CC1101 or SX1276 radio module for receivin...
Definition: WeatherSensor.h:170
+Receive, decode and store Bresser Weather Sensor Data Uses CC1101 or SX1276 radio module for receivin...
Definition: WeatherSensor.h:171
DecodeStatus getMessage(void)
Tries to receive radio message (non-blocking) and to decode it. Timeout occurs after a multitude of e...
Definition: WeatherSensor.cpp:319
-int findId(uint32_t id)
Definition: WeatherSensor.cpp:429
+int findId(uint32_t id)
Definition: WeatherSensor.cpp:426
void radioReset(void)
Reset radio transceiver.
Definition: WeatherSensor.cpp:235
uint8_t rxFlags
receive flags (see getData())
Definition: WeatherSensor.h:332
float rssi
received signal strength indicator in dBm
Definition: WeatherSensor.h:331
-void getSensorsCfg(uint8_t &max_sensors, uint8_t &rx_flags, uint8_t &en_decoders)
Definition: WeatherSensorConfig.cpp:180
+void getSensorsCfg(uint8_t &max_sensors, uint8_t &rx_flags, uint8_t &en_decoders)
Definition: WeatherSensorConfig.cpp:181
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:245
-void setSensorsCfg(uint8_t max_sensors, uint8_t rx_flags, uint8_t en_decoders=0xFF)
Definition: WeatherSensorConfig.cpp:164
+void setSensorsCfg(uint8_t max_sensors, uint8_t rx_flags, uint8_t en_decoders=0xFF)
Definition: WeatherSensorConfig.cpp:165
uint8_t enDecoders
enabled Decoders
Definition: WeatherSensor.h:333
-int16_t begin(uint8_t max_sensors_default=MAX_SENSORS_DEFAULT)
Presence check and initialization of radio module.
Definition: WeatherSensor.cpp:137
+int16_t begin(uint8_t max_sensors_default=MAX_SENSORS_DEFAULT)
Presence check and initialization of radio module.
Definition: WeatherSensor.cpp:138
void sleep(void)
Set transceiver into sleep mode.
Definition: WeatherSensor.cpp:240
-int findType(uint8_t type, uint8_t channel=0xFF)
Definition: WeatherSensor.cpp:442
-uint8_t getSensorsInc(uint8_t *payload)
Definition: WeatherSensorConfig.cpp:117
-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:371
+int findType(uint8_t type, uint8_t channel=0xFF)
Definition: WeatherSensor.cpp:439
+uint8_t getSensorsInc(uint8_t *payload)
Definition: WeatherSensorConfig.cpp:118
+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:369
struct Sensor sensor_t
Shortcut for struct Sensor.
Definition: WeatherSensor.h:329
std::vector< sensor_t > sensor
sensor data array
Definition: WeatherSensor.h:330
-void setSensorsInc(uint8_t *bytes, uint8_t size)
Definition: WeatherSensorConfig.cpp:94
-uint8_t getSensorsExc(uint8_t *payload)
Definition: WeatherSensorConfig.cpp:152
+void setSensorsInc(uint8_t *bytes, uint8_t size)
Definition: WeatherSensorConfig.cpp:95
+uint8_t getSensorsExc(uint8_t *payload)
Definition: WeatherSensorConfig.cpp:153
void clearSlots(uint8_t type=0xFF)
Clear sensor data.
Definition: WeatherSensor.h:351
DecodeStatus decodeMessage(const uint8_t *msg, uint8_t msgSize)
Decode message Tries the available decoders until a decoding was successful.
Definition: WeatherSensorDecoders.cpp:143
-void setSensorsExc(uint8_t *bytes, uint8_t size)
Definition: WeatherSensorConfig.cpp:129
-Mapping of sensor IDs to names.
Definition: WeatherSensor.h:157
-std::string name
Name of sensor (e.g. for MQTT topic)
Definition: WeatherSensor.h:159
-uint32_t id
ID if sensor (as transmitted in radio message)
Definition: WeatherSensor.h:158
+void setSensorsExc(uint8_t *bytes, uint8_t size)
Definition: WeatherSensorConfig.cpp:130
+Mapping of sensor IDs to names.
Definition: WeatherSensor.h:158
+std::string name
Name of sensor (e.g. for MQTT topic)
Definition: WeatherSensor.h:160
+uint32_t id
ID if sensor (as transmitted in radio message)
Definition: WeatherSensor.h:159
Definition: WeatherSensor.h:284
bool co2_init
measurement value invalid due to initialization
Definition: WeatherSensor.h:286
uint16_t co2_ppm
CO2 concentration in ppm.
Definition: WeatherSensor.h:285