tree: 84ba19c7c14841248182a354cb8ae0ecdc8fd454 [path history] [tgz]
  1. commands/
  2. device_manager/
  3. include/
  4. rpc/
  5. scripts/
  6. third_party/
  7. .gn
  8. args.gni
  9. BUILD.gn
  10. fabric-admin.gni
  11. main.cpp
  12. README.md
  13. with_pw_rpc.gni
examples/fabric-admin/README.md

Matter Fabric Administrator Example

An example application that supports synchronization of devices across fabrics fabrics.



Building the Example Application

For Linux host example:

source scripts/activate.sh
./scripts/build/build_examples.py --target linux-x64-fabric-admin-rpc build

For Raspberry Pi 4 example:

Pull Docker Images

docker pull ghcr.io/project-chip/chip-build-crosscompile:90

Run docker

docker run -it -v ~/connectedhomeip:/var/connectedhomeip ghcr.io/project-chip/chip-build-crosscompile:90 /bin/bash

Build

cd /var/connectedhomeip

git config --global --add safe.directory /var/connectedhomeip

./scripts/run_in_build_env.sh \
 "./scripts/build/build_examples.py \
    --target linux-arm64-fabric-admin-clang-rpc \
    build"

Transfer the fabric-admin binary to a Raspberry Pi

scp ./fabric-admin ubuntu@xxx.xxx.xxx.xxx:/home/ubuntu