tree: ea2950c9427a8a6ba5c11370c71f6ad3b92e4f64 [path history] [tgz]
  1. meta/
  2. bind-tests.json
  3. bt-hci-virtual.bind
  4. BUILD.gn
  5. controller.cc
  6. controller.h
  7. driver-info.json
  8. emulated_peer.cc
  9. emulated_peer.h
  10. emulator.cc
  11. emulator.h
  12. loopback.cc
  13. loopback.h
  14. 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.