Skip to content

Conversation

@janvrany
Copy link

This pull request simplifies the code by running everything in single asyncio loop. This is possible since recent bleak also supports macOS and Windows. This code depends on earlier PR #5 by @dlech .

dlech and others added 4 commits January 6, 2020 22:52
bleak now has macOS support, so we don't need the separate
Adafriut library for macOS.
This allows to run BLEAK interface in the same loop as
hubs, which makes it simpler.
Since both the hub and BLEAK is running within the same asyncio loop,
we can call BLEAK APIs directly within hub control flow.
Since both user-code and Bluetooth handling code runs in the
same asyncio loop, we can communicate directly and not through
the queue.
@janvrany janvrany mentioned this pull request Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants