windows: Get Bluetooth device Model Number String instead of Device Name into product string #500
No reviewers
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!500
Loading…
Reference in a new issue
No description provided.
Delete branch "ble_better_product_string"
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?
Use
Device Nameonly ifModel Number Stringis not available. This should better match what we have inUSB_DEVICE_DESCRIPTOR.iProductSee Bluetooth Device Information Service spec for more info.
@ -409,32 +409,46 @@ static void* hid_internal_get_device_interface_property(const wchar_t* interfacereturn property_value;I'm not a fan of this early return here
let's avoid it and have the read of
DEVPKEY_NAMEunder anifNo more comments, thanks
@DJm00n please check if I accidentally didn't break anything. I don't have an actual BLE device to check this.
@Youw looks good. thanks