deviceplug / btleplug

Rust Cross-Platform Host-Side Bluetooth LE Access Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discover_services() can return different (and less) results when called multiple times on windows.

qdot opened this issue · comments

commented

Describe the bug

  1. On windows 10, connect to a device and call discover_services()
  2. Without touching any characteristics, call discover_services() again fairly soon after on the same device

Expected behavior
Nothing should change.

Actual behavior
At least on one device (Satisfyer Curvy 2+), the first call enumerates everything, then the second call loses a bunch of characteristics.