Ryan Powell

Results 894 comments of Ryan Powell

This works as intended by adding `pServer->start();` after `ArduinoBleOTA.begin`

Thanks, I'll try to reproduce this.

This may be an issue with the underlying nimble core. I'll have a look into it when I can.

How long do these devices advertise for? It could be that the scan has ended while the device is advertising.

Closing as I believe @mp-se has answered this.

Oops missed this. But for anyone else finding it there is no 2902 descriptor class because it's function is handled by the stack/library.

Closing this issue as resolved by adding `NimBLEHIDDevice::batteryLevel()->notify()` after calling `NimBLEHIDDevice::setBatteryLevel()`.

In this library the 2902 is automatic when the characteristic has the notification property. You need to delete those 3 lines.

That's is not what the 2902 descriptor is for, it's only for setting the client notification subscription status. You'll want to use some other method to achieve what you are...

This would require skipping the GATT layer and going to l2cap. This is possible but probably not something many would be familiar with. When the PR at esp-nimble-cpp is ready...