Replies: 2 comments
-
Bleak does not support calling |
Beta Was this translation helpful? Give feedback.
0 replies
-
Tank you very much for your quick answer.
…________________________________
From: David Lechner ***@***.***>
Sent: Monday, September 30, 2024 3:53:45 PM
To: hbldh/bleak ***@***.***>
Cc: ThomasJF ***@***.***>; Manual ***@***.***>
Subject: Re: [hbldh/bleak] DBus.Error.AccessDenied (Issue #1647)
Bleak does not support calling asyncio.run() multiple times. Please rewrite your thread to only call that once so that the asyncio event loop is always running for the entire lifetime of your application.
—
Reply to this email directly, view it on GitHub<#1647 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEE4US3H4ZQ4MX4XUKUNLBTZZFJWTAVCNFSM6AAAAABPC7KXP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBTGI3DGMZRHE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Error Message:
python bluetooth org.freedesktop.DBus.Error.AccessDenied] Client tried to send a message other than Hello without being registered
Here is what I do:
The thread is an endless Loop. When "Start" is set, it does on cycle of work and then hangs around agin pinging the device.
Now this works for a long time (hours), but at a certain time the program starts to display the error message:
"Client tried to send a message other than Hello without being registered".
So far I did not find out when and under what condition the code stops working.
When I kill the program and restart it, the thing works again.
Any clue what goes on? Thank you.
Thomas
Beta Was this translation helpful? Give feedback.
All reactions