]> granicus.if.org Git - python/commit
bpo-36590: Add Bluetooth RFCOMM and support for Windows. (GH-12767)
authorGreg Bowser <topnotcher@gmail.com>
Fri, 2 Aug 2019 20:29:52 +0000 (16:29 -0400)
committerSteve Dower <steve.dower@python.org>
Fri, 2 Aug 2019 20:29:52 +0000 (13:29 -0700)
commit8fbece135d7615e836a845ca39223097046c8b8b
tree1fa62c02a29b7aa27de4a2d495c4358dc9c4693a
parentcb65b3a4f484ce71dcb76a918af98c7015513025
bpo-36590: Add Bluetooth RFCOMM and support for Windows. (GH-12767)

Support for RFCOMM, L2CAP, HCI, SCO is based on the BTPROTO_* macros
being defined. Winsock only supports RFCOMM, even though it has a
BTHPROTO_L2CAP macro. L2CAP support would build on windows, but not
necessarily work.

This also adds some basic unittests for constants (all of which existed
prior to this commit, just not on windows) and creating sockets.

pair: Nate Duarte <slacknate@gmail.com>
Lib/test/test_socket.py
Misc/NEWS.d/next/Windows/2019-04-10-21-13-26.bpo-36590.ZTaKcu.rst [new file with mode: 0644]
Modules/socketmodule.c [changed mode: 0644->0755]
Modules/socketmodule.h [changed mode: 0644->0755]