No description
  • C++ 67.4%
  • Python 22%
  • C 9%
  • Shell 0.9%
  • CMake 0.6%
Find a file
Jonathan Hui 3de409682f
Some checks are pending
Build / pretty (push) Waiting to run
Build / markdown-lint-check (push) Waiting to run
Build / cmake-presets (push) Waiting to run
Build / cmake-presets-platform-options (push) Waiting to run
Build / cmake-version (push) Waiting to run
Build / package-clang (push) Waiting to run
Build / package-gcc (push) Waiting to run
Build / scan-build (push) Waiting to run
Build / mbedtls2-build (push) Waiting to run
Build / arm-gcc-10 (push) Waiting to run
Build / arm-gcc-5 (push) Waiting to run
Build / arm-gcc-6 (push) Waiting to run
Build / arm-gcc-7 (push) Waiting to run
Build / arm-gcc-9 (push) Waiting to run
Build / arm-gcc-11 (push) Waiting to run
Build / arm-gcc-12 (push) Waiting to run
Build / arm-gcc-13 (push) Waiting to run
Build / arm-gcc-14 (push) Waiting to run
Build / arm-gcc-15 (push) Waiting to run
Build / gcc-10-posix (push) Waiting to run
Build / gcc-10-posix-daemon (push) Waiting to run
Build / gcc-10-simulation-1.1 (push) Waiting to run
Build / gcc-10-simulation-1.4 (push) Waiting to run
Build / gcc-11-posix (push) Waiting to run
Build / gcc-11-posix-daemon (push) Waiting to run
Build / gcc-11-simulation-1.1 (push) Waiting to run
Build / gcc-11-simulation-1.4 (push) Waiting to run
Build / gcc-12-posix (push) Waiting to run
Build / gcc-12-posix-daemon (push) Waiting to run
Build / gcc-12-simulation-1.1 (push) Waiting to run
Build / gcc-12-simulation-1.4 (push) Waiting to run
Build / gcc-9-posix (push) Waiting to run
Build / gcc-9-posix-daemon (push) Waiting to run
Build / gcc-9-simulation-1.1 (push) Waiting to run
Build / gcc-9-simulation-1.4 (push) Waiting to run
Build / clang-17-posix (push) Waiting to run
Build / clang-17-posix-daemon (push) Waiting to run
Build / clang-17-simulation-1.1 (push) Waiting to run
Build / clang-17-simulation-1.4 (push) Waiting to run
Build / clang-18-posix (push) Waiting to run
Build / clang-18-posix-daemon (push) Waiting to run
Build / clang-18-simulation-1.1 (push) Waiting to run
Build / clang-18-simulation-1.4 (push) Waiting to run
Build / clang-19-posix (push) Waiting to run
Build / clang-19-posix-daemon (push) Waiting to run
Build / clang-19-simulation-1.1 (push) Waiting to run
Build / clang-19-simulation-1.4 (push) Waiting to run
Build / gn (push) Waiting to run
Build / macos-clang-posix (push) Waiting to run
Build / macos-clang-simulation-1.1 (push) Waiting to run
Build / macos-clang-simulation-1.4 (push) Waiting to run
Build / macos-gcc-posix (push) Waiting to run
Build / macos-gcc-simulation-1.1 (push) Waiting to run
Build / macos-gcc-simulation-1.4 (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
Docker / build (linux/amd64, ubuntu-24.04) (push) Waiting to run
Docker / build (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Docker / merge (push) Blocked by required conditions
Makefile Check / makefile-check (push) Waiting to run
Makefile Check / header-guard-check (push) Waiting to run
Nexus / nexus-cert-tests (push) Waiting to run
Nexus / nexus-core-tests (push) Waiting to run
Nexus / nexus-long-routes-tests (push) Waiting to run
Nexus / nexus-grpc-tests (push) Waiting to run
Nexus / nexus-wasm-tests (push) Waiting to run
OTBR DinD / dind-dns-sd () (push) Waiting to run
OTBR DinD / dind-dns-sd (--mdnsresponder) (push) Waiting to run
Border Router / BR (mDNSResponder, TREL=0) (push) Waiting to run
Border Router / BR (mDNSResponder, TREL=1) (push) Waiting to run
Border Router / BR internet access (mDNSResponder, TREL=0) (push) Waiting to run
Border Router / upload-coverage (push) Blocked by required conditions
OTCI / cli-sim VIRTUAL_TIME=0 (push) Waiting to run
OTCI / cli-sim VIRTUAL_TIME=1 (push) Waiting to run
OTNS / Unittests (push) Waiting to run
OTNS / Examples (push) Waiting to run
OTNS / Stress multicast-performance (push) Waiting to run
OTNS / Stress network-latency (push) Waiting to run
OTNS / Stress otns-performance (push) Waiting to run
OTNS / Stress commissioning (push) Waiting to run
OTNS / Stress connectivity (push) Waiting to run
OTNS / Stress network-forming (push) Waiting to run
OTNS / upload-coverage (push) Blocked by required conditions
POSIX / expects-posix-cli (push) Waiting to run
POSIX / expects-posix-rcp (push) Waiting to run
POSIX / expects-posix-tun (push) Waiting to run
POSIX / pty-linux OT_DAEMON=off (push) Waiting to run
POSIX / pty-linux OT_DAEMON=on (push) Waiting to run
POSIX / infra-if-index-changed-linux (push) Waiting to run
POSIX / pty-macos OT_DAEMON=off (push) Waiting to run
POSIX / pty-macos OT_DAEMON=on (push) Waiting to run
POSIX / rcp-stack-reset (push) Waiting to run
POSIX / upload-coverage (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
Simulation / ot-commissioner (push) Waiting to run
Simulation / simulation-local-host (push) Waiting to run
Simulation / channel-manager-csl (push) Waiting to run
Simulation / expects-cli (push) Waiting to run
Simulation / expects-non-cli (push) Waiting to run
Simulation / upload-coverage (push) Blocked by required conditions
Size Check / size-check (push) Waiting to run
Toranj / toranj-ncp-15.4 (push) Waiting to run
Toranj / toranj-cli-15.4 (push) Waiting to run
Toranj / toranj-cli-multi (push) Waiting to run
Toranj / toranj-cli-trel (push) Waiting to run
Toranj / toranj-unittest (push) Waiting to run
Toranj / toranj-build-log-level-CRIT (push) Waiting to run
Toranj / toranj-build-log-level-DEBG (push) Waiting to run
Toranj / toranj-build-log-level-INFO (push) Waiting to run
Toranj / toranj-build-log-level-NONE (push) Waiting to run
Toranj / toranj-build-log-level-NOTE (push) Waiting to run
Toranj / toranj-build-log-level-WARN (push) Waiting to run
Toranj / toranj-build-ncp-15.4 (push) Waiting to run
Toranj / toranj-build-ncp-15.4+trel (push) Waiting to run
Toranj / toranj-build-ncp-trel (push) Waiting to run
Toranj / toranj-build-posix-15.4 (push) Waiting to run
Toranj / toranj-build-posix-15.4+trel (push) Waiting to run
Toranj / toranj-build-posix-trel (push) Waiting to run
Toranj / toranj-build-feature-(--enable-csl-debug --log-level DEBG all) (push) Waiting to run
Toranj / toranj-build-feature-(--enable-plat-key-ref all) (push) Waiting to run
Toranj / toranj-macos (push) Waiting to run
Toranj / upload-coverage (push) Blocked by required conditions
Unit / tcplp-buffering (push) Waiting to run
Unit / unit-tests (push) Waiting to run
Unit / upload-coverage (push) Blocked by required conditions
[otci] fix virtual-time simulator and CLI synchronization races (#13907)
This commit fixes intermittent races in `test_otci.py` and the virtual
time simulator (`VIRTUAL_TIME=1` and `VIRTUAL_TIME=0`):

- Iterate over `list(self.devices)` in `VirtualTime.sync_devices()` so
  socket accepts or packet arrivals inside `process_events()` do not
  raise `RuntimeError: dictionary changed size during iteration`.
- Unregister and close any stale client socket when a resetting node
  reconnects in `VirtualTime.receive_events()`, ignore stale
  `EVENT_READ` readiness on replaced sockets, and clean up registered
  sockets and selector fds in `VirtualTime.stop()`.
- Return whether an event was sent in `VirtualTime._send_message()` so
  skipped offline nodes in `_maybeoff_ports` are not marked awake or
  waited on in `process_next_event()` and `sync_devices()`.
- Retry `select()` on `EINTR` in virtual-time `otSysProcessDrivers()`
  so signal interruptions do not emit duplicate sleep events.
- Synchronize `OtCliCommandRunner.wait()` with the background CLI
  reader thread using explicit non-blocking line buffering in
  `OtCliPopen`, filter uptime-prefixed and moduleless (`[THCI]`) log
  lines, filter commissioner scan/query output lines, close nodes in
  `finally` blocks, and increase child attach waits from 3s to 5s.
2026-11-11 17:45:19 -08:00
.gemini [gemini] add configuration for Gemini code review (#12619) 2026-03-04 19:29:00 -06:00
.github [github-actions] install prebuilt CMake 3.10.3 in cmake-version job (#13905) 2026-11-11 17:37:39 -08:00
doc [thread-direct] introduce and implement Thread Direct Wake Listener (#13881) 2026-11-11 17:43:02 -08:00
etc [cmake] use lightweight tags in ot_git_version git describe (#13777) 2026-10-23 14:54:50 -07:00
examples [otci] fix virtual-time simulator and CLI synchronization races (#13907) 2026-11-11 17:45:19 -08:00
include/openthread [thread-direct] introduce and implement Thread Direct Wake Listener (#13881) 2026-11-11 17:43:02 -08:00
script [mac] support time sync with multi-radio links (#13919) 2026-11-11 17:15:13 -08:00
src [thread-direct] introduce and implement Thread Direct Wake Listener (#13881) 2026-11-11 17:43:02 -08:00
tests [otci] fix virtual-time simulator and CLI synchronization races (#13907) 2026-11-11 17:45:19 -08:00
third_party [crypto] use mbedtls HKDF and ECP public key export APIs (#13918) 2026-11-11 17:15:34 -08:00
tools [otci] fix virtual-time simulator and CLI synchronization races (#13907) 2026-11-11 17:45:19 -08:00
zephyr [zephyr] add module name (#10041) 2024-04-22 07:38:41 -07:00
.clang-format [simulation] support simulating radio over IPv6 (#10194) 2024-05-13 09:27:54 -07:00
.clang-tidy [clang-tidy] fix HeaderFilterRegex and exclude third_party headers (#13782) 2026-10-27 08:14:44 +01:00
.codecov.yml [codecov] disable project coverage threshold (#6307) 2021-03-18 22:16:04 -07:00
.default-version build-system: Update .default-version to 0.01.00 for the initial release (#150) 2016-06-15 10:17:50 -07:00
.gitattributes [build] cleanup autotools references (#9242) 2023-06-30 15:14:13 -07:00
.gitignore [gitignore] add python virtual env folder (#11515) 2025-05-21 07:14:41 -07:00
.gitmodules [mbedtls] change mbedtls to git submodule (#12107) 2025-11-12 08:10:56 +01:00
.gn [gn] move gn build into etc (#11577) 2025-06-17 14:21:37 +09:00
.prettierrc [pretty] add markdown support (#4881) 2020-04-24 16:22:00 -07:00
AGENTS.md [docs] rename GEMINI.md to AGENTS.md (#13316) 2026-07-08 22:30:52 -07:00
AUTHORS [efr32] add radio.c debug counters for efr32mg12 and efr32mg21 (#4217) 2019-10-04 11:03:18 -07:00
BUILD.gn [spinel] add libopenthread-radio-spinel GN library (#12466) 2026-02-23 14:22:47 -06:00
CMakeLists.txt [common] add Clang lifetime safety macros and annotate Heap::String (#13381) 2026-07-23 12:58:51 -07:00
CMakePresets.json [cmake] add CMakePresets (#11945) 2025-10-16 09:14:27 +02:00
CODE_OF_CONDUCT.md [docs] update Code of Conduct to Contributor Covenant v2.1 (#9627) 2023-11-21 10:14:41 -08:00
CONTRIBUTING.md [style] upgrade yapf to the latest version (#12169) 2025-11-19 08:14:33 -08:00
LICENSE Change copyright to The OpenThread Authors. (#583) 2016-09-13 15:57:11 -07:00
NOTICE [docs] update version to 1.4.0 (#11069) 2024-12-19 14:24:26 -08:00
README.md [readme] add Beken to who-supports-openthread list (#12035) 2025-10-27 17:03:27 -07:00
SECURITY.md [docs] add security policy (#8497) 2022-12-07 16:21:29 -08:00
STYLE_GUIDE.md [style] upgrade yapf to the latest version (#12169) 2025-11-19 08:14:33 -08:00

OpenThread Ask DeepWiki


What is OpenThread?

OpenThread released by Google is... Thread Certified Component

...an open-source implementation of the Thread networking protocol. Google Nest has released OpenThread to make the technology used in Nest products more broadly available to developers to accelerate the development of products for the connected home.

...OS and platform agnostic, with a narrow platform abstraction layer and a small memory footprint, making it highly portable. It supports both system-on-chip (SoC) and network co-processor (NCP) designs.

...a Thread Certified Component, implementing all features defined in the Thread 1.4.0 specification, including all Thread networking layers (IPv6, 6LoWPAN, IEEE 802.15.4 with MAC security, Mesh Link Establishment, Mesh Routing) and device roles, as well as Border Router support.

More information about Thread can be found at threadgroup.org. Thread is a registered trademark of the Thread Group, Inc.

Who supports OpenThread?

AmazonAqaraARMBekenCascodaEeroEspressifGoogleInfineonMMB NetworksNabu CasaNanoleafNordicNXPQorvoQualcommSamsungSilicon LabsSTMicroelectronicsSynopsysTelink SemiconductorTexas InstrumentsZephyr Project

Getting started

All end-user documentation and guides are located at openthread.io. If you're looking to do things like...

  • Learn more about OpenThread features and enhancements
  • Use OpenThread in your products
  • Learn how to build and configure a Thread network
  • Port OpenThread to a new platform
  • Build an application on top of OpenThread
  • Certify a product using OpenThread

...then openthread.io is the place for you.

Note: For users in China, end-user documentation is available at openthread.google.cn.

If you're interested in contributing to OpenThread, read on.

Contributing

We would love for you to contribute to OpenThread and help make it even better than it is today! See our Contributing Guidelines for more information.

Contributors are required to abide by our Code of Conduct and Coding Conventions and Style Guide.

License

OpenThread is released under the BSD 3-Clause license. See the LICENSE file for more information.

Please only use the OpenThread name and marks when accurately referencing this software distribution. Do not use the marks in a way that suggests you are endorsed by or otherwise affiliated with Nest, Google, or The Thread Group.

Need help?

OpenThread support is available on GitHub: