samples/bluetooth/direction_finding_central/README.html · samples/bluetooth/direction_finding_central/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Bluetooth · Direction Finding

Bluetooth Direction Finding Central

Connected mode에서 AoA/AoD CTE reception과 antenna matrix를 구성합니다.

Official pathsamples/bluetooth/direction_finding_central/README.html
Source filesamples/bluetooth/direction_finding_central/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

AoD-only overlay, nRF5340 HCI IPC GPIO 복사와 AoA antenna configuration을 설명합니다.

Role

Connected Central

Action

Request · Receive CTE

Modes

AoA · AoD

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 57BB6D2B27BD7484736974B6967B18926A9BA2070A79290D969110D6BD26CF44
.. _bluetooth_direction_finding_central:

Bluetooth: Direction Finding Central
####################################

Overview
********

A simple application demonstrating the BLE Direction Finding CTE reception in
connected mode by requesting transmission of a packet containing Constant
Tone Extension by connected peer device.

Requirements
************

* Nordic nRF SoC based board with Direction Finding support (example boards:
  :ref:`nrf52833dk_nrf52833`, :ref:`nrf52833dk_nrf52820`, :ref:`nrf5340dk_nrf5340`)
* Antenna matrix for AoA (optional)

Check your SoC's product specification for Direction Finding support if you are
unsure.

Building and Running
********************

By default the application supports Angle of Arrival and Angle of Departure mode.

To use Angle of Departure mode only, build this application as follows,
changing ``nrf52833dk/nrf52833`` as needed for your board:

.. zephyr-app-commands::
   :zephyr-app: samples/bluetooth/direction_finding_central
   :host-os: unix
   :board: nrf52833dk/nrf52833
   :gen-args: -DEXTRA_CONF_FILE=overlay-aod.conf
   :goals: build flash
   :compact:

To run the application on nRF5340DK, a Bluetooth controller application must
also run on the network core. The :ref:`bluetooth-hci-ipc-sample` sample
application may be used. To build this sample with direction finding support
enabled:

* Copy
  :zephyr_file:`samples/bluetooth/direction_finding_central/boards/nrf52833dk_nrf52833.overlay`
  to a new file,
  :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay`.
* Make sure the same GPIO pins are assigned to Direction Finding Extension in file
  :zephyr_file:`samples/bluetooth/direction_finding_central/boards/nrf5340dk_nrf5340_cpuapp.overlay`.
  as those in the created file  :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay`.
* Copy
  :zephyr_file:`samples/bluetooth/direction_finding_central/boards/nrf52833dk_nrf52833.conf`
  to a new file,
  :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.conf`.

Antenna matrix configuration
****************************

To use this sample with Angle of Arrival enabled on Nordic SoCs, additional
configuration must be provided via :ref:`devicetree <dt-guide>` to enable
control of the antenna array.

An example devicetree overlay is in
:zephyr_file:`samples/bluetooth/direction_finding_central/boards/nrf52833dk_nrf52833.overlay`.
You can customize this overlay when building for the same board, or create your
own board-specific overlay in the same directory for a different board. See
:dtcompatible:`nordic,nrf-radio` for documentation on the properties used in
this overlay. See :ref:`set-devicetree-overlays` for information on setting up
and using overlays.

Note that antenna matrix configuration for the nRF5340 SoC is part of the
network core application. When :ref:`bluetooth-hci-ipc-sample` is used as the
network core application, the antenna matrix configuration should be stored in
the file
:file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay`
instead.

Part 3

한국어 전문 번역

개요

연결된 peer device에 Constant Tone Extension(CTE)이 포함된 packet 전송을 요청하여 connected mode의 BLE Direction Finding CTE reception을 보여주는 간단한 application입니다.

요구사항

  • Direction Finding을 지원하는 Nordic nRF SoC 기반 board. 예: nrf52833dk/nrf52833, nrf52833dk/nrf52820, nrf5340dk/nrf5340
  • AoA용 antenna matrix. 선택 사항입니다.

지원 여부가 확실하지 않다면 사용 중인 SoC의 product specification에서 Direction Finding 지원을 확인하십시오.

Build와 실행

기본적으로 Angle of Arrival(AoA)과 Angle of Departure(AoD) mode를 모두 지원합니다.

AoD mode만 사용하려면 board 이름을 필요에 맞게 바꿔 다음과 같이 build하고 flash합니다.

west build -b nrf52833dk/nrf52833 samples/bluetooth/direction_finding_central -- -DEXTRA_CONF_FILE=overlay-aod.conf
west flash

nRF5340DK에서 application을 실행하려면 network core에서도 Bluetooth controller application이 실행돼야 하며 Bluetooth HCI IPC sample을 사용할 수 있습니다. Direction Finding 지원을 활성화하려면 다음 작업을 수행합니다.

  • samples/bluetooth/direction_finding_central/boards/nrf52833dk_nrf52833.overlay를 새 samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay file로 복사합니다.
  • samples/bluetooth/direction_finding_central/boards/nrf5340dk_nrf5340_cpuapp.overlay의 Direction Finding Extension GPIO pin과 새 network-core overlay의 GPIO pin이 같도록 확인합니다.
  • samples/bluetooth/direction_finding_central/boards/nrf52833dk_nrf52833.conf를 새 samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.conf file로 복사합니다.

Antenna matrix configuration

Nordic SoC에서 Angle of Arrival를 활성화해 이 sample을 사용하려면 antenna array를 제어하도록 Devicetree에 추가 configuration을 제공해야 합니다.

Devicetree overlay 예제는 samples/bluetooth/direction_finding_central/boards/nrf52833dk_nrf52833.overlay에 있습니다. 같은 board용 build에서는 이 overlay를 수정할 수 있고, 다른 board라면 같은 directory에 board-specific overlay를 만들 수 있습니다. 사용 property는 nordic,nrf-radio compatible 문서에서, overlay 설정과 사용법은 Devicetree overlay 문서에서 확인하십시오.

nRF5340 SoC의 antenna matrix configuration은 network core application에 속합니다. Network core로 Bluetooth HCI IPC sample을 사용한다면 configuration을 samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay에 저장해야 합니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.