mirror of
https://github.com/espressif/openthread.git
synced 2026-09-13 04:30:08 +00:00
[network-diagnostic] improve usability of Network Diagnostic API (#4619)
This commit improves usability of Network Diagnostic API by: - Define native structures to represent various Network Diagnostic TLV values. - Add facility function otThreadGetNextDiagnosticTlv to parse plain otMessage into structured data. - Dump parsed DIAG_GET.ans/.rsp message in readable format for networkdiagnostic CLI command.
This commit is contained in:
@@ -148,6 +148,7 @@ LOCAL_SRC_FILES := \
|
||||
src/core/api/logging_api.cpp \
|
||||
src/core/api/message_api.cpp \
|
||||
src/core/api/netdata_api.cpp \
|
||||
src/core/api/netdiag_api.cpp \
|
||||
src/core/api/random_crypto_api.cpp \
|
||||
src/core/api/random_noncrypto_api.cpp \
|
||||
src/core/api/server_api.cpp \
|
||||
|
||||
Reference in New Issue
Block a user