commit | d09ef3b2e42b70fae6d465d4d666cc82ef21b728 | [log] [tgz] |
---|---|---|
author | Mason Tran <mason.tran@silabs.com> | Mon Apr 29 12:09:54 2024 -0400 |
committer | Zhanglong Xia <zhanglongxia@google.com> | Wed May 29 09:54:44 2024 +0800 |
tree | e8c40901c76ccb698c13e6ab921dfffe2add2d10 | |
parent | bf0ba98a374452a7763b5c8249584f5ad788a349 [diff] |
[spinel] add support for logging crash dumps (#10061) This commit adds a new feature that allows platforms to log crash logs. - `void otPlatLogCrashDump(void)` - API that logs a crash dump using OpenThread Logging APIs - `SPINEL_PROP_RCP_LOG_CRASH_DUMP` - spinel prop that calls `otPlatLogCrashDump()` when `Set` - `SPINEL_CAP_RCP_LOG_CRASH_DUMP` - spinel capability denoting that a RCP supports logging crash dumps - For `ot-cli-ftd|mtd`, `otPlatLogCrashDump()` is called at the end of app initialization, before the main loop. See [main.c] - For Host/RCP setups, during initialization, the Host gets the RCP capabilities. If the RCP has the `SPINEL_CAP_RCP_LOG_CRASH_DUMP` capability, the Host will `Set` the `SPINEL_PROP_RCP_LOG_CRASH_DUMP` property, triggering the RCP to call `otPlatLogCrashDump()`. - If RCP Recovery is enabled, the this will also happen once the RCP has been restored (cherry picked from commit 502797c0b3e1820be1144daa45e9df6d1e563891) Change-Id: I9ec52fd9d7f0560156796bb40386d38e200a0730
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.
All end-user documentation and guides are located at openthread.io. If you're looking to do things like...
...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.
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.
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.
OpenThread support is available on GitHub: