pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::AccessoryRuntimeInformation,
			ping: PingCharacteristic::new(id + 1 + 0, accessory_id),
			activity_interval: Some(ActivityIntervalCharacteristic::new(id + 1 + 0 + 1, accessory_id)),
			heart_beat: Some(HeartBeatCharacteristic::new(id + 1 + 1 + 1, accessory_id)),
			sleep_interval: Some(SleepIntervalCharacteristic::new(id + 1 + 2 + 1, accessory_id)),
			..Default::default()
        }
    }
/// Creates a new Accessory Runtime Information service.
Creates a new Accessory Runtime Information service.
Creates a new Accessory Runtime Information service .
pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::AccessoryRuntimeInformation,
			ping: PingCharacteristic::new(id + 1 + 0, accessory_id),
			activity_interval: Some(ActivityIntervalCharacteristic::new(id + 1 + 0 + 1, accessory_id)),
			heart_beat: Some(HeartBeatCharacteristic::new(id + 1 + 1 + 1, accessory_id)),
			sleep_interval: Some(SleepIntervalCharacteristic::new(id + 1 + 2 + 1, accessory_id)),
			..Default::default()
        }
    }
pub fn new ( id : u64 , accessory_id : u64 ) -> Self { Self { id , hap_type : HapType :: AccessoryRuntimeInformation , ping : PingCharacteristic :: new ( id + 1 + 0 , accessory_id ) , activity_interval : Some ( ActivityIntervalCharacteristic :: new ( id + 1 + 0 + 1 , accessory_id ) ) , heart_beat : Some ( HeartBeatCharacteristic :: new ( id + 1 + 1 + 1 , accessory_id ) ) , sleep_interval : Some ( SleepIntervalCharacteristic :: new ( id + 1 + 2 + 1 , accessory_id ) ) , .. Default :: default ( ) } }
Creates a new Accessory Runtime Information service.
Creates a new Accessory Runtime Information service .
id
u64
accessory_id
u64
id
u64
accessory_id
u64