Part 1
요약·해설
IBEACON_RSSI, QEMU·BlueZ 실행 조건과 production 부적합 경고를 설명합니다.
Broadcaster
0xb8 · -72 dBm
Demonstration
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
CB852717F8E2B21B9D8AEA659B571EECABE3DDB580FEC94F6CB3C47DECE9F1DA
.. _bluetooth-ibeacon-sample:
Bluetooth: iBeacon
##################
Overview
********
This simple application demonstrates the BLE Broadcaster role
functionality by advertising an Apple iBeacon. The calibrated RSSI @ 1
meter distance can be set using an IBEACON_RSSI build variable
(e.g. IBEACON_RSSI=0xb8 for -72 dBm RSSI @ 1 meter), or by manually
editing the default value in the ``main.c`` file.
Because of the hard-coded values of iBeacon UUID, major, and minor,
the application is not suitable for production use, but is quite
convenient for quick demonstrations of iBeacon functionality.
Requirements
************
* A board with Bluetooth LE support, or
* QEMU with BlueZ running on the host
Building and Running
********************
This sample can be found under :zephyr_file:`samples/bluetooth/ibeacon` in the
Zephyr tree.
See :ref:`bluetooth samples section <bluetooth-samples>` for details on how
to run the sample inside QEMU.
For other boards, build and flash the application as follows:
.. zephyr-app-commands::
:zephyr-app: samples/bluetooth/ibeacon
:board: <board>
:goals: flash
:compact:
Refer to your :ref:`board's documentation <boards>` for alternative
flash instructions if your board doesn't support the ``flash`` target.
Part 3
한국어 전문 번역
개요
Apple iBeacon을 advertising하여 BLE Broadcaster 역할을 보여주는 간단한 application입니다.
1 meter 거리에서 보정한 RSSI는 IBEACON_RSSI build variable로 설정할 수 있습니다. 예를 들어 1 meter에서 -72 dBm이면 IBEACON_RSSI=0xb8을 사용합니다. 또는 main.c의 기본값을 직접 수정할 수 있습니다.
iBeacon UUID, major, minor 값이 code에 고정되어 있으므로 이 application은 production 용도에 적합하지 않습니다. 다만 iBeacon 기능을 빠르게 시연하기에는 편리합니다.
요구사항
- Bluetooth LE를 지원하는 board 또는
- Host에서 BlueZ를 실행하는 QEMU
Build와 실행
이 sample은 Zephyr tree의 samples/bluetooth/ibeacon에 있습니다. QEMU 안에서 실행하는 방법은 Bluetooth sample section을 참조하십시오.
다른 board에서는 다음과 같이 application을 build하고 flash합니다.
west build -b <board> samples/bluetooth/ibeacon
west flash
Board가 flash target을 지원하지 않으면 해당 board 문서에서 대체 flash 절차를 확인하십시오.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.