[Github Sync] Merge github/main to aosp/main

Bug: 333301206

* github/main:
  [mle] MTD to handle udp time sync message (#9978)
  [plat-utils] enhance `otMacFrameDoesAddrMatch()` (#9997)
  [netdata-publisher] distinguish SRP/DNS unicast entries (#9937)
  [logging] introduce `LogWarnOnError()` for standardized error logging (#9996)
  [test] add tests for multi-BR network resilience during BR removal (#9990)
  [srp-sever] add `LogError()` (#9992)
  [dataset] define `Dataset::Tlvs` type (#9991)
  [ip6] allow delivering RLOC/ALOC traffic to host (#9987)
  [mle] simplify `CheckReachablity()` (#9989)
  [srp-server] retry other ports when failing to `prepareSocket` (#9981)
  [link-metrics] fix race condition (#9986)
  [doc] use space char instead of tabs in `ot_config_doc.h` (#9983)
  github-actions: bump actions/checkout from 4.1.1 to 4.1.2 (#9982)
  [mesh-forwarder] update `CheckReachablity()` to handle malformed messages (#9976)
  [netata] simplify `RemoveTemporaryData()` (#9975)
  [cli] `netdata show` to support filtering by RLOC16 (#9969)
  [mle] improve MLE module comments (#9972)
  [cli] fix CoAP response code for POST 2.03 -> 2.04 per RFC 7252 (#9971)
  [mle] include child RLOC16 in the logs from `HandleTimeTick()` (#9968)
  [netdata] refactor `MutableNetworkData` methods for code organization (#9970)
  [routing-manager] set extra options to append to emitted RAs (#9945)
  [test] add `tcat` unit tests (#9953)
  [cli] add `OutputNetworkData()` (#9965)
  [routing-manager] employ RA hash tracking to detect self-originating RAs (#9939)
  [channel-manager] add local csl channel selection on SSED (#9641)
  [netdata] add `FindRlocs()` to retrieve RLOC16 of entries (#9961)
  [version] introduce `OT_THREAD_VERSION_1_4` (#9946)
  github-actions: bump actions/download-artifact from 4.1.1 to 4.1.4 (#9963)
  [config] update docs for `SED_BUFFER_SIZE` & `SED_DATAGRAM_COUNT` (#9962)
  [spinel] extract log module from radio spinel (#9957)
  [mle] simplify `HandleTimeTick()` code related to aging routers (#9955)
  [mle] retain direct child cache entries on Addr Solicit Response TX (#9956)
  [test] simplify `test_pskc` unit test (#9952)
  [cli] move `Process{Get/Set/Enable/Disable}` methods to Utils class (#9951)
  [simulation] add simulation tests framework for tcat (#9724)
  [coap] fix copying option (#9894)
  github-actions: bump docker/setup-buildx-action from 3.0.0 to 3.2.0 (#9941)
  [routing-manager] simplify `Ip6::Nd` type usage (#9938)
  [thread-cert] use `unittest` assert methods (#9936)
  [lib] include `(void)` in function prototype in `reset_util.h` (#9934)
  [routing-manager] update use of `Ip6::Nd::Option` enumerator (#9931)
  [posix] remove use of core-internal types in `netif.cpp` platform (#9928)
  [test] enhance `test_netdata_publisher` robustness (#9932)
  [thread-cert] use `ROUTER_STARTUP_DELAY` in `test_detach` (#9933)
  [mle] disable MLE retransmissions when detaching (#9929)
  [simulation] allow specify local host (#9925)
  [routing-manager] construct RA dynamically using `Heap::Array` (#9924)
  [posix] ensure module names are included in platform logs (#9920)
  [tests] fix `test_manual_maddress.py` (#9923)
  [thread-cert] set device mode in `test_mle_msg_key_seq_jump` (#9921)
  [posix] add IPv6 address helper functions in `Ip6Utils` (#9917)
  [daemon] always initialize the OT CLI when setting up the daemon (#9919)
  [misc] remove stale forward declaration (#9911)
  github-actions: bump actions/upload-artifact from 4.2.0 to 4.3.1 (#9914)
  [docs] add documentation for CLI `dataset updater` command (#9905)
  [test] add `test_key_rotation_and_key_guard_time` (#9906)
  [srp-server] add snoop cache entries for registered host addresses (#9881)
  [key-manager] update how key guard time is determined and applied (#9871)
  [toranj-config] disable `OT_BORDER_ROUTING` on NCP builds (#9907)
  [simulation] implement `otPlatInfraIf` APIs in simulation platform (#9895)
  [posix] add otSysCliInitUsingDaemon API (#9897)
  [routing-manager] delay sending RAs until after initial policy evaluation (#9896)
  [posix] add missing header guards, style fixes (#9892)
  [border-agent] mechanism to use ephemeral key (#9435)
  [posix] enable building `infra_if.cpp` on macOS (#9891)
  [string] return `0` if `nullptr` is passed to `StringLength` (#9886)
  [posix] fix member var access from static `CreateIcmp6Socket()` (#9887)
  github-actions: bump github/codeql-action from 3.23.2 to 3.24.6 (#9890)
  github-actions: bump codecov/codecov-action from 3.1.4 to 4.0.2 (#9877)
  [cli] add documentation for `nexthop` command in `README.md` (#9882)
  [simulation] add `simul_utils.h` for socket operation helpers (#9879)
  [message] track received `ThreadLinkInfo` in `Message` metadata (#9878)
  [spinel] drop received frames between RCP disable and reset (#9793)
  [link-quality] prevent overflow in `LqiAverager` calculation (#9876)
  [cli] add `@moreinfo` Doxygen tags to reference CoAPS Concepts Guide (#9867)
  [core] use `NumericLimits<>` constants (#9875)

Change-Id: I65a1c577c22335916c3ba68f164a76b6d1409831
tree: b24eadb4f6a55c07c14cf5c6dbbea583f2c6c37a
  1. .github/
  2. doc/
  3. etc/
  4. examples/
  5. include/
  6. script/
  7. src/
  8. tests/
  9. third_party/
  10. tools/
  11. zephyr/
  12. .clang-format
  13. .clang-tidy
  14. .code-spell-ignore
  15. .codecov.yml
  16. .default-version
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .prettierrc
  21. Android.bp
  22. AUTHORS
  23. BUILD.gn
  24. CMakeLists.txt
  25. CODE_OF_CONDUCT.md
  26. CONTRIBUTING.md
  27. LICENSE
  28. METADATA
  29. NOTICE
  30. openthread-config-android-version.h
  31. OWNERS
  32. README.android
  33. README.md
  34. README.version
  35. SECURITY.md
  36. STYLE_GUIDE.md
  37. TEST_MAPPING
README.md

OpenThread Build Simulation Docker Coverage Status


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.3.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: