Skip to content

Commit

Permalink
Set ScanResponse to off so the advertising will actually advertise th…
Browse files Browse the repository at this point in the history
…e name
  • Loading branch information
aovestdipaperino committed Oct 19, 2020
1 parent 07e4bda commit f7d6f3f
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

1 comment on commit f7d6f3f

@lemmingDev
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I update the BLE Gamepad with this?

Please sign in to comment.