|
ESPHome 2026.8.0b4
|
Per-scan-period "Found device" DEBUG logger, deduplicated by MAC address. More...
#include <ble_device.h>
Public Member Functions | |
| void | log_device (const char *tag, const ESPBTDevice &device) |
| Log the device at DEBUG the first time its MAC is seen this scan period. | |
| void | clear () |
| Reset the per-period dedup list (call when a scan period ends). | |
Protected Attributes | |
| std::vector< uint64_t > | already_discovered_ |
Per-scan-period "Found device" DEBUG logger, deduplicated by MAC address.
Shared by all tracker backends so the output format and dedup behaviour stay identical by construction (single implementation instead of per-chip copies).
Definition at line 269 of file ble_device.h.
|
inline |
Reset the per-period dedup list (call when a scan period ends).
Definition at line 274 of file ble_device.h.
| void esphome::ble_device_base::DiscoveredDeviceLog::log_device | ( | const char * | tag, |
| const ESPBTDevice & | device ) |
Log the device at DEBUG the first time its MAC is seen this scan period.
Definition at line 573 of file ble_device.cpp.
|
protected |
Definition at line 277 of file ble_device.h.