Bluetooth: Add support for Not Connectable flag for Device Found events
Subsystems (2)
Marcel Holtmann
maintainerPATCH 1/1 Bluetooth: Add support for Not Connectable flag for Device Found events
The Device Found events of the management interface should indicate if it is possible to connect to a remote device or if it is broadcaster only advertising. To allow this differentation the Not Connectable flag is introduced that will be set when it is known that a device can not be connected.
Signed-off-by Marcel Holtmann <[email protected]>
--- include/net/bluetooth/hci_core.h | 1 + net/bluetooth/hci_event.c | 42 +++++++++++++++++++++++++++++++--------- 2 files changed, 34 insertions(+), 9 deletions(-)
include/net/bluetooth/hci_core.h +1 -0
@@ -71,6 +71,7 @@ struct discovery_state {bdaddr_t last_adv_addr;u8 last_adv_addr_type;s8 last_adv_rssi; +u32 last_adv_flags;u8 last_adv_data[HCI_MAX_AD_LENGTH ];u8 last_adv_data_len; };
net/bluetooth/hci_event.c +33 -9
106 lines not on this page · raw message
Signature · 1 line
1.9.3