- C++ 66.7%
- Python 22.7%
- C 9.1%
- Shell 0.8%
- CMake 0.6%
|
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
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. |
||
|---|---|---|
| .gemini | ||
| .github | ||
| doc | ||
| etc | ||
| examples | ||
| include/openthread | ||
| script | ||
| src | ||
| tests | ||
| third_party | ||
| tools | ||
| zephyr | ||
| .clang-format | ||
| .clang-tidy | ||
| .codecov.yml | ||
| .default-version | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| .gn | ||
| .prettierrc | ||
| AGENTS.md | ||
| AUTHORS | ||
| BUILD.gn | ||
| CMakeLists.txt | ||
| CMakePresets.json | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| NOTICE | ||
| README.md | ||
| SECURITY.md | ||
| STYLE_GUIDE.md | ||
What is OpenThread?
OpenThread released by Google is...
...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?
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:
- Bugs and feature requests — submit to the Issue Tracker
- Community Discussion - ask questions, share ideas, and engage with other community members























