Part 1
요약·해설
NUS serial endpoint, UTF-8 가정과 binary data 지원을 설명합니다.
Service
NUS
Data
UTF-8 · Binary
TX
Periodic notification
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
원문 SHA-256
24D12F467C98D4FBECE3C0E4967D49FAD05ACBABB73B52281AC7C61BBEBBE0D3
.. _peripheral_nus:
Bluetooth: Peripheral NUS
#########################
Overview
********
This sample demonstrates the usage of the NUS service (Nordic UART Service) as a serial
endpoint to exchange data. In this case, the sample assumes the data is UTF-8 encoded,
but it may be binary data. Once the user connects to the device and subscribes to the TX
characteristic, it will start receiving periodic notifications with "Hello World!\n".
Requirements
************
* BlueZ running on the host, or
* A board with BLE support
Building and Running
********************
This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_nus` in the
Zephyr tree.
See :ref:`bluetooth samples section <bluetooth-samples>` for details.
Part 3
한국어 전문 번역
개요
NUS(Nordic UART Service)를 serial endpoint로 사용해 data를 교환하는 방법을 보여주는 sample입니다. 이 sample은 data가 UTF-8로 encode되었다고 가정하지만 binary data도 사용할 수 있습니다.
사용자가 device에 연결하고 TX characteristic을 subscribe하면 Hello World!\n을 담은 periodic notification을 받기 시작합니다.
요구사항
- Host에서 실행되는 BlueZ 또는
- BLE를 지원하는 board
Build와 실행
이 sample은 Zephyr tree의 samples/bluetooth/peripheral_nus에 있습니다. 자세한 공통 절차는 Bluetooth sample section을 참조하십시오.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.