Part 1
요약·해설
5초 power 단계, connection별 modulation과 2초 dummy Heart Rate notification을 설명합니다.
-4 → -30 dBm
5 seconds
Per-connection control
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
3267E62E945A2EA56FC458B4000227E0276E2C75DB03ABE2E6A75FA999647E27
.. _bluetooth-hci-pwr-ctrl-sample:
Bluetooth: HCI Power Control
############################
Overview
********
This sample application demonstrates the dynamic Tx power control over the LL
of the BLE controller via Zephyr HCI VS commands. The application implements a
peripheral advertising with varying Tx power. The initial advertiser TX power
for the first 5s of the application is the Kconfig set default TX power. Then,
the TX power variation of the advertiser is a repeatedly descending staircase
pattern ranging from -4 dBm to -30 dBm where the Tx power levels decrease every
5s.
Upon successful connection, the connection RSSI strength is being monitored and
the Tx power of the peripheral device is modulated per connection accordingly
such that energy is being saved depending on how powerful the RSSI of the
connection is. The peripheral implements a simple GATT profile exposing the
HR service notifying connected centrals about a dummy HR each 2s.
Requirements
************
* BlueZ running on the host, or
* A board with BLE support
* A central device & monitor (e.g. nRF Connect) to check the RSSI values
obtained from the peripheral.
Building and Running
********************
This sample can be found under :zephyr_file:`samples/bluetooth/hci_pwr_ctrl`
in the Zephyr tree.
See :ref:`bluetooth samples section <bluetooth-samples>` for details.
Part 3
한국어 전문 번역
개요
Zephyr HCI Vendor-Specific command를 통해 BLE Controller의 Link Layer에서 동적 Tx power control을 수행하는 sample입니다. Peripheral은 Tx power를 바꾸면서 advertising합니다.
Application이 시작된 뒤 처음 5초 동안 advertiser의 Tx power는 Kconfig에 설정된 기본값입니다. 이후에는 -4 dBm부터 -30 dBm까지 내려가는 staircase pattern을 반복하며 5초마다 Tx power level을 낮춥니다.
연결이 성공하면 connection RSSI를 계속 감시하고 그 강도에 맞춰 peripheral의 connection별 Tx power를 조절하여 energy를 절약합니다. Peripheral은 간단한 GATT profile의 Heart Rate service도 제공하며, 연결된 central에 2초마다 dummy heart rate를 notify합니다.
요구사항
- Host에서 실행되는 BlueZ 또는
- BLE를 지원하는 board
- Peripheral이 얻은 RSSI 값을 확인할 central device와 monitor. 예: nRF Connect
Build와 실행
Zephyr tree의 samples/bluetooth/hci_pwr_ctrl에서 이 sample을 찾을 수 있습니다. 자세한 공통 사항은 Bluetooth sample section을 참조하십시오.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.