From 480f045599bea5858cb48e4accd03d990f620643 Mon Sep 17 00:00:00 2001 From: VaishaliAvhale Date: Wed, 1 Mar 2023 16:19:52 +0530 Subject: [PATCH] Removed fabricIndex:1 from light_switch README file --- examples/light_switch/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/light_switch/README.md b/examples/light_switch/README.md index d99087237..b695e64c5 100644 --- a/examples/light_switch/README.md +++ b/examples/light_switch/README.md @@ -30,13 +30,13 @@ For the commands below: Update the light's acl attribute to add the entry of remote device (switch) in the access control list: ``` -accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [ 112233, 29315 ], "targets": null}]' 0x5164 0x0 +accesscontrol write acl '[{"privilege": 5, "authMode": 2, "subjects": [ 112233, 29315 ], "targets": null}]' 0x5164 0x0 ``` Update the switch's binding attribute to add the entry of remote device (light) in the binding table: ``` - binding write binding '[{"fabricIndex": 1, "node":20836, "endpoint":1, "cluster":6}]' 0x7283 0x1 + binding write binding '[{"node":20836, "endpoint":1, "cluster":6}]' 0x7283 0x1 ``` ### 2.2 Bind a group to switch @@ -63,7 +63,7 @@ This command will write the acl attributes of the nodes and add the endpoint 1 o Update the switch's binding attribute to add the entry of group in the binding table: ``` - binding write binding '[{"fabricIndex": 1, "group": 257}]' 0x7283 0x1 + binding write binding '[{"group": 257}]' 0x7283 0x1 ``` ### 2.3 Device console