diff options
Diffstat (limited to 'src/BLEScan.h')
-rw-r--r-- | src/BLEScan.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/BLEScan.h b/src/BLEScan.h index edf79a9..c905c43 100644 --- a/src/BLEScan.h +++ b/src/BLEScan.h @@ -48,7 +48,9 @@ private: class BLEScan { public: void setActiveScan(bool active); - void setAdvertisedDeviceCallbacks(BLEAdvertisedDeviceCallbacks* pAdvertisedDeviceCallbacks); + void setAdvertisedDeviceCallbacks( + BLEAdvertisedDeviceCallbacks* pAdvertisedDeviceCallbacks, + bool wantDuplicates = false); void setInterval(uint16_t intervalMSecs); void setWindow(uint16_t windowMSecs); BLEScanResults start(uint32_t duration); @@ -68,6 +70,7 @@ private: bool m_stopped; FreeRTOS::Semaphore m_semaphoreScanEnd = FreeRTOS::Semaphore("ScanEnd"); BLEScanResults m_scanResults; + bool m_wantDuplicates; }; // BLEScan #endif /* CONFIG_BT_ENABLED */ |