tree: 11f6d6b15116b7e7da7e5e28e02a3276efdd899b [path history] [tgz]
  1. meta/
  2. bind-tests.json
  3. bt-hci-virtual.bind
  4. BUILD.gn
  5. controller.h
  6. driver-info.json
  7. driver.cc
  8. emulated_peer.cc
  9. emulated_peer.h
  10. emulator.cc
  11. emulator.h
  12. log.h
  13. loopback.cc
  14. loopback.h
  15. loopback_unittests.cc
  16. README.md
src/connectivity/bluetooth/hci/virtual/README.md

The bt-hci-virtual driver is a Bluetooth controller emulator that allows system Bluetooth components to be tested in integration against the Bluetooth HCI procotol.

bt-hci-virtual provides aa method to add virtual HCI controllers to the system which can either be emulated, or loopback the HCI commands to a component.

It accomplishes this by publishing three distinct devices:

Usage

TODO(https://fxbug.dev/42162739): Document the driver's device publishing behavior once implement, with a usage example.

Library Utilities

TODO(https://fxbug.dev/42162739): Document Rust library utilities.