bluez client-server in debian
Running rfcomm server client sample program from
http://people.csail.mit.edu/albert/bluez-intro/x232.html in ubuntu/debian gives the following error:
Traceback (most recent call last): File "rfcomm-client.py", line 9, insock.connect((bd_addr, port)) File " ", line 5, in connect bluetooth.btcommon.BluetoothError: (115, 'Operation now in progress')
This turns out to be problem with bluez default settings in ubuntu/debian. To fix this, edit /etc/bluetooth/main.conf, add:
DisablePlugins = pnat
ref:
http://stackoverflow.com/questions/14618277/rfcomm-without-pairing-using-pybluez-on-debian
Comments Off