kopia lustrzana https://github.com/micropython/micropython-lib
bluetooth/aioble/examples/temp_sensor.py: Sets timeout to none.
Signed-off-by: Stephen More <stephen.more@gmail.com>
rodzic
133161368e
commit
cb89e335eb
|
@ -55,7 +55,7 @@ async def peripheral_task():
|
|||
appearance=_ADV_APPEARANCE_GENERIC_THERMOMETER,
|
||||
) as connection:
|
||||
print("Connection from", connection.device)
|
||||
await connection.disconnected()
|
||||
await connection.disconnected(timeout_ms=None)
|
||||
|
||||
|
||||
# Run both tasks.
|
||||
|
|
Ładowanie…
Reference in New Issue