Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot enumerate bluetooth devices on Windows #440

Open
linjingxiong opened this issue Aug 30, 2019 · 2 comments
Open

Cannot enumerate bluetooth devices on Windows #440

linjingxiong opened this issue Aug 30, 2019 · 2 comments

Comments

@linjingxiong
Copy link

Hi:
Thanks for such great project. Recently, I am using hidapi to test my bluetooth. On Ubuntu, I can communicate with my bluetooth devices when I link myproject with libhidapi_hidraw.so, things go well. But when i turn to windows, something goes wrong, I have compiled hiapi.lib && hidapi.dll successfully, and i run the application hid-test, but none of my bluetooth found. Is hidapi support bluetooth on windows? Or what can cause this issue ?

@Qbicz
Copy link

Qbicz commented Oct 18, 2019

Hi,

This is a question of support for Bluetooth devices on Windows.

  1. Is it Bluetooth Low Energy or Bluetooth Classic? Bluetooth Low Energy is only supported on Windows 8 and Windows 10.
  2. Is your BT device paired with computer? You can access HID only on paired Bluetooth devices. You need to first scan from computer, connect and pair, than you can run hidapi test program.

@Qbicz
Copy link

Qbicz commented Oct 18, 2019

Also, this project is abandoned. Please check https://github.com/libusb/hidapi which is actively maintained.

Megamouse pushed a commit to RPCS3/hidapi that referenced this issue Jan 6, 2023
…11#440)

Avoid infinite reading from the device if the device doesn't send any interrupt reports.
Otherwise hidtest has to be stopped by Ctrl+C interruption, which doesn't give a chance to close the device properly,
as a result this has negative side-effects when using LIBUSB backed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants