Skip to content

Commit

Permalink
[Thread]Move the encoding of the thread diagnostics attributes to the…
Browse files Browse the repository at this point in the history
… app layer (#31766)

* Move the encoding of the thread diagnostics attributes to the app layer

* Restyled by whitespace

* Fix mtd build

* Fix some builds

* Fix general attributes read

* Apply suggestions from code review

Co-authored-by: mkardous-silabs <84793247+mkardous-silabs@users.noreply.github.com>

* address comment

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: mkardous-silabs <84793247+mkardous-silabs@users.noreply.github.com>
  • Loading branch information
3 people authored and pull[bot] committed Mar 15, 2024
1 parent bbb3283 commit 1741241
Show file tree
Hide file tree
Showing 18 changed files with 924 additions and 1,150 deletions.
6 changes: 6 additions & 0 deletions src/app/chip_data_model.gni
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,12 @@ template("chip_data_model") {
"${_app_root}/clusters/${cluster}/${cluster}.h",
"${_app_root}/clusters/${cluster}/EnergyReportingTestEventTriggerHandler.h",
]
} else if (cluster == "thread-network-diagnostics-server") {
sources += [
"${_app_root}/clusters/${cluster}/${cluster}.cpp",
"${_app_root}/clusters/${cluster}/thread-network-diagnostics-provider.cpp",
"${_app_root}/clusters/${cluster}/thread-network-diagnostics-provider.h",
]
} else {
sources += [ "${_app_root}/clusters/${cluster}/${cluster}.cpp" ]
}
Expand Down
Loading

0 comments on commit 1741241

Please sign in to comment.