pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::Pairing,
			list_pairings: ListPairingsCharacteristic::new(id + 1 + 0, accessory_id),
			pair_setup: PairSetupCharacteristic::new(id + 1 + 1, accessory_id),
			pair_verify: PairVerifyCharacteristic::new(id + 1 + 2, accessory_id),
			pairing_features: PairingFeaturesCharacteristic::new(id + 1 + 3, accessory_id),
			..Default::default()
        }
    }
/// Creates a new Pairing service.
Creates a new Pairing service.
Creates a new Pairing service .
pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::Pairing,
			list_pairings: ListPairingsCharacteristic::new(id + 1 + 0, accessory_id),
			pair_setup: PairSetupCharacteristic::new(id + 1 + 1, accessory_id),
			pair_verify: PairVerifyCharacteristic::new(id + 1 + 2, accessory_id),
			pairing_features: PairingFeaturesCharacteristic::new(id + 1 + 3, accessory_id),
			..Default::default()
        }
    }
pub fn new ( id : u64 , accessory_id : u64 ) -> Self { Self { id , hap_type : HapType :: Pairing , list_pairings : ListPairingsCharacteristic :: new ( id + 1 + 0 , accessory_id ) , pair_setup : PairSetupCharacteristic :: new ( id + 1 + 1 , accessory_id ) , pair_verify : PairVerifyCharacteristic :: new ( id + 1 + 2 , accessory_id ) , pairing_features : PairingFeaturesCharacteristic :: new ( id + 1 + 3 , accessory_id ) , .. Default :: default ( ) } }
Creates a new Pairing service.
Creates a new Pairing service .
id
u64
accessory_id
u64
id
u64
accessory_id
u64