Skip to content

Commit

Permalink
docs: BT tools: Fix description around native BT user chan use
Browse files Browse the repository at this point in the history
With native_sim one uses the BT user channel driver (which connects
directly to the user channel linux socket), not a serial port.
Let's fix the description, and provide a nicer link.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
  • Loading branch information
aescolar authored and henrikbrixandersen committed Feb 19, 2024
1 parent cf315e7 commit a3ad40b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/connectivity/bluetooth/bluetooth-tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ The host OS's Bluetooth controller is connected in the following manner:
with the help of the QEMU option :literal:`-serial unix:/tmp/bt-server-bredr`.
This option gets passed to QEMU through :makevar:`QEMU_EXTRA_FLAGS`
automatically whenever an application has enabled Bluetooth support.
* To a serial port in :ref:`native_sim <native_sim>` through the use of a command-line option
passed to the native_sim executable: ``--bt-dev=hci0``
* To :ref:`native_sim's BT User Channel driver <nsim_bt_host_cont>` through the use of a
command-line option passed to the native_sim executable: ``--bt-dev=hci0``

On the host side, BlueZ allows you to export its Bluetooth controller
through a so-called user channel for QEMU and :ref:`native_sim <native_sim>` to use.
Expand Down

0 comments on commit a3ad40b

Please sign in to comment.