This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

NUS Console Snippet (nus-console)

west build -S nus-console [...]


This snippet redirects serial console output to a UART over NUS (Bluetooth LE) instance. The Bluetooth Serial device used shall be configured using Devicetree.


Hardware support for:

A devicetree node with node label bt_nus_console_uart that points to an enabled device node with nus-uart support. This should look roughly like this in your devicetree:

bt_nus_console_uart: bt_nus_console_uart {
   compatible = "zephyr,nus-uart";
     /* ... */