2024-03-07 02:24:45 +08:00
|
|
|
.. _snippet-nus-console:
|
|
|
|
|
|
|
|
NUS Console Snippet (nus-console)
|
|
|
|
########################################
|
|
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
|
|
|
|
west build -S nus-console [...]
|
|
|
|
|
|
|
|
Overview
|
|
|
|
********
|
|
|
|
|
|
|
|
This snippet redirects serial console output to a UART over NUS (Bluetooth LE) instance.
|
|
|
|
The Bluetooth Serial device used shall be configured using :ref:`devicetree`.
|
|
|
|
|
|
|
|
Requirements
|
|
|
|
************
|
|
|
|
|
|
|
|
Hardware support for:
|
|
|
|
|
|
|
|
- :kconfig:option:`CONFIG_BT`
|
|
|
|
- :kconfig:option:`CONFIG_BT_PERIPHERAL`
|
2024-03-26 04:08:36 +08:00
|
|
|
- :kconfig:option:`CONFIG_BT_ZEPHYR_NUS`
|
2024-03-07 02:24:45 +08:00
|
|
|
- :kconfig:option:`CONFIG_SERIAL`
|
|
|
|
- :kconfig:option:`CONFIG_CONSOLE`
|
|
|
|
- :kconfig:option:`CONFIG_UART_CONSOLE`
|