@@ -19,14 +19,14 @@ An example showing the use of CHIP on the MediaTek `Genio` MT793X.
19
19
20
20
## Introduction
21
21
22
- The ` Genio ` (MT793X) light switch example provides a baseline demonstration of a on-off
23
- light switch device, built using CHIP and the MediaTek ` Genio ` SDK. It can be
24
- controlled by a Chip controller over Wi-Fi network..
22
+ The ` Genio ` (MT793X) light switch example provides a baseline demonstration of a
23
+ on-off light switch device, built using CHIP and the MediaTek ` Genio ` SDK. It
24
+ can be controlled by a Chip controller over Wi-Fi network..
25
25
26
- The ` Genio ` device can be commissioned over Bluetooth Low Energy where the device
27
- and the Chip controller will exchange security information with the Rendez-vous
28
- procedure. Network credentials are then provided to the ` Genio ` device which will
29
- then join the network.
26
+ The ` Genio ` device can be commissioned over Bluetooth Low Energy where the
27
+ device and the Chip controller will exchange security information with the
28
+ Rendez-vous procedure. Network credentials are then provided to the ` Genio `
29
+ device which will then join the network.
30
30
31
31
The light switch example is intended to serve both as a means to explore the
32
32
workings of CHIP as well as a template for creating real products based on the
@@ -96,18 +96,18 @@ MediaTek platform.
96
96
[ CHIP
97
97
Tool]] ( https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/chip_tool_guide.md )
98
98
99
- - First of all, you have to commission with the light-switch-app (nodeID 1) and
100
- the lighting-app (nodeID 2) with the CHIP tool by following commands.
99
+ - First of all, you have to commission with the light-switch-app (nodeID 1)
100
+ and the lighting-app (nodeID 2) with the CHIP tool by following commands.
101
101
102
102
```
103
103
chip-tool pairing ble-wifi 1 my-ap myappassword 20202021 3840
104
104
105
105
chip-tool pairing ble-wifi 2 my-ap myappassword 20202021 3840
106
106
```
107
107
108
- - Next, you have to configure the ACL in the lighting-app device to allow access
109
- from switch device and chip-tool, and binding the lighting-app device to the
110
- light-switch-app device by following commands.
108
+ - Next, you have to configure the ACL in the lighting-app device to allow
109
+ access from switch device and chip-tool, and binding the lighting-app device
110
+ to the light-switch-app device by following commands.
111
111
112
112
```
113
113
chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [1], "targets": null }]' 2 0
@@ -116,8 +116,8 @@ MediaTek platform.
116
116
117
117
```
118
118
119
- - Once all setup successfully, you can control the lighting-app device through the
120
- Matter Shell on the light-switch-app device.
119
+ - Once all setup successfully, you can control the lighting-app device through
120
+ the Matter Shell on the light-switch-app device.
121
121
122
122
```
123
123
> switch onoff on
@@ -127,7 +127,6 @@ MediaTek platform.
127
127
### Notes
128
128
129
129
- Depending on your network settings your router might not provide native ipv6
130
- addresses to your devices (Border router / PC). If this is the case, you
131
- need to add a static ipv6 addresses on both device and then an ipv6 route to
132
- the border router on your PC
133
-
130
+ addresses to your devices (Border router / PC). If this is the case, you
131
+ need to add a static ipv6 addresses on both device and then an ipv6 route to
132
+ the border router on your PC
0 commit comments