[issue36132] Python cannot access hci_channel field in sockaddr_hci

2019-07-09 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue36132] Python cannot access hci_channel field in sockaddr_hci

2019-07-04 Thread Barry Byford
Barry Byford added the comment: I was looking to control Bluetooth on Linux machines using the BlueZ Management API available at: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/mgmt-api.txt The Bluetooth management sockets can be created by setting the hci_channel member of struc

[issue36132] Python cannot access hci_channel field in sockaddr_hci

2019-02-27 Thread Andrew P. Lentvorski, Jr.
Andrew P. Lentvorski, Jr. added the comment: It's up to you how you folks want to deal with this, but classifying it as a "bug" for those versions in bugfix is likely acceptable. You already have to call bind with a tuple, so as long as it is *optional* to add an extra field to that tuple (a

[issue36132] Python cannot access hci_channel field in sockaddr_hci

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you, I have changed the related versions of Python to 3.8 because it's a new feature and the other releases are in security mode or bugfix mode. -- nosy: +matrixise versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___

[issue36132] Python cannot access hci_channel field in sockaddr_hci

2019-02-27 Thread Andrew P. Lentvorski, Jr.
New submission from Andrew P. Lentvorski, Jr. : On Linux, sockaddr_hci is: struct sockaddr_hci { sa_family_t hci_family; unsigned short hci_dev; unsigned short hci_channel; }; Unfortunately, it seems like python does not allow any way to initialize hci_channel, s