pvdao / pybluez

Automatically exported from code.google.com/p/pybluez
GNU General Public License v2.0
0 stars 0 forks source link

L2CAP: Failed to assign PSM 4097 #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Windows 7 + Belkin broadcom mini BT + Widcomm 6.0.1.6300
2. import bluetooth
3. sock = bluetooth.BluetoothSocket( bluetooth.L2CAP )
4. sock.connect(("00:50:xx:xx:xx:xx", 0x1001 ))
error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "c:\Python26\lib\site-packages\bluetooth\widcomm.py", line 652, in l2cap_connect
    raise BluetoothError ("Failed to assign PSM %d" % port)
bluetooth.btcommon.BluetoothError: Failed to assign PSM 4097

What is the expected output? What do you see instead?
On Ubuntu/Mac OSX, this opens an L2CAP connection to port 0x1001

What version of the product are you using? On what operating system?
Windows 7 + Belkin broadcom mini BT + Widcomm 6.0.1.6300 + python 2.6 + pybluez 
0.18

Please provide any additional information below.
Any feedback would be helpful. Unfortunately I don't have access to the 
receiving unit, so I'm stuck trying to connect on this port.

Original issue reported on code.google.com by e...@pebble.com on 5 Feb 2011 at 1:27

GoogleCodeExporter commented 8 years ago
It looks like same issue - new version of Widcomm stack.

Original comment by karu...@wp.pl on 10 Feb 2015 at 10:47