tree: d7431d4fd2a847b871ed340ed6822181857dfcd2 [path history] [tgz]
  1. meta/
  2. src/
  3. BUILD.gn
  4. README.md
src/connectivity/bluetooth/tools/bt-fct-hci/README.md

Raw HCI factory testing tool.

bt-fct-hci

Utility to send raw HCI test commands to the hardware on the command channel.

This utility opens the bt-hci device's command channel, sends the passed in HCI command, and waits until either an error, event, or expected result code is returned.

The command channel of a bt-hci device must be unclaimed for this tool to function as intended. The bt-host driver is a common reason for the HCI endpoints to be unavailable. If the bt-host driver isn't disabled or excluded in the image, it can be disabled by passing driver.bt_host.disable to the kernel command-line.

On the host machine while configuring set options add:

$ fx set --args=kernel_cmdline_args+=\[\"driver.bt_host.disable\"\] ...