Comment 38 for bug 872044

Revision history for this message
dAnjou (danjou) wrote :

This bug has probably nothing to do with GNOME. I tried to use the Bluetooth Chat sample from Android ( http://developer.android.com/resources/samples/BluetoothChat/index.html ) with the little code snippet in the attachment and I get this (MAC disguised by me):

max@XV88:~/Projekte/python$ python bt_spam_server.py
Searching ...
connecting to "BluetoothChat" on 3C:5A:37:XX:XX:XX
Traceback (most recent call last):
  File "bt_spam_server.py", line 39, in <module>
    sock.connect((host, port))
  File "<string>", line 5, in connect
bluetooth.btcommon.BluetoothError: (13, 'Permission denied')
max@XV88:~/Projekte/python$

I tested it on a Natty machine too and it worked perfectly.

(Credits for the snippet go to http://www.humbug.in/2010/sample-bluetooth-rfcomm-client-app-in-python/ )