You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bleaks API is based on async functions which makes it difficult to use from non async function. Please add an example where a non async main reads and print a value from a device.
In my case, the non async caller is a callback from a GUI framework which must be non async.
The text was updated successfully, but these errors were encountered:
Calling async code from non-async is outside of the scope of bleak and not a use case we want to spend time supporting. If you don't want to use asyncio, you should probably consider using a different library, for example, https://github.com/OpenBluetoothToolbox/SimpleBLE looks promising.
Bleaks API is based on async functions which makes it difficult to use from non async function. Please add an example where a non async main reads and print a value from a device.
In my case, the non async caller is a callback from a GUI framework which must be non async.
The text was updated successfully, but these errors were encountered: