Part 1
요약·해설
BLE 요구 사항, MTU 기반 notification size와 throughput 조정을 설명합니다.
Nordic UART Service
BLE notifications
CONFIG_BT_L2CAP_TX_MTU
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
343B1BCA734E525A1BC56E8ADF4ED3A432C959D3232E69D02A1B9F92FE8D019F
.. zephyr:code-sample:: logging-ble-backend
:name: BLE logging backend
:relevant-api: log_api log_backend bt_gatt
Send log messages over BLE using the BLE logging backend.
Overview
********
Sample that demonstrates how to setup and use the BLE Logging backend. The
BLE Logger uses the NRF Connect SDK NUS service as UUID to make it compatible
with already existing apps to debug BLE connections over UART.
The notification size of the ble backend buffer is dependent on the
transmission size of the mtu set with :kconfig:option:`CONFIG_BT_L2CAP_TX_MTU`. Be sure
to change this configuration to increase the logger throughput over BLE.
Requirements
************
* A board with BLE support
Building and Running
********************
This sample can be found under :zephyr_file:`samples/subsys/logging/ble_backend` in the
Zephyr tree.
The BLE logger can be tested with the NRF Toolbox app or any similar app that can connect over
BLE and detect the NRF NUS UUID service.
Part 3
한국어 전문 번역
개요
BLE Logging backend를 설정하고 사용하는 방법을 보여 주는 sample입니다. BLE Logger는 nRF Connect SDK의 NUS(Nordic UART Service)를 UUID service로 사용하므로, UART 형태로 BLE connection을 debug하는 기존 application과 호환됩니다.
BLE backend buffer가 한 notification에 담는 크기는 CONFIG_BT_L2CAP_TX_MTU로 설정한 MTU transmission size에 따라 달라집니다. BLE를 통한 logger throughput을 높이려면 이 configuration을 함께 늘려야 하며, peer가 지원하는 MTU와 실제 link 조건도 고려해야 합니다.
요구 사항
BLE를 지원하는 board가 필요합니다.
빌드 및 실행
Sample은 Zephyr tree의 samples/subsys/logging/ble_backend에 있습니다. BLE logger는 nRF Toolbox 또는 BLE로 연결해 nRF NUS UUID service를 찾을 수 있는 유사 application으로 시험할 수 있습니다.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.