![]() Control Channel bluetoothHciSocket.bindControl() Is Device Up Requires the device to be in the powered down state ( sudo hciconfig hciX down). Install npm install bluetooth-hci-socket Usage var BluetoothHciSocket = require('bluetooth-hci-socket') Actions Create var bluetoothHciSocket = new BluetoothHciSocket() Set Filter var filter = new Buffer(14) ītFilter(filter) Bind Raw Channel bluetoothHciSocket.bindRaw() // optional deviceId (integer) User Channel bluetoothHciSocket.bindUser() // optional deviceId (integer) WARNING: This will make the adapter unavailable in Windows Bluetooth settings! To roll back to the original driver go to: Device Manager -> Open Device -> Update Driver Compatible Bluetooth 4.0 USB Adapter's Name ![]() This library needs raw USB access to a Bluetooth 4.0 USB adapter, as it needs to bypass the Windows Bluetooth stack.Ī WinUSB driver is required, use Zadig tool to replace the driver for your adapter. ![]() Installing libudev-dev via your Linux distribution's package manager will resolve the problem. Note: the node-usb dependency might fail install, this is ok, because it is an optional optional dependency. NOTE: Currently only supports Linux and Windows.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |