[issue7834] socket.connect() no longer works with AF_BLUETOOTH L2CAP sockets

Yaniv Aknin report at bugs.python.org
Wed Apr 7 13:12:25 CEST 2010


Yaniv Aknin <yaniv.aknin at gmail.com> added the comment:

I've zero experience with programming bluetooth (to be honest, I only tackled this bug because I'm learning how to contribute to Python and it seemed ultra-easy), so I'm not an authoritative source on whether such a 'loopback' test is possible.

On #bluez in freenode I was told that generally no, there is no 'localhost' for BT sockets, and that a while ago there was a bluetooth emulation tool called 'hciemu' which is no longer maintained.

I'm attaching the patch (it's just a oneliner), it passes regression though obviously isn't really tested by it... I suggest Mathew will try the patch out and see if it helps; we can decide how to proceed from there.

----------
keywords: +patch
Added file: http://bugs.python.org/file16799/zero_l2cap_addr_struct.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7834>
_______________________________________


More information about the Python-bugs-list mailing list