|
ESPHome 2026.8.0b4
|
Subscriber slot for scanner-state transitions; same shape as RawAdvertisementCallback, delivered on the ESPHome main loop. More...
#include <ble_hub.h>
Public Member Functions | |
| bool | is_set () const |
| void | invoke (ScannerState state) const |
Data Fields | |
| void * | instance {nullptr} |
| void(* | fn )(void *instance, ScannerState state) |
Subscriber slot for scanner-state transitions; same shape as RawAdvertisementCallback, delivered on the ESPHome main loop.
Only hubs that push provide the setter; consumers of the rest poll scan_running().
|
inline |
|
inline |
|
inline |
| void* esphome::ble_device_base::ScannerStateCallback::instance {nullptr} |