[bt][gap] Initiate auto-connect on undirected advertisements
We now process both directed and undirected connectable advertisements when deciding to auto-connect to a bonded peer. This is consistent with the "Auto Connection Establishment Procedure" behavior described in v5.1 Vol 3, Part C, 9.3.5.1. Bug: BT-800 #done Test: 1. bt-host-unittests 2. Auto-connecting to a Microsoft Designer Mouse should succeed all the time. Change-Id: Ied65930588085ff48eb8b15af7f82decd7954ad8
Showing
- src/connectivity/bluetooth/core/bt-host/gap/adapter.cc 7 additions, 2 deletionssrc/connectivity/bluetooth/core/bt-host/gap/adapter.cc
- src/connectivity/bluetooth/core/bt-host/gap/low_energy_discovery_manager.cc 14 additions, 10 deletions...luetooth/core/bt-host/gap/low_energy_discovery_manager.cc
- src/connectivity/bluetooth/core/bt-host/gap/low_energy_discovery_manager.h 10 additions, 6 deletions...bluetooth/core/bt-host/gap/low_energy_discovery_manager.h
- src/connectivity/bluetooth/core/bt-host/gap/low_energy_discovery_manager_unittest.cc 32 additions, 22 deletions...core/bt-host/gap/low_energy_discovery_manager_unittest.cc
- src/connectivity/bluetooth/core/bt-host/hci/legacy_low_energy_scanner.cc 2 additions, 0 deletions...y/bluetooth/core/bt-host/hci/legacy_low_energy_scanner.cc
- src/connectivity/bluetooth/core/bt-host/testing/fake_controller.cc 6 additions, 0 deletions...ctivity/bluetooth/core/bt-host/testing/fake_controller.cc
Loading
Please register or sign in to comment