Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 462c129

Browse files
sabollim-silabssatyanaag-silabsrestyled-commitsbzbarsky-apple
authored andcommittedMar 4, 2025
Initial closure sample app for 917SoC (project-chip#37752)
* Basic closure sample app with closure control server * Adding README file and renaming callback file * Restyled by whitespace * Restyled by clang-format * Restyled by gn * Restyled by prettier-json * Restyled by prettier-markdown * Updating sample app as per server code changes * addressing PR comments * Adding closure README to docs * enabling lcd and qrcode generation in lcd * removing unintended tab changes and default values added during rebase * Addressing PR comments * Update examples/closure-app/closure-common/closure-control/src/ClosureControlDelegateImpl.cpp Co-authored-by: Boris Zbarsky <bzbarsky@apple.com> * addressing PR comments * Restyled by whitespace * Restyled by prettier-markdown * corecting lint workflow identified errors * corecting lint workflow identified errors --------- Co-authored-by: sabollim <satyanaag.bollimpalli@silabs.com> Co-authored-by: Restyled.io <commits@restyled.io> Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
1 parent 5cd4dd7 commit 462c129

27 files changed

+9948
-0
lines changed
 

‎docs/examples/closure.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Closure
2+
3+
```{toctree}
4+
:glob:
5+
:maxdepth: 1
6+
7+
closure-app/**/README
8+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright (c) 2025 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}/examples/common/pigweed/pigweed_rpcs.gni")
17+
import("${chip_root}/src/app/chip_data_model.gni")
18+
19+
config("config") {
20+
include_dirs = [ "common/include" ]
21+
}
22+
23+
chip_data_model("closure-common") {
24+
zap_file = "closure-app.zap"
25+
is_server = true
26+
}

0 commit comments

Comments
 (0)
Please sign in to comment.