Skip to content
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

Cannot discover ble devices on macOS Monterey. #765

Closed
94929 opened this issue Feb 15, 2022 · 1 comment
Closed

Cannot discover ble devices on macOS Monterey. #765

94929 opened this issue Feb 15, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@94929
Copy link

94929 commented Feb 15, 2022

  • bleak version: 1.13.0
  • Python version: 3.7.11
  • Operating System: macOS Monterey

Description

Trying to list all BLE devices using https://github.com/hbldh/bleak/blob/develop/examples/discover.py and had no luck.

What I Did

Ran the python script below:

import asyncio
from bleak import discover

async def main():
    devices = await discover()
    for d in devices:
        print(d)

if __name__ == "__main__":
    asyncio.run(main())

And nothing has been printed out.

I'm curious if anyone else facing a similar issue in macOS Monterey?

Thanks in advance.

@dlech
Copy link
Collaborator

dlech commented Feb 15, 2022

If you update to Bleak 0.14.x, there will be an error message logged explaining the issue. Duplicate of #635 and #720.

@dlech dlech closed this as completed Feb 15, 2022
@dlech dlech added the duplicate This issue or pull request already exists label Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants