@@ -91,9 +91,9 @@ communicate with each other.
91
91
To perform binding, you need a controller that can write the binding table to
92
92
the light switch device and write proper ACL to the endpoint light bulb on the
93
93
Lighting Example application. For example, you can use the CHIP Tool as the
94
- controller. The ACL should contain information about all clusters that can
95
- be called by the light switch application. See the section about interacting
96
- with ZCL clusters in the CHIP Tool' s user guide for more information about ACLs.
94
+ controller. The ACL should contain information about all clusters that can be
95
+ called by the light switch application. See the section about interacting with
96
+ ZCL clusters in the CHIP Tool' s user guide for more information about ACLs.
97
97
98
98
You can perform the binding process to a single remote endpoint (unicast
99
99
binding) or to a group of remote endpoints (group multicast).
@@ -104,8 +104,8 @@ binding) or to a group of remote endpoints (group multicast).
104
104
#### Unicast binding to a remote endpoint using the CHIP Tool
105
105
106
106
In this scenario, commands are provided for a light switch device with the
107
- `nodeId = <light-switch-node-id>` and a light bulb device with `nodeId = <lighting-node-id>`,
108
- both commissioned to the same Matter network.
107
+ `nodeId = <light-switch-node-id>` and a light bulb device with
108
+ `nodeId = <lighting-node-id>`, both commissioned to the same Matter network.
109
109
110
110
To perform the unicast binding process, complete the following steps:
111
111
@@ -135,10 +135,10 @@ To perform the unicast binding process, complete the following steps:
135
135
136
136
In this command:
137
137
138
- - `{"fabricIndex": 1, "node": <lighting-node-id>, "endpoint": 1, "cluster": 6}` is a
139
- binding for the On/Off cluster.
140
- - `{"fabricIndex": 1, "node": <lighting-node-id>, "endpoint": 1, "cluster": 8}` is a
141
- binding for the Level Control cluster.
138
+ - `{"fabricIndex": 1, "node": <lighting-node-id>, "endpoint": 1, "cluster": 6}`
139
+ is a binding for the On/Off cluster.
140
+ - `{"fabricIndex": 1, "node": <lighting-node-id>, "endpoint": 1, "cluster": 8}`
141
+ is a binding for the Level Control cluster.
142
142
143
143
#### Group multicast binding to the group of remote endpoints using the CHIP Tool
144
144
@@ -152,11 +152,13 @@ requests, and all of the devices in the bound groups can run the received
152
152
command.
153
153
154
154
In this scenario, commands are provided for a light switch device with the
155
- `nodeId = <light-switch-node-id>` and a light bulb device with `nodeId = <lighting-node-id>`, both commissioned to the same Matter network.
155
+ `nodeId = <light-switch-node-id>` and a light bulb device with
156
+ `nodeId = <lighting-node-id>`, both commissioned to the same Matter network.
156
157
157
158
To perform the unicast binding process, complete the following steps:
158
159
159
- 1. Add an ACL to the lighting endpoint permissions by running the following command:
160
+ 1. Add an ACL to the lighting endpoint permissions by running the following
161
+ command:
160
162
161
163
```bash
162
164
$ ./chip-tool accesscontrol write acl ' [{" fabricIndex" : 1, " privilege" : 5, " authMode" : 2, " subjects" : [112233], " targets" : null}, {" fabricIndex" : 1, " privilege" : 3, " authMode" : 2, " subjects" : [< light-switch-node-id> ], " targets" : [{" cluster" : 6, " endpoint" : 1, " deviceType" : null}, {" cluster" : 8, " endpoint" : 1, " deviceType" : null}]}]' <lighting-node-id> 0
@@ -173,23 +175,24 @@ To perform the unicast binding process, complete the following steps:
173
175
This allows the lighting application device to receive commands from the
174
176
light switch device.
175
177
176
- 4 . Add the light switch device to the multicast group by running the following
178
+ 2 . Add the light switch device to the multicast group by running the following
177
179
command:
178
180
179
181
```bash
180
182
$ ./chip-tool tests TestGroupDemoConfig --nodeId <light-switch-node-id>
181
183
```
182
184
183
- 5 . Add all light bulbs to the same multicast group by applying command below
185
+ 3 . Add all light bulbs to the same multicast group by applying command below
184
186
for each of the light bulbs, using the appropriate `<lighting-node-id>` (the
185
- user-defined ID of the node being commissioned except `<light-switch-node-id>`
186
- due to use this `<light-switch-node-id>` for light-switch) for each of them:
187
+ user-defined ID of the node being commissioned except
188
+ `<light-switch-node-id>` due to use this `<light-switch-node-id>` for
189
+ light-switch) for each of them:
187
190
188
191
```bash
189
192
$ ./chip-tool tests TestGroupDemoConfig --nodeId <lighting-node-id>
190
193
```
191
194
192
- 6 . Add Binding commands for group multicast:
195
+ 4 . Add Binding commands for group multicast:
193
196
194
197
```bash
195
198
$ ./chip-tool binding write binding ' [{" fabricIndex" : 1, " group" : 257}]' <light-switch-node-id> 1
0 commit comments