The Bluetooth device serial number is the GAP address. #757
Labels
No labels
3rdparty
Android
API
Author does not respond
bsd
bug
build system/CI
ci-virtual-device
CMake
Contributions Welcome
Core
dependencies
device-specific
documentation
don't_merge
duplicate
enhancement
Example
Haiku
hidraw
hotplug
info required
invalid
libusb
macOS
Misc
Not an issue
question
Release
Test
Test GUI
Windows
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libusb/hidapi#757
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I used hidapi on Windows to enumerate Bluetooth HID devices and found that the serial number of the Bluetooth HID device is the Bluetooth GAP address, not the actual serial number.
Have you check with other platforms like Linux or macOS?
@HaiMianBBao
Please also provide more details of the device, thanks. Is it plain Bluetooth device or BLE device?
I am very sorry, but I am unable to conduct tests on macOS and Linux systems. My device is a BLE HID device, and I can see the serial number using the nRF Connect app on my iPhone. However, the serial number enumerated by HIDAPI is the Bluetooth GAP address.
Is it related to this piece of code?
Yes, it seem so.
If you can suggest a correct way of getting the SN for BLE device that would be very helpful, thanks.