File tree 2 files changed +106
-0
lines changed
2 files changed +106
-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
4
+ fabrics.
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
+ ```
25
+ docker pull connectedhomeip/chip-build-vscode:latest
26
+ ```
27
+
28
+ ### Run docker
29
+
30
+ ```
31
+ docker run -it -v ~/connectedhomeip:/var/connectedhomeip connectedhomeip/chip-build-vscode:latest /bin/bash
32
+ ```
33
+
34
+ ### Build
35
+
36
+ ```
37
+ cd /var/connectedhomeip
38
+
39
+ git config --global --add safe.directory /var/connectedhomeip
40
+ git config --global --add safe.directory /var/connectedhomeip/third_party/pigweed/repo
41
+ git config --global --add safe.directory /var/connectedhomeip/examples/common/QRCode/repo
42
+
43
+ ./scripts/run_in_build_env.sh \
44
+ "./scripts/build/build_examples.py \
45
+ --target linux-arm64-fabric-admin-clang-rpc \
46
+ build"
47
+ ```
48
+
49
+ ### Transfer the fabric-admin binary to a Raspberry Pi
50
+
51
+ ```
52
+ scp ./fabric-admin ubuntu@xxx.xxx.xxx.xxx:/home/ubuntu
53
+ ```
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
4
+ devices between fabrics.
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
+ ```
25
+ docker pull connectedhomeip/chip-build-vscode:latest
26
+ ```
27
+
28
+ ### Run docker
29
+
30
+ ```
31
+ docker run -it -v ~/connectedhomeip:/var/connectedhomeip connectedhomeip/chip-build-vscode:latest /bin/bash
32
+ ```
33
+
34
+ ### Build
35
+
36
+ ```
37
+ cd /var/connectedhomeip
38
+
39
+ git config --global --add safe.directory /var/connectedhomeip
40
+ git config --global --add safe.directory /var/connectedhomeip/third_party/pigweed/repo
41
+ git config --global --add safe.directory /var/connectedhomeip/examples/common/QRCode/repo
42
+
43
+ ./scripts/run_in_build_env.sh \
44
+ "./scripts/build/build_examples.py \
45
+ --target linux-arm64-fabric-bridge-no-ble-clang-rpc \
46
+ build"
47
+ ```
48
+
49
+ ### Transfer the fabric-bridge-app binary to a Raspberry Pi
50
+
51
+ ```
52
+ scp ./fabric-bridge-app ubuntu@xxx.xxx.xxx.xxx:/home/ubuntu
53
+ ```
You can’t perform that action at this time.
0 commit comments