adafruit / adafruit-bluefruit-le-desktop

Desktop application to interact with Bluefruit LE and other Bluetooth low energy devices on Mac OSX, Windows, and Linux.
Other
138 stars 35 forks source link

Handle no BLE adapter exception on windows #7

Open tdicola opened 9 years ago

tdicola commented 9 years ago

Noble throws an error when no BLE adapter is present on windows. Catch this and display the loading error page.

image

d3drturner commented 8 years ago

I get this error on windows 10 yet it claims to be connected image

swstack commented 8 years ago

@d3drturner did you install WinUSB drivers using the Zadig tool?

d3drturner commented 8 years ago

No, I installed the driver from here: https://www.adafruit.com/product/2661 called PJRC CDC serial. Not sure why I'd need another driver. I can connect fine with arduino gui and VS 2015.

tdicola commented 8 years ago

Yeah you need to also install a libusb driver using Zadig tool, check out the steps here: https://github.com/adafruit/adafruit-bluefruit-le-desktop#windows The issue is the noble library works around the spotty BLE support in Windows (mostly for older versions like Win 7) by talking directly to a USB BLE adapter. In order to talk to the USB BLE adapter at a low level it has to be setup to use the libusb driver though, so make sure you're using the CSR8510 dongle and have used Zadig tool to assign it a libusb driver. It's kind of a weird setup but only has to be done once for that device. Thanks!