Fixed suggestions
This commit is contained in:
parent
4ae4b8c585
commit
10b734da7d
2 changed files with 0 additions and 7 deletions
|
@ -102,7 +102,6 @@ impl Mdns {
|
||||||
["VP", &format!("{}+{}", inner.vid, inner.pid)],
|
["VP", &format!("{}+{}", inner.vid, inner.pid)],
|
||||||
["SII", "5000"], /* Sleepy Idle Interval */
|
["SII", "5000"], /* Sleepy Idle Interval */
|
||||||
["SAI", "300"], /* Sleepy Active Interval */
|
["SAI", "300"], /* Sleepy Active Interval */
|
||||||
["T", "1"], /* TCP supported */
|
|
||||||
["PH", "33"], /* Pairing Hint */
|
["PH", "33"], /* Pairing Hint */
|
||||||
["PI", ""], /* Pairing Instruction */
|
["PI", ""], /* Pairing Instruction */
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,13 +1,7 @@
|
||||||
#[repr(u16)]
|
#[repr(u16)]
|
||||||
pub enum VendorId {
|
pub enum VendorId {
|
||||||
CommonOrUnspecified = 0x0000,
|
CommonOrUnspecified = 0x0000,
|
||||||
Apple = 0x1349,
|
|
||||||
Google = 0x6006,
|
|
||||||
TestVendor1 = 0xFFF1,
|
|
||||||
TestVendor2 = 0xFFF2,
|
|
||||||
TestVendor3 = 0xFFF3,
|
|
||||||
TestVendor4 = 0xFFF4,
|
TestVendor4 = 0xFFF4,
|
||||||
NotSpecified = 0xFFFF,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_vendor_id_valid_operationally(vendor_id: u16) -> bool {
|
pub fn is_vendor_id_valid_operationally(vendor_id: u16) -> bool {
|
||||||
|
|
Loading…
Add table
Reference in a new issue