No description
  • C++ 66.7%
  • Python 22.7%
  • C 9.1%
  • Shell 0.8%
  • CMake 0.6%
Find a file
Jonathan Hui 522a665187
Some checks failed
Build / pretty (push) Has been cancelled
Build / markdown-lint-check (push) Has been cancelled
Build / cmake-presets (push) Has been cancelled
Build / cmake-presets-ccm-one-shot (push) Has been cancelled
Build / cmake-version (push) Has been cancelled
Build / package-clang (push) Has been cancelled
Build / package-gcc (push) Has been cancelled
Build / scan-build (push) Has been cancelled
Build / mbedtls2-build (push) Has been cancelled
Build / arm-gcc-10 (push) Has been cancelled
Build / arm-gcc-5 (push) Has been cancelled
Build / arm-gcc-6 (push) Has been cancelled
Build / arm-gcc-7 (push) Has been cancelled
Build / arm-gcc-9 (push) Has been cancelled
Build / arm-gcc-11 (push) Has been cancelled
Build / arm-gcc-12 (push) Has been cancelled
Build / arm-gcc-13 (push) Has been cancelled
Build / arm-gcc-14 (push) Has been cancelled
Build / arm-gcc-15 (push) Has been cancelled
Build / gcc-10 (push) Has been cancelled
Build / gcc-11 (push) Has been cancelled
Build / gcc-12 (push) Has been cancelled
Build / gcc-9 (push) Has been cancelled
Build / clang-17 (push) Has been cancelled
Build / clang-18 (push) Has been cancelled
Build / clang-19 (push) Has been cancelled
Build / gn (push) Has been cancelled
Build / macos-clang (push) Has been cancelled
Build / macos-gcc (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
CodeQL / Analyze-1 (push) Has been cancelled
Docker / build (linux/amd64, ubuntu-24.04) (push) Has been cancelled
Docker / build (linux/arm64, ubuntu-24.04-arm) (push) Has been cancelled
Makefile Check / makefile-check (push) Has been cancelled
Makefile Check / header-guard-check (push) Has been cancelled
Nexus / nexus-cert-tests (push) Has been cancelled
Nexus / nexus-core-tests (push) Has been cancelled
Nexus / nexus-long-routes-tests (push) Has been cancelled
Nexus / nexus-grpc-tests (push) Has been cancelled
Nexus / nexus-wasm-tests (push) Has been cancelled
OTBR DinD / dind-dns-sd () (push) Has been cancelled
OTBR DinD / dind-dns-sd (--mdnsresponder) (push) Has been cancelled
Border Router / BR (mDNSResponder, TREL=0) (push) Has been cancelled
Border Router / BR (mDNSResponder, TREL=1) (push) Has been cancelled
Border Router / BR internet access (mDNSResponder, TREL=0) (push) Has been cancelled
OTCI / cli-sim VIRTUAL_TIME=0 (push) Has been cancelled
OTCI / cli-sim VIRTUAL_TIME=1 (push) Has been cancelled
OTNS / Unittests (push) Has been cancelled
OTNS / Examples (push) Has been cancelled
OTNS / Stress multicast-performance (push) Has been cancelled
OTNS / Stress network-latency (push) Has been cancelled
OTNS / Stress otns-performance (push) Has been cancelled
OTNS / Stress commissioning (push) Has been cancelled
OTNS / Stress connectivity (push) Has been cancelled
OTNS / Stress network-forming (push) Has been cancelled
POSIX / expects-linux (push) Has been cancelled
POSIX / pty-linux OT_DAEMON=off (push) Has been cancelled
POSIX / pty-linux OT_DAEMON=on (push) Has been cancelled
POSIX / infra-if-index-changed-linux (push) Has been cancelled
POSIX / pty-macos OT_DAEMON=off (push) Has been cancelled
POSIX / pty-macos OT_DAEMON=on (push) Has been cancelled
POSIX / rcp-stack-reset (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
Simulation / ot-commissioner (push) Has been cancelled
Simulation / simulation-local-host (push) Has been cancelled
Simulation / channel-manager-csl (push) Has been cancelled
Simulation / expects (push) Has been cancelled
Size Check / size-check (push) Has been cancelled
Toranj / toranj-ncp-15.4 (push) Has been cancelled
Toranj / toranj-cli-15.4 (push) Has been cancelled
Toranj / toranj-cli-multi (push) Has been cancelled
Toranj / toranj-cli-trel (push) Has been cancelled
Toranj / toranj-unittest (push) Has been cancelled
Toranj / toranj-macos (push) Has been cancelled
Unit / tcplp-buffering (push) Has been cancelled
Unit / unit-tests (push) Has been cancelled
Docker / merge (push) Has been cancelled
Border Router / upload-coverage (push) Has been cancelled
OTNS / upload-coverage (push) Has been cancelled
POSIX / upload-coverage (push) Has been cancelled
Simulation / upload-coverage (push) Has been cancelled
Toranj / upload-coverage (push) Has been cancelled
Unit / upload-coverage (push) Has been cancelled
[thread-cert] handle BrokenPipeError on resetting node in simulator (#13495)
When a simulated node restarts (e.g. during `factoryreset`), the
child process re-executes itself via `execvp`, disconnecting its
UNIX domain socket connection to the virtual-time simulator.

If `VirtualTime._send_message()` attempts to send an event before the
socket disconnection event has been processed by `selectors`,
`sock.send()` raises `BrokenPipeError` or `ConnectionResetError`,
even though the node is marked as temporarily offline in
`_maybeoff_ports` (via `maybeoff=True`).

This commit catches `BrokenPipeError` and `ConnectionResetError` in
`VirtualTime._send_message()`, verifying that the destination port is
present in `_maybeoff_ports` and skipping delivery cleanly.
2026-08-13 10:52:07 -07:00
.gemini [gemini] add configuration for Gemini code review (#12619) 2026-03-04 19:29:00 -06:00
.github github-actions: bump github/codeql-action/init from 4.37.3 to 4.37.6 (#13488) 2026-08-10 14:57:14 -07:00
doc [platform] define otPlatTcp platform abstraction APIs (#13175) 2026-06-10 10:23:06 -07:00
etc [crypto] add platform AES-CCM* one-shot hook (#13190) 2026-07-03 16:02:01 -07:00
examples [mac-frame] improve type safety and helpers for MAC security fields (#13436) 2026-07-30 14:08:00 -07:00
include/openthread [radio] clarify Key ID Mode 1 usage in otPlatRadioSetMacKey() (#13380) 2026-07-24 08:59:19 -07:00
script [ci] only upload report_pr (#13452) 2026-07-31 08:16:48 -07:00
src [meshcop] honor finalize response state and provisioning URL requirement (#13418) 2026-08-13 09:50:21 -07:00
tests [thread-cert] handle BrokenPipeError on resetting node in simulator (#13495) 2026-08-13 10:52:07 -07:00
third_party [nexus] add 1.4 PIC-TC-1 test for DHCPv6-PD and DNS (#12859) 2026-04-09 15:29:35 -05:00
tools [otci] drain pending lines in OtCliCommandRunner before timing out (#13494) 2026-08-13 10:51:48 -07: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 [format] upgrade clang-format to 19 (#11783) 2025-08-06 10:49:52 -07: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: