Replies: 1 comment 3 replies
-
Bleak can't tell a peripheral how often to send advertising data. Opening and closing the file in the detection callback is probably hurting performance.
Tip, a more efficient way to wait forever is: event = asyncio.Event()
await event.wait() |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
bluetoothctl -v
) in case of Linux:Description
i'm using bleak to just recover distance every 50ms in fact the recovery is in 200ms or more.
the distance is between two shields NXP.
What I Did
i did a script to just display the real distance like this
Logs
every 200ms there is a new distance but i want iin every 50ms
Beta Was this translation helpful? Give feedback.
All reactions