hidapi icon indicating copy to clipboard operation
hidapi copied to clipboard

Cannot enumerate bluetooth devices on Windows

Open linjingxiong opened this issue 6 years ago • 2 comments

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 ?

linjingxiong avatar Aug 30 '19 01:08 linjingxiong

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 avatar Oct 18 '19 07:10 Qbicz

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

Qbicz avatar Oct 18 '19 07:10 Qbicz