Wery slow connect and read #453
Unanswered
NikitaKozlovtcev
asked this question in
Q&A
Replies: 1 comment
-
A problem I see here is that you make a new connection each time you read a characteristic. That is bound to take a lot of time. Do connect ( |
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
-
Description
I have several BLE devices.
I read characteristc with 2 byte and it takes 10 to 30 seconds.
If i use android the speed is about 100ms
Some times BleakClient call returning Exception but err does not have a description
What I Did
I use this call
async with BleakClient(address_or_ble_device=target_mac, timeout=self.connection_timeout) as client
below is an excerpt from console output
Beta Was this translation helpful? Give feedback.
All reactions