mirror of
https://github.com/espressif/openthread.git
synced 2026-09-05 00:30:07 +00:00
Add diagnostics module in OpenThread (#343)
* Add diagnostics module in OpenThread - provide the same diagnostics interface for both CLI and NCP usage - implement common diagnostics features based on existing platform interface defined in 'include/platform/' - other more platform specific diagnostics features will be processed under platform layer - update CLI interface to support diagnostics feature - update both Posix and CC2538 platform to support diagnostics feature * Add diagnostics module unit test - move platform.h from "examples/platform" to "include/platform" - add test_diag.cpp to test diagnostics module * Add a configuration option that would enable/disable diagnostics module Add --enable-diag configuration option to enable/disable diagnostics module when building OpenThread.
This commit is contained in:
@@ -38,6 +38,7 @@ OpenThread test scripts use the CLI to execute test cases.
|
||||
* [thread](#thread)
|
||||
* [version](#version)
|
||||
* [whitelist](#whitelist)
|
||||
* [diag](#diag)
|
||||
|
||||
## OpenThread Command Details
|
||||
|
||||
@@ -680,3 +681,11 @@ Remove an IEEE 802.15.4 Extended Address from the whitelist.
|
||||
> whitelist remove dead00beef00cafe
|
||||
Done
|
||||
```
|
||||
|
||||
### diag
|
||||
|
||||
Diagnostics module is enabled only when building OpenThread with --enable-diag option.
|
||||
Go [diagnostics module][1] for more information.
|
||||
|
||||
[1]:../diag/README.md
|
||||
|
||||
|
||||
Reference in New Issue
Block a user