pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::Tunnel,
			accessory_identifier: AccessoryIdentifierCharacteristic::new(id + 1 + 0, accessory_id),
			tunnel_connection_timeout: TunnelConnectionTimeoutCharacteristic::new(id + 1 + 1, accessory_id),
			tunneled_accessory_advertising_status: TunneledAccessoryAdvertisingStatusCharacteristic::new(id + 1 + 2, accessory_id),
			tunneled_accessory_connection_status: TunneledAccessoryConnectionStatusCharacteristic::new(id + 1 + 3, accessory_id),
			tunneled_accessory_state_number: TunneledAccessoryStateNumberCharacteristic::new(id + 1 + 4, accessory_id),
			..Default::default()
        }
    }
/// Creates a new Tunnel service.
Creates a new Tunnel service.
Creates a new Tunnel service .
pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::Tunnel,
			accessory_identifier: AccessoryIdentifierCharacteristic::new(id + 1 + 0, accessory_id),
			tunnel_connection_timeout: TunnelConnectionTimeoutCharacteristic::new(id + 1 + 1, accessory_id),
			tunneled_accessory_advertising_status: TunneledAccessoryAdvertisingStatusCharacteristic::new(id + 1 + 2, accessory_id),
			tunneled_accessory_connection_status: TunneledAccessoryConnectionStatusCharacteristic::new(id + 1 + 3, accessory_id),
			tunneled_accessory_state_number: TunneledAccessoryStateNumberCharacteristic::new(id + 1 + 4, accessory_id),
			..Default::default()
        }
    }
pub fn new ( id : u64 , accessory_id : u64 ) -> Self { Self { id , hap_type : HapType :: Tunnel , accessory_identifier : AccessoryIdentifierCharacteristic :: new ( id + 1 + 0 , accessory_id ) , tunnel_connection_timeout : TunnelConnectionTimeoutCharacteristic :: new ( id + 1 + 1 , accessory_id ) , tunneled_accessory_advertising_status : TunneledAccessoryAdvertisingStatusCharacteristic :: new ( id + 1 + 2 , accessory_id ) , tunneled_accessory_connection_status : TunneledAccessoryConnectionStatusCharacteristic :: new ( id + 1 + 3 , accessory_id ) , tunneled_accessory_state_number : TunneledAccessoryStateNumberCharacteristic :: new ( id + 1 + 4 , accessory_id ) , .. Default :: default ( ) } }
Creates a new Tunnel service.
Creates a new Tunnel service .
id
u64
accessory_id
u64
id
u64
accessory_id
u64