We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ddcd27e + 9b8b097 commit db36ebaCopy full SHA for db36eba
src/frame_sdk/bluetooth.py
@@ -234,6 +234,10 @@ async def connect(
234
self._TX_CHARACTERISTIC_UUID,
235
)
236
237
+ client_name = self._btle_client._backend.__class__.__name__
238
+ if client_name == "BleakClientBlueZDBus":
239
+ await self._btle_client._backend._acquire_mtu()
240
+
241
async def disconnect(self) -> None:
242
"""
243
Disconnects from the device.
@@ -430,4 +434,4 @@ async def send_break_signal(self) -> None:
430
434
431
435
if not self.is_connected():
432
436
await self.connect()
433
- await self._transmit(bytearray(b"\x03"))
437
+ await self._transmit(bytearray(b"\x03"))
0 commit comments