-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
Description
This code
const bluetooth = new Bluetooth({ deviceFound });
const device = await bluetooth.getDevices();
returns an empty list and this message in the console
[INFO] SimpleBLE: D:\a\webbluetooth\webbluetooth\SimpleBLE\simpleble\src\backends\windows\Utils.cpp:33 in initialize_winrt: CoGetApartmentType: cotype=-1, qualifier=0, result=800401F0
[INFO] SimpleBLE: D:\a\webbluetooth\webbluetooth\SimpleBLE\simpleble\src\backends\windows\Utils.cpp:41 in initialize_winrt: RoInitialize: result=0
The PC runs Windows 11 and has a built in Bluetooth adapter
Any ideas how to fix?
Thank you