none
How to find unique ID of a Bluetooth Low Energy HID device from e.g the registry? RRS feed

  • Question

  • When pairing a Bluetooth Low Energy mouse to my Windows 8.1 laptop, I want to be able to read out a unique identifier for this mouse (writing an application for testing hardware on a BLE mouse). 

    Since our test framework is buildt in Qt, I figured I could just read some registry element to fetch an hardware ID or something, but I can't seem to find any data which doesn't change between each pairing with the same device. 

    Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\BTHLE I am able to see that a mouse has been paired and given a hardwareID of e.g BTHLE\Dev_f385b7b4df8. If I remove the device from my bluetooth settings and pair it again, the ID has increased by one: BTHLE\Dev_f385b7b4df9.

    Where in the registry can I find something that is actually unique for my device? 

    Friday, February 7, 2014 10:02 AM

All replies