bluez client-server in debian

Nov 21 2013 Published under Linux

Running rfcomm server client sample program from in ubuntu/debian gives the following error:

Traceback (most recent call last):
  File "", line 9, in 
    sock.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


Comments Off

Comments are closed at this time.