- C++ 67.4%
- Python 22%
- C 9%
- Shell 0.9%
- CMake 0.6%
|
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
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. |
||
|---|---|---|
| .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























