Fixed suggestions

This commit is contained in:
Marcel 2023-01-15 11:52:54 +01:00
parent 4ae4b8c585
commit 10b734da7d
2 changed files with 0 additions and 7 deletions

View file

@ -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 */
];

View file

@ -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 {