This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: no support for Bluetooth LE in socket
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Tim.Tisdall
Priority: normal Keywords:

Created on 2015-09-10 13:51 by Tim.Tisdall, last changed 2022-04-11 14:58 by admin.

Messages (1)
msg250376 - (view) Author: Tim Tisdall (Tim.Tisdall) * Date: 2015-09-10 13:51
When Bluetooth LE support was added to Bluez they expanded sockaddr_l2 (the struct for making L2CAP connections) to include a l2_bdaddr_type.  Since the existing code initializes the struct with 0's the type is set to regular Bluetooth (BDADDR_BREDR).  An additional optional argument is needed to allow it to also be set to BDADDR_LE_PUBLIC or BDADDR_LE_RANDOM which indicate it's a LE connection to be made.
History
Date User Action Args
2022-04-11 14:58:20adminsetgithub: 69242
2015-09-10 13:51:56Tim.Tisdallcreate