我只是想在https://code.google.com/p/pybluez/source/browse/trunk/examples/simple/rfcomm-server.py上运行RFCOMM服务器示例
$ python2 rfcomm-server.py
Traceback (most recent call last):
File "rfcomm-server.py", line 20, in <module>
profiles = [ SERIAL_PORT_PROFILE ],
File "/usr/lib/python2.7/site-packages/bluetooth/bluez.py", line 176, in advertise_service
raise BluetoothError (str (e))
bluetooth.btcommon.BluetoothError: (2, 'No such file or directory')
Run Code Online (Sandbox Code Playgroud)
我收到了这个错误.我的代码正在使用Windows,但我无法使用Ubuntu 15.10.
bluetooth ×1