BLE Active Exception problem
Posted: Sat Feb 29, 2020 5:51 pm
I have been reinstalled Windows 10 (build 1909), and installed the lastest version of VS Code with RT-Thread plugin, I'm facing a new issue, when I paste the code to repl it will cause exception
It looks like serial problem, is there any one got this issue?
Code: Select all
paste mode; Ctrl-C to cancel, Ctrl-D to finish
=== import ubluetooth as bt
=== ble=bt.BLE()
=== ble.active(True)
Exception in thread REPL_serial_to_stdout:
Traceback (most recent call last):
File "threading.py", line 926, in _bootstrap_inner
File "threading.py", line 870, in run
File "cli.py", line 479, in repl_serial_to_stdout
File "site-packages\serial\serialutil.py", line 590, in inWaiting
File "site-packages\serial\serialwin32.py", line 257, in in_waiting
serial.serialutil.SerialException: ClearCommError failed (PermissionError(13, 'Access Denied
。', None, 5))