enable active ble scan mode
This commit is contained in:
@@ -32,6 +32,7 @@ void Scanner::initialize(const std::string& deviceName, const bool wantDuplicate
|
|||||||
bleScan->setAdvertisedDeviceCallbacks(this, wantDuplicates);
|
bleScan->setAdvertisedDeviceCallbacks(this, wantDuplicates);
|
||||||
bleScan->setInterval(interval);
|
bleScan->setInterval(interval);
|
||||||
bleScan->setWindow(window);
|
bleScan->setWindow(window);
|
||||||
|
bleScan->setActiveScan(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Scanner::update() {
|
void Scanner::update() {
|
||||||
|
|||||||
Reference in New Issue
Block a user