@matter/types 0.16.0-alpha.0-20251104-8c3166ea3 → 0.16.0-alpha.0-20251107-6bcb5baf4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clusters/access-control.d.ts +250 -250
- package/dist/cjs/clusters/access-control.js +39 -39
- package/dist/cjs/clusters/account-login.d.ts +29 -29
- package/dist/cjs/clusters/account-login.js +11 -11
- package/dist/cjs/clusters/actions.d.ts +108 -108
- package/dist/cjs/clusters/actions.js +39 -39
- package/dist/cjs/clusters/administrator-commissioning.d.ts +54 -54
- package/dist/cjs/clusters/administrator-commissioning.js +12 -12
- package/dist/cjs/clusters/air-quality.d.ts +5 -5
- package/dist/cjs/clusters/air-quality.js +1 -1
- package/dist/cjs/clusters/alarm-base.d.ts +43 -43
- package/dist/cjs/clusters/alarm-base.js +14 -14
- package/dist/cjs/clusters/application-basic.d.ts +16 -16
- package/dist/cjs/clusters/application-basic.js +10 -10
- package/dist/cjs/clusters/application-launcher.d.ts +104 -104
- package/dist/cjs/clusters/application-launcher.js +13 -13
- package/dist/cjs/clusters/audio-output.d.ts +37 -37
- package/dist/cjs/clusters/audio-output.js +8 -8
- package/dist/cjs/clusters/basic-information.d.ts +55 -55
- package/dist/cjs/clusters/basic-information.js +35 -35
- package/dist/cjs/clusters/binding.d.ts +12 -12
- package/dist/cjs/clusters/binding.js +5 -5
- package/dist/cjs/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/cjs/clusters/boolean-state-configuration.js +18 -18
- package/dist/cjs/clusters/boolean-state.d.ts +7 -7
- package/dist/cjs/clusters/boolean-state.js +3 -3
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +105 -105
- package/dist/cjs/clusters/bridged-device-basic-information.js +29 -29
- package/dist/cjs/clusters/channel.d.ts +561 -561
- package/dist/cjs/clusters/channel.js +73 -73
- package/dist/cjs/clusters/color-control.d.ts +658 -658
- package/dist/cjs/clusters/color-control.js +116 -116
- package/dist/cjs/clusters/commissioner-control.d.ts +16 -16
- package/dist/cjs/clusters/commissioner-control.js +5 -5
- package/dist/cjs/clusters/concentration-measurement.d.ts +26 -26
- package/dist/cjs/clusters/concentration-measurement.js +11 -11
- package/dist/cjs/clusters/content-app-observer.d.ts +18 -18
- package/dist/cjs/clusters/content-app-observer.js +6 -6
- package/dist/cjs/clusters/content-control.d.ts +366 -366
- package/dist/cjs/clusters/content-control.js +58 -58
- package/dist/cjs/clusters/content-launcher.d.ts +479 -479
- package/dist/cjs/clusters/content-launcher.js +39 -39
- package/dist/cjs/clusters/descriptor.d.ts +30 -30
- package/dist/cjs/clusters/descriptor.js +9 -9
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/cjs/clusters/device-energy-management-mode.js +8 -8
- package/dist/cjs/clusters/device-energy-management.d.ts +544 -544
- package/dist/cjs/clusters/device-energy-management.js +87 -87
- package/dist/cjs/clusters/diagnostic-logs.d.ts +37 -37
- package/dist/cjs/clusters/diagnostic-logs.js +8 -8
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/cjs/clusters/dishwasher-alarm.js +14 -14
- package/dist/cjs/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/cjs/clusters/dishwasher-mode.js +8 -8
- package/dist/cjs/clusters/door-lock.d.ts +1349 -1349
- package/dist/cjs/clusters/door-lock.js +227 -227
- package/dist/cjs/clusters/ecosystem-information.d.ts +35 -35
- package/dist/cjs/clusters/ecosystem-information.js +14 -14
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +276 -276
- package/dist/cjs/clusters/electrical-energy-measurement.js +25 -25
- package/dist/cjs/clusters/electrical-power-measurement.d.ts +200 -200
- package/dist/cjs/clusters/electrical-power-measurement.js +39 -39
- package/dist/cjs/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/cjs/clusters/energy-evse-mode.js +8 -8
- package/dist/cjs/clusters/energy-evse.d.ts +323 -323
- package/dist/cjs/clusters/energy-evse.js +73 -73
- package/dist/cjs/clusters/energy-preference.d.ts +49 -49
- package/dist/cjs/clusters/energy-preference.js +9 -9
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/cjs/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/cjs/clusters/fan-control.d.ts +83 -83
- package/dist/cjs/clusters/fan-control.js +19 -19
- package/dist/cjs/clusters/fixed-label.d.ts +2 -2
- package/dist/cjs/clusters/fixed-label.js +1 -1
- package/dist/cjs/clusters/flow-measurement.d.ts +5 -5
- package/dist/cjs/clusters/flow-measurement.js +4 -4
- package/dist/cjs/clusters/general-commissioning.d.ts +104 -104
- package/dist/cjs/clusters/general-commissioning.js +25 -25
- package/dist/cjs/clusters/general-diagnostics.d.ts +174 -174
- package/dist/cjs/clusters/general-diagnostics.js +40 -40
- package/dist/cjs/clusters/group-key-management.d.ts +119 -119
- package/dist/cjs/clusters/group-key-management.js +23 -23
- package/dist/cjs/clusters/groups.d.ts +78 -78
- package/dist/cjs/clusters/groups.js +21 -21
- package/dist/cjs/clusters/icd-management.d.ts +131 -131
- package/dist/cjs/clusters/icd-management.js +29 -29
- package/dist/cjs/clusters/identify.d.ts +16 -16
- package/dist/cjs/clusters/identify.js +6 -6
- package/dist/cjs/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/cjs/clusters/illuminance-measurement.js +5 -5
- package/dist/cjs/clusters/joint-fabric-administrator.d.ts +34 -34
- package/dist/cjs/clusters/joint-fabric-administrator.js +10 -10
- package/dist/cjs/clusters/joint-fabric-datastore.d.ts +232 -232
- package/dist/cjs/clusters/joint-fabric-datastore.js +73 -73
- package/dist/cjs/clusters/keypad-input.d.ts +18 -18
- package/dist/cjs/clusters/keypad-input.js +3 -3
- package/dist/cjs/clusters/label.d.ts +10 -10
- package/dist/cjs/clusters/label.js +3 -3
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/cjs/clusters/laundry-dryer-controls.js +2 -2
- package/dist/cjs/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/cjs/clusters/laundry-washer-controls.js +6 -6
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/cjs/clusters/laundry-washer-mode.js +5 -5
- package/dist/cjs/clusters/level-control.d.ts +303 -303
- package/dist/cjs/clusters/level-control.js +32 -32
- package/dist/cjs/clusters/localization-configuration.d.ts +3 -3
- package/dist/cjs/clusters/localization-configuration.js +2 -2
- package/dist/cjs/clusters/low-power.d.ts +2 -2
- package/dist/cjs/clusters/low-power.js +1 -1
- package/dist/cjs/clusters/media-input.d.ts +47 -47
- package/dist/cjs/clusters/media-input.js +11 -11
- package/dist/cjs/clusters/media-playback.d.ts +390 -390
- package/dist/cjs/clusters/media-playback.js +57 -57
- package/dist/cjs/clusters/messages.d.ts +154 -154
- package/dist/cjs/clusters/messages.js +38 -38
- package/dist/cjs/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/cjs/clusters/microwave-oven-control.js +17 -17
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/cjs/clusters/microwave-oven-mode.js +7 -7
- package/dist/cjs/clusters/mode-base.d.ts +59 -59
- package/dist/cjs/clusters/mode-base.js +13 -13
- package/dist/cjs/clusters/mode-select.d.ts +51 -51
- package/dist/cjs/clusters/mode-select.js +13 -13
- package/dist/cjs/clusters/network-commissioning.d.ts +325 -325
- package/dist/cjs/clusters/network-commissioning.js +46 -46
- package/dist/cjs/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/cjs/clusters/occupancy-sensing.js +20 -20
- package/dist/cjs/clusters/on-off.d.ts +103 -103
- package/dist/cjs/clusters/on-off.js +19 -19
- package/dist/cjs/clusters/operational-credentials.d.ts +106 -106
- package/dist/cjs/clusters/operational-credentials.js +38 -38
- package/dist/cjs/clusters/operational-state.d.ts +67 -67
- package/dist/cjs/clusters/operational-state.js +21 -21
- package/dist/cjs/clusters/ota-software-update-provider.d.ts +65 -65
- package/dist/cjs/clusters/ota-software-update-provider.js +25 -25
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/cjs/clusters/ota-software-update-requestor.js +25 -25
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/cjs/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/cjs/clusters/oven-mode.d.ts +49 -49
- package/dist/cjs/clusters/oven-mode.js +8 -8
- package/dist/cjs/clusters/power-source-configuration.d.ts +2 -2
- package/dist/cjs/clusters/power-source-configuration.js +1 -1
- package/dist/cjs/clusters/power-source.d.ts +155 -155
- package/dist/cjs/clusters/power-source.js +41 -41
- package/dist/cjs/clusters/power-topology.d.ts +8 -8
- package/dist/cjs/clusters/power-topology.js +2 -2
- package/dist/cjs/clusters/pressure-measurement.d.ts +25 -25
- package/dist/cjs/clusters/pressure-measurement.js +9 -9
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/cjs/clusters/pump-configuration-and-control.js +57 -57
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/cjs/clusters/refrigerator-alarm.js +11 -11
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/cjs/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/cjs/clusters/relative-humidity-measurement.js +4 -4
- package/dist/cjs/clusters/resource-monitoring.d.ts +20 -20
- package/dist/cjs/clusters/resource-monitoring.js +7 -7
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +49 -49
- package/dist/cjs/clusters/rvc-clean-mode.js +9 -9
- package/dist/cjs/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/cjs/clusters/rvc-operational-state.js +17 -17
- package/dist/cjs/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/cjs/clusters/rvc-run-mode.js +9 -9
- package/dist/cjs/clusters/scenes-management.d.ts +244 -244
- package/dist/cjs/clusters/scenes-management.js +69 -69
- package/dist/cjs/clusters/service-area.d.ts +128 -128
- package/dist/cjs/clusters/service-area.js +26 -26
- package/dist/cjs/clusters/smoke-co-alarm.d.ts +135 -135
- package/dist/cjs/clusters/smoke-co-alarm.js +30 -30
- package/dist/cjs/clusters/software-diagnostics.d.ts +53 -53
- package/dist/cjs/clusters/software-diagnostics.js +14 -14
- package/dist/cjs/clusters/switch.d.ts +105 -105
- package/dist/cjs/clusters/switch.js +23 -23
- package/dist/cjs/clusters/target-navigator.d.ts +32 -32
- package/dist/cjs/clusters/target-navigator.js +10 -10
- package/dist/cjs/clusters/temperature-control.d.ts +45 -45
- package/dist/cjs/clusters/temperature-control.js +12 -12
- package/dist/cjs/clusters/temperature-measurement.d.ts +5 -5
- package/dist/cjs/clusters/temperature-measurement.js +4 -4
- package/dist/cjs/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/cjs/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/cjs/clusters/thermostat.d.ts +514 -514
- package/dist/cjs/clusters/thermostat.js +114 -114
- package/dist/cjs/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/cjs/clusters/thread-border-router-management.js +14 -14
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/cjs/clusters/thread-network-diagnostics.js +108 -108
- package/dist/cjs/clusters/thread-network-directory.d.ts +27 -27
- package/dist/cjs/clusters/thread-network-directory.js +11 -11
- package/dist/cjs/clusters/time-format-localization.d.ts +12 -12
- package/dist/cjs/clusters/time-format-localization.js +3 -3
- package/dist/cjs/clusters/time-synchronization.d.ts +246 -246
- package/dist/cjs/clusters/time-synchronization.js +47 -47
- package/dist/cjs/clusters/unit-localization.d.ts +9 -9
- package/dist/cjs/clusters/unit-localization.js +2 -2
- package/dist/cjs/clusters/user-label.d.ts +2 -2
- package/dist/cjs/clusters/user-label.js +1 -1
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts +81 -81
- package/dist/cjs/clusters/valve-configuration-and-control.js +22 -22
- package/dist/cjs/clusters/wake-on-lan.d.ts +3 -3
- package/dist/cjs/clusters/wake-on-lan.js +2 -2
- package/dist/cjs/clusters/water-heater-management.d.ts +91 -91
- package/dist/cjs/clusters/water-heater-management.js +16 -16
- package/dist/cjs/clusters/water-heater-mode.d.ts +42 -42
- package/dist/cjs/clusters/water-heater-mode.js +8 -8
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/cjs/clusters/wi-fi-network-management.d.ts +8 -8
- package/dist/cjs/clusters/wi-fi-network-management.js +4 -4
- package/dist/cjs/clusters/window-covering.d.ts +183 -183
- package/dist/cjs/clusters/window-covering.js +49 -49
- package/dist/cjs/dcl/operational-certificate.d.ts +8 -1
- package/dist/cjs/dcl/operational-certificate.d.ts.map +1 -1
- package/dist/cjs/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/cjs/globals/AtomicAttributeStatus.js +2 -2
- package/dist/cjs/globals/AtomicRequestType.d.ts +1 -1
- package/dist/cjs/globals/Currency.d.ts +2 -2
- package/dist/cjs/globals/Locationdesc.d.ts +5 -5
- package/dist/cjs/globals/Locationdesc.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/cjs/globals/MeasurementAccuracy.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/cjs/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/cjs/globals/MeasurementType.d.ts +1 -1
- package/dist/cjs/globals/Namespace.d.ts +1 -1
- package/dist/cjs/globals/Price.d.ts +2 -2
- package/dist/cjs/globals/Priority.d.ts +1 -1
- package/dist/cjs/globals/Semtag.d.ts +6 -6
- package/dist/cjs/globals/Semtag.js +4 -4
- package/dist/cjs/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/cjs/globals/Status.d.ts +36 -36
- package/dist/cjs/globals/ThreeLevelAuto.d.ts +1 -1
- package/dist/cjs/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/cjs/protocol/definitions/secure-channel.d.ts +2 -0
- package/dist/cjs/protocol/definitions/secure-channel.d.ts.map +1 -1
- package/dist/cjs/protocol/definitions/secure-channel.js +1 -0
- package/dist/cjs/protocol/definitions/secure-channel.js.map +1 -1
- package/dist/cjs/schema/PairingCodeSchema.d.ts +4 -0
- package/dist/cjs/schema/PairingCodeSchema.d.ts.map +1 -1
- package/dist/cjs/schema/PairingCodeSchema.js +18 -2
- package/dist/cjs/schema/PairingCodeSchema.js.map +2 -2
- package/dist/esm/clusters/access-control.d.ts +250 -250
- package/dist/esm/clusters/access-control.js +39 -39
- package/dist/esm/clusters/account-login.d.ts +29 -29
- package/dist/esm/clusters/account-login.js +11 -11
- package/dist/esm/clusters/actions.d.ts +108 -108
- package/dist/esm/clusters/actions.js +39 -39
- package/dist/esm/clusters/administrator-commissioning.d.ts +54 -54
- package/dist/esm/clusters/administrator-commissioning.js +12 -12
- package/dist/esm/clusters/air-quality.d.ts +5 -5
- package/dist/esm/clusters/air-quality.js +1 -1
- package/dist/esm/clusters/alarm-base.d.ts +43 -43
- package/dist/esm/clusters/alarm-base.js +14 -14
- package/dist/esm/clusters/application-basic.d.ts +16 -16
- package/dist/esm/clusters/application-basic.js +10 -10
- package/dist/esm/clusters/application-launcher.d.ts +104 -104
- package/dist/esm/clusters/application-launcher.js +13 -13
- package/dist/esm/clusters/audio-output.d.ts +37 -37
- package/dist/esm/clusters/audio-output.js +8 -8
- package/dist/esm/clusters/basic-information.d.ts +55 -55
- package/dist/esm/clusters/basic-information.js +35 -35
- package/dist/esm/clusters/binding.d.ts +12 -12
- package/dist/esm/clusters/binding.js +5 -5
- package/dist/esm/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/esm/clusters/boolean-state-configuration.js +18 -18
- package/dist/esm/clusters/boolean-state.d.ts +7 -7
- package/dist/esm/clusters/boolean-state.js +3 -3
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +105 -105
- package/dist/esm/clusters/bridged-device-basic-information.js +29 -29
- package/dist/esm/clusters/channel.d.ts +561 -561
- package/dist/esm/clusters/channel.js +73 -73
- package/dist/esm/clusters/color-control.d.ts +658 -658
- package/dist/esm/clusters/color-control.js +116 -116
- package/dist/esm/clusters/commissioner-control.d.ts +16 -16
- package/dist/esm/clusters/commissioner-control.js +5 -5
- package/dist/esm/clusters/concentration-measurement.d.ts +26 -26
- package/dist/esm/clusters/concentration-measurement.js +11 -11
- package/dist/esm/clusters/content-app-observer.d.ts +18 -18
- package/dist/esm/clusters/content-app-observer.js +6 -6
- package/dist/esm/clusters/content-control.d.ts +366 -366
- package/dist/esm/clusters/content-control.js +58 -58
- package/dist/esm/clusters/content-launcher.d.ts +479 -479
- package/dist/esm/clusters/content-launcher.js +39 -39
- package/dist/esm/clusters/descriptor.d.ts +30 -30
- package/dist/esm/clusters/descriptor.js +9 -9
- package/dist/esm/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/esm/clusters/device-energy-management-mode.js +8 -8
- package/dist/esm/clusters/device-energy-management.d.ts +544 -544
- package/dist/esm/clusters/device-energy-management.js +87 -87
- package/dist/esm/clusters/diagnostic-logs.d.ts +37 -37
- package/dist/esm/clusters/diagnostic-logs.js +8 -8
- package/dist/esm/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/esm/clusters/dishwasher-alarm.js +14 -14
- package/dist/esm/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/esm/clusters/dishwasher-mode.js +8 -8
- package/dist/esm/clusters/door-lock.d.ts +1349 -1349
- package/dist/esm/clusters/door-lock.js +227 -227
- package/dist/esm/clusters/ecosystem-information.d.ts +35 -35
- package/dist/esm/clusters/ecosystem-information.js +14 -14
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +276 -276
- package/dist/esm/clusters/electrical-energy-measurement.js +25 -25
- package/dist/esm/clusters/electrical-power-measurement.d.ts +200 -200
- package/dist/esm/clusters/electrical-power-measurement.js +39 -39
- package/dist/esm/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/esm/clusters/energy-evse-mode.js +8 -8
- package/dist/esm/clusters/energy-evse.d.ts +323 -323
- package/dist/esm/clusters/energy-evse.js +73 -73
- package/dist/esm/clusters/energy-preference.d.ts +49 -49
- package/dist/esm/clusters/energy-preference.js +9 -9
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/esm/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/esm/clusters/fan-control.d.ts +83 -83
- package/dist/esm/clusters/fan-control.js +19 -19
- package/dist/esm/clusters/fixed-label.d.ts +2 -2
- package/dist/esm/clusters/fixed-label.js +1 -1
- package/dist/esm/clusters/flow-measurement.d.ts +5 -5
- package/dist/esm/clusters/flow-measurement.js +4 -4
- package/dist/esm/clusters/general-commissioning.d.ts +104 -104
- package/dist/esm/clusters/general-commissioning.js +25 -25
- package/dist/esm/clusters/general-diagnostics.d.ts +174 -174
- package/dist/esm/clusters/general-diagnostics.js +40 -40
- package/dist/esm/clusters/group-key-management.d.ts +119 -119
- package/dist/esm/clusters/group-key-management.js +23 -23
- package/dist/esm/clusters/groups.d.ts +78 -78
- package/dist/esm/clusters/groups.js +21 -21
- package/dist/esm/clusters/icd-management.d.ts +131 -131
- package/dist/esm/clusters/icd-management.js +29 -29
- package/dist/esm/clusters/identify.d.ts +16 -16
- package/dist/esm/clusters/identify.js +6 -6
- package/dist/esm/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/esm/clusters/illuminance-measurement.js +5 -5
- package/dist/esm/clusters/joint-fabric-administrator.d.ts +34 -34
- package/dist/esm/clusters/joint-fabric-administrator.js +10 -10
- package/dist/esm/clusters/joint-fabric-datastore.d.ts +232 -232
- package/dist/esm/clusters/joint-fabric-datastore.js +73 -73
- package/dist/esm/clusters/keypad-input.d.ts +18 -18
- package/dist/esm/clusters/keypad-input.js +3 -3
- package/dist/esm/clusters/label.d.ts +10 -10
- package/dist/esm/clusters/label.js +3 -3
- package/dist/esm/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/esm/clusters/laundry-dryer-controls.js +2 -2
- package/dist/esm/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/esm/clusters/laundry-washer-controls.js +6 -6
- package/dist/esm/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/esm/clusters/laundry-washer-mode.js +5 -5
- package/dist/esm/clusters/level-control.d.ts +303 -303
- package/dist/esm/clusters/level-control.js +32 -32
- package/dist/esm/clusters/localization-configuration.d.ts +3 -3
- package/dist/esm/clusters/localization-configuration.js +2 -2
- package/dist/esm/clusters/low-power.d.ts +2 -2
- package/dist/esm/clusters/low-power.js +1 -1
- package/dist/esm/clusters/media-input.d.ts +47 -47
- package/dist/esm/clusters/media-input.js +11 -11
- package/dist/esm/clusters/media-playback.d.ts +390 -390
- package/dist/esm/clusters/media-playback.js +57 -57
- package/dist/esm/clusters/messages.d.ts +154 -154
- package/dist/esm/clusters/messages.js +38 -38
- package/dist/esm/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/esm/clusters/microwave-oven-control.js +17 -17
- package/dist/esm/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/esm/clusters/microwave-oven-mode.js +7 -7
- package/dist/esm/clusters/mode-base.d.ts +59 -59
- package/dist/esm/clusters/mode-base.js +13 -13
- package/dist/esm/clusters/mode-select.d.ts +51 -51
- package/dist/esm/clusters/mode-select.js +13 -13
- package/dist/esm/clusters/network-commissioning.d.ts +325 -325
- package/dist/esm/clusters/network-commissioning.js +46 -46
- package/dist/esm/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/esm/clusters/occupancy-sensing.js +20 -20
- package/dist/esm/clusters/on-off.d.ts +103 -103
- package/dist/esm/clusters/on-off.js +19 -19
- package/dist/esm/clusters/operational-credentials.d.ts +106 -106
- package/dist/esm/clusters/operational-credentials.js +38 -38
- package/dist/esm/clusters/operational-state.d.ts +67 -67
- package/dist/esm/clusters/operational-state.js +21 -21
- package/dist/esm/clusters/ota-software-update-provider.d.ts +65 -65
- package/dist/esm/clusters/ota-software-update-provider.js +25 -25
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/esm/clusters/ota-software-update-requestor.js +25 -25
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/esm/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/esm/clusters/oven-mode.d.ts +49 -49
- package/dist/esm/clusters/oven-mode.js +8 -8
- package/dist/esm/clusters/power-source-configuration.d.ts +2 -2
- package/dist/esm/clusters/power-source-configuration.js +1 -1
- package/dist/esm/clusters/power-source.d.ts +155 -155
- package/dist/esm/clusters/power-source.js +41 -41
- package/dist/esm/clusters/power-topology.d.ts +8 -8
- package/dist/esm/clusters/power-topology.js +2 -2
- package/dist/esm/clusters/pressure-measurement.d.ts +25 -25
- package/dist/esm/clusters/pressure-measurement.js +9 -9
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/esm/clusters/pump-configuration-and-control.js +57 -57
- package/dist/esm/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/esm/clusters/refrigerator-alarm.js +11 -11
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/esm/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/esm/clusters/relative-humidity-measurement.js +4 -4
- package/dist/esm/clusters/resource-monitoring.d.ts +20 -20
- package/dist/esm/clusters/resource-monitoring.js +7 -7
- package/dist/esm/clusters/rvc-clean-mode.d.ts +49 -49
- package/dist/esm/clusters/rvc-clean-mode.js +9 -9
- package/dist/esm/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/esm/clusters/rvc-operational-state.js +17 -17
- package/dist/esm/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/esm/clusters/rvc-run-mode.js +9 -9
- package/dist/esm/clusters/scenes-management.d.ts +244 -244
- package/dist/esm/clusters/scenes-management.js +69 -69
- package/dist/esm/clusters/service-area.d.ts +128 -128
- package/dist/esm/clusters/service-area.js +26 -26
- package/dist/esm/clusters/smoke-co-alarm.d.ts +135 -135
- package/dist/esm/clusters/smoke-co-alarm.js +30 -30
- package/dist/esm/clusters/software-diagnostics.d.ts +53 -53
- package/dist/esm/clusters/software-diagnostics.js +14 -14
- package/dist/esm/clusters/switch.d.ts +105 -105
- package/dist/esm/clusters/switch.js +23 -23
- package/dist/esm/clusters/target-navigator.d.ts +32 -32
- package/dist/esm/clusters/target-navigator.js +10 -10
- package/dist/esm/clusters/temperature-control.d.ts +45 -45
- package/dist/esm/clusters/temperature-control.js +12 -12
- package/dist/esm/clusters/temperature-measurement.d.ts +5 -5
- package/dist/esm/clusters/temperature-measurement.js +4 -4
- package/dist/esm/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/esm/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/esm/clusters/thermostat.d.ts +514 -514
- package/dist/esm/clusters/thermostat.js +114 -114
- package/dist/esm/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/esm/clusters/thread-border-router-management.js +14 -14
- package/dist/esm/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/esm/clusters/thread-network-diagnostics.js +108 -108
- package/dist/esm/clusters/thread-network-directory.d.ts +27 -27
- package/dist/esm/clusters/thread-network-directory.js +11 -11
- package/dist/esm/clusters/time-format-localization.d.ts +12 -12
- package/dist/esm/clusters/time-format-localization.js +3 -3
- package/dist/esm/clusters/time-synchronization.d.ts +246 -246
- package/dist/esm/clusters/time-synchronization.js +47 -47
- package/dist/esm/clusters/unit-localization.d.ts +9 -9
- package/dist/esm/clusters/unit-localization.js +2 -2
- package/dist/esm/clusters/user-label.d.ts +2 -2
- package/dist/esm/clusters/user-label.js +1 -1
- package/dist/esm/clusters/valve-configuration-and-control.d.ts +81 -81
- package/dist/esm/clusters/valve-configuration-and-control.js +22 -22
- package/dist/esm/clusters/wake-on-lan.d.ts +3 -3
- package/dist/esm/clusters/wake-on-lan.js +2 -2
- package/dist/esm/clusters/water-heater-management.d.ts +91 -91
- package/dist/esm/clusters/water-heater-management.js +16 -16
- package/dist/esm/clusters/water-heater-mode.d.ts +42 -42
- package/dist/esm/clusters/water-heater-mode.js +8 -8
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/esm/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/esm/clusters/wi-fi-network-management.d.ts +8 -8
- package/dist/esm/clusters/wi-fi-network-management.js +4 -4
- package/dist/esm/clusters/window-covering.d.ts +183 -183
- package/dist/esm/clusters/window-covering.js +49 -49
- package/dist/esm/dcl/operational-certificate.d.ts +8 -1
- package/dist/esm/dcl/operational-certificate.d.ts.map +1 -1
- package/dist/esm/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/esm/globals/AtomicAttributeStatus.js +2 -2
- package/dist/esm/globals/AtomicRequestType.d.ts +1 -1
- package/dist/esm/globals/Currency.d.ts +2 -2
- package/dist/esm/globals/Locationdesc.d.ts +5 -5
- package/dist/esm/globals/Locationdesc.js +3 -3
- package/dist/esm/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/esm/globals/MeasurementAccuracy.js +3 -3
- package/dist/esm/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/esm/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/esm/globals/MeasurementType.d.ts +1 -1
- package/dist/esm/globals/Namespace.d.ts +1 -1
- package/dist/esm/globals/Price.d.ts +2 -2
- package/dist/esm/globals/Priority.d.ts +1 -1
- package/dist/esm/globals/Semtag.d.ts +6 -6
- package/dist/esm/globals/Semtag.js +4 -4
- package/dist/esm/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/esm/globals/Status.d.ts +36 -36
- package/dist/esm/globals/ThreeLevelAuto.d.ts +1 -1
- package/dist/esm/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/esm/protocol/definitions/secure-channel.d.ts +2 -0
- package/dist/esm/protocol/definitions/secure-channel.d.ts.map +1 -1
- package/dist/esm/protocol/definitions/secure-channel.js +1 -0
- package/dist/esm/protocol/definitions/secure-channel.js.map +1 -1
- package/dist/esm/schema/PairingCodeSchema.d.ts +4 -0
- package/dist/esm/schema/PairingCodeSchema.d.ts.map +1 -1
- package/dist/esm/schema/PairingCodeSchema.js +18 -2
- package/dist/esm/schema/PairingCodeSchema.js.map +2 -2
- package/package.json +5 -5
- package/src/clusters/access-control.ts +72 -72
- package/src/clusters/account-login.ts +22 -22
- package/src/clusters/actions.ts +86 -86
- package/src/clusters/administrator-commissioning.ts +23 -23
- package/src/clusters/air-quality.ts +4 -4
- package/src/clusters/alarm-base.ts +22 -22
- package/src/clusters/application-basic.ts +14 -14
- package/src/clusters/application-launcher.ts +33 -33
- package/src/clusters/audio-output.ts +17 -17
- package/src/clusters/basic-information.ts +48 -48
- package/src/clusters/binding.ts +8 -8
- package/src/clusters/boolean-state-configuration.ts +31 -31
- package/src/clusters/boolean-state.ts +6 -6
- package/src/clusters/bridged-device-basic-information.ts +39 -39
- package/src/clusters/channel.ts +113 -113
- package/src/clusters/color-control.ts +168 -168
- package/src/clusters/commissioner-control.ts +15 -15
- package/src/clusters/concentration-measurement.ts +15 -15
- package/src/clusters/content-app-observer.ts +13 -13
- package/src/clusters/content-control.ts +106 -106
- package/src/clusters/content-launcher.ts +73 -73
- package/src/clusters/descriptor.ts +14 -14
- package/src/clusters/device-energy-management-mode.ts +28 -28
- package/src/clusters/device-energy-management.ts +136 -136
- package/src/clusters/diagnostic-logs.ts +30 -30
- package/src/clusters/dishwasher-alarm.ts +24 -24
- package/src/clusters/dishwasher-mode.ts +27 -27
- package/src/clusters/door-lock.ts +378 -378
- package/src/clusters/ecosystem-information.ts +21 -21
- package/src/clusters/electrical-energy-measurement.ts +40 -40
- package/src/clusters/electrical-power-measurement.ts +54 -54
- package/src/clusters/energy-evse-mode.ts +28 -28
- package/src/clusters/energy-evse.ts +109 -109
- package/src/clusters/energy-preference.ts +19 -19
- package/src/clusters/ethernet-network-diagnostics.ts +13 -13
- package/src/clusters/fan-control.ts +30 -30
- package/src/clusters/fixed-label.ts +2 -2
- package/src/clusters/flow-measurement.ts +5 -5
- package/src/clusters/general-commissioning.ts +45 -45
- package/src/clusters/general-diagnostics.ts +66 -66
- package/src/clusters/group-key-management.ts +45 -45
- package/src/clusters/groups.ts +44 -44
- package/src/clusters/icd-management.ts +50 -50
- package/src/clusters/identify.ts +14 -14
- package/src/clusters/illuminance-measurement.ts +7 -7
- package/src/clusters/joint-fabric-administrator.ts +31 -31
- package/src/clusters/joint-fabric-datastore.ts +145 -145
- package/src/clusters/keypad-input.ts +13 -13
- package/src/clusters/label.ts +5 -5
- package/src/clusters/laundry-dryer-controls.ts +4 -4
- package/src/clusters/laundry-washer-controls.ts +11 -11
- package/src/clusters/laundry-washer-mode.ts +25 -25
- package/src/clusters/level-control.ts +49 -49
- package/src/clusters/localization-configuration.ts +3 -3
- package/src/clusters/low-power.ts +2 -2
- package/src/clusters/media-input.ts +20 -20
- package/src/clusters/media-playback.ts +96 -96
- package/src/clusters/messages.ts +61 -61
- package/src/clusters/microwave-oven-control.ts +23 -23
- package/src/clusters/microwave-oven-mode.ts +25 -25
- package/src/clusters/mode-base.ts +37 -37
- package/src/clusters/mode-select.ts +22 -22
- package/src/clusters/network-commissioning.ts +76 -76
- package/src/clusters/occupancy-sensing.ts +29 -29
- package/src/clusters/on-off.ts +33 -33
- package/src/clusters/operational-credentials.ts +75 -75
- package/src/clusters/operational-state.ts +34 -34
- package/src/clusters/ota-software-update-provider.ts +43 -43
- package/src/clusters/ota-software-update-requestor.ts +55 -55
- package/src/clusters/oven-cavity-operational-state.ts +14 -14
- package/src/clusters/oven-mode.ts +34 -34
- package/src/clusters/power-source-configuration.ts +2 -2
- package/src/clusters/power-source.ts +59 -59
- package/src/clusters/power-topology.ts +4 -4
- package/src/clusters/pressure-measurement.ts +11 -11
- package/src/clusters/pump-configuration-and-control.ts +69 -69
- package/src/clusters/refrigerator-alarm.ts +18 -18
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +26 -26
- package/src/clusters/relative-humidity-measurement.ts +5 -5
- package/src/clusters/resource-monitoring.ts +13 -13
- package/src/clusters/rvc-clean-mode.ts +32 -32
- package/src/clusters/rvc-operational-state.ts +28 -28
- package/src/clusters/rvc-run-mode.ts +38 -38
- package/src/clusters/scenes-management.ts +111 -111
- package/src/clusters/service-area.ts +50 -50
- package/src/clusters/smoke-co-alarm.ts +66 -66
- package/src/clusters/software-diagnostics.ts +20 -20
- package/src/clusters/switch.ts +45 -45
- package/src/clusters/target-navigator.ts +22 -22
- package/src/clusters/temperature-control.ts +19 -19
- package/src/clusters/temperature-measurement.ts +5 -5
- package/src/clusters/thermostat-user-interface-configuration.ts +7 -7
- package/src/clusters/thermostat.ts +172 -172
- package/src/clusters/thread-border-router-management.ts +23 -23
- package/src/clusters/thread-network-diagnostics.ts +125 -125
- package/src/clusters/thread-network-directory.ts +22 -22
- package/src/clusters/time-format-localization.ts +7 -7
- package/src/clusters/time-synchronization.ts +82 -82
- package/src/clusters/unit-localization.ts +5 -5
- package/src/clusters/user-label.ts +2 -2
- package/src/clusters/valve-configuration-and-control.ts +36 -36
- package/src/clusters/wake-on-lan.ts +3 -3
- package/src/clusters/water-heater-management.ts +26 -26
- package/src/clusters/water-heater-mode.ts +27 -27
- package/src/clusters/wi-fi-network-diagnostics.ts +32 -32
- package/src/clusters/wi-fi-network-management.ts +7 -7
- package/src/clusters/window-covering.ts +68 -68
- package/src/dcl/operational-certificate.ts +9 -1
- package/src/globals/AtomicAttributeStatus.ts +4 -4
- package/src/globals/AtomicRequestType.ts +1 -1
- package/src/globals/Currency.ts +2 -2
- package/src/globals/Locationdesc.ts +5 -5
- package/src/globals/MeasurementAccuracy.ts +5 -5
- package/src/globals/MeasurementAccuracyRange.ts +10 -10
- package/src/globals/MeasurementType.ts +1 -1
- package/src/globals/Namespace.ts +1 -1
- package/src/globals/Price.ts +2 -2
- package/src/globals/Priority.ts +1 -1
- package/src/globals/Semtag.ts +6 -6
- package/src/globals/SoftwareVersionCertificationStatus.ts +1 -1
- package/src/globals/Status.ts +36 -36
- package/src/globals/ThreeLevelAuto.ts +1 -1
- package/src/globals/WildcardPathFlags.ts +1 -1
- package/src/protocol/definitions/secure-channel.ts +3 -0
- package/src/schema/PairingCodeSchema.ts +21 -4
|
@@ -24,7 +24,7 @@ export namespace SoftwareDiagnostics {
|
|
|
24
24
|
/**
|
|
25
25
|
* These are optional features supported by SoftwareDiagnosticsCluster.
|
|
26
26
|
*
|
|
27
|
-
* @see {@link MatterSpecification.
|
|
27
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.4
|
|
28
28
|
*/
|
|
29
29
|
export enum Feature {
|
|
30
30
|
/**
|
|
@@ -36,14 +36,14 @@ export namespace SoftwareDiagnostics {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* @see {@link MatterSpecification.
|
|
39
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.5.1
|
|
40
40
|
*/
|
|
41
41
|
export const TlvThreadMetrics = TlvObject({
|
|
42
42
|
/**
|
|
43
43
|
* The Id field shall be a server-assigned per-thread unique ID that is constant for the duration of the thread.
|
|
44
44
|
* Efforts SHOULD be made to avoid reusing ID values when possible.
|
|
45
45
|
*
|
|
46
|
-
* @see {@link MatterSpecification.
|
|
46
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.5.1.1
|
|
47
47
|
*/
|
|
48
48
|
id: TlvField(0, TlvUInt64),
|
|
49
49
|
|
|
@@ -51,7 +51,7 @@ export namespace SoftwareDiagnostics {
|
|
|
51
51
|
* The Name field shall be set to a vendor defined name or prefix of the software thread that is static for the
|
|
52
52
|
* duration of the thread.
|
|
53
53
|
*
|
|
54
|
-
* @see {@link MatterSpecification.
|
|
54
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.5.1.2
|
|
55
55
|
*/
|
|
56
56
|
name: TlvOptionalField(1, TlvString.bound({ maxLength: 8 })),
|
|
57
57
|
|
|
@@ -59,7 +59,7 @@ export namespace SoftwareDiagnostics {
|
|
|
59
59
|
* The StackFreeCurrent field shall indicate the current amount of stack memory, in bytes, that are not being
|
|
60
60
|
* utilized on the respective thread.
|
|
61
61
|
*
|
|
62
|
-
* @see {@link MatterSpecification.
|
|
62
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.5.1.3
|
|
63
63
|
*/
|
|
64
64
|
stackFreeCurrent: TlvOptionalField(2, TlvUInt32),
|
|
65
65
|
|
|
@@ -69,7 +69,7 @@ export namespace SoftwareDiagnostics {
|
|
|
69
69
|
* respective thread. This value shall only be reset upon a Node reboot or upon receiving of the ResetWatermarks
|
|
70
70
|
* command.
|
|
71
71
|
*
|
|
72
|
-
* @see {@link MatterSpecification.
|
|
72
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.5.1.4
|
|
73
73
|
*/
|
|
74
74
|
stackFreeMinimum: TlvOptionalField(3, TlvUInt32),
|
|
75
75
|
|
|
@@ -77,26 +77,26 @@ export namespace SoftwareDiagnostics {
|
|
|
77
77
|
* The StackSize field shall indicate the amount of stack memory, in bytes, that has been allocated for use by
|
|
78
78
|
* the respective thread.
|
|
79
79
|
*
|
|
80
|
-
* @see {@link MatterSpecification.
|
|
80
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.5.1.5
|
|
81
81
|
*/
|
|
82
82
|
stackSize: TlvOptionalField(4, TlvUInt32)
|
|
83
83
|
});
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
|
-
* @see {@link MatterSpecification.
|
|
86
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.5.1
|
|
87
87
|
*/
|
|
88
88
|
export interface ThreadMetrics extends TypeFromSchema<typeof TlvThreadMetrics> {}
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* Body of the SoftwareDiagnostics softwareFault event
|
|
92
92
|
*
|
|
93
|
-
* @see {@link MatterSpecification.
|
|
93
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.8.1
|
|
94
94
|
*/
|
|
95
95
|
export const TlvSoftwareFaultEvent = TlvObject({
|
|
96
96
|
/**
|
|
97
97
|
* This field shall be set to the ID of the software thread in which the last software fault occurred.
|
|
98
98
|
*
|
|
99
|
-
* @see {@link MatterSpecification.
|
|
99
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.8.1.1
|
|
100
100
|
*/
|
|
101
101
|
id: TlvField(0, TlvUInt64),
|
|
102
102
|
|
|
@@ -104,7 +104,7 @@ export namespace SoftwareDiagnostics {
|
|
|
104
104
|
* This field shall be set to a manufacturer-specified name or prefix of the software thread in which the last
|
|
105
105
|
* software fault occurred.
|
|
106
106
|
*
|
|
107
|
-
* @see {@link MatterSpecification.
|
|
107
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.8.1.2
|
|
108
108
|
*/
|
|
109
109
|
name: TlvOptionalField(1, TlvString.bound({ maxLength: 8 })),
|
|
110
110
|
|
|
@@ -113,7 +113,7 @@ export namespace SoftwareDiagnostics {
|
|
|
113
113
|
* diagnosing or debugging a software fault. The FaultRecording field may be used to convey information such as,
|
|
114
114
|
* but not limited to, thread backtraces or register contents.
|
|
115
115
|
*
|
|
116
|
-
* @see {@link MatterSpecification.
|
|
116
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.8.1.3
|
|
117
117
|
*/
|
|
118
118
|
faultRecording: TlvOptionalField(2, TlvByteString.bound({ maxLength: 1024 }))
|
|
119
119
|
});
|
|
@@ -121,7 +121,7 @@ export namespace SoftwareDiagnostics {
|
|
|
121
121
|
/**
|
|
122
122
|
* Body of the SoftwareDiagnostics softwareFault event
|
|
123
123
|
*
|
|
124
|
-
* @see {@link MatterSpecification.
|
|
124
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.8.1
|
|
125
125
|
*/
|
|
126
126
|
export interface SoftwareFaultEvent extends TypeFromSchema<typeof TlvSoftwareFaultEvent> {}
|
|
127
127
|
|
|
@@ -134,7 +134,7 @@ export namespace SoftwareDiagnostics {
|
|
|
134
134
|
* Indicates the maximum amount of heap memory, in bytes, that has been used by the Node. This value shall
|
|
135
135
|
* only be reset upon a Node reboot or upon receiving of the ResetWatermarks command.
|
|
136
136
|
*
|
|
137
|
-
* @see {@link MatterSpecification.
|
|
137
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.6.4
|
|
138
138
|
*/
|
|
139
139
|
currentHeapHighWatermark: Attribute(0x3, TlvUInt64)
|
|
140
140
|
},
|
|
@@ -159,7 +159,7 @@ export namespace SoftwareDiagnostics {
|
|
|
159
159
|
* If implemented, the server shall set the value of the StackFreeMinimum field for every thread to the
|
|
160
160
|
* value of the corresponding thread’s StackFreeCurrent field.
|
|
161
161
|
*
|
|
162
|
-
* @see {@link MatterSpecification.
|
|
162
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.7.1
|
|
163
163
|
*/
|
|
164
164
|
resetWatermarks: Command(0x0, TlvNoArguments, 0x0, TlvNoResponse, { invokeAcl: AccessLevel.Manage })
|
|
165
165
|
}
|
|
@@ -185,7 +185,7 @@ export namespace SoftwareDiagnostics {
|
|
|
185
185
|
* This attribute shall be a list of ThreadMetricsStruct structs. Each active thread on the Node shall be
|
|
186
186
|
* represented by a single entry within the ThreadMetrics attribute.
|
|
187
187
|
*
|
|
188
|
-
* @see {@link MatterSpecification.
|
|
188
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.6.1
|
|
189
189
|
*/
|
|
190
190
|
threadMetrics: OptionalAttribute(0x0, TlvArray(TlvThreadMetrics, { maxLength: 64 }), { default: [] }),
|
|
191
191
|
|
|
@@ -193,14 +193,14 @@ export namespace SoftwareDiagnostics {
|
|
|
193
193
|
* Indicates the current amount of heap memory, in bytes, that are free for allocation. The effective amount
|
|
194
194
|
* may be smaller due to heap fragmentation or other reasons.
|
|
195
195
|
*
|
|
196
|
-
* @see {@link MatterSpecification.
|
|
196
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.6.2
|
|
197
197
|
*/
|
|
198
198
|
currentHeapFree: OptionalAttribute(0x1, TlvUInt64),
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* Indicates the current amount of heap memory, in bytes, that is being used.
|
|
202
202
|
*
|
|
203
|
-
* @see {@link MatterSpecification.
|
|
203
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.6.3
|
|
204
204
|
*/
|
|
205
205
|
currentHeapUsed: OptionalAttribute(0x2, TlvUInt64)
|
|
206
206
|
},
|
|
@@ -209,7 +209,7 @@ export namespace SoftwareDiagnostics {
|
|
|
209
209
|
/**
|
|
210
210
|
* This Event shall be generated when a software fault occurs on the Node.
|
|
211
211
|
*
|
|
212
|
-
* @see {@link MatterSpecification.
|
|
212
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13.8.1
|
|
213
213
|
*/
|
|
214
214
|
softwareFault: OptionalEvent(0x0, Priority.Info, TlvSoftwareFaultEvent)
|
|
215
215
|
},
|
|
@@ -234,7 +234,7 @@ export namespace SoftwareDiagnostics {
|
|
|
234
234
|
* SoftwareDiagnosticsCluster supports optional features that you can enable with the
|
|
235
235
|
* SoftwareDiagnosticsCluster.with() factory method.
|
|
236
236
|
*
|
|
237
|
-
* @see {@link MatterSpecification.
|
|
237
|
+
* @see {@link MatterSpecification.v142.Core} § 11.13
|
|
238
238
|
*/
|
|
239
239
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
240
240
|
|
package/src/clusters/switch.ts
CHANGED
|
@@ -20,7 +20,7 @@ export namespace Switch {
|
|
|
20
20
|
/**
|
|
21
21
|
* These are optional features supported by SwitchCluster.
|
|
22
22
|
*
|
|
23
|
-
* @see {@link MatterSpecification.
|
|
23
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4
|
|
24
24
|
*/
|
|
25
25
|
export enum Feature {
|
|
26
26
|
/**
|
|
@@ -28,7 +28,7 @@ export namespace Switch {
|
|
|
28
28
|
*
|
|
29
29
|
* This feature flag is for a switch that maintains its position after being pressed (or turned).
|
|
30
30
|
*
|
|
31
|
-
* @see {@link MatterSpecification.
|
|
31
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4.1
|
|
32
32
|
*/
|
|
33
33
|
LatchingSwitch = "LatchingSwitch",
|
|
34
34
|
|
|
@@ -38,7 +38,7 @@ export namespace Switch {
|
|
|
38
38
|
* This feature flag is for a switch that does not maintain its position after being pressed (or turned). After
|
|
39
39
|
* releasing, it goes back to its idle position.
|
|
40
40
|
*
|
|
41
|
-
* @see {@link MatterSpecification.
|
|
41
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4.2
|
|
42
42
|
*/
|
|
43
43
|
MomentarySwitch = "MomentarySwitch",
|
|
44
44
|
|
|
@@ -47,7 +47,7 @@ export namespace Switch {
|
|
|
47
47
|
*
|
|
48
48
|
* This feature flag is for a momentary switch that can distinguish and report release events.
|
|
49
49
|
*
|
|
50
|
-
* @see {@link MatterSpecification.
|
|
50
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4.3
|
|
51
51
|
*/
|
|
52
52
|
MomentarySwitchRelease = "MomentarySwitchRelease",
|
|
53
53
|
|
|
@@ -56,7 +56,7 @@ export namespace Switch {
|
|
|
56
56
|
*
|
|
57
57
|
* This feature flag is for a momentary switch that can distinguish and report long presses from short presses.
|
|
58
58
|
*
|
|
59
|
-
* @see {@link MatterSpecification.
|
|
59
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4.4
|
|
60
60
|
*/
|
|
61
61
|
MomentarySwitchLongPress = "MomentarySwitchLongPress",
|
|
62
62
|
|
|
@@ -66,7 +66,7 @@ export namespace Switch {
|
|
|
66
66
|
* This feature flag is for a momentary switch that can distinguish and report double press and potentially
|
|
67
67
|
* multiple presses with more events, such as triple press, etc.
|
|
68
68
|
*
|
|
69
|
-
* @see {@link MatterSpecification.
|
|
69
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4.5
|
|
70
70
|
*/
|
|
71
71
|
MomentarySwitchMultiPress = "MomentarySwitchMultiPress",
|
|
72
72
|
|
|
@@ -76,7 +76,7 @@ export namespace Switch {
|
|
|
76
76
|
* This feature flag indicates simplified handling of events for multi-press-capable switches. See Section
|
|
77
77
|
* 1.13.8, “Sequence of events for MultiPress”.
|
|
78
78
|
*
|
|
79
|
-
* @see {@link MatterSpecification.
|
|
79
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4.6
|
|
80
80
|
*/
|
|
81
81
|
ActionSwitch = "ActionSwitch"
|
|
82
82
|
}
|
|
@@ -84,7 +84,7 @@ export namespace Switch {
|
|
|
84
84
|
/**
|
|
85
85
|
* Body of the Switch multiPressComplete event
|
|
86
86
|
*
|
|
87
|
-
* @see {@link MatterSpecification.
|
|
87
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.7
|
|
88
88
|
*/
|
|
89
89
|
export const TlvMultiPressCompleteEvent = TlvObject({
|
|
90
90
|
previousPosition: TlvField(0, TlvUInt8),
|
|
@@ -94,20 +94,20 @@ export namespace Switch {
|
|
|
94
94
|
/**
|
|
95
95
|
* Body of the Switch multiPressComplete event
|
|
96
96
|
*
|
|
97
|
-
* @see {@link MatterSpecification.
|
|
97
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.7
|
|
98
98
|
*/
|
|
99
99
|
export interface MultiPressCompleteEvent extends TypeFromSchema<typeof TlvMultiPressCompleteEvent> {}
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* Body of the Switch switchLatched event
|
|
103
103
|
*
|
|
104
|
-
* @see {@link MatterSpecification.
|
|
104
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.1
|
|
105
105
|
*/
|
|
106
106
|
export const TlvSwitchLatchedEvent = TlvObject({
|
|
107
107
|
/**
|
|
108
108
|
* This field shall indicate the new value of the CurrentPosition attribute, i.e. after the move.
|
|
109
109
|
*
|
|
110
|
-
* @see {@link MatterSpecification.
|
|
110
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.1.1
|
|
111
111
|
*/
|
|
112
112
|
newPosition: TlvField(0, TlvUInt8)
|
|
113
113
|
});
|
|
@@ -115,20 +115,20 @@ export namespace Switch {
|
|
|
115
115
|
/**
|
|
116
116
|
* Body of the Switch switchLatched event
|
|
117
117
|
*
|
|
118
|
-
* @see {@link MatterSpecification.
|
|
118
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.1
|
|
119
119
|
*/
|
|
120
120
|
export interface SwitchLatchedEvent extends TypeFromSchema<typeof TlvSwitchLatchedEvent> {}
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* Body of the Switch initialPress event
|
|
124
124
|
*
|
|
125
|
-
* @see {@link MatterSpecification.
|
|
125
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.2
|
|
126
126
|
*/
|
|
127
127
|
export const TlvInitialPressEvent = TlvObject({
|
|
128
128
|
/**
|
|
129
129
|
* This field shall indicate the new value of the CurrentPosition attribute, i.e. while pressed.
|
|
130
130
|
*
|
|
131
|
-
* @see {@link MatterSpecification.
|
|
131
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.2.1
|
|
132
132
|
*/
|
|
133
133
|
newPosition: TlvField(0, TlvUInt8)
|
|
134
134
|
});
|
|
@@ -136,20 +136,20 @@ export namespace Switch {
|
|
|
136
136
|
/**
|
|
137
137
|
* Body of the Switch initialPress event
|
|
138
138
|
*
|
|
139
|
-
* @see {@link MatterSpecification.
|
|
139
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.2
|
|
140
140
|
*/
|
|
141
141
|
export interface InitialPressEvent extends TypeFromSchema<typeof TlvInitialPressEvent> {}
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* Body of the Switch longPress event
|
|
145
145
|
*
|
|
146
|
-
* @see {@link MatterSpecification.
|
|
146
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.3
|
|
147
147
|
*/
|
|
148
148
|
export const TlvLongPressEvent = TlvObject({
|
|
149
149
|
/**
|
|
150
150
|
* This field shall indicate the new value of the CurrentPosition attribute, i.e. while pressed.
|
|
151
151
|
*
|
|
152
|
-
* @see {@link MatterSpecification.
|
|
152
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.3.1
|
|
153
153
|
*/
|
|
154
154
|
newPosition: TlvField(0, TlvUInt8)
|
|
155
155
|
});
|
|
@@ -157,20 +157,20 @@ export namespace Switch {
|
|
|
157
157
|
/**
|
|
158
158
|
* Body of the Switch longPress event
|
|
159
159
|
*
|
|
160
|
-
* @see {@link MatterSpecification.
|
|
160
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.3
|
|
161
161
|
*/
|
|
162
162
|
export interface LongPressEvent extends TypeFromSchema<typeof TlvLongPressEvent> {}
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
165
|
* Body of the Switch longRelease event
|
|
166
166
|
*
|
|
167
|
-
* @see {@link MatterSpecification.
|
|
167
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.5
|
|
168
168
|
*/
|
|
169
169
|
export const TlvLongReleaseEvent = TlvObject({
|
|
170
170
|
/**
|
|
171
171
|
* This field shall indicate the previous value of the CurrentPosition attribute, i.e. just prior to release.
|
|
172
172
|
*
|
|
173
|
-
* @see {@link MatterSpecification.
|
|
173
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.5.1
|
|
174
174
|
*/
|
|
175
175
|
previousPosition: TlvField(0, TlvUInt8)
|
|
176
176
|
});
|
|
@@ -178,20 +178,20 @@ export namespace Switch {
|
|
|
178
178
|
/**
|
|
179
179
|
* Body of the Switch longRelease event
|
|
180
180
|
*
|
|
181
|
-
* @see {@link MatterSpecification.
|
|
181
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.5
|
|
182
182
|
*/
|
|
183
183
|
export interface LongReleaseEvent extends TypeFromSchema<typeof TlvLongReleaseEvent> {}
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* Body of the Switch shortRelease event
|
|
187
187
|
*
|
|
188
|
-
* @see {@link MatterSpecification.
|
|
188
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.4
|
|
189
189
|
*/
|
|
190
190
|
export const TlvShortReleaseEvent = TlvObject({
|
|
191
191
|
/**
|
|
192
192
|
* This field shall indicate the previous value of the CurrentPosition attribute, i.e. just prior to release.
|
|
193
193
|
*
|
|
194
|
-
* @see {@link MatterSpecification.
|
|
194
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.4.1
|
|
195
195
|
*/
|
|
196
196
|
previousPosition: TlvField(0, TlvUInt8)
|
|
197
197
|
});
|
|
@@ -199,20 +199,20 @@ export namespace Switch {
|
|
|
199
199
|
/**
|
|
200
200
|
* Body of the Switch shortRelease event
|
|
201
201
|
*
|
|
202
|
-
* @see {@link MatterSpecification.
|
|
202
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.4
|
|
203
203
|
*/
|
|
204
204
|
export interface ShortReleaseEvent extends TypeFromSchema<typeof TlvShortReleaseEvent> {}
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* Body of the Switch multiPressOngoing event
|
|
208
208
|
*
|
|
209
|
-
* @see {@link MatterSpecification.
|
|
209
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.6
|
|
210
210
|
*/
|
|
211
211
|
export const TlvMultiPressOngoingEvent = TlvObject({
|
|
212
212
|
/**
|
|
213
213
|
* This field shall indicate the new value of the CurrentPosition attribute, i.e. while pressed.
|
|
214
214
|
*
|
|
215
|
-
* @see {@link MatterSpecification.
|
|
215
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.6.1
|
|
216
216
|
*/
|
|
217
217
|
newPosition: TlvField(0, TlvUInt8),
|
|
218
218
|
|
|
@@ -225,7 +225,7 @@ export namespace Switch {
|
|
|
225
225
|
*
|
|
226
226
|
* • a value of N when the Nth press of a multi-press sequence has been detected.
|
|
227
227
|
*
|
|
228
|
-
* @see {@link MatterSpecification.
|
|
228
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.6.2
|
|
229
229
|
*/
|
|
230
230
|
currentNumberOfPressesCounted: TlvField(1, TlvUInt8.bound({ min: 2 }))
|
|
231
231
|
});
|
|
@@ -233,7 +233,7 @@ export namespace Switch {
|
|
|
233
233
|
/**
|
|
234
234
|
* Body of the Switch multiPressOngoing event
|
|
235
235
|
*
|
|
236
|
-
* @see {@link MatterSpecification.
|
|
236
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.6
|
|
237
237
|
*/
|
|
238
238
|
export interface MultiPressOngoingEvent extends TypeFromSchema<typeof TlvMultiPressOngoingEvent> {}
|
|
239
239
|
|
|
@@ -265,7 +265,7 @@ export namespace Switch {
|
|
|
265
265
|
* presses beyond MultiPressMax that may be taken in account specially by switches (e.g. to trigger special
|
|
266
266
|
* behavior such as factory reset for which generating events towards the client is not appropriate).
|
|
267
267
|
*
|
|
268
|
-
* @see {@link MatterSpecification.
|
|
268
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.5.3
|
|
269
269
|
*/
|
|
270
270
|
multiPressMax: FixedAttribute(0x2, TlvUInt8.bound({ min: 2 }))
|
|
271
271
|
},
|
|
@@ -304,7 +304,7 @@ export namespace Switch {
|
|
|
304
304
|
* TotalNumberOfPressesCounted field taken into account since for values from 1 to MultiPressMax, the
|
|
305
305
|
* user action that led to the event was different depending on the count.
|
|
306
306
|
*
|
|
307
|
-
* @see {@link MatterSpecification.
|
|
307
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.7
|
|
308
308
|
*/
|
|
309
309
|
multiPressComplete: Event(0x6, Priority.Info, TlvMultiPressCompleteEvent)
|
|
310
310
|
}
|
|
@@ -319,7 +319,7 @@ export namespace Switch {
|
|
|
319
319
|
* This event shall be generated, when the latching switch is moved to a new position. It may have been
|
|
320
320
|
* delayed by debouncing within the switch.
|
|
321
321
|
*
|
|
322
|
-
* @see {@link MatterSpecification.
|
|
322
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.1
|
|
323
323
|
*/
|
|
324
324
|
switchLatched: Event(0x0, Priority.Info, TlvSwitchLatchedEvent)
|
|
325
325
|
}
|
|
@@ -333,7 +333,7 @@ export namespace Switch {
|
|
|
333
333
|
/**
|
|
334
334
|
* This event shall be generated, when the momentary switch starts to be pressed (after debouncing).
|
|
335
335
|
*
|
|
336
|
-
* @see {@link MatterSpecification.
|
|
336
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.2
|
|
337
337
|
*/
|
|
338
338
|
initialPress: Event(0x1, Priority.Info, TlvInitialPressEvent)
|
|
339
339
|
}
|
|
@@ -376,7 +376,7 @@ export namespace Switch {
|
|
|
376
376
|
* The rationale for this constraint is the ambiguity of interpretation of events when mixing long presses
|
|
377
377
|
* and multi-press events.
|
|
378
378
|
*
|
|
379
|
-
* @see {@link MatterSpecification.
|
|
379
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.3
|
|
380
380
|
*/
|
|
381
381
|
longPress: Event(0x2, Priority.Info, TlvLongPressEvent),
|
|
382
382
|
|
|
@@ -386,7 +386,7 @@ export namespace Switch {
|
|
|
386
386
|
* LongPress event has been generated since the previous InitialPress event. Also see Section 1.13.7,
|
|
387
387
|
* “Sequence of generated events”.
|
|
388
388
|
*
|
|
389
|
-
* @see {@link MatterSpecification.
|
|
389
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.5
|
|
390
390
|
*/
|
|
391
391
|
longRelease: Event(0x4, Priority.Info, TlvLongReleaseEvent)
|
|
392
392
|
}
|
|
@@ -414,7 +414,7 @@ export namespace Switch {
|
|
|
414
414
|
*
|
|
415
415
|
* • Also see Section 1.13.7, “Sequence of generated events”.
|
|
416
416
|
*
|
|
417
|
-
* @see {@link MatterSpecification.
|
|
417
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.4
|
|
418
418
|
*/
|
|
419
419
|
shortRelease: Event(0x3, Priority.Info, TlvShortReleaseEvent)
|
|
420
420
|
}
|
|
@@ -433,7 +433,7 @@ export namespace Switch {
|
|
|
433
433
|
* This event shall be generated to indicate how many times the momentary switch has been pressed in a
|
|
434
434
|
* multi-press sequence, during that sequence. See Section 1.13.8, “Sequence of events for MultiPress”.
|
|
435
435
|
*
|
|
436
|
-
* @see {@link MatterSpecification.
|
|
436
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.6.6
|
|
437
437
|
*/
|
|
438
438
|
multiPressOngoing: Event(0x5, Priority.Info, TlvMultiPressOngoingEvent)
|
|
439
439
|
}
|
|
@@ -451,7 +451,7 @@ export namespace Switch {
|
|
|
451
451
|
/**
|
|
452
452
|
* This feature flag is for a switch that maintains its position after being pressed (or turned).
|
|
453
453
|
*
|
|
454
|
-
* @see {@link MatterSpecification.
|
|
454
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4.1
|
|
455
455
|
*/
|
|
456
456
|
latchingSwitch: BitFlag(0),
|
|
457
457
|
|
|
@@ -459,14 +459,14 @@ export namespace Switch {
|
|
|
459
459
|
* This feature flag is for a switch that does not maintain its position after being pressed (or turned).
|
|
460
460
|
* After releasing, it goes back to its idle position.
|
|
461
461
|
*
|
|
462
|
-
* @see {@link MatterSpecification.
|
|
462
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4.2
|
|
463
463
|
*/
|
|
464
464
|
momentarySwitch: BitFlag(1),
|
|
465
465
|
|
|
466
466
|
/**
|
|
467
467
|
* This feature flag is for a momentary switch that can distinguish and report release events.
|
|
468
468
|
*
|
|
469
|
-
* @see {@link MatterSpecification.
|
|
469
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4.3
|
|
470
470
|
*/
|
|
471
471
|
momentarySwitchRelease: BitFlag(2),
|
|
472
472
|
|
|
@@ -474,7 +474,7 @@ export namespace Switch {
|
|
|
474
474
|
* This feature flag is for a momentary switch that can distinguish and report long presses from short
|
|
475
475
|
* presses.
|
|
476
476
|
*
|
|
477
|
-
* @see {@link MatterSpecification.
|
|
477
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4.4
|
|
478
478
|
*/
|
|
479
479
|
momentarySwitchLongPress: BitFlag(3),
|
|
480
480
|
|
|
@@ -482,7 +482,7 @@ export namespace Switch {
|
|
|
482
482
|
* This feature flag is for a momentary switch that can distinguish and report double press and potentially
|
|
483
483
|
* multiple presses with more events, such as triple press, etc.
|
|
484
484
|
*
|
|
485
|
-
* @see {@link MatterSpecification.
|
|
485
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4.5
|
|
486
486
|
*/
|
|
487
487
|
momentarySwitchMultiPress: BitFlag(4),
|
|
488
488
|
|
|
@@ -490,7 +490,7 @@ export namespace Switch {
|
|
|
490
490
|
* This feature flag indicates simplified handling of events for multi-press-capable switches. See Section
|
|
491
491
|
* 1.13.8, “Sequence of events for MultiPress”.
|
|
492
492
|
*
|
|
493
|
-
* @see {@link MatterSpecification.
|
|
493
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.4.6
|
|
494
494
|
*/
|
|
495
495
|
actionSwitch: BitFlag(5)
|
|
496
496
|
},
|
|
@@ -500,7 +500,7 @@ export namespace Switch {
|
|
|
500
500
|
* Indicates the maximum number of positions the switch has. Any kind of switch has a minimum of 2
|
|
501
501
|
* positions. Also see Section 1.13.10, “Multi Position Details” for the case NumberOfPositions>2.
|
|
502
502
|
*
|
|
503
|
-
* @see {@link MatterSpecification.
|
|
503
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.5.1
|
|
504
504
|
*/
|
|
505
505
|
numberOfPositions: FixedAttribute(0x0, TlvUInt8.bound({ min: 2 })),
|
|
506
506
|
|
|
@@ -510,7 +510,7 @@ export namespace Switch {
|
|
|
510
510
|
* CurrentPosition value 0 shall be assigned to the default position of the switch: for example the "open"
|
|
511
511
|
* state of a rocker switch, or the "idle" state of a push button switch.
|
|
512
512
|
*
|
|
513
|
-
* @see {@link MatterSpecification.
|
|
513
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13.5.2
|
|
514
514
|
*/
|
|
515
515
|
currentPosition: Attribute(0x1, TlvUInt8, { persistent: true })
|
|
516
516
|
},
|
|
@@ -572,7 +572,7 @@ export namespace Switch {
|
|
|
572
572
|
* Per the Matter specification you cannot use {@link SwitchCluster} without enabling certain feature combinations.
|
|
573
573
|
* You must use the {@link with} factory method to obtain a working cluster.
|
|
574
574
|
*
|
|
575
|
-
* @see {@link MatterSpecification.
|
|
575
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.13
|
|
576
576
|
*/
|
|
577
577
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
578
578
|
|