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,