Updated for Cargo workspace usage
This commit is contained in:
parent
24fa1be4fe
commit
b4d753fe49
1 changed files with 11 additions and 6 deletions
17
README.md
17
README.md
|
@ -1,33 +1,38 @@
|
||||||
|
|
||||||
# matter-rs: The Rust Implementation of Matter
|
# matter-rs: The Rust Implementation of Matter
|
||||||
|
|
||||||
 [](https://raw.githubusercontent.com/project-chip/matter-rs/main/LICENSE)
|
 [](https://raw.githubusercontent.com/project-chip/matter-rs/main/LICENSE)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[](https://github.com/project-chip/matter-rs/actions/workflows/test-linux-openssl.yml)
|
[](https://github.com/project-chip/matter-rs/actions/workflows/test-linux-openssl.yml)
|
||||||
[](https://github.com/project-chip/matter-rs/actions/workflows/test-linux-mbedtls.yml)
|
[](https://github.com/project-chip/matter-rs/actions/workflows/test-linux-mbedtls.yml)
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
Building the library:
|
Building the library:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd matter
|
|
||||||
$ cargo build
|
$ cargo build
|
||||||
```
|
```
|
||||||
|
|
||||||
Building the example:
|
Building the example:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd matter
|
|
||||||
$ RUST_LOG="matter" cargo run --example onoff_light
|
$ RUST_LOG="matter" cargo run --example onoff_light
|
||||||
```
|
```
|
||||||
|
|
||||||
With the chip-tool (the current tool for testing Matter) use the Ethernet commissioning mechanism:
|
With the chip-tool (the current tool for testing Matter) use the Ethernet commissioning mechanism:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ chip-tool pairing code 12344321 <Pairing-Code>
|
||||||
|
```
|
||||||
|
|
||||||
|
Or alternatively:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ chip-tool pairing ethernet 12344321 123456 0 <IP-Address> 5540
|
$ chip-tool pairing ethernet 12344321 123456 0 <IP-Address> 5540
|
||||||
```
|
```
|
||||||
|
|
||||||
Interact with the device
|
Interact with the device
|
||||||
|
|
||||||
```
|
```
|
||||||
# Read server-list
|
# Read server-list
|
||||||
$ chip-tool descriptor read server-list 12344321 0
|
$ chip-tool descriptor read server-list 12344321 0
|
||||||
|
@ -40,6 +45,7 @@ $ chip-tool onoff on 12344321 1
|
||||||
```
|
```
|
||||||
|
|
||||||
## Functionality
|
## Functionality
|
||||||
|
|
||||||
- Secure Channel:
|
- Secure Channel:
|
||||||
- PASE
|
- PASE
|
||||||
- CASE
|
- CASE
|
||||||
|
@ -55,4 +61,3 @@ $ chip-tool onoff on 12344321 1
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
The matter-rs project is a work-in-progress and does NOT yet fully implement Matter.
|
The matter-rs project is a work-in-progress and does NOT yet fully implement Matter.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue