xref: /btstack/port/windows-winusb/README.md (revision c32dba203d4af5ccae95e4d7b5aa9cabd63fc4ec)
1# BTstack port for Windows Systems using the WinUSB Driver
2
3The Windows-WinUSB port uses the native run loop and WinUSB API to access a USB Bluetooth dongle.
4
5To allow libusb or WinUSB to access an USB Bluetooth dongle, you need to install a special device driver to make it accessible to user space processes.
6
7It works like this:
8-  Download [Zadig](http://zadig.akeo.ie)
9-  Start Zadig
10-  Select Options -> “List all devices”
11-  Select USB Bluetooth dongle in the big pull down list
12-  Select WinUSB (libusb) in the right pull pull down list
13-  Select “Replace Driver”
14
15When running the examples in the MSYS2 shell, the console input (via btstack_stdin_support) doesn't work. It works in the older MSYS and also the regular CMD.exe environment. Another option is to install WinPTY and then start the example via WinPTY like this:
16
17    $ winpty ./hfp_hf_demo.exe
18
19