tree: cc19c189dc112aeb98dfb90ddc2809738e364ef7 [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(fxbug.dev/822): Document the driver's device publishing behavior once implement, with a usage example.

Library Utilities

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