enable active ble scan mode

This commit is contained in:
technyon
2024-06-15 18:36:53 +02:00
parent 3177752c3b
commit 386b8fa9e3

View File

@@ -32,6 +32,7 @@ void Scanner::initialize(const std::string& deviceName, const bool wantDuplicate
bleScan->setAdvertisedDeviceCallbacks(this, wantDuplicates);
bleScan->setInterval(interval);
bleScan->setWindow(window);
bleScan->setActiveScan(true);
}
void Scanner::update() {