Minor fixes

This commit is contained in:
Kedar Sovani 2023-02-08 19:11:01 +05:30
parent 89d973725a
commit afd03e17d3
3 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ fn main() {
// vid/pid should match those in the DAC // vid/pid should match those in the DAC
let dev_info = BasicInfoConfig { let dev_info = BasicInfoConfig {
vid: 0xFFF1, vid: 0xFFF1,
pid: 0x8002, pid: 0x8000,
hw_ver: 2, hw_ver: 2,
sw_ver: 1, sw_ver: 1,
sw_ver_str: "1".to_string(), sw_ver_str: "1".to_string(),

View file

@ -31,7 +31,7 @@ use crate::{
tlv::{OctetStr, TLVWriter, TagType, ToTLV, UtfStr}, 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; const COMPRESSED_FABRIC_ID_LEN: usize = 8;
macro_rules! fb_key { macro_rules! fb_key {

View file

@ -45,7 +45,7 @@
//! //!
//! /// The basic information about this device //! /// The basic information about this device
//! let dev_info = BasicInfoConfig { //! let dev_info = BasicInfoConfig {
//! vid: 0x8002, //! vid: 0x8000,
//! pid: 0xFFF1, //! pid: 0xFFF1,
//! hw_ver: 2, //! hw_ver: 2,
//! sw_ver: 1, //! sw_ver: 1,