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.
1 parent 4d32a61 commit 38132c7Copy full SHA for 38132c7
src/frame_sdk/bluetooth.py
@@ -218,6 +218,9 @@ async def connect(
218
219
try:
220
await self._btle_client.connect()
221
+ # Workaround to acquire MTU size because Bleak doesn't do it automatically when using BlueZ backend
222
+ if self._btle_client._backend.__class__.__name__ == "BleakClientBlueZDBus":
223
+ await self._btle_client._backend._acquire_mtu()
224
225
await self._btle_client.start_notify(
226
self._RX_CHARACTERISTIC_UUID,
0 commit comments