connectivity/networking/api/ieee802154.html · connectivity/networking/api/ieee802154.rst 공식 원문 ↗

Zephyr 3.7.0 · Connectivity · Networking API

IEEE 802.15.4

LR-WPAN, 6LoWPAN, Thread와 application·driver·L2 contributor API 경계를 정리합니다.

Official pathconnectivity/networking/api/ieee802154.html
Source fileconnectivity/networking/api/ieee802154.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

2020 표준과 이전 확장, native 802.15.4·OpenThread 지원, 역할별 management/driver/L2 API를 설명합니다.

Standard

IEEE 802.15.4-2020

IPv6

6LoWPAN

Layers

Mgmt · Driver · L2

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 E26808930C9A6F94409BD482BD9DFD21DCD6A14DFDA07610FCF2634C385C7BAC
.. _ieee802154_interface:

IEEE 802.15.4
#############

.. contents::
    :local:
    :depth: 2

Introduction
************

IEEE 802.15.4 is a technical standard which defines the operation of low-rate
wireless personal area networks (LR-WPANs). For a more detailed overview of this
standard, see the `IEEE 802.15.4 Wikipedia article
<https://en.wikipedia.org/wiki/IEEE_802.15.4>`_.

The most recent version of the standard is accessible through the `IEEE GET
Program
<https://ieeexplore.ieee.org/browse/standards/get-program/page/series?id=68>`_.
You need to create a free IEEE account and can then downloading it.

We're currently following the IEEE 802.15.4-2020 specification. This version is
backwards compatible with IEEE 802.15.4-2015, parts of which are contained in
the Thread protocol stack. The 2020 version also includes prior extensions that
were accepted into the standard, namely IEEE 802.15.4g (SUN FSK) and IEEE
802.15.4e (TSCH) which are of relevance to industrial IoT and automation. For
recent developments in UWB ranging technology, see IEEE 802.15.4z which is not
yet integrated into the standard's mainline.

Whenever sections from the standard are cited in the documentation, they refer
to IEEE 802.15.4-2020 section, table and figure numbering - unless otherwise
specified.

Zephyr supports both, native IEEE 802.15.4 and Thread, with 6LoWPAN. Zephyr's
:ref:`thread_protocol_interface` implementation is based on `OpenThread
<https://openthread.io/>`_. The IPv6 header compression in 6LoWPAN is used for
native IEEE 802.15.4.

API Reference
*************

IEEE 802.15.4 API Overview
==========================

Gives an introduction and overview over the whole IEEE 802.15.4 subsystem and
all of its APIs, configuration and user interfaces for all audiences.

.. doxygengroup:: ieee802154


.. _ieee802154_mgmt_api:

IEEE 802.15.4 Management API
============================

This is the main subsystem-specific API of interest to IEEE 802.15.4
**application developers** as it allows to configure the IEEE 802.15.4 subsystem
at runtime.  Other relevant interfaces for application developers are the
typical shell, socket, Kconfig and devicetree APIs that can be accessed through
Zephyr's generic subsystem-independent documentation. Look out for
IEEE802154/ieee802154 prefixes there.

.. doxygengroup:: ieee802154_mgmt


.. _ieee802154_driver_api:

IEEE 802.15.4 Driver API
========================

This is the main API of interest to IEEE 802.15.4 **driver developers**.

.. doxygengroup:: ieee802154_driver


.. _ieee802154_l2_api:

IEEE 802.15.4 L2 / Native Stack API
===================================

This documents the IEEE 802.15.4 L2 native stack, which neither applications nor
drivers will ever access directly. It is called internally by Zephyr's upper
network layers (L3+), its socket and network context abstractions. This API is
therefore of interest to IEEE 802.15.4 **subsystem contributors** only.

.. doxygengroup:: ieee802154_l2

OpenThread L2 Adaptation Layer API
==================================

Zephyr's OpenThread L2 platform adaptation layer glues the external OpenThread
stack together with Zephyr's IEEE 802.15.4 protocol agnostic driver API. This
API is of interest to OpenThread L2 **subsystem contributors** only.

The OpenThread API is part of the :ref:`thread_protocol_interface` subsystem and
documented there.

Part 3

한국어 전문 번역

IEEE 802.15.4

Introduction

IEEE 802.15.4는 low-rate wireless personal area network(LR-WPAN)의 동작을 정의하는 기술 표준입니다. 자세한 개요는 IEEE 802.15.4 설명에서 확인할 수 있습니다.

최신 표준은 IEEE GET Program을 통해 접근할 수 있습니다. 무료 IEEE account를 만든 뒤 내려받을 수 있습니다.

Zephyr 문서는 현재 IEEE 802.15.4-2020 specification을 따릅니다. 이 version은 Thread protocol stack 일부가 사용하는 IEEE 802.15.4-2015와 backward compatible합니다. 2020 version에는 산업 IoT와 automation에 중요한 IEEE 802.15.4g(SUN FSK)와 IEEE 802.15.4e(TSCH) 확장도 통합돼 있습니다. UWB ranging의 최근 발전은 아직 mainline 표준에 통합되지 않은 IEEE 802.15.4z를 참고합니다.

별도 언급이 없으면 이 문서에서 인용하는 section, table, figure 번호는 IEEE 802.15.4-2020을 기준으로 합니다.

Zephyr는 6LoWPAN을 사용하는 native IEEE 802.15.4와 Thread를 모두 지원합니다. Zephyr의 Thread 구현은 OpenThread를 기반으로 합니다. Native IEEE 802.15.4에서는 6LoWPAN의 IPv6 header compression을 사용합니다.

API Reference

IEEE 802.15.4 API Overview

모든 독자를 대상으로 IEEE 802.15.4 subsystem 전체와 API, configuration, user interface를 소개합니다. Doxygen group은 ieee802154입니다.

IEEE 802.15.4 Management API

Application developer가 runtime에 IEEE 802.15.4 subsystem을 설정할 때 주로 사용하는 subsystem 전용 API입니다. Application은 Zephyr의 일반 subsystem 문서에서 shell, socket, Kconfig, devicetree API도 사용할 수 있으며 IEEE802154 또는 ieee802154 prefix를 찾으면 됩니다. Doxygen group은 ieee802154_mgmt입니다.

IEEE 802.15.4 Driver API

IEEE 802.15.4 driver developer가 주로 사용하는 API입니다. Doxygen group은 ieee802154_driver입니다.

IEEE 802.15.4 L2 / Native Stack API

IEEE 802.15.4 L2 native stack을 문서화합니다. Application이나 driver가 직접 접근하는 API가 아닙니다. Zephyr upper network layer(L3 이상), socket, network context abstraction이 내부적으로 호출하므로 IEEE 802.15.4 subsystem contributor만을 위한 API입니다. Doxygen group은 ieee802154_l2입니다.

OpenThread L2 Adaptation Layer API

Zephyr의 OpenThread L2 platform adaptation layer는 외부 OpenThread stack과 Zephyr의 IEEE 802.15.4 protocol-agnostic driver API를 연결합니다. OpenThread L2 subsystem contributor만을 위한 API이며, OpenThread API는 Thread protocol subsystem에 속하고 해당 문서에서 설명합니다.

Source

출처

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