ESPHome  2024.10.2
exposure_notifications.h
Go to the documentation of this file.
1 #pragma once
2 
6 #include <array>
7 
8 #ifdef USE_ESP32
9 
10 namespace esphome {
11 namespace exposure_notifications {
12 
14  std::array<uint8_t, 6> address;
15  int rssi;
16  std::array<uint8_t, 16> rolling_proximity_identifier;
17  std::array<uint8_t, 4> associated_encrypted_metadata;
18 };
19 
20 class ExposureNotificationTrigger : public Trigger<ExposureNotification>,
22  public:
23  bool parse_device(const esp32_ble_tracker::ESPBTDevice &device) override;
24 };
25 
26 } // namespace exposure_notifications
27 } // namespace esphome
28 
29 #endif
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7