-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bluetooth discovery doesn't work on macOS Monterey #224
Comments
I've confirmed this is still an issue in MacOS 12.1. I tried to pass a UUID to let scan_filter = ScanFilter{services: vec!(uuid_from_u16(0xFDCE))}; Of course I could have done that way wrong as this is my first time doing anything with bluetooth in my life, but decided to add this here in case someone stumbles upon a working solution using |
afaik we don't actually use the scanfilter for anything but WebBluetooth right now. We'll need to add it to macOS support I think. |
FYI, based on hbldh/bleak#720 (comment) I gave it a try by creating a signing certificate via key chain / create self-signed code signing cert Then: codesign -f -o runtime --timestamp -s "Signing Certificate Name" Bundle.app And then it works fine! |
This seems to work again in macOS Monterey 12.3. |
This works fine on Monterey and is being distributed as part of programs now, closing. |
Describe the bug
Bluetooth discovery doesn't work on MacOS Monterey
Expected behavior
Scanning does discover devices.
Actual behavior
Scanning doesn't discover any devices.
Additional context
Running on macOS Monterey. Tested using few terminal emulators, permissions are granted. It works on macOS Big Sur. Probably related to hbldh/bleak#635 and https://stackoverflow.com/questions/69661809/no-name-or-address-cbcentralmanager-no-longer-working-on-macos-12
The text was updated successfully, but these errors were encountered: