Skip to content

Commit

Permalink
Merge pull request #49 from aovestdipaperino/master
Browse files Browse the repository at this point in the history
Set ScanResponse to off so the advertising will actually advertise...
  • Loading branch information
T-vK authored Oct 20, 2020
2 parents 07e4bda + f7d6f3f commit 92a056a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BleKeyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ void BleKeyboard::taskServer(void* pvParameter) {
BLEAdvertising *pAdvertising = pServer->getAdvertising();
pAdvertising->setAppearance(HID_KEYBOARD);
pAdvertising->addServiceUUID(bleKeyboardInstance->hid->hidService()->getUUID());
pAdvertising->setScanResponse(false);
pAdvertising->start();
bleKeyboardInstance->hid->setBatteryLevel(bleKeyboardInstance->batteryLevel);

Expand Down

0 comments on commit 92a056a

Please sign in to comment.