Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[genio] supports more examples and bug fixes. #23396

Merged
merged 19 commits into from
Nov 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restyled by prettier-markdown
restyled-commits authored and pakls committed Nov 4, 2022
commit 00d154bc6b36a9fdc6563d9245f1da03d6a3c68a
35 changes: 17 additions & 18 deletions examples/light-switch-app/genio/README.md
Original file line number Diff line number Diff line change
@@ -19,14 +19,14 @@ An example showing the use of CHIP on the MediaTek `Genio` MT793X.

## Introduction

The `Genio` (MT793X) light switch example provides a baseline demonstration of a on-off
light switch device, built using CHIP and the MediaTek `Genio` SDK. It can be
controlled by a Chip controller over Wi-Fi network..
The `Genio` (MT793X) light switch example provides a baseline demonstration of a
on-off light switch device, built using CHIP and the MediaTek `Genio` SDK. It
can be controlled by a Chip controller over Wi-Fi network..

The `Genio` device can be commissioned over Bluetooth Low Energy where the device
and the Chip controller will exchange security information with the Rendez-vous
procedure. Network credentials are then provided to the `Genio` device which will
then join the network.
The `Genio` device can be commissioned over Bluetooth Low Energy where the
device and the Chip controller will exchange security information with the
Rendez-vous procedure. Network credentials are then provided to the `Genio`
device which will then join the network.

The light switch example is intended to serve both as a means to explore the
workings of CHIP as well as a template for creating real products based on the
@@ -96,18 +96,18 @@ MediaTek platform.
[CHIP
Tool]](https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/chip_tool_guide.md)

- First of all, you have to commission with the light-switch-app (nodeID 1) and
the lighting-app (nodeID 2) with the CHIP tool by following commands.
- First of all, you have to commission with the light-switch-app (nodeID 1)
and the lighting-app (nodeID 2) with the CHIP tool by following commands.

```
chip-tool pairing ble-wifi 1 my-ap myappassword 20202021 3840
chip-tool pairing ble-wifi 2 my-ap myappassword 20202021 3840
```
- Next, you have to configure the ACL in the lighting-app device to allow access
from switch device and chip-tool, and binding the lighting-app device to the
light-switch-app device by following commands.
- Next, you have to configure the ACL in the lighting-app device to allow
access from switch device and chip-tool, and binding the lighting-app device
to the light-switch-app device by following commands.
```
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.
```
- Once all setup successfully, you can control the lighting-app device through the
Matter Shell on the light-switch-app device.
- Once all setup successfully, you can control the lighting-app device through
the Matter Shell on the light-switch-app device.
```
> switch onoff on
@@ -127,7 +127,6 @@ MediaTek platform.
### Notes
- Depending on your network settings your router might not provide native ipv6
addresses to your devices (Border router / PC). If this is the case, you
need to add a static ipv6 addresses on both device and then an ipv6 route to
the border router on your PC
addresses to your devices (Border router / PC). If this is the case, you
need to add a static ipv6 addresses on both device and then an ipv6 route to
the border router on your PC
6 changes: 3 additions & 3 deletions examples/lighting-app/genio/README.md
Original file line number Diff line number Diff line change
@@ -117,6 +117,6 @@ MediaTek platform.
### Notes
- Depending on your network settings your router might not provide native ipv6
addresses to your devices (Border router / PC). If this is the case, you
need to add a static ipv6 addresses on both device and then an ipv6 route to
the border router on your PC
addresses to your devices (Border router / PC). If this is the case, you
need to add a static ipv6 addresses on both device and then an ipv6 route to
the border router on your PC
4 changes: 2 additions & 2 deletions examples/lock-app/genio/README.md
Original file line number Diff line number Diff line change
@@ -19,8 +19,8 @@ An example showing the use of CHIP on the MediaTek `Genio` MT793X.

## Introduction

The `Genio` (MT793X) lock example provides a baseline demonstration of a
door lock control device, built using CHIP and the MediaTek `Genio` SDK. It can be
The `Genio` (MT793X) lock example provides a baseline demonstration of a door
lock control device, built using CHIP and the MediaTek `Genio` SDK. It can be
controlled by a Chip controller over Wi-Fi network.

The `Genio` device can be commissioned over Bluetooth Low Energy where the
21 changes: 10 additions & 11 deletions examples/thermostat/genio/README.md
Original file line number Diff line number Diff line change
@@ -23,14 +23,14 @@ The `Genio` (MT793X) thermostat example provides a baseline demonstration of a
thermostat device, built using CHIP and the MediaTek `Genio` SDK. It can be
controlled by a Chip controller over Wi-Fi network..

The `Genio` device can be commissioned over Bluetooth Low Energy where the device
and the Chip controller will exchange security information with the Rendez-vous
procedure. Network credentials are then provided to the `Genio` device which will
then join the network.
The `Genio` device can be commissioned over Bluetooth Low Energy where the
device and the Chip controller will exchange security information with the
Rendez-vous procedure. Network credentials are then provided to the `Genio`
device which will then join the network.

The thermostat example is intended to serve both as a means to explore the workings
of CHIP as well as a template for creating real products based on the MediaTek
platform.
The thermostat example is intended to serve both as a means to explore the
workings of CHIP as well as a template for creating real products based on the
MediaTek platform.

<a name="building"></a>

@@ -103,7 +103,6 @@ platform.
### Notes
- Depending on your network settings your router might not provide native ipv6
addresses to your devices (Border router / PC). If this is the case, you
need to add a static ipv6 addresses on both device and then an ipv6 route to
the border router on your PC
addresses to your devices (Border router / PC). If this is the case, you
need to add a static ipv6 addresses on both device and then an ipv6 route to
the border router on your PC