ソースを参照

getData remove timeout

marek 1 ヶ月 前
コミット
b0cfce7b35
1 ファイル変更1 行追加1 行削除
  1. 1 1
      apps/getData.py

+ 1 - 1
apps/getData.py

@@ -59,7 +59,7 @@ async def ble_task():
         await asyncio.sleep(2)
 
         try:
-            async with BleakClient(device, timeout=60.0) as client:
+            async with BleakClient(device) as client:
                 outdoorConnected = 1
                 print(f"connected to {outdoorName}")