Issue 25056: no support for Bluetooth LE in socket (original) (raw)

Issue25056

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:20 admin set github: 69242
2015-09-10 13:51:56 Tim.Tisdall create