From afd03e17d3e3756dd360b1d8890244be2746c79c Mon Sep 17 00:00:00 2001 From: Kedar Sovani Date: Wed, 8 Feb 2023 19:11:01 +0530 Subject: [PATCH] Minor fixes --- examples/onoff_light/src/main.rs | 2 +- matter/src/fabric.rs | 2 +- matter/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/onoff_light/src/main.rs b/examples/onoff_light/src/main.rs index 2d64027..1eb5d63 100644 --- a/examples/onoff_light/src/main.rs +++ b/examples/onoff_light/src/main.rs @@ -32,7 +32,7 @@ fn main() { // vid/pid should match those in the DAC let dev_info = BasicInfoConfig { vid: 0xFFF1, - pid: 0x8002, + pid: 0x8000, hw_ver: 2, sw_ver: 1, sw_ver_str: "1".to_string(), diff --git a/matter/src/fabric.rs b/matter/src/fabric.rs index c5a2ce6..3299f4d 100644 --- a/matter/src/fabric.rs +++ b/matter/src/fabric.rs @@ -31,7 +31,7 @@ use crate::{ tlv::{OctetStr, TLVWriter, TagType, ToTLV, UtfStr}, }; -const MAX_CERT_TLV_LEN: usize = 300; +const MAX_CERT_TLV_LEN: usize = 350; const COMPRESSED_FABRIC_ID_LEN: usize = 8; macro_rules! fb_key { diff --git a/matter/src/lib.rs b/matter/src/lib.rs index f276961..9f03ac5 100644 --- a/matter/src/lib.rs +++ b/matter/src/lib.rs @@ -45,7 +45,7 @@ //! //! /// The basic information about this device //! let dev_info = BasicInfoConfig { -//! vid: 0x8002, +//! vid: 0x8000, //! pid: 0xFFF1, //! hw_ver: 2, //! sw_ver: 1,