README.rst
1.. zephyr:code-sample:: logging-ble-backend
2 :name: Bluetooth logging backend
3 :relevant-api: log_api log_backend bt_gatt
4
5 Send log messages over Bluetooth using the Bluetooth logging backend.
6
7Overview
8********
9
10Sample that demonstrates how to setup and use the Bluetooth Logging backend. The
11Bluetooth Logger uses the NRF Connect SDK NUS service as UUID to make it compatible
12with already existing apps to debug Bluetooth connections over UART.
13
14The notification size of the Bluetooth backend buffer is dependent on the
15transmission size of the mtu set with :kconfig:option:`CONFIG_BT_L2CAP_TX_MTU`. Be sure
16to change this configuration to increase the logger throughput over Bluetooth.
17
18Requirements
19************
20
21* A board with Bluetooth LE support
22
23Building and Running
24********************
25
26This sample can be found under :zephyr_file:`samples/subsys/logging/ble_backend` in the
27Zephyr tree.
28
29The Bluetooth logger can be tested with the NRF Toolbox app or any similar app that can connect over
30Bluetooth and detect the NRF NUS UUID service.
31