AIOBLE temp_sensor.py example dies after 60 seconds #14174
-
MicroPython v1.22.2 on 2024-02-22 This low level Bluetooth code will run until I stop it. ( It has executed for greater than 15 minutes ) But when I try to run equivalent code using aioble: https://github.com/micropython/micropython-lib/blob/master/micropython/bluetooth/aioble/examples/temp_sensor.py
How can I get this AIOBLE example to run forever ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Use The default is timeout_ms=60_000 (see device.py) |
Beta Was this translation helpful? Give feedback.
Use
await self._aioble_conn.disconnected(timeout_ms=None)
The default is timeout_ms=60_000 (see device.py)