No description
Find a file
2023-03-01 07:42:32 +05:30
.github/workflows Fix GitHub workflows 2022-12-28 14:59:07 +05:30
boxslab Implemented the Clippy recommendations 2023-01-10 08:53:04 +01:00
examples Add example for speaker with media playback cluster. 2023-02-21 13:36:27 +02:00
matter Clippy fixes 2023-03-01 07:42:32 +05:30
matter_macro_derive Implemented the Clippy recommendations 2023-01-10 08:53:04 +01:00
tools/tlv_tool tlv_tool: Make provision to dump ASN1 representation of certificates 2023-01-21 20:19:07 +05:30
.gitignore Initial commit 2022-12-27 09:52:25 +05:30
Cargo.toml Include tlv_tool in workspace 2023-01-15 15:53:50 +01:00
CODE_OF_CONDUCT.md Initial revision. 2022-12-12 08:51:27 -08:00
CONTRIBUTING.md Initial revision. 2022-12-12 08:51:27 -08:00
LICENSE Initial commit 2022-12-12 08:43:44 -08:00
README.md Updated for Cargo workspace usage 2023-01-15 15:41:46 +01:00
TODO.md Initial commit 2022-12-27 09:52:25 +05:30

matter-rs: The Rust Implementation of Matter

experimental license

Test Linux (OpenSSL) Test Linux (mbedTLS)

Build

Building the library:

$ cargo build

Building the example:

$ 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 <Pairing-Code>

Or alternatively:

$ chip-tool pairing ethernet 12344321 123456 0 <IP-Address> 5540

Interact with the device

# Read server-list
$ chip-tool descriptor read server-list 12344321 0

# Read On/Off status
$ chip-tool onoff read on-off 12344321 1

# Toggle On/Off by invoking the command
$ chip-tool onoff on 12344321 1

Functionality

  • Secure Channel:
    • PASE
    • CASE
  • Interactions:
    • Invoke Command(s), Read Attribute(s), Write Attribute(s)
  • Commissioning:
    • over Ethernet
    • Network Commissioning Cluster
    • General Commissioning Cluster
    • Operational Certificates Cluster
  • Some TODO are captured here

Notes

The matter-rs project is a work-in-progress and does NOT yet fully implement Matter.