From b4d753fe492589837e4fd54f8f91dd81aa0f4552 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sun, 15 Jan 2023 15:41:46 +0100 Subject: [PATCH] Updated for Cargo workspace usage --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dbabef2..8682137 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,38 @@ - # matter-rs: The Rust Implementation of Matter ![experimental](https://img.shields.io/badge/status-Experimental-red) [![license](https://img.shields.io/badge/license-Apache2-green.svg)](https://raw.githubusercontent.com/project-chip/matter-rs/main/LICENSE) - - [![Test Linux (OpenSSL)](https://github.com/project-chip/matter-rs/actions/workflows/test-linux-openssl.yml/badge.svg)](https://github.com/project-chip/matter-rs/actions/workflows/test-linux-openssl.yml) [![Test Linux (mbedTLS)](https://github.com/project-chip/matter-rs/actions/workflows/test-linux-mbedtls.yml/badge.svg)](https://github.com/project-chip/matter-rs/actions/workflows/test-linux-mbedtls.yml) ## Build Building the library: + ``` -$ cd matter $ cargo build ``` Building the example: + ``` -$ cd matter $ RUST_LOG="matter" cargo run --example onoff_light ``` With the chip-tool (the current tool for testing Matter) use the Ethernet commissioning mechanism: + +``` +$ chip-tool pairing code 12344321 +``` + +Or alternatively: + ``` $ chip-tool pairing ethernet 12344321 123456 0 5540 ``` Interact with the device + ``` # Read server-list $ chip-tool descriptor read server-list 12344321 0 @@ -40,6 +45,7 @@ $ chip-tool onoff on 12344321 1 ``` ## Functionality + - Secure Channel: - PASE - CASE @@ -55,4 +61,3 @@ $ chip-tool onoff on 12344321 1 ## Notes The matter-rs project is a work-in-progress and does NOT yet fully implement Matter. -