File tree 2 files changed +96
-0
lines changed
2 files changed +96
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Matter Fabric Administrator Example
2
+
3
+ An example application that which supports synchronization of devices between fabrics.
4
+
5
+
6
+ ---
7
+
8
+ - [ Building the Example Application] ( #building-the-example-application )
9
+
10
+ ---
11
+
12
+ ## Building the Example Application
13
+
14
+ For Linux host example:
15
+
16
+ ```
17
+ ./scripts/examples/gn_build_example.sh examples/fabric-admin out/debug/standalone chip_config_network_layer_ble=false 'import("//with_pw_rpc.gni")'
18
+ ```
19
+
20
+ For Raspberry Pi 4 example:
21
+
22
+ ### Pull Docker Images
23
+ ```
24
+ docker pull connectedhomeip/chip-build-vscode:latest
25
+ ```
26
+
27
+ ### Run docker
28
+ ```
29
+ docker run -it -v ~/connectedhomeip:/var/connectedhomeip connectedhomeip/chip-build-vscode:latest /bin/bash
30
+ ```
31
+ ### Build
32
+ ```
33
+ cd /var/connectedhomeip
34
+
35
+ git config --global --add safe.directory /var/connectedhomeip
36
+ git config --global --add safe.directory /var/connectedhomeip/third_party/pigweed/repo
37
+ git config --global --add safe.directory /var/connectedhomeip/examples/common/QRCode/repo
38
+
39
+ ./scripts/run_in_build_env.sh \
40
+ "./scripts/build/build_examples.py \
41
+ --target linux-arm64-fabric-admin-clang-rpc \
42
+ build"
43
+ ```
44
+
45
+ ### Transfer the fabric-admin binary to a Raspberry Pi
46
+ ```
47
+ scp ./fabric-admin ubuntu@xxx.xxx.xxx.xxx:/home/ubuntu
48
+ ```
Original file line number Diff line number Diff line change
1
+ # Matter Fabric Bridge Example
2
+
3
+ An Fabric Bridge example application that which supports synchronization of devices between fabrics.
4
+
5
+
6
+ ---
7
+
8
+ - [ Building the Example Application] ( #building-the-example-application )
9
+
10
+ ---
11
+
12
+ ## Building the Example Application
13
+
14
+ For Linux host example:
15
+
16
+ ```
17
+ ./scripts/examples/gn_build_example.sh examples/fabric-bridge-app/linux out/debug/standalone chip_config_network_layer_ble=false 'import("//with_pw_rpc.gni")'
18
+ ```
19
+
20
+ For Raspberry Pi 4 example:
21
+
22
+ ### Pull Docker Images
23
+ ```
24
+ docker pull connectedhomeip/chip-build-vscode:latest
25
+ ```
26
+
27
+ ### Run docker
28
+ ```
29
+ docker run -it -v ~/connectedhomeip:/var/connectedhomeip connectedhomeip/chip-build-vscode:latest /bin/bash
30
+ ```
31
+ ### Build
32
+ ```
33
+ cd /var/connectedhomeip
34
+
35
+ git config --global --add safe.directory /var/connectedhomeip
36
+ git config --global --add safe.directory /var/connectedhomeip/third_party/pigweed/repo
37
+ git config --global --add safe.directory /var/connectedhomeip/examples/common/QRCode/repo
38
+
39
+ ./scripts/run_in_build_env.sh \
40
+ "./scripts/build/build_examples.py \
41
+ --target linux-arm64-fabric-bridge-no-ble-clang-rpc \
42
+ build"
43
+ ```
44
+
45
+ ### Transfer the fabric-bridge-app binary to a Raspberry Pi
46
+ ```
47
+ scp ./fabric-bridge-app ubuntu@xxx.xxx.xxx.xxx:/home/ubuntu
48
+ ```
You can’t perform that action at this time.
0 commit comments