Lines Matching +full:child +full:- +full:ref
1 .. zephyr:code-sample:: bluetooth_hci_uart_async
3 :relevant-api: hci_raw bluetooth uart_interface
43 instructions in the :ref:`bluetooth_bluez` section.
48 found in :ref:`nordic_segger`.
52 .. zephyr-app-commands::
53 :zephyr-app: samples/bluetooth/hci_uart_async
57 .. _bluetooth-hci-uart-async-qemu-posix:
62 In order to use the HCI UART controller with QEMU or :ref:`native_sim <native_sim>` you will need
66 .. code-block:: console
68 sudo btattach -B /dev/ttyACM0 -S 1000000 -R
76 The ``-R`` flag passed to ``btattach`` instructs the kernel to avoid
84 :ref:`bluetooth_qemu_native` section to use QEMU with it.
86 .. _bluetooth-hci-uart-async-bluez:
95 .. code-block:: console
97 sudo btattach -B /dev/ttyACM0 -S 1000000
108 :ref:`bluetooth_ctlr_bluez` section to use BlueZ with it.
116 .. code-block:: console
118 west build samples/bluetooth/hci_uart_async -- -DEXTRA_CONFIG='debug.mixin.conf'
120 Then attach RTT as described here: :ref:`Using Segger J-Link <Using Segger J-Link>`
128 On the controller side, the ``zephyr,bt-c2h-uart`` DTS property (in the ``chosen``
133 .. code-block:: dts
138 zephyr,shell-uart = &uart0;
139 zephyr,bt-c2h-uart = &uart1;
144 driver instead of the built-in controller:
146 .. code-block:: cfg
151 Similarly, the ``zephyr,bt-hci`` DTS property selects which HCI instance to use.
152 The UART needs to have as its child node a HCI UART node:
154 .. code-block:: dts
159 zephyr,shell-uart = &uart0;
160 zephyr,bt-hci = &bt_hci_uart;
167 compatible = "zephyr,bt-hci-uart";