• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/11-Mar-2024-10273

CMakeLists.txtD11-Mar-2024206 117

README.rstD11-Mar-2024969 3121

prj.confD11-Mar-2024285 117

sample.yamlD11-Mar-2024324 1312

README.rst

1.. zephyr:code-sample:: logging-ble-backend
2   :name: BLE logging backend
3   :relevant-api: log_api log_backend bt_gatt
4
5   Send log messages over BLE using the BLE logging backend.
6
7Overview
8********
9
10Sample that demonstrates how to setup and use the BLE Logging backend. The
11BLE Logger uses the NRF Connect SDK NUS service as UUID to make it compatible
12with already existing apps to debug BLE connections over UART.
13
14The notification size of the ble backend buffer is dependent on the
15transmission size of the mtu set with `CONFIG_BT_L2CAP_TX_MTU`. Be sure
16to change this configuration to increase the logger throughput over BLE.
17
18Requirements
19************
20
21* A board with BLE 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 BLE logger can be tested with the NRF Toolbox app or any similar app that can connect over
30BLE and detect the NRF NUS UUID service.
31