Skip to content

Commit

Permalink
[Linux] Initial implementation of fabric-bridge for fabric sync (#33284)
Browse files Browse the repository at this point in the history
* Initial implementation of fabric-bridge

* Update examples/fabric-bridge-app/linux/ActionsServerCallbacks.cpp

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>

* Address review comments

* Use a maximum number of retries to exit the loop more reliably

* Remove unused varibles

---------

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
  • Loading branch information
2 people authored and pull[bot] committed Jul 2, 2024
1 parent a97eae6 commit 3987011
Show file tree
Hide file tree
Showing 16 changed files with 6,808 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ darwin-framework-tool/README
energy-management-app/**/README
```

## Fabric Bridge example

```{toctree}
:glob:
:maxdepth: 1
fabric-bridge-app/**/README
```

## Java matter controller example

```{toctree}
Expand Down
25 changes: 25 additions & 0 deletions examples/fabric-bridge-app/fabric-bridge-common/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2024 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import("//build_overrides/chip.gni")

import("${chip_root}/src/app/chip_data_model.gni")

chip_data_model("fabric-bridge-common") {
zap_file = "fabric-bridge-app.zap"

is_server = true

cflags = [ "-DDYNAMIC_ENDPOINT_COUNT=16" ]
}
Loading

0 comments on commit 3987011

Please sign in to comment.