Bluetooth: Associate connectable setting with adv type
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Bluetooth: Make Set Connectable also update the LE advertising typenet/ | +30 | 0 replies | |
| 2/4 | Bluetooth: Move set_bredr_scan() to avoid forward declarationnet/ | +20 | 0 replies | |
| 3/4 | Bluetooth: Fix updating scan mode in set_bredr()net/ | +5 | 0 replies | |
| 4/4 | Bluetooth: Convert Set Discoverable to use an asynchronous requestnet/ | +54 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Bluetooth: Associate connectable setting with adv type
Hi,
Here's a rewritten patch set to allow associating the connectable setting with the advertising type. Unlike the first attempt this one doesn't introduce a new parameter to enable_advertising() but instead does a pending mgmt command lookup to help determine the right advertising type.
There's also a fourth patch to do similar refactoring for set_discoverable as we did for set_connectable wrt. splitting raw HCI sockets from mgmt control, but I didn't quite get around to tying that to the advertising data yet (the general discoverable flag).
Johan
----------------------------------------------------------------
Johan Hedberg (4):
Bluetooth: Make Set Connectable also update the LE advertising type
Bluetooth: Move set_bredr_scan() to avoid forward declaration
Bluetooth: Fix updating scan mode in set_bredr()
Bluetooth: Convert Set Discoverable to use an asynchronous request
net/bluetooth/mgmt.c | 144 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 109 insertions(+), 35 deletions(-)