Home
last modified time | relevance | path

Searched full:openthread (Results 1 – 25 of 1752) sorted by relevance

12345678910>>...71

/openthread-3.7.0/
DREADME.md1 [![OpenThread][ot-logo]][ot-repo] [![Build][ot-gh-action-build-svg]][ot-gh-action-build] [![Simulat…
5 # What is OpenThread?
7 OpenThread released by Google is... <a href="https://www.threadgroup.org/What-is-Thread/Thread-Bene…
9 …at-is-Thread/Overview) networking protocol.** Google Nest has released OpenThread to make the tech…
13 …uting) and device roles, as well as [Border Router](https://github.com/openthread/ot-br-posix) sup…
17 [ot-repo]: https://github.com/openthread/openthread
18 [ot-logo]: https://github.com/openthread/openthread/raw/main/doc/images/openthread_logo.png
19 [ot-gh-action-build]: https://github.com/openthread/openthread/actions?query=workflow%3ABuild+branc…
20 [ot-gh-action-build-svg]: https://github.com/openthread/openthread/workflows/Build/badge.svg?branch…
21 [ot-gh-action-simulation]: https://github.com/openthread/openthread/actions?query=workflow%3ASimula…
[all …]
DCONTRIBUTING.md1 # Contributing to OpenThread
3 We would love for you to contribute to OpenThread and help make it even better than it is today! As…
16 Help us keep OpenThread open and inclusive. Please read and follow our [Code of Conduct](CODE_OF_CO…
20 …you can help us by [submitting a GitHub Issue](https://github.com/openthread/openthread/issues/new…
24 …t a new feature by [submitting a GitHub Issue](https://github.com/openthread/openthread/issues/new…
28 - _Large feature_: first [submit a GitHub Issue](https://github.com/openthread/openthread/issues/ne…
34 The OpenThread Project follows the "Fork-and-Pull" model for accepting contributions.
40 1. Fork the [OpenThread repository](https://github.com/openthread/openthread) by clicking "Fork" on…
46 git clone git@github.com:<username>/openthread.git
49 git remote add upstream git@github.com:openthread/openthread.git
[all …]
/openthread-3.7.0/include/openthread/
Dinstance.h2 * Copyright (c) 2016, The OpenThread Authors.
32 * This file defines the OpenThread Instance API.
40 #include <openthread/error.h>
41 #include <openthread/platform/logging.h>
42 #include <openthread/platform/toolchain.h>
49 * The OpenThread API monotonic version number.
51 …* This number MUST increase by one each time the contents of public OpenThread API include headers…
53 * @note This number versions both OpenThread platform and user APIs.
62 * This module includes functions that control the OpenThread Instance.
69 * Represents the OpenThread instance structure.
[all …]
Dlink_raw.h2 * Copyright (c) 2016, The OpenThread Authors.
32 * This file defines the raw OpenThread IEEE 802.15.4 Link Layer API.
38 #include <openthread/platform/radio.h>
57 * @param[in] aInstance A pointer to an OpenThread instance.
68 * @param[in] aInstance A pointer to an OpenThread instance.
73 * @retval OT_ERROR_INVALID_STATE If the OpenThread IPv6 interface is already enabled.
82 * @param[in] aInstance A pointer to an OpenThread instance.
93 * @param[in] aInstance A pointer to an OpenThread instance.
104 * @param[in] aInstance A pointer to an OpenThread instance.
116 * @param[in] aInstance A pointer to an OpenThread instance.
[all …]
Dtrel.h2 * Copyright (c) 2021, The OpenThread Authors.
32 …* This file defines the OpenThread TREL (Thread Radio Encapsulation Link) APIs for Thread Over In…
39 #include <openthread/dataset.h>
40 #include <openthread/ip6.h>
41 #include <openthread/platform/radio.h>
42 #include "openthread/platform/trel.h"
88 * @note By default the OpenThread stack enables the TREL operation on start.
90 * @param[in] aInstance A pointer to an OpenThread instance.
99 * @param[in] aInstance The OpenThread instance.
110 * @param[in] aInstance The OpenThread instance.
[all …]
Dudp.h2 * Copyright (c) 2016, The OpenThread Authors.
32 * This file defines the OpenThread UDP API.
39 #include <openthread/ip6.h>
40 #include <openthread/message.h>
57 * This callback allows OpenThread to provide specific handlers for certain UDP messages.
79 * @param[in] aInstance A pointer to an OpenThread instance.
91 * @param[in] aInstance A pointer to an OpenThread instance.
103 * @param[in] aInstance A pointer to an OpenThread instance.
115 * This callback allows OpenThread to inform the application of a received UDP message.
135 * Defines the OpenThread network interface identifiers.
[all …]
Dthread.h2 * Copyright (c) 2016, The OpenThread Authors.
32 * This file defines the OpenThread Thread API (for both FTD and MTD).
38 #include <openthread/dataset.h>
39 #include <openthread/link.h>
40 #include <openthread/message.h>
237 * @param[in] aInstance A pointer to an OpenThread instance.
257 * @param[in] aInstance A pointer to an OpenThread instance.
270 * @param[in] aInstance A pointer to an OpenThread instance.
296 * @param[in] aInstance A pointer to an OpenThread instance.
308 * @param[in] aInstance A pointer to an OpenThread instance.
[all …]
Dthread_ftd.h2 * Copyright (c) 2016-2017, The OpenThread Authors.
32 * This file defines the OpenThread Thread API (FTD only).
38 #include <openthread/link.h>
39 #include <openthread/message.h>
40 #include <openthread/thread.h>
130 * @param[in] aInstance A pointer to an OpenThread instance.
144 * @param[in] aInstance A pointer to an OpenThread instance.
159 * @param[in] aInstance A pointer to an OpenThread instance.
173 * @param[in] aInstance A pointer to an OpenThread instance.
192 * @param[in] aInstance A pointer to an OpenThread instance.
[all …]
/openthread-3.7.0/src/lib/spinel/
DCMakeLists.txt2 # Copyright (c) 2020, The OpenThread Authors.
29 add_library(openthread-radio-spinel)
30 add_library(openthread-spinel-ncp)
31 add_library(openthread-spinel-rcp)
33 target_compile_definitions(openthread-radio-spinel PRIVATE
39 target_compile_definitions(openthread-spinel-ncp PRIVATE
46 target_compile_definitions(openthread-spinel-rcp PRIVATE
53 target_compile_options(openthread-radio-spinel PRIVATE
57 target_compile_options(openthread-spinel-ncp PRIVATE
61 target_compile_options(openthread-spinel-rcp PRIVATE
[all …]
/openthread-3.7.0/examples/platforms/simulation/
DCMakeLists.txt2 # Copyright (c) 2019, The OpenThread Authors.
29 set(OT_PLATFORM_LIB "openthread-simulation" PARENT_SCOPE)
49 set(OT_PLATFORM_CONFIG "openthread-core-simulation-config.h" PARENT_SCOPE)
60 add_library(openthread-simulation
83 $<TARGET_OBJECTS:openthread-platform-utils>
88 target_link_libraries(openthread-simulation PRIVATE ${LIBRT})
91 target_link_libraries(openthread-simulation PRIVATE
92 openthread-platform
97 target_compile_options(openthread-simulation PRIVATE
101 target_include_directories(openthread-simulation PRIVATE
[all …]
/openthread-3.7.0/src/ncp/
Dradio.cmake2 # Copyright (c) 2020, The OpenThread Authors.
29 add_library(openthread-rcp)
31 target_compile_definitions(openthread-rcp PRIVATE
39 target_compile_definitions(openthread-rcp PRIVATE OPENTHREAD_CONFIG_NCP_HDLC_ENABLE=0)
41 target_compile_definitions(openthread-rcp PRIVATE OPENTHREAD_CONFIG_NCP_HDLC_ENABLE=1)
44 target_compile_options(openthread-rcp PRIVATE
48 target_include_directories(openthread-rcp PUBLIC ${OT_PUBLIC_INCLUDES} PRIVATE ${COMMON_INCLUDES})
50 target_sources(openthread-rcp PRIVATE ${COMMON_SOURCES})
51 target_include_directories(openthread-rcp PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
53 target_link_libraries(openthread-rcp
[all …]
Dftd.cmake2 # Copyright (c) 2020, The OpenThread Authors.
29 add_library(openthread-ncp-ftd)
31 target_compile_definitions(openthread-ncp-ftd PRIVATE
38 target_compile_options(openthread-ncp-ftd PRIVATE
42 target_include_directories(openthread-ncp-ftd PUBLIC ${OT_PUBLIC_INCLUDES} PRIVATE ${COMMON_INCLUDE…
44 target_sources(openthread-ncp-ftd PRIVATE ${COMMON_NCP_SOURCES})
45 target_include_directories(openthread-ncp-ftd PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
47 target_link_libraries(openthread-ncp-ftd
49 openthread-ftd
52 openthread-hdlc
[all …]
Dmtd.cmake2 # Copyright (c) 2020, The OpenThread Authors.
29 add_library(openthread-ncp-mtd)
31 target_compile_definitions(openthread-ncp-mtd PRIVATE
38 target_compile_options(openthread-ncp-mtd PRIVATE
42 target_include_directories(openthread-ncp-mtd PUBLIC ${OT_PUBLIC_INCLUDES} PRIVATE ${COMMON_INCLUDE…
44 target_sources(openthread-ncp-mtd PRIVATE ${COMMON_NCP_SOURCES})
45 target_include_directories(openthread-ncp-mtd PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
47 target_link_libraries(openthread-ncp-mtd
49 openthread-mtd
52 openthread-hdlc
[all …]
/openthread-3.7.0/examples/platforms/
Dopenthread-system.h2 * Copyright (c) 2016, The OpenThread Authors.
32 * This file defines the platform-specific functions needed by OpenThread's example applications.
38 #include <openthread/instance.h>
45 * Performs all platform-specific initialization of OpenThread's drivers.
47 …* @note This function is not called by the OpenThread library. Instead, the system/RTOS should cal…
48 * when initialization of OpenThread's drivers is most appropriate.
57 * Performs all platform-specific deinitialization for OpenThread's drivers.
59 …* @note This function is not called by the OpenThread library. Instead, the system/RTOS should cal…
60 * when deinitialization of OpenThread's drivers is most appropriate.
68 * In such a case, the main loop should shut down and re-initialize the OpenThread instance.
[all …]
/openthread-3.7.0/src/posix/platform/
DCMakeLists.txt2 # Copyright (c) 2019, The OpenThread Authors.
29 set(OT_PLATFORM_LIB "openthread-posix" PARENT_SCOPE)
39 # We have to add this definition to `ot-config` because openthread core
42 # PLATFORM_NETIF and PLATFORM_UDP features. Otherwise, openthread core and
108 set(OT_POSIX_NAT64_CIDR "192.168.255.0/24" CACHE STRING "NAT64 CIDR for OpenThread NAT64")
116 set(OT_PLATFORM_CONFIG "openthread-core-posix-config.h" PARENT_SCOPE)
125 add_library(openthread-posix
160 target_link_libraries(openthread-posix
162 openthread-platform
164 openthread-cli-ftd
[all …]
Dplatform-posix.h2 * Copyright (c) 2016, The OpenThread Authors.
38 #include "openthread-posix-config.h"
48 #include <openthread/error.h>
49 #include <openthread/instance.h>
50 #include <openthread/ip6.h>
51 #include <openthread/logging.h>
52 #include <openthread/openthread-system.h>
53 #include <openthread/platform/time.h>
98 * Initializes the alarm service used by OpenThread.
117 * @param[in] aInstance The OpenThread instance structure.
[all …]
/openthread-3.7.0/tests/unit/
Dtest_platform.h2 * Copyright (c) 2016, The OpenThread Authors.
34 #include <openthread/config.h>
35 #include <openthread/platform/alarm-milli.h>
36 #include <openthread/platform/dns.h>
37 #include <openthread/platform/dnssd.h>
38 #include <openthread/platform/dso_transport.h>
39 #include <openthread/platform/entropy.h>
40 #include <openthread/platform/logging.h>
41 #include <openthread/platform/mdns_socket.h>
42 #include <openthread/platform/misc.h>
[all …]
/openthread-3.7.0/src/core/common/
Dlocator.hpp2 * Copyright (c) 2017, The OpenThread Authors.
31 * This file includes definitions for locator class for OpenThread objects.
37 #include "openthread-core-config.h"
39 #include <openthread/platform/toolchain.h>
55 * This module includes definitions for OpenThread instance locator.
62 * Implements `Get<Type>()` method for different `Type` objects belonging to the OpenThread
77 * Returns a reference to a given `Type` object belonging to the OpenThread instance.
81 …hat any `Type` for which the `Get<Type>` is defined MUST be uniquely accessible from the OpenThread
94 * Implements a locator for an OpenThread Instance object.
96 …* The `InstanceLocator` is used as base class of almost all other OpenThread classes. It provides …
[all …]
/openthread-3.7.0/src/posix/platform/include/openthread/
Dopenthread-system.h2 * Copyright (c) 2016, The OpenThread Authors.
32 * This file defines the platform-specific functions needed by OpenThread's example applications.
44 #include <openthread/error.h>
45 #include <openthread/instance.h>
46 #include <openthread/platform/misc.h>
116 …* Performs all platform-specific initialization of OpenThread's drivers and initializes the OpenTh…
119 …* @note This function is not called by the OpenThread library. Instead, the system/RTOS should cal…
120 * when initialization of OpenThread's drivers is most appropriate.
124 * @returns A pointer to the OpenThread instance.
130 …* Finalizes the OpenThread instance and performs all platform-specific deinitialization for OpenTh…
[all …]
/openthread-3.7.0/tools/harness-thci/
DREADME.md3 … "IThci", which is used by the Thread Test Harness Software to control OpenThread-based reference …
5 Currently, there are two THCI implementations for OpenThread:
7 - OpenThread CLI — Based on the CC2538 example platform, which is included in the current Thread Te…
8OpenThread `wpanctl` — Based on `wpantund` running on a Linux host (for example, a Raspberry Pi 3B…
12 ## OpenThread Environment Setup
14 1. Copy "OpenThread.png" to `C:\GRL\Thread1.1\Web\images`.
18 3. Copy "OpenThread.py" to `C:GRL\Thread1.1\Thread_Harness\THCI`.
20 …Device Under Test), a sniffer, and CC2538DK (or other hardware running OpenThread, as the referenc…
24 6. Drag the "OpenThread: TI CC2538DK" reference device to the **Test Bed** section with the desired…
28 ## OpenThread WpanCtl Environment Setup
[all …]
/openthread-3.7.0/include/openthread/platform/
Dradio.h2 * Copyright (c) 2016, The OpenThread Authors.
32 * This file defines the radio interface for OpenThread.
41 #include <openthread/error.h>
42 #include <openthread/instance.h>
43 #include <openthread/platform/crypto.h>
326 …* When `mIsHeaderUpdated` is set, it indicates that OpenThread core has already set the frame coun…
332 … * OpenThread core and it is the responsibility of the radio platform to assign them. The platform
456 * @param[in] aInstance The OpenThread instance structure.
466 … optional radio driver platform function. If not provided by platform radio driver, OpenThread uses
467 * the OpenThread version instead (@sa otGetVersionString()).
[all …]
/openthread-3.7.0/src/posix/
DREADME.md1 # OpenThread POSIX app
3 OpenThread supports running its core on POSIX and transmits radio frames through a radio transceive…
7 The figure below shows the architecture of OpenThread running in transceiver mode.
14 | OpenThread Core | <----------------> | OpenThread Radio |
31 OpenThread provides an implementation on the simulation platform which enables running a simulated …
42 **NOTE** Assuming the build system is 64bit Linux, you can use the normal OpenThread CLI as describ…
50 The nRF example platform driver can be found in the [ot-nrf528xx](https://github.com/openthread/ot-…
56 1. Clone the OpenThread nRF528xx platform repository into the current directory:
59 git clone --recursive https://github.com/openthread/ot-nrf528xx.git
68 3. Install the OpenThread dependencies:
[all …]
DCMakeLists.txt2 # Copyright (c) 2019, The OpenThread Authors.
78 set(CPACK_PACKAGE_NAME "openthread-daemon")
84 set(CPACK_PACKAGE_NAME "openthread-standalone")
88 set(OT_POSIX_FACTORY_CONFIG "" CACHE STRING "OpenThread factory config file")
89 set(OT_POSIX_PRODUCT_CONFIG "" CACHE STRING "OpenThread product config file")
103 …set(CPACK_DEBIAN_PACKAGE_MAINTAINER "OpenThread Authors (https://github.com/openthread/openthread)…
104 set(CPACK_PACKAGE_CONTACT "OpenThread Authors (https://github.com/openthread/openthread)")
/openthread-3.7.0/src/cli/
Dftd.cmake2 # Copyright (c) 2020, The OpenThread Authors.
29 add_library(openthread-cli-ftd)
31 target_compile_definitions(openthread-cli-ftd
38 target_compile_options(openthread-cli-ftd PRIVATE
42 target_include_directories(openthread-cli-ftd PUBLIC ${OT_PUBLIC_INCLUDES} PRIVATE ${COMMON_INCLUDE…
44 target_sources(openthread-cli-ftd PRIVATE ${COMMON_SOURCES})
46 target_link_libraries(openthread-cli-ftd
48 openthread-ftd
56 target_link_libraries(openthread-cli-ftd PRIVATE ${OT_CLI_VENDOR_TARGET})
Dmtd.cmake2 # Copyright (c) 2020, The OpenThread Authors.
29 add_library(openthread-cli-mtd)
31 target_compile_definitions(openthread-cli-mtd
38 target_compile_options(openthread-cli-mtd PRIVATE
42 target_include_directories(openthread-cli-mtd PUBLIC ${OT_PUBLIC_INCLUDES} PRIVATE ${COMMON_INCLUDE…
44 target_sources(openthread-cli-mtd PRIVATE ${COMMON_SOURCES})
46 target_link_libraries(openthread-cli-mtd
48 openthread-mtd
56 target_link_libraries(openthread-cli-mtd PRIVATE ${OT_CLI_VENDOR_TARGET})

12345678910>>...71