ESPHome  2024.3.2
airthings_wave_mini.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef USE_ESP32
4 
6 
7 namespace esphome {
8 namespace airthings_wave_mini {
9 
11 
12 static const char *const SERVICE_UUID = "b42e3882-ade7-11e4-89d3-123b93f75cba";
13 static const char *const CHARACTERISTIC_UUID = "b42e3b98-ade7-11e4-89d3-123b93f75cba";
14 static const char *const ACCESS_CONTROL_POINT_CHARACTERISTIC_UUID = "b42e3ef4-ade7-11e4-89d3-123b93f75cba";
15 
17  public:
19 
20  void dump_config() override;
21 
22  protected:
23  void read_sensors(uint8_t *raw_value, uint16_t value_len) override;
24 
26  uint16_t unused01;
27  uint16_t temperature;
28  uint16_t pressure;
29  uint16_t humidity;
30  uint16_t voc;
31  uint16_t unused02;
32  uint32_t unused03;
33  uint32_t unused04;
34  };
35 };
36 
37 } // namespace airthings_wave_mini
38 } // namespace esphome
39 
40 #endif // USE_ESP32
void read_sensors(uint8_t *raw_value, uint16_t value_len) override
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7