Skip to content

Commit 945b7fa

Browse files
[Feature] Add dishwasher app example (#27935)
* Add dishwasher app example * Add operational state cluster in dishwasher-app linux example * update dishwasher app's zap , with dishwasher device's type * remove unuseful code * Remove unassociate code * remove unuseful file * remove ASR example in dishwasher-app * Add document index for dishwasher-app * Restyled by clang-format * Restyled by gn * add dishwasher into build linux target * remove unuseful code * sync code of OPSTATE from all-cluster-app * fix zap error --------- Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 20a8dde commit 945b7fa

19 files changed

+12962
-1
lines changed

docs/examples/index.md

+9
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,15 @@ shell/**/README
202202
smoke-co-alarm-app/**/README
203203
```
204204

205+
## Dishwasher example
206+
207+
```{toctree}
208+
:glob:
209+
:maxdepth: 1
210+
211+
dishwasher-app/**/README
212+
```
213+
205214
## Temperature measurement example
206215

207216
```{toctree}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Copyright (c) 2020 Project CHIP Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
import("//build_overrides/chip.gni")
16+
import("${chip_root}/src/app/chip_data_model.gni")
17+
18+
config("config") {
19+
include_dirs = [ "include" ]
20+
}
21+
22+
chip_data_model("dishwasher-common") {
23+
zap_file = "dishwasher-app.zap"
24+
25+
zap_pregenerated_dir =
26+
"${chip_root}/zzz_generated/dishwasher-app/zap-generated"
27+
is_server = true
28+
}

0 commit comments

Comments
 (0)