You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After bleak connects to Nordic device, trigger disconnecting from Nordic device.
Exception occurred
D:\BlePyCmd>python3 main.py
Waiting connecting to ANCS2
E8:20:9F:75:90:08
manual
Q. Quit
Enter an option: Device was disconnected, goodbye.
Exception in thread Thread-1 (_thread_function):
Traceback (most recent call last):
File "D:\BlePyCmd\main.py", line 97, in _run_uart
await asyncio.sleep(0.01)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\tasks.py", line 605, in sleep
return await future
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "D:\BlePyCmd\main.py", line 149, in _thread_function
loop.run_until_complete(_run_uart(bt_mac_address, loop))
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
asyncio.exceptions.CancelledError
This discussion was converted from issue #936 on August 12, 2022 16:16.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
D:\BlePyCmd>python3 main.py
Waiting connecting to ANCS2
E8:20:9F:75:90:08
manual
Q. Quit
Enter an option: Device was disconnected, goodbye.
Exception in thread Thread-1 (_thread_function):
Traceback (most recent call last):
File "D:\BlePyCmd\main.py", line 97, in _run_uart
await asyncio.sleep(0.01)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\tasks.py", line 605, in sleep
return await future
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "D:\BlePyCmd\main.py", line 149, in _thread_function
loop.run_until_complete(_run_uart(bt_mac_address, loop))
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
asyncio.exceptions.CancelledError
Beta Was this translation helpful? Give feedback.
All reactions