[bt][host] Outgoing Connections
* Add support for outgoing connections to BrEdrConnectionManager * The Host Fidl server will now attempt to initiate a BrEdr connection when asked to connect to a classic device * Add outgoing connection unit tests for BrEdrConnectionManager * TestController - Log opcode when unexpected command is received Test: bt-host-unittests (GAP_BrEdrConnectionManagerTest.Connect*) You can also manually initiate an outgoing connection using bt-cli: $ bt-cli > connect <device-id> BT-263 #done Change-Id: If4e31625a31b7d20031ea09a8f4854806ef66bf4
Showing
- src/connectivity/bluetooth/core/bt-host/fidl/host_server.cc 66 additions, 34 deletionssrc/connectivity/bluetooth/core/bt-host/fidl/host_server.cc
- src/connectivity/bluetooth/core/bt-host/fidl/host_server.h 5 additions, 2 deletionssrc/connectivity/bluetooth/core/bt-host/fidl/host_server.h
- src/connectivity/bluetooth/core/bt-host/gap/BUILD.gn 1 addition, 0 deletionssrc/connectivity/bluetooth/core/bt-host/gap/BUILD.gn
- src/connectivity/bluetooth/core/bt-host/gap/adapter.cc 4 additions, 1 deletionsrc/connectivity/bluetooth/core/bt-host/gap/adapter.cc
- src/connectivity/bluetooth/core/bt-host/gap/bredr_connection_manager.cc 291 additions, 96 deletions...ty/bluetooth/core/bt-host/gap/bredr_connection_manager.cc
- src/connectivity/bluetooth/core/bt-host/gap/bredr_connection_manager.h 81 additions, 2 deletions...ity/bluetooth/core/bt-host/gap/bredr_connection_manager.h
- src/connectivity/bluetooth/core/bt-host/gap/bredr_connection_manager_unittest.cc 443 additions, 26 deletions...oth/core/bt-host/gap/bredr_connection_manager_unittest.cc
- src/connectivity/bluetooth/core/bt-host/gap/connection_request.h 55 additions, 0 deletions...nectivity/bluetooth/core/bt-host/gap/connection_request.h
- src/connectivity/bluetooth/core/bt-host/gap/gap.h 3 additions, 1 deletionsrc/connectivity/bluetooth/core/bt-host/gap/gap.h
- src/connectivity/bluetooth/core/bt-host/hci/BUILD.gn 2 additions, 0 deletionssrc/connectivity/bluetooth/core/bt-host/hci/BUILD.gn
- src/connectivity/bluetooth/core/bt-host/hci/bredr_connection_request.cc 135 additions, 0 deletions...ty/bluetooth/core/bt-host/hci/bredr_connection_request.cc
- src/connectivity/bluetooth/core/bt-host/hci/bredr_connection_request.h 108 additions, 0 deletions...ity/bluetooth/core/bt-host/hci/bredr_connection_request.h
- src/connectivity/bluetooth/core/bt-host/hci/hci_constants.h 5 additions, 0 deletionssrc/connectivity/bluetooth/core/bt-host/hci/hci_constants.h
- src/connectivity/bluetooth/core/bt-host/testing/BUILD.gn 2 additions, 0 deletionssrc/connectivity/bluetooth/core/bt-host/testing/BUILD.gn
- src/connectivity/bluetooth/core/bt-host/testing/fake_controller.cc 140 additions, 0 deletions...ctivity/bluetooth/core/bt-host/testing/fake_controller.cc
- src/connectivity/bluetooth/core/bt-host/testing/fake_controller.h 10 additions, 0 deletions...ectivity/bluetooth/core/bt-host/testing/fake_controller.h
- src/connectivity/bluetooth/core/bt-host/testing/test_packets.cc 194 additions, 0 deletions...nnectivity/bluetooth/core/bt-host/testing/test_packets.cc
- src/connectivity/bluetooth/core/bt-host/testing/test_packets.h 47 additions, 0 deletions...onnectivity/bluetooth/core/bt-host/testing/test_packets.h
Loading
Please register or sign in to comment