Skip to content

Commit

Permalink
Now works...
Browse files Browse the repository at this point in the history
  • Loading branch information
mrichana committed Jan 8, 2024
1 parent fe4f6f5 commit 4a36cb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utility/BLEMidiClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ BLEAdvertisedDevice *BLEMidiClientClass::backgroundScan(std::string const &name,

BLEScan *pScan = BLEDevice::getScan();
pScan->setAdvertisedDeviceCallbacks(advertisedDeviceCallbacks);
pScan->setInterval(45);
pScan->setWindow(15);
pScan->setInterval(0x50);
pScan->setWindow(0x30);
pScan->setActiveScan(true);
pScan->start(0, false);
pScan->start(0, nullptr, false);
return NULL;
}

Expand Down

0 comments on commit 4a36cb5

Please sign in to comment.