From 10b734da7d174c5f7150c6402549be2d92cf364d Mon Sep 17 00:00:00 2001 From: Marcel Date: Sun, 15 Jan 2023 11:52:54 +0100 Subject: [PATCH] Fixed suggestions --- matter/src/mdns.rs | 1 - matter/src/pairing/vendor_identifiers.rs | 6 ------ 2 files changed, 7 deletions(-) diff --git a/matter/src/mdns.rs b/matter/src/mdns.rs index 53d7a35..f28bea0 100644 --- a/matter/src/mdns.rs +++ b/matter/src/mdns.rs @@ -102,7 +102,6 @@ impl Mdns { ["VP", &format!("{}+{}", inner.vid, inner.pid)], ["SII", "5000"], /* Sleepy Idle Interval */ ["SAI", "300"], /* Sleepy Active Interval */ - ["T", "1"], /* TCP supported */ ["PH", "33"], /* Pairing Hint */ ["PI", ""], /* Pairing Instruction */ ]; diff --git a/matter/src/pairing/vendor_identifiers.rs b/matter/src/pairing/vendor_identifiers.rs index 1de0482..62c07ac 100644 --- a/matter/src/pairing/vendor_identifiers.rs +++ b/matter/src/pairing/vendor_identifiers.rs @@ -1,13 +1,7 @@ #[repr(u16)] pub enum VendorId { CommonOrUnspecified = 0x0000, - Apple = 0x1349, - Google = 0x6006, - TestVendor1 = 0xFFF1, - TestVendor2 = 0xFFF2, - TestVendor3 = 0xFFF3, TestVendor4 = 0xFFF4, - NotSpecified = 0xFFFF, } pub fn is_vendor_id_valid_operationally(vendor_id: u16) -> bool {