UNPKG

hap-nodejs

Version:

HAP-NodeJS is a Node.js implementation of HomeKit Accessory Server.

1,156 lines 169 kB
"use strict"; // THIS FILE IS AUTO-GENERATED - DO NOT MODIFY // V=880 Object.defineProperty(exports, "__esModule", { value: true }); exports.CurrentSlatState = exports.CurrentRelativeHumidity = exports.CurrentPosition = exports.CurrentMediaState = exports.CurrentHumidifierDehumidifierState = exports.CurrentHorizontalTiltAngle = exports.CurrentHeatingCoolingState = exports.CurrentHeaterCoolerState = exports.CurrentFanState = exports.CurrentDoorState = exports.CurrentAmbientLightLevel = exports.CurrentAirPurifierState = exports.CryptoHash = exports.CoolingThresholdTemperature = exports.ContactSensorState = exports.ConfiguredName = exports.ConfigurationState = exports.ColorTemperature = exports.ClosedCaptions = exports.ChargingState = exports.CharacteristicValueTransitionControl = exports.CharacteristicValueActiveTransitionCount = exports.CCASignalDetectThreshold = exports.CCAEnergyDetectThreshold = exports.CarbonMonoxidePeakLevel = exports.CarbonMonoxideLevel = exports.CarbonMonoxideDetected = exports.CarbonDioxidePeakLevel = exports.CarbonDioxideLevel = exports.CarbonDioxideDetected = exports.CameraOperatingModeIndicator = exports.ButtonEvent = exports.Brightness = exports.BatteryLevel = exports.AudioFeedback = exports.AssetUpdateReadiness = exports.AppMatchingIdentifier = exports.AirQuality = exports.AirPlayEnable = exports.AirParticulateSize = exports.AirParticulateDensity = exports.AdministratorOnlyAccess = exports.ActivityInterval = exports.ActiveIdentifier = exports.Active = exports.AccessoryIdentifier = exports.AccessoryFlags = exports.AccessControlLevel = exports.AccessCodeSupportedConfiguration = exports.AccessCodeControlPoint = void 0; exports.Model = exports.MetricsBufferFullState = exports.MaximumTransmitPower = exports.Manufacturer = exports.ManuallyDisabled = exports.ManagedNetworkEnable = exports.MACTransmissionCounters = exports.MACRetransmissionMaximum = exports.Logs = exports.LockTargetState = exports.LockPhysicalControls = exports.LockManagementAutoSecurityTimeout = exports.LockLastKnownAction = exports.LockCurrentState = exports.LockControlPoint = exports.ListPairings = exports.LeakDetected = exports.IsConfigured = exports.InUse = exports.InputSourceType = exports.InputDeviceType = exports.ImageRotation = exports.ImageMirroring = exports.Identify = exports.Identifier = exports.Hue = exports.HomeKitCameraActive = exports.HoldPosition = exports.HeatingThresholdTemperature = exports.HeartBeat = exports.HardwareRevision = exports.HardwareFinish = exports.FirmwareUpdateStatus = exports.FirmwareUpdateReadiness = exports.FirmwareRevision = exports.FilterLifeLevel = exports.FilterChangeIndication = exports.EventTransmissionCounters = exports.EventSnapshotsActive = exports.EventRetransmissionMaximum = exports.DisplayOrder = exports.DigitalZoom = exports.DiagonalFieldOfView = exports.DataStreamHAPTransportInterrupt = exports.DataStreamHAPTransport = exports.CurrentVisibilityState = exports.CurrentVerticalTiltAngle = exports.CurrentTransport = exports.CurrentTiltAngle = exports.CurrentTemperature = void 0; exports.SecuritySystemCurrentState = exports.SecuritySystemAlarmType = exports.Saturation = exports.RouterStatus = exports.RotationSpeed = exports.RotationDirection = exports.ResetFilterIndication = exports.RemoteKey = exports.RemainingDuration = exports.RelayState = exports.RelayEnabled = exports.RelayControlPoint = exports.RelativeHumidityHumidifierThreshold = exports.RelativeHumidityDehumidifierThreshold = exports.RecordingAudioActive = exports.ReceiverSensitivity = exports.ReceivedSignalStrengthIndication = exports.ProgramMode = exports.ProgrammableSwitchOutputState = exports.ProgrammableSwitchEvent = exports.ProductData = exports.PowerModeSelection = exports.PositionState = exports.PM2_5Density = exports.PM10Density = exports.Ping = exports.PictureMode = exports.PeriodicSnapshotsActive = exports.PasswordSetting = exports.PairVerify = exports.PairSetup = exports.PairingFeatures = exports.OzoneDensity = exports.OutletInUse = exports.OpticalZoom = exports.OperatingStateResponse = exports.On = exports.OccupancyDetected = exports.ObstructionDetected = exports.NitrogenDioxideDensity = exports.NightVision = exports.NFCAccessSupportedConfiguration = exports.NFCAccessControlPoint = exports.NetworkClientStatusControl = exports.NetworkClientProfileControl = exports.NetworkAccessViolationControl = exports.Name = exports.Mute = exports.MultifunctionButton = exports.MotionDetected = void 0; exports.SupportedVideoStreamConfiguration = exports.SupportedVideoRecordingConfiguration = exports.SupportedTransferTransportConfiguration = exports.SupportedSleepConfiguration = exports.SupportedRTPConfiguration = exports.SupportedRouterConfiguration = exports.SupportedMetrics = exports.SupportedFirmwareUpdateConfiguration = exports.SupportedDiagnosticsSnapshot = exports.SupportedDiagnosticsModes = exports.SupportedDataStreamTransportConfiguration = exports.SupportedCharacteristicValueTransitionConfiguration = exports.SupportedCameraRecordingConfiguration = exports.SupportedAudioStreamConfiguration = exports.SupportedAudioRecordingConfiguration = exports.SupportedAssetTypes = exports.SulphurDioxideDensity = exports.StreamingStatus = exports.StatusTampered = exports.StatusLowBattery = exports.StatusJammed = exports.StatusFault = exports.StatusActive = exports.StagedFirmwareVersion = exports.SoftwareRevision = exports.SmokeDetected = exports.SleepInterval = exports.SleepDiscoveryMode = exports.SlatType = exports.SiriTouchToUse = exports.SiriListening = exports.SiriLightOnUse = exports.SiriInputType = exports.SiriEngineVersion = exports.SiriEndpointSessionStatus = exports.SiriEnable = exports.SignalToNoiseRatio = exports.SetupTransferTransport = exports.SetupEndpoints = exports.SetupDataStreamTransport = exports.SetDuration = exports.ServiceLabelNamespace = exports.ServiceLabelIndex = exports.SerialNumber = exports.SelectedSleepConfiguration = exports.SelectedRTPStreamConfiguration = exports.SelectedDiagnosticsModes = exports.SelectedCameraRecordingConfiguration = exports.SelectedAudioStreamConfiguration = exports.SecuritySystemTargetState = void 0; exports.WiFiSatelliteStatus = exports.WiFiConfigurationControl = exports.WiFiCapabilities = exports.WaterLevel = exports.WANStatusList = exports.WANConfigurationList = exports.WakeConfiguration = exports.VolumeSelector = exports.VolumeControlType = exports.Volume = exports.VOCDensity = exports.VideoAnalysisActive = exports.Version = exports.ValveType = exports.TunneledAccessoryStateNumber = exports.TunneledAccessoryConnected = exports.TunneledAccessoryAdvertising = exports.TunnelConnectionTimeout = exports.TransmitPower = exports.Token = exports.ThreadStatus = exports.ThreadOpenThreadVersion = exports.ThreadNodeCapabilities = exports.ThreadControlPoint = exports.ThirdPartyCameraActive = exports.TemperatureDisplayUnits = exports.TargetVisibilityState = exports.TargetVerticalTiltAngle = exports.TargetTiltAngle = exports.TargetTemperature = exports.TargetRelativeHumidity = exports.TargetPosition = exports.TargetMediaState = exports.TargetHumidifierDehumidifierState = exports.TargetHorizontalTiltAngle = exports.TargetHeatingCoolingState = exports.TargetHeaterCoolerState = exports.TargetFanState = exports.TargetDoorState = exports.TargetControlSupportedConfiguration = exports.TargetControlList = exports.TargetAirPurifierState = exports.TapType = exports.SwingMode = void 0; const Characteristic_1 = require("../Characteristic"); /** * Characteristic "Access Code Control Point" * @since iOS 15 */ class AccessCodeControlPoint extends Characteristic_1.Characteristic { static UUID = "00000262-0000-1000-8000-0026BB765291"; constructor() { super("Access Code Control Point", AccessCodeControlPoint.UUID, { format: "tlv8" /* Formats.TLV8 */, perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */], }); this.value = this.getDefaultValue(); } } exports.AccessCodeControlPoint = AccessCodeControlPoint; Characteristic_1.Characteristic.AccessCodeControlPoint = AccessCodeControlPoint; /** * Characteristic "Access Code Supported Configuration" * @since iOS 15 */ class AccessCodeSupportedConfiguration extends Characteristic_1.Characteristic { static UUID = "00000261-0000-1000-8000-0026BB765291"; constructor() { super("Access Code Supported Configuration", AccessCodeSupportedConfiguration.UUID, { format: "tlv8" /* Formats.TLV8 */, perms: ["pr" /* Perms.PAIRED_READ */], }); this.value = this.getDefaultValue(); } } exports.AccessCodeSupportedConfiguration = AccessCodeSupportedConfiguration; Characteristic_1.Characteristic.AccessCodeSupportedConfiguration = AccessCodeSupportedConfiguration; /** * Characteristic "Access Control Level" */ class AccessControlLevel extends Characteristic_1.Characteristic { static UUID = "000000E5-0000-1000-8000-0026BB765291"; constructor() { super("Access Control Level", AccessControlLevel.UUID, { format: "uint16" /* Formats.UINT16 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], minValue: 0, maxValue: 2, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.AccessControlLevel = AccessControlLevel; Characteristic_1.Characteristic.AccessControlLevel = AccessControlLevel; /** * Characteristic "Accessory Flags" */ class AccessoryFlags extends Characteristic_1.Characteristic { static UUID = "000000A6-0000-1000-8000-0026BB765291"; static REQUIRES_ADDITIONAL_SETUP_BIT_MASK = 1; constructor() { super("Accessory Flags", AccessoryFlags.UUID, { format: "uint32" /* Formats.UINT32 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], }); this.value = this.getDefaultValue(); } } exports.AccessoryFlags = AccessoryFlags; Characteristic_1.Characteristic.AccessoryFlags = AccessoryFlags; /** * Characteristic "Accessory Identifier" */ class AccessoryIdentifier extends Characteristic_1.Characteristic { static UUID = "00000057-0000-1000-8000-0026BB765291"; constructor() { super("Accessory Identifier", AccessoryIdentifier.UUID, { format: "string" /* Formats.STRING */, perms: ["pr" /* Perms.PAIRED_READ */], }); this.value = this.getDefaultValue(); } } exports.AccessoryIdentifier = AccessoryIdentifier; Characteristic_1.Characteristic.AccessoryIdentifier = AccessoryIdentifier; /** * Characteristic "Active" */ class Active extends Characteristic_1.Characteristic { static UUID = "000000B0-0000-1000-8000-0026BB765291"; static INACTIVE = 0; static ACTIVE = 1; constructor() { super("Active", Active.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], minValue: 0, maxValue: 1, minStep: 1, validValues: [0, 1], }); this.value = this.getDefaultValue(); } } exports.Active = Active; Characteristic_1.Characteristic.Active = Active; /** * Characteristic "Active Identifier" */ class ActiveIdentifier extends Characteristic_1.Characteristic { static UUID = "000000E7-0000-1000-8000-0026BB765291"; constructor() { super("Active Identifier", ActiveIdentifier.UUID, { format: "uint32" /* Formats.UINT32 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], }); this.value = this.getDefaultValue(); } } exports.ActiveIdentifier = ActiveIdentifier; Characteristic_1.Characteristic.ActiveIdentifier = ActiveIdentifier; /** * Characteristic "Activity Interval" * @since iOS 14 */ class ActivityInterval extends Characteristic_1.Characteristic { static UUID = "0000023B-0000-1000-8000-0026BB765291"; constructor() { super("Activity Interval", ActivityInterval.UUID, { format: "uint32" /* Formats.UINT32 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.ActivityInterval = ActivityInterval; Characteristic_1.Characteristic.ActivityInterval = ActivityInterval; /** * Characteristic "Administrator Only Access" */ class AdministratorOnlyAccess extends Characteristic_1.Characteristic { static UUID = "00000001-0000-1000-8000-0026BB765291"; constructor() { super("Administrator Only Access", AdministratorOnlyAccess.UUID, { format: "bool" /* Formats.BOOL */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], }); this.value = this.getDefaultValue(); } } exports.AdministratorOnlyAccess = AdministratorOnlyAccess; Characteristic_1.Characteristic.AdministratorOnlyAccess = AdministratorOnlyAccess; /** * Characteristic "Air Particulate Density" */ class AirParticulateDensity extends Characteristic_1.Characteristic { static UUID = "00000064-0000-1000-8000-0026BB765291"; constructor() { super("Air Particulate Density", AirParticulateDensity.UUID, { format: "float" /* Formats.FLOAT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 1000, }); this.value = this.getDefaultValue(); } } exports.AirParticulateDensity = AirParticulateDensity; Characteristic_1.Characteristic.AirParticulateDensity = AirParticulateDensity; /** * Characteristic "Air Particulate Size" */ class AirParticulateSize extends Characteristic_1.Characteristic { static UUID = "00000065-0000-1000-8000-0026BB765291"; static _2_5_M = 0; static _10_M = 1; constructor() { super("Air Particulate Size", AirParticulateSize.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 1, minStep: 1, validValues: [0, 1], }); this.value = this.getDefaultValue(); } } exports.AirParticulateSize = AirParticulateSize; Characteristic_1.Characteristic.AirParticulateSize = AirParticulateSize; /** * Characteristic "AirPlay Enable" */ class AirPlayEnable extends Characteristic_1.Characteristic { static UUID = "0000025B-0000-1000-8000-0026BB765291"; constructor() { super("AirPlay Enable", AirPlayEnable.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], minValue: 0, maxValue: 1, }); this.value = this.getDefaultValue(); } } exports.AirPlayEnable = AirPlayEnable; Characteristic_1.Characteristic.AirPlayEnable = AirPlayEnable; /** * Characteristic "Air Quality" */ class AirQuality extends Characteristic_1.Characteristic { static UUID = "00000095-0000-1000-8000-0026BB765291"; static UNKNOWN = 0; static EXCELLENT = 1; static GOOD = 2; static FAIR = 3; static INFERIOR = 4; static POOR = 5; constructor() { super("Air Quality", AirQuality.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 5, minStep: 1, validValues: [0, 1, 2, 3, 4, 5], }); this.value = this.getDefaultValue(); } } exports.AirQuality = AirQuality; Characteristic_1.Characteristic.AirQuality = AirQuality; /** * Characteristic "App Matching Identifier" */ class AppMatchingIdentifier extends Characteristic_1.Characteristic { static UUID = "000000A4-0000-1000-8000-0026BB765291"; constructor() { super("App Matching Identifier", AppMatchingIdentifier.UUID, { format: "tlv8" /* Formats.TLV8 */, perms: ["pr" /* Perms.PAIRED_READ */], }); this.value = this.getDefaultValue(); } } exports.AppMatchingIdentifier = AppMatchingIdentifier; Characteristic_1.Characteristic.AppMatchingIdentifier = AppMatchingIdentifier; /** * Characteristic "Asset Update Readiness" */ class AssetUpdateReadiness extends Characteristic_1.Characteristic { static UUID = "00000269-0000-1000-8000-0026BB765291"; constructor() { super("Asset Update Readiness", AssetUpdateReadiness.UUID, { format: "uint32" /* Formats.UINT32 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], }); this.value = this.getDefaultValue(); } } exports.AssetUpdateReadiness = AssetUpdateReadiness; Characteristic_1.Characteristic.AssetUpdateReadiness = AssetUpdateReadiness; /** * Characteristic "Audio Feedback" */ class AudioFeedback extends Characteristic_1.Characteristic { static UUID = "00000005-0000-1000-8000-0026BB765291"; constructor() { super("Audio Feedback", AudioFeedback.UUID, { format: "bool" /* Formats.BOOL */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], }); this.value = this.getDefaultValue(); } } exports.AudioFeedback = AudioFeedback; Characteristic_1.Characteristic.AudioFeedback = AudioFeedback; /** * Characteristic "Battery Level" */ class BatteryLevel extends Characteristic_1.Characteristic { static UUID = "00000068-0000-1000-8000-0026BB765291"; constructor() { super("Battery Level", BatteryLevel.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], unit: "percentage" /* Units.PERCENTAGE */, minValue: 0, maxValue: 100, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.BatteryLevel = BatteryLevel; Characteristic_1.Characteristic.BatteryLevel = BatteryLevel; /** * Characteristic "Brightness" */ class Brightness extends Characteristic_1.Characteristic { static UUID = "00000008-0000-1000-8000-0026BB765291"; constructor() { super("Brightness", Brightness.UUID, { format: "int" /* Formats.INT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], unit: "percentage" /* Units.PERCENTAGE */, minValue: 0, maxValue: 100, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.Brightness = Brightness; Characteristic_1.Characteristic.Brightness = Brightness; /** * Characteristic "Button Event" */ class ButtonEvent extends Characteristic_1.Characteristic { static UUID = "00000126-0000-1000-8000-0026BB765291"; constructor() { super("Button Event", ButtonEvent.UUID, { format: "tlv8" /* Formats.TLV8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], adminOnlyAccess: [2 /* Access.NOTIFY */], }); this.value = this.getDefaultValue(); } } exports.ButtonEvent = ButtonEvent; Characteristic_1.Characteristic.ButtonEvent = ButtonEvent; /** * Characteristic "Camera Operating Mode Indicator" */ class CameraOperatingModeIndicator extends Characteristic_1.Characteristic { static UUID = "0000021D-0000-1000-8000-0026BB765291"; static DISABLE = 0; static ENABLE = 1; constructor() { super("Camera Operating Mode Indicator", CameraOperatingModeIndicator.UUID, { format: "bool" /* Formats.BOOL */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "tw" /* Perms.TIMED_WRITE */], validValues: [0, 1], }); this.value = this.getDefaultValue(); } } exports.CameraOperatingModeIndicator = CameraOperatingModeIndicator; Characteristic_1.Characteristic.CameraOperatingModeIndicator = CameraOperatingModeIndicator; /** * Characteristic "Carbon Dioxide Detected" */ class CarbonDioxideDetected extends Characteristic_1.Characteristic { static UUID = "00000092-0000-1000-8000-0026BB765291"; static CO2_LEVELS_NORMAL = 0; static CO2_LEVELS_ABNORMAL = 1; constructor() { super("Carbon Dioxide Detected", CarbonDioxideDetected.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 1, minStep: 1, validValues: [0, 1], }); this.value = this.getDefaultValue(); } } exports.CarbonDioxideDetected = CarbonDioxideDetected; Characteristic_1.Characteristic.CarbonDioxideDetected = CarbonDioxideDetected; /** * Characteristic "Carbon Dioxide Level" */ class CarbonDioxideLevel extends Characteristic_1.Characteristic { static UUID = "00000093-0000-1000-8000-0026BB765291"; constructor() { super("Carbon Dioxide Level", CarbonDioxideLevel.UUID, { format: "float" /* Formats.FLOAT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 100000, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.CarbonDioxideLevel = CarbonDioxideLevel; Characteristic_1.Characteristic.CarbonDioxideLevel = CarbonDioxideLevel; /** * Characteristic "Carbon Dioxide Peak Level" */ class CarbonDioxidePeakLevel extends Characteristic_1.Characteristic { static UUID = "00000094-0000-1000-8000-0026BB765291"; constructor() { super("Carbon Dioxide Peak Level", CarbonDioxidePeakLevel.UUID, { format: "float" /* Formats.FLOAT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 100000, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.CarbonDioxidePeakLevel = CarbonDioxidePeakLevel; Characteristic_1.Characteristic.CarbonDioxidePeakLevel = CarbonDioxidePeakLevel; /** * Characteristic "Carbon Monoxide Detected" */ class CarbonMonoxideDetected extends Characteristic_1.Characteristic { static UUID = "00000069-0000-1000-8000-0026BB765291"; static CO_LEVELS_NORMAL = 0; static CO_LEVELS_ABNORMAL = 1; constructor() { super("Carbon Monoxide Detected", CarbonMonoxideDetected.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 1, minStep: 1, validValues: [0, 1], }); this.value = this.getDefaultValue(); } } exports.CarbonMonoxideDetected = CarbonMonoxideDetected; Characteristic_1.Characteristic.CarbonMonoxideDetected = CarbonMonoxideDetected; /** * Characteristic "Carbon Monoxide Level" */ class CarbonMonoxideLevel extends Characteristic_1.Characteristic { static UUID = "00000090-0000-1000-8000-0026BB765291"; constructor() { super("Carbon Monoxide Level", CarbonMonoxideLevel.UUID, { format: "float" /* Formats.FLOAT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 100, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.CarbonMonoxideLevel = CarbonMonoxideLevel; Characteristic_1.Characteristic.CarbonMonoxideLevel = CarbonMonoxideLevel; /** * Characteristic "Carbon Monoxide Peak Level" */ class CarbonMonoxidePeakLevel extends Characteristic_1.Characteristic { static UUID = "00000091-0000-1000-8000-0026BB765291"; constructor() { super("Carbon Monoxide Peak Level", CarbonMonoxidePeakLevel.UUID, { format: "float" /* Formats.FLOAT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 100, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.CarbonMonoxidePeakLevel = CarbonMonoxidePeakLevel; Characteristic_1.Characteristic.CarbonMonoxidePeakLevel = CarbonMonoxidePeakLevel; /** * Characteristic "CCA Energy Detect Threshold" * @since iOS 14 */ class CCAEnergyDetectThreshold extends Characteristic_1.Characteristic { static UUID = "00000246-0000-1000-8000-0026BB765291"; constructor() { super("CCA Energy Detect Threshold", CCAEnergyDetectThreshold.UUID, { format: "int" /* Formats.INT */, perms: ["pr" /* Perms.PAIRED_READ */], }); this.value = this.getDefaultValue(); } } exports.CCAEnergyDetectThreshold = CCAEnergyDetectThreshold; Characteristic_1.Characteristic.CCAEnergyDetectThreshold = CCAEnergyDetectThreshold; /** * Characteristic "CCA Signal Detect Threshold" * @since iOS 14 */ class CCASignalDetectThreshold extends Characteristic_1.Characteristic { static UUID = "00000245-0000-1000-8000-0026BB765291"; constructor() { super("CCA Signal Detect Threshold", CCASignalDetectThreshold.UUID, { format: "int" /* Formats.INT */, perms: ["pr" /* Perms.PAIRED_READ */], }); this.value = this.getDefaultValue(); } } exports.CCASignalDetectThreshold = CCASignalDetectThreshold; Characteristic_1.Characteristic.CCASignalDetectThreshold = CCASignalDetectThreshold; /** * Characteristic "Characteristic Value Active Transition Count" * @since iOS 14 */ class CharacteristicValueActiveTransitionCount extends Characteristic_1.Characteristic { static UUID = "0000024B-0000-1000-8000-0026BB765291"; constructor() { super("Characteristic Value Active Transition Count", CharacteristicValueActiveTransitionCount.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], }); this.value = this.getDefaultValue(); } } exports.CharacteristicValueActiveTransitionCount = CharacteristicValueActiveTransitionCount; Characteristic_1.Characteristic.CharacteristicValueActiveTransitionCount = CharacteristicValueActiveTransitionCount; /** * Characteristic "Characteristic Value Transition Control" * @since iOS 14 */ class CharacteristicValueTransitionControl extends Characteristic_1.Characteristic { static UUID = "00000143-0000-1000-8000-0026BB765291"; constructor() { super("Characteristic Value Transition Control", CharacteristicValueTransitionControl.UUID, { format: "tlv8" /* Formats.TLV8 */, perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */], }); this.value = this.getDefaultValue(); } } exports.CharacteristicValueTransitionControl = CharacteristicValueTransitionControl; Characteristic_1.Characteristic.CharacteristicValueTransitionControl = CharacteristicValueTransitionControl; /** * Characteristic "Charging State" */ class ChargingState extends Characteristic_1.Characteristic { static UUID = "0000008F-0000-1000-8000-0026BB765291"; static NOT_CHARGING = 0; static CHARGING = 1; static NOT_CHARGEABLE = 2; constructor() { super("Charging State", ChargingState.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 2, minStep: 1, validValues: [0, 1, 2], }); this.value = this.getDefaultValue(); } } exports.ChargingState = ChargingState; Characteristic_1.Characteristic.ChargingState = ChargingState; /** * Characteristic "Closed Captions" */ class ClosedCaptions extends Characteristic_1.Characteristic { static UUID = "000000DD-0000-1000-8000-0026BB765291"; static DISABLED = 0; static ENABLED = 1; constructor() { super("Closed Captions", ClosedCaptions.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], minValue: 0, maxValue: 1, minStep: 1, validValues: [0, 1], }); this.value = this.getDefaultValue(); } } exports.ClosedCaptions = ClosedCaptions; Characteristic_1.Characteristic.ClosedCaptions = ClosedCaptions; /** * Characteristic "Color Temperature" */ class ColorTemperature extends Characteristic_1.Characteristic { static UUID = "000000CE-0000-1000-8000-0026BB765291"; constructor() { super("Color Temperature", ColorTemperature.UUID, { format: "int" /* Formats.INT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], minValue: 140, maxValue: 500, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.ColorTemperature = ColorTemperature; Characteristic_1.Characteristic.ColorTemperature = ColorTemperature; /** * Characteristic "Configuration State" * @since iOS 15 */ class ConfigurationState extends Characteristic_1.Characteristic { static UUID = "00000263-0000-1000-8000-0026BB765291"; constructor() { super("Configuration State", ConfigurationState.UUID, { format: "uint16" /* Formats.UINT16 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], }); this.value = this.getDefaultValue(); } } exports.ConfigurationState = ConfigurationState; Characteristic_1.Characteristic.ConfigurationState = ConfigurationState; /** * Characteristic "Configured Name" */ class ConfiguredName extends Characteristic_1.Characteristic { static UUID = "000000E3-0000-1000-8000-0026BB765291"; constructor() { super("Configured Name", ConfiguredName.UUID, { format: "string" /* Formats.STRING */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], }); this.value = this.getDefaultValue(); } } exports.ConfiguredName = ConfiguredName; Characteristic_1.Characteristic.ConfiguredName = ConfiguredName; /** * Characteristic "Contact Sensor State" */ class ContactSensorState extends Characteristic_1.Characteristic { static UUID = "0000006A-0000-1000-8000-0026BB765291"; static CONTACT_DETECTED = 0; static CONTACT_NOT_DETECTED = 1; constructor() { super("Contact Sensor State", ContactSensorState.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 1, minStep: 1, validValues: [0, 1], }); this.value = this.getDefaultValue(); } } exports.ContactSensorState = ContactSensorState; Characteristic_1.Characteristic.ContactSensorState = ContactSensorState; /** * Characteristic "Cooling Threshold Temperature" */ class CoolingThresholdTemperature extends Characteristic_1.Characteristic { static UUID = "0000000D-0000-1000-8000-0026BB765291"; constructor() { super("Cooling Threshold Temperature", CoolingThresholdTemperature.UUID, { format: "float" /* Formats.FLOAT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], unit: "celsius" /* Units.CELSIUS */, minValue: 10, maxValue: 35, minStep: 0.1, }); this.value = this.getDefaultValue(); } } exports.CoolingThresholdTemperature = CoolingThresholdTemperature; Characteristic_1.Characteristic.CoolingThresholdTemperature = CoolingThresholdTemperature; /** * Characteristic "Crypto Hash" */ class CryptoHash extends Characteristic_1.Characteristic { static UUID = "00000250-0000-1000-8000-0026BB765291"; constructor() { super("Crypto Hash", CryptoHash.UUID, { format: "tlv8" /* Formats.TLV8 */, perms: ["pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */], }); this.value = this.getDefaultValue(); } } exports.CryptoHash = CryptoHash; Characteristic_1.Characteristic.CryptoHash = CryptoHash; /** * Characteristic "Current Air Purifier State" */ class CurrentAirPurifierState extends Characteristic_1.Characteristic { static UUID = "000000A9-0000-1000-8000-0026BB765291"; static INACTIVE = 0; static IDLE = 1; static PURIFYING_AIR = 2; constructor() { super("Current Air Purifier State", CurrentAirPurifierState.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 2, minStep: 1, validValues: [0, 1, 2], }); this.value = this.getDefaultValue(); } } exports.CurrentAirPurifierState = CurrentAirPurifierState; Characteristic_1.Characteristic.CurrentAirPurifierState = CurrentAirPurifierState; /** * Characteristic "Current Ambient Light Level" */ class CurrentAmbientLightLevel extends Characteristic_1.Characteristic { static UUID = "0000006B-0000-1000-8000-0026BB765291"; constructor() { super("Current Ambient Light Level", CurrentAmbientLightLevel.UUID, { format: "float" /* Formats.FLOAT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], unit: "lux" /* Units.LUX */, minValue: 0.0001, maxValue: 100000, }); this.value = this.getDefaultValue(); } } exports.CurrentAmbientLightLevel = CurrentAmbientLightLevel; Characteristic_1.Characteristic.CurrentAmbientLightLevel = CurrentAmbientLightLevel; /** * Characteristic "Current Door State" */ class CurrentDoorState extends Characteristic_1.Characteristic { static UUID = "0000000E-0000-1000-8000-0026BB765291"; static OPEN = 0; static CLOSED = 1; static OPENING = 2; static CLOSING = 3; static STOPPED = 4; constructor() { super("Current Door State", CurrentDoorState.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 4, minStep: 1, validValues: [0, 1, 2, 3, 4], }); this.value = this.getDefaultValue(); } } exports.CurrentDoorState = CurrentDoorState; Characteristic_1.Characteristic.CurrentDoorState = CurrentDoorState; /** * Characteristic "Current Fan State" */ class CurrentFanState extends Characteristic_1.Characteristic { static UUID = "000000AF-0000-1000-8000-0026BB765291"; static INACTIVE = 0; static IDLE = 1; static BLOWING_AIR = 2; constructor() { super("Current Fan State", CurrentFanState.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 2, minStep: 1, validValues: [0, 1, 2], }); this.value = this.getDefaultValue(); } } exports.CurrentFanState = CurrentFanState; Characteristic_1.Characteristic.CurrentFanState = CurrentFanState; /** * Characteristic "Current Heater-Cooler State" */ class CurrentHeaterCoolerState extends Characteristic_1.Characteristic { static UUID = "000000B1-0000-1000-8000-0026BB765291"; static INACTIVE = 0; static IDLE = 1; static HEATING = 2; static COOLING = 3; constructor() { super("Current Heater-Cooler State", CurrentHeaterCoolerState.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 3, minStep: 1, validValues: [0, 1, 2, 3], }); this.value = this.getDefaultValue(); } } exports.CurrentHeaterCoolerState = CurrentHeaterCoolerState; Characteristic_1.Characteristic.CurrentHeaterCoolerState = CurrentHeaterCoolerState; /** * Characteristic "Current Heating Cooling State" */ class CurrentHeatingCoolingState extends Characteristic_1.Characteristic { static UUID = "0000000F-0000-1000-8000-0026BB765291"; static OFF = 0; static HEAT = 1; static COOL = 2; constructor() { super("Current Heating Cooling State", CurrentHeatingCoolingState.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 2, minStep: 1, validValues: [0, 1, 2], }); this.value = this.getDefaultValue(); } } exports.CurrentHeatingCoolingState = CurrentHeatingCoolingState; Characteristic_1.Characteristic.CurrentHeatingCoolingState = CurrentHeatingCoolingState; /** * Characteristic "Current Horizontal Tilt Angle" */ class CurrentHorizontalTiltAngle extends Characteristic_1.Characteristic { static UUID = "0000006C-0000-1000-8000-0026BB765291"; constructor() { super("Current Horizontal Tilt Angle", CurrentHorizontalTiltAngle.UUID, { format: "int" /* Formats.INT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], unit: "arcdegrees" /* Units.ARC_DEGREE */, minValue: -90, maxValue: 90, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.CurrentHorizontalTiltAngle = CurrentHorizontalTiltAngle; Characteristic_1.Characteristic.CurrentHorizontalTiltAngle = CurrentHorizontalTiltAngle; /** * Characteristic "Current Humidifier-Dehumidifier State" */ class CurrentHumidifierDehumidifierState extends Characteristic_1.Characteristic { static UUID = "000000B3-0000-1000-8000-0026BB765291"; static INACTIVE = 0; static IDLE = 1; static HUMIDIFYING = 2; static DEHUMIDIFYING = 3; constructor() { super("Current Humidifier-Dehumidifier State", CurrentHumidifierDehumidifierState.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 3, minStep: 1, validValues: [0, 1, 2, 3], }); this.value = this.getDefaultValue(); } } exports.CurrentHumidifierDehumidifierState = CurrentHumidifierDehumidifierState; Characteristic_1.Characteristic.CurrentHumidifierDehumidifierState = CurrentHumidifierDehumidifierState; /** * Characteristic "Current Media State" */ class CurrentMediaState extends Characteristic_1.Characteristic { static UUID = "000000E0-0000-1000-8000-0026BB765291"; static PLAY = 0; static PAUSE = 1; static STOP = 2; static LOADING = 4; static INTERRUPTED = 5; constructor() { super("Current Media State", CurrentMediaState.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 5, minStep: 1, validValues: [0, 1, 2, 4, 5], }); this.value = this.getDefaultValue(); } } exports.CurrentMediaState = CurrentMediaState; Characteristic_1.Characteristic.CurrentMediaState = CurrentMediaState; /** * Characteristic "Current Position" */ class CurrentPosition extends Characteristic_1.Characteristic { static UUID = "0000006D-0000-1000-8000-0026BB765291"; constructor() { super("Current Position", CurrentPosition.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], unit: "percentage" /* Units.PERCENTAGE */, minValue: 0, maxValue: 100, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.CurrentPosition = CurrentPosition; Characteristic_1.Characteristic.CurrentPosition = CurrentPosition; /** * Characteristic "Current Relative Humidity" */ class CurrentRelativeHumidity extends Characteristic_1.Characteristic { static UUID = "00000010-0000-1000-8000-0026BB765291"; constructor() { super("Current Relative Humidity", CurrentRelativeHumidity.UUID, { format: "float" /* Formats.FLOAT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], unit: "percentage" /* Units.PERCENTAGE */, minValue: 0, maxValue: 100, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.CurrentRelativeHumidity = CurrentRelativeHumidity; Characteristic_1.Characteristic.CurrentRelativeHumidity = CurrentRelativeHumidity; /** * Characteristic "Current Slat State" */ class CurrentSlatState extends Characteristic_1.Characteristic { static UUID = "000000AA-0000-1000-8000-0026BB765291"; static FIXED = 0; static JAMMED = 1; static SWINGING = 2; constructor() { super("Current Slat State", CurrentSlatState.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 2, minStep: 1, validValues: [0, 1, 2], }); this.value = this.getDefaultValue(); } } exports.CurrentSlatState = CurrentSlatState; Characteristic_1.Characteristic.CurrentSlatState = CurrentSlatState; /** * Characteristic "Current Temperature" */ class CurrentTemperature extends Characteristic_1.Characteristic { static UUID = "00000011-0000-1000-8000-0026BB765291"; constructor() { super("Current Temperature", CurrentTemperature.UUID, { format: "float" /* Formats.FLOAT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], unit: "celsius" /* Units.CELSIUS */, minValue: -270, maxValue: 100, minStep: 0.1, }); this.value = this.getDefaultValue(); } } exports.CurrentTemperature = CurrentTemperature; Characteristic_1.Characteristic.CurrentTemperature = CurrentTemperature; /** * Characteristic "Current Tilt Angle" */ class CurrentTiltAngle extends Characteristic_1.Characteristic { static UUID = "000000C1-0000-1000-8000-0026BB765291"; constructor() { super("Current Tilt Angle", CurrentTiltAngle.UUID, { format: "int" /* Formats.INT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], unit: "arcdegrees" /* Units.ARC_DEGREE */, minValue: -90, maxValue: 90, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.CurrentTiltAngle = CurrentTiltAngle; Characteristic_1.Characteristic.CurrentTiltAngle = CurrentTiltAngle; /** * Characteristic "Current Transport" * @since iOS 14 */ class CurrentTransport extends Characteristic_1.Characteristic { static UUID = "0000022B-0000-1000-8000-0026BB765291"; constructor() { super("Current Transport", CurrentTransport.UUID, { format: "bool" /* Formats.BOOL */, perms: ["pr" /* Perms.PAIRED_READ */], }); this.value = this.getDefaultValue(); } } exports.CurrentTransport = CurrentTransport; Characteristic_1.Characteristic.CurrentTransport = CurrentTransport; /** * Characteristic "Current Vertical Tilt Angle" */ class CurrentVerticalTiltAngle extends Characteristic_1.Characteristic { static UUID = "0000006E-0000-1000-8000-0026BB765291"; constructor() { super("Current Vertical Tilt Angle", CurrentVerticalTiltAngle.UUID, { format: "int" /* Formats.INT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], unit: "arcdegrees" /* Units.ARC_DEGREE */, minValue: -90, maxValue: 90, minStep: 1, }); this.value = this.getDefaultValue(); } } exports.CurrentVerticalTiltAngle = CurrentVerticalTiltAngle; Characteristic_1.Characteristic.CurrentVerticalTiltAngle = CurrentVerticalTiltAngle; /** * Characteristic "Current Visibility State" */ class CurrentVisibilityState extends Characteristic_1.Characteristic { static UUID = "00000135-0000-1000-8000-0026BB765291"; static SHOWN = 0; static HIDDEN = 1; constructor() { super("Current Visibility State", CurrentVisibilityState.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], minValue: 0, maxValue: 1, minStep: 1, validValues: [0, 1], }); this.value = this.getDefaultValue(); } } exports.CurrentVisibilityState = CurrentVisibilityState; Characteristic_1.Characteristic.CurrentVisibilityState = CurrentVisibilityState; /** * Characteristic "Data Stream HAP Transport" * @since iOS 14 */ class DataStreamHAPTransport extends Characteristic_1.Characteristic { static UUID = "00000138-0000-1000-8000-0026BB765291"; constructor() { super("Data Stream HAP Transport", DataStreamHAPTransport.UUID, { format: "tlv8" /* Formats.TLV8 */, perms: ["pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */, "wr" /* Perms.WRITE_RESPONSE */], }); this.value = this.getDefaultValue(); } } exports.DataStreamHAPTransport = DataStreamHAPTransport; Characteristic_1.Characteristic.DataStreamHAPTransport = DataStreamHAPTransport; /** * Characteristic "Data Stream HAP Transport Interrupt" * @since iOS 14 */ class DataStreamHAPTransportInterrupt extends Characteristic_1.Characteristic { static UUID = "00000139-0000-1000-8000-0026BB765291"; constructor() { super("Data Stream HAP Transport Interrupt", DataStreamHAPTransportInterrupt.UUID, { format: "tlv8" /* Formats.TLV8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], }); this.value = this.getDefaultValue(); } } exports.DataStreamHAPTransportInterrupt = DataStreamHAPTransportInterrupt; Characteristic_1.Characteristic.DataStreamHAPTransportInterrupt = DataStreamHAPTransportInterrupt; /** * Characteristic "Diagonal Field Of View" * @since iOS 13.2 */ class DiagonalFieldOfView extends Characteristic_1.Characteristic { static UUID = "00000224-0000-1000-8000-0026BB765291"; constructor() { super("Diagonal Field Of View", DiagonalFieldOfView.UUID, { format: "float" /* Formats.FLOAT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */], unit: "arcdegrees" /* Units.ARC_DEGREE */, minValue: 0, maxValue: 360, }); this.value = this.getDefaultValue(); } } exports.DiagonalFieldOfView = DiagonalFieldOfView; Characteristic_1.Characteristic.DiagonalFieldOfView = DiagonalFieldOfView; /** * Characteristic "Digital Zoom" */ class DigitalZoom extends Characteristic_1.Characteristic { static UUID = "0000011D-0000-1000-8000-0026BB765291"; constructor() { super("Digital Zoom", DigitalZoom.UUID, { format: "float" /* Formats.FLOAT */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], minStep: 0.1, }); this.value = this.getDefaultValue(); } } exports.DigitalZoom = DigitalZoom; Characteristic_1.Characteristic.DigitalZoom = DigitalZoom; /** * Characteristic "Display Order" */ class DisplayOrder extends Characteristic_1.Characteristic { static UUID = "00000136-0000-1000-8000-0026BB765291"; constructor() { super("Display Order", DisplayOrder.UUID, { format: "tlv8" /* Formats.TLV8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], }); this.value = this.getDefaultValue(); } } exports.DisplayOrder = DisplayOrder; Characteristic_1.Characteristic.DisplayOrder = DisplayOrder; /** * Characteristic "Event Retransmission Maximum" * @since iOS 14 */ class EventRetransmissionMaximum extends Characteristic_1.Characteristic { static UUID = "0000023D-0000-1000-8000-0026BB765291"; constructor() { super("Event Retransmission Maximum", EventRetransmissionMaximum.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["pr" /* Perms.PAIRED_READ */], }); this.value = this.getDefaultValue(); } } exports.EventRetransmissionMaximum = EventRetransmissionMaximum; Characteristic_1.Characteristic.EventRetransmissionMaximum = EventRetransmissionMaximum; /** * Characteristic "Event Snapshots Active" */ class EventSnapshotsActive extends Characteristic_1.Characteristic { static UUID = "00000223-0000-1000-8000-0026BB765291"; static DISABLE = 0; static ENABLE = 1; constructor() { super("Event Snapshots Active", EventSnapshotsActive.UUID, { format: "uint8" /* Formats.UINT8 */, perms: ["ev" /* Perms.NOTIFY */, "pr" /* Perms.PAIRED_READ */, "pw" /* Perms.PAIRED_WRITE */], minValue: 0, maxValue: 1, validValues: [0, 1], }); this.value = this.getDefaultValue(); } } exports.EventSnapshotsActive = EventSnapshotsActive; Characteristic_1.Characteristic.EventSnapshotsActive = EventSnapshotsActive; /** * Characteristic "Event Transmission Counters" * @since iOS 14 */ class EventTransmissionCounters extends Char