@matter/types 0.14.0-alpha.0-20250531-7ed2d6da8 → 0.14.0-alpha.0-20250602-37f27bb02
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 +77 -51
- package/dist/cjs/clusters/administrator-commissioning.d.ts.map +1 -1
- package/dist/cjs/clusters/administrator-commissioning.js +32 -12
- package/dist/cjs/clusters/administrator-commissioning.js.map +1 -1
- 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 +141 -99
- package/dist/cjs/clusters/application-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/application-launcher.js +45 -13
- package/dist/cjs/clusters/application-launcher.js.map +2 -2
- package/dist/cjs/clusters/audio-output.d.ts +37 -37
- package/dist/cjs/clusters/audio-output.js +8 -8
- package/dist/cjs/clusters/ballast-configuration.d.ts +23 -23
- package/dist/cjs/clusters/ballast-configuration.js +17 -17
- package/dist/cjs/clusters/basic-information.d.ts +54 -54
- package/dist/cjs/clusters/basic-information.js +34 -34
- 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 +102 -102
- package/dist/cjs/clusters/bridged-device-basic-information.js +28 -28
- package/dist/cjs/clusters/channel.d.ts +577 -559
- package/dist/cjs/clusters/channel.d.ts.map +1 -1
- package/dist/cjs/clusters/channel.js +87 -73
- package/dist/cjs/clusters/channel.js.map +2 -2
- 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 +27 -17
- package/dist/cjs/clusters/content-app-observer.d.ts.map +1 -1
- package/dist/cjs/clusters/content-app-observer.js +14 -6
- package/dist/cjs/clusters/content-app-observer.js.map +2 -2
- package/dist/cjs/clusters/content-control.d.ts +438 -356
- package/dist/cjs/clusters/content-control.d.ts.map +1 -1
- package/dist/cjs/clusters/content-control.js +120 -58
- package/dist/cjs/clusters/content-control.js.map +1 -1
- package/dist/cjs/clusters/content-launcher.d.ts +509 -475
- package/dist/cjs/clusters/content-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/content-launcher.js +65 -39
- package/dist/cjs/clusters/content-launcher.js.map +2 -2
- package/dist/cjs/clusters/descriptor.d.ts +28 -28
- package/dist/cjs/clusters/descriptor.js +8 -8
- 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 +67 -33
- package/dist/cjs/clusters/diagnostic-logs.d.ts.map +1 -1
- package/dist/cjs/clusters/diagnostic-logs.js +34 -8
- package/dist/cjs/clusters/diagnostic-logs.js.map +2 -2
- 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 +1367 -1350
- package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
- package/dist/cjs/clusters/door-lock.js +242 -228
- package/dist/cjs/clusters/door-lock.js.map +1 -1
- package/dist/cjs/clusters/ecosystem-information.d.ts +27 -27
- package/dist/cjs/clusters/ecosystem-information.js +12 -12
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +275 -275
- package/dist/cjs/clusters/electrical-energy-measurement.js +25 -25
- package/dist/cjs/clusters/electrical-power-measurement.d.ts +199 -199
- 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 +67 -67
- package/dist/cjs/clusters/fan-control.js +17 -17
- 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-datastore.d.ts +175 -175
- package/dist/cjs/clusters/joint-fabric-datastore.js +62 -62
- package/dist/cjs/clusters/joint-fabric-pki.d.ts +14 -14
- package/dist/cjs/clusters/joint-fabric-pki.js +5 -5
- package/dist/cjs/clusters/keypad-input.d.ts +34 -16
- package/dist/cjs/clusters/keypad-input.d.ts.map +1 -1
- package/dist/cjs/clusters/keypad-input.js +17 -3
- package/dist/cjs/clusters/keypad-input.js.map +2 -2
- 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 +427 -385
- package/dist/cjs/clusters/media-playback.d.ts.map +1 -1
- package/dist/cjs/clusters/media-playback.js +89 -57
- package/dist/cjs/clusters/media-playback.js.map +2 -2
- 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 +94 -94
- package/dist/cjs/clusters/operational-credentials.js +34 -34
- 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 +95 -61
- package/dist/cjs/clusters/ota-software-update-provider.d.ts.map +1 -1
- package/dist/cjs/clusters/ota-software-update-provider.js +51 -25
- package/dist/cjs/clusters/ota-software-update-provider.js.map +2 -2
- 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 +40 -40
- package/dist/cjs/clusters/oven-mode.js +5 -5
- 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/proxy-configuration.d.ts +8 -8
- package/dist/cjs/clusters/proxy-configuration.js +3 -3
- package/dist/cjs/clusters/proxy-discovery.d.ts +10 -10
- package/dist/cjs/clusters/proxy-discovery.js +4 -4
- 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 +48 -48
- 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 +246 -246
- package/dist/cjs/clusters/scenes-management.js +70 -70
- 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 +137 -137
- 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 +48 -30
- package/dist/cjs/clusters/target-navigator.d.ts.map +1 -1
- package/dist/cjs/clusters/target-navigator.js +24 -10
- package/dist/cjs/clusters/target-navigator.js.map +2 -2
- 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 +515 -515
- 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 +255 -245
- package/dist/cjs/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/cjs/clusters/time-synchronization.js +55 -47
- package/dist/cjs/clusters/time-synchronization.js.map +1 -1
- package/dist/cjs/clusters/unit-localization.d.ts +6 -6
- package/dist/cjs/clusters/unit-localization.js +1 -1
- package/dist/cjs/clusters/user-label.d.ts +2 -2
- package/dist/cjs/clusters/user-label.js +1 -1
- package/dist/cjs/clusters/valid-proxies.d.ts +7 -7
- package/dist/cjs/clusters/valid-proxies.js +2 -2
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts +90 -80
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts.map +1 -1
- package/dist/cjs/clusters/valve-configuration-and-control.js +30 -22
- package/dist/cjs/clusters/valve-configuration-and-control.js.map +1 -1
- 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 +6 -6
- package/dist/cjs/clusters/wi-fi-network-management.js +3 -3
- package/dist/cjs/clusters/window-covering.d.ts +183 -183
- package/dist/cjs/clusters/window-covering.js +49 -49
- package/dist/cjs/common/StatusCode.d.ts +2 -11
- package/dist/cjs/common/StatusCode.d.ts.map +1 -1
- package/dist/cjs/common/StatusCode.js +1 -17
- package/dist/cjs/common/StatusCode.js.map +1 -1
- package/dist/cjs/common/StatusResponseError.d.ts +21 -0
- package/dist/cjs/common/StatusResponseError.d.ts.map +1 -0
- package/dist/cjs/common/StatusResponseError.js +54 -0
- package/dist/cjs/common/StatusResponseError.js.map +6 -0
- package/dist/cjs/common/ValidationError.d.ts +1 -1
- package/dist/cjs/common/ValidationError.d.ts.map +1 -1
- package/dist/cjs/common/ValidationError.js +2 -1
- package/dist/cjs/common/ValidationError.js.map +1 -1
- package/dist/cjs/common/index.d.ts +1 -0
- package/dist/cjs/common/index.d.ts.map +1 -1
- package/dist/cjs/common/index.js +1 -0
- package/dist/cjs/common/index.js.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/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/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 +33 -33
- package/dist/cjs/globals/Tod.d.ts +2 -2
- package/dist/cjs/globals/WildcardPathFlags.d.ts +1 -1
- 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 +77 -51
- package/dist/esm/clusters/administrator-commissioning.d.ts.map +1 -1
- package/dist/esm/clusters/administrator-commissioning.js +32 -12
- package/dist/esm/clusters/administrator-commissioning.js.map +1 -1
- 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 +141 -99
- package/dist/esm/clusters/application-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/application-launcher.js +45 -13
- package/dist/esm/clusters/application-launcher.js.map +1 -1
- package/dist/esm/clusters/audio-output.d.ts +37 -37
- package/dist/esm/clusters/audio-output.js +8 -8
- package/dist/esm/clusters/ballast-configuration.d.ts +23 -23
- package/dist/esm/clusters/ballast-configuration.js +17 -17
- package/dist/esm/clusters/basic-information.d.ts +54 -54
- package/dist/esm/clusters/basic-information.js +34 -34
- 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 +102 -102
- package/dist/esm/clusters/bridged-device-basic-information.js +28 -28
- package/dist/esm/clusters/channel.d.ts +577 -559
- package/dist/esm/clusters/channel.d.ts.map +1 -1
- package/dist/esm/clusters/channel.js +87 -73
- package/dist/esm/clusters/channel.js.map +1 -1
- 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 +27 -17
- package/dist/esm/clusters/content-app-observer.d.ts.map +1 -1
- package/dist/esm/clusters/content-app-observer.js +14 -6
- package/dist/esm/clusters/content-app-observer.js.map +1 -1
- package/dist/esm/clusters/content-control.d.ts +438 -356
- package/dist/esm/clusters/content-control.d.ts.map +1 -1
- package/dist/esm/clusters/content-control.js +120 -58
- package/dist/esm/clusters/content-control.js.map +1 -1
- package/dist/esm/clusters/content-launcher.d.ts +509 -475
- package/dist/esm/clusters/content-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/content-launcher.js +65 -39
- package/dist/esm/clusters/content-launcher.js.map +1 -1
- package/dist/esm/clusters/descriptor.d.ts +28 -28
- package/dist/esm/clusters/descriptor.js +8 -8
- 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 +67 -33
- package/dist/esm/clusters/diagnostic-logs.d.ts.map +1 -1
- package/dist/esm/clusters/diagnostic-logs.js +34 -8
- package/dist/esm/clusters/diagnostic-logs.js.map +1 -1
- 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 +1367 -1350
- package/dist/esm/clusters/door-lock.d.ts.map +1 -1
- package/dist/esm/clusters/door-lock.js +242 -228
- package/dist/esm/clusters/door-lock.js.map +1 -1
- package/dist/esm/clusters/ecosystem-information.d.ts +27 -27
- package/dist/esm/clusters/ecosystem-information.js +12 -12
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +275 -275
- package/dist/esm/clusters/electrical-energy-measurement.js +25 -25
- package/dist/esm/clusters/electrical-power-measurement.d.ts +199 -199
- 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 +67 -67
- package/dist/esm/clusters/fan-control.js +17 -17
- 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-datastore.d.ts +175 -175
- package/dist/esm/clusters/joint-fabric-datastore.js +62 -62
- package/dist/esm/clusters/joint-fabric-pki.d.ts +14 -14
- package/dist/esm/clusters/joint-fabric-pki.js +5 -5
- package/dist/esm/clusters/keypad-input.d.ts +34 -16
- package/dist/esm/clusters/keypad-input.d.ts.map +1 -1
- package/dist/esm/clusters/keypad-input.js +17 -3
- package/dist/esm/clusters/keypad-input.js.map +1 -1
- 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 +427 -385
- package/dist/esm/clusters/media-playback.d.ts.map +1 -1
- package/dist/esm/clusters/media-playback.js +89 -57
- package/dist/esm/clusters/media-playback.js.map +1 -1
- 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 +94 -94
- package/dist/esm/clusters/operational-credentials.js +34 -34
- 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 +95 -61
- package/dist/esm/clusters/ota-software-update-provider.d.ts.map +1 -1
- package/dist/esm/clusters/ota-software-update-provider.js +51 -25
- package/dist/esm/clusters/ota-software-update-provider.js.map +1 -1
- 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 +40 -40
- package/dist/esm/clusters/oven-mode.js +5 -5
- 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/proxy-configuration.d.ts +8 -8
- package/dist/esm/clusters/proxy-configuration.js +3 -3
- package/dist/esm/clusters/proxy-discovery.d.ts +10 -10
- package/dist/esm/clusters/proxy-discovery.js +4 -4
- 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 +48 -48
- 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 +246 -246
- package/dist/esm/clusters/scenes-management.js +70 -70
- 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 +137 -137
- 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 +48 -30
- package/dist/esm/clusters/target-navigator.d.ts.map +1 -1
- package/dist/esm/clusters/target-navigator.js +24 -10
- package/dist/esm/clusters/target-navigator.js.map +1 -1
- 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 +515 -515
- 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 +255 -245
- package/dist/esm/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/esm/clusters/time-synchronization.js +55 -47
- package/dist/esm/clusters/time-synchronization.js.map +1 -1
- package/dist/esm/clusters/unit-localization.d.ts +6 -6
- package/dist/esm/clusters/unit-localization.js +1 -1
- package/dist/esm/clusters/user-label.d.ts +2 -2
- package/dist/esm/clusters/user-label.js +1 -1
- package/dist/esm/clusters/valid-proxies.d.ts +7 -7
- package/dist/esm/clusters/valid-proxies.js +2 -2
- package/dist/esm/clusters/valve-configuration-and-control.d.ts +90 -80
- package/dist/esm/clusters/valve-configuration-and-control.d.ts.map +1 -1
- package/dist/esm/clusters/valve-configuration-and-control.js +30 -22
- package/dist/esm/clusters/valve-configuration-and-control.js.map +1 -1
- 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 +6 -6
- package/dist/esm/clusters/wi-fi-network-management.js +3 -3
- package/dist/esm/clusters/window-covering.d.ts +183 -183
- package/dist/esm/clusters/window-covering.js +49 -49
- package/dist/esm/common/StatusCode.d.ts +2 -11
- package/dist/esm/common/StatusCode.d.ts.map +1 -1
- package/dist/esm/common/StatusCode.js +1 -17
- package/dist/esm/common/StatusCode.js.map +1 -1
- package/dist/esm/common/StatusResponseError.d.ts +21 -0
- package/dist/esm/common/StatusResponseError.d.ts.map +1 -0
- package/dist/esm/common/StatusResponseError.js +34 -0
- package/dist/esm/common/StatusResponseError.js.map +6 -0
- package/dist/esm/common/ValidationError.d.ts +1 -1
- package/dist/esm/common/ValidationError.d.ts.map +1 -1
- package/dist/esm/common/ValidationError.js +2 -1
- package/dist/esm/common/ValidationError.js.map +1 -1
- package/dist/esm/common/index.d.ts +1 -0
- package/dist/esm/common/index.d.ts.map +1 -1
- package/dist/esm/common/index.js +1 -0
- package/dist/esm/common/index.js.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/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/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 +33 -33
- package/dist/esm/globals/Tod.d.ts +2 -2
- package/dist/esm/globals/WildcardPathFlags.d.ts +1 -1
- 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 +67 -20
- 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 +105 -28
- package/src/clusters/audio-output.ts +17 -17
- package/src/clusters/ballast-configuration.ts +20 -20
- package/src/clusters/basic-information.ts +47 -47
- 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 +38 -38
- package/src/clusters/channel.ts +143 -111
- 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 +29 -12
- package/src/clusters/content-control.ts +248 -96
- package/src/clusters/content-launcher.ts +131 -69
- package/src/clusters/descriptor.ts +13 -13
- 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 +88 -26
- package/src/clusters/dishwasher-alarm.ts +24 -24
- package/src/clusters/dishwasher-mode.ts +27 -27
- package/src/clusters/door-lock.ts +408 -377
- package/src/clusters/ecosystem-information.ts +17 -17
- package/src/clusters/electrical-energy-measurement.ts +39 -39
- package/src/clusters/electrical-power-measurement.ts +53 -53
- 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-datastore.ts +82 -82
- package/src/clusters/joint-fabric-pki.ts +12 -12
- package/src/clusters/keypad-input.ts +43 -11
- 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 +168 -91
- 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 +65 -65
- package/src/clusters/operational-state.ts +34 -34
- package/src/clusters/ota-software-update-provider.ts +101 -39
- 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 +31 -31
- 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/proxy-configuration.ts +6 -6
- package/src/clusters/proxy-discovery.ts +7 -7
- 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 +31 -31
- package/src/clusters/rvc-operational-state.ts +28 -28
- package/src/clusters/rvc-run-mode.ts +38 -38
- package/src/clusters/scenes-management.ts +112 -112
- package/src/clusters/service-area.ts +50 -50
- package/src/clusters/smoke-co-alarm.ts +68 -68
- package/src/clusters/software-diagnostics.ts +20 -20
- package/src/clusters/switch.ts +45 -45
- package/src/clusters/target-navigator.ts +52 -20
- 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 +98 -81
- package/src/clusters/unit-localization.ts +4 -4
- package/src/clusters/user-label.ts +2 -2
- package/src/clusters/valid-proxies.ts +7 -7
- package/src/clusters/valve-configuration-and-control.ts +52 -35
- 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 +6 -6
- package/src/clusters/window-covering.ts +68 -68
- package/src/common/StatusCode.ts +3 -21
- package/src/common/StatusResponseError.ts +41 -0
- package/src/common/ValidationError.ts +2 -1
- package/src/common/index.ts +1 -0
- package/src/globals/AtomicAttributeStatus.ts +4 -4
- package/src/globals/AtomicRequestType.ts +1 -1
- 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/Priority.ts +1 -1
- package/src/globals/Semtag.ts +6 -6
- package/src/globals/SoftwareVersionCertificationStatus.ts +1 -1
- package/src/globals/Status.ts +33 -33
- package/src/globals/Tod.ts +2 -2
- package/src/globals/WildcardPathFlags.ts +1 -1
|
@@ -29,6 +29,8 @@ import { TlvBoolean } from "../tlv/TlvBoolean.js";
|
|
|
29
29
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
30
30
|
import { TlvInt32, TlvEpochUs, TlvEnum, TlvUInt8 } from "../tlv/TlvNumber.js";
|
|
31
31
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
32
|
+
import { StatusResponseError } from "../common/StatusResponseError.js";
|
|
33
|
+
import { Status } from "../globals/Status.js";
|
|
32
34
|
import { Identity } from "#general";
|
|
33
35
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
34
36
|
|
|
@@ -36,7 +38,7 @@ export namespace TimeSynchronization {
|
|
|
36
38
|
/**
|
|
37
39
|
* These are optional features supported by TimeSynchronizationCluster.
|
|
38
40
|
*
|
|
39
|
-
* @see {@link MatterSpecification.
|
|
41
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.5
|
|
40
42
|
*/
|
|
41
43
|
export enum Feature {
|
|
42
44
|
/**
|
|
@@ -47,7 +49,7 @@ export namespace TimeSynchronization {
|
|
|
47
49
|
* commands, and TimeZone and DSTOffset attributes, and shall expose the local time through the LocalTime
|
|
48
50
|
* attribute.
|
|
49
51
|
*
|
|
50
|
-
* @see {@link MatterSpecification.
|
|
52
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.5.1
|
|
51
53
|
*/
|
|
52
54
|
TimeZone = "TimeZone",
|
|
53
55
|
|
|
@@ -56,7 +58,7 @@ export namespace TimeSynchronization {
|
|
|
56
58
|
*
|
|
57
59
|
* Allows a node to use NTP/SNTP for time synchronization.
|
|
58
60
|
*
|
|
59
|
-
* @see {@link MatterSpecification.
|
|
61
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.5.2
|
|
60
62
|
*/
|
|
61
63
|
NtpClient = "NtpClient",
|
|
62
64
|
|
|
@@ -66,7 +68,7 @@ export namespace TimeSynchronization {
|
|
|
66
68
|
* Allows a Node to host an NTP server for the network so that other Nodes can achieve a high accuracy time
|
|
67
69
|
* synchronization within the network. See Section 11.17.15, “Acting as an NTP Server”.
|
|
68
70
|
*
|
|
69
|
-
* @see {@link MatterSpecification.
|
|
71
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.5.3
|
|
70
72
|
*/
|
|
71
73
|
NtpServer = "NtpServer",
|
|
72
74
|
|
|
@@ -75,51 +77,51 @@ export namespace TimeSynchronization {
|
|
|
75
77
|
*
|
|
76
78
|
* This node also supports a time synchronization client and can connect to and read time from other nodes.
|
|
77
79
|
*
|
|
78
|
-
* @see {@link MatterSpecification.
|
|
80
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.5.4
|
|
79
81
|
*/
|
|
80
82
|
TimeSyncClient = "TimeSyncClient"
|
|
81
83
|
}
|
|
82
84
|
|
|
83
85
|
/**
|
|
84
|
-
* @see {@link MatterSpecification.
|
|
86
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.4
|
|
85
87
|
*/
|
|
86
88
|
export const TlvTrustedTimeSource = TlvObject({
|
|
87
89
|
/**
|
|
88
90
|
* The Fabric Index associated with the Fabric of the client which last set the value of the trusted time source
|
|
89
91
|
* node.
|
|
90
92
|
*
|
|
91
|
-
* @see {@link MatterSpecification.
|
|
93
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.4.1
|
|
92
94
|
*/
|
|
93
95
|
fabricIndex: TlvField(0, TlvFabricIndex),
|
|
94
96
|
|
|
95
97
|
/**
|
|
96
98
|
* Node ID of the trusted time source node on the Fabric associated with the entry.
|
|
97
99
|
*
|
|
98
|
-
* @see {@link MatterSpecification.
|
|
100
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.4.2
|
|
99
101
|
*/
|
|
100
102
|
nodeId: TlvField(1, TlvNodeId),
|
|
101
103
|
|
|
102
104
|
/**
|
|
103
105
|
* Endpoint on the trusted time source node that contains the Time Synchronization cluster server.
|
|
104
106
|
*
|
|
105
|
-
* @see {@link MatterSpecification.
|
|
107
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.4.3
|
|
106
108
|
*/
|
|
107
109
|
endpoint: TlvField(2, TlvEndpointNumber)
|
|
108
110
|
});
|
|
109
111
|
|
|
110
112
|
/**
|
|
111
|
-
* @see {@link MatterSpecification.
|
|
113
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.4
|
|
112
114
|
*/
|
|
113
115
|
export interface TrustedTimeSource extends TypeFromSchema<typeof TlvTrustedTimeSource> {}
|
|
114
116
|
|
|
115
117
|
/**
|
|
116
|
-
* @see {@link MatterSpecification.
|
|
118
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.5
|
|
117
119
|
*/
|
|
118
120
|
export const TlvFabricScopedTrustedTimeSource = TlvObject({
|
|
119
121
|
/**
|
|
120
122
|
* Node ID of the trusted time source node on the Fabric of the issuer.
|
|
121
123
|
*
|
|
122
|
-
* @see {@link MatterSpecification.
|
|
124
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.5.1
|
|
123
125
|
*/
|
|
124
126
|
nodeId: TlvField(0, TlvNodeId),
|
|
125
127
|
|
|
@@ -128,26 +130,26 @@ export namespace TimeSynchronization {
|
|
|
128
130
|
* provided to avoid having to do discovery of the location of that endpoint by walking over all endpoints and
|
|
129
131
|
* checking their Descriptor Cluster.
|
|
130
132
|
*
|
|
131
|
-
* @see {@link MatterSpecification.
|
|
133
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.5.2
|
|
132
134
|
*/
|
|
133
135
|
endpoint: TlvField(1, TlvEndpointNumber)
|
|
134
136
|
});
|
|
135
137
|
|
|
136
138
|
/**
|
|
137
|
-
* @see {@link MatterSpecification.
|
|
139
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.5
|
|
138
140
|
*/
|
|
139
141
|
export interface FabricScopedTrustedTimeSource extends TypeFromSchema<typeof TlvFabricScopedTrustedTimeSource> {}
|
|
140
142
|
|
|
141
143
|
/**
|
|
142
144
|
* Input to the TimeSynchronization setTrustedTimeSource command
|
|
143
145
|
*
|
|
144
|
-
* @see {@link MatterSpecification.
|
|
146
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.2
|
|
145
147
|
*/
|
|
146
148
|
export const TlvSetTrustedTimeSourceRequest = TlvObject({
|
|
147
149
|
/**
|
|
148
150
|
* This field contains the Node ID and endpoint of a trusted time source on the accessing fabric.
|
|
149
151
|
*
|
|
150
|
-
* @see {@link MatterSpecification.
|
|
152
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.2.1
|
|
151
153
|
*/
|
|
152
154
|
trustedTimeSource: TlvField(0, TlvNullable(TlvFabricScopedTrustedTimeSource)),
|
|
153
155
|
|
|
@@ -157,21 +159,21 @@ export namespace TimeSynchronization {
|
|
|
157
159
|
/**
|
|
158
160
|
* Input to the TimeSynchronization setTrustedTimeSource command
|
|
159
161
|
*
|
|
160
|
-
* @see {@link MatterSpecification.
|
|
162
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.2
|
|
161
163
|
*/
|
|
162
164
|
export interface SetTrustedTimeSourceRequest extends TypeFromSchema<typeof TlvSetTrustedTimeSourceRequest> {}
|
|
163
165
|
|
|
164
166
|
/**
|
|
165
167
|
* Input to the TimeSynchronization setDefaultNtp command
|
|
166
168
|
*
|
|
167
|
-
* @see {@link MatterSpecification.
|
|
169
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.6
|
|
168
170
|
*/
|
|
169
171
|
export const TlvSetDefaultNtpRequest = TlvObject({
|
|
170
172
|
/**
|
|
171
173
|
* This field contains the address of an NTP server than can be used as a fallback for time synchronization. The
|
|
172
174
|
* format of this field shall follow the requirements in the DefaultNTP attribute description.
|
|
173
175
|
*
|
|
174
|
-
* @see {@link MatterSpecification.
|
|
176
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.6.1
|
|
175
177
|
*/
|
|
176
178
|
defaultNtp: TlvField(0, TlvNullable(TlvString.bound({ maxLength: 128 })))
|
|
177
179
|
});
|
|
@@ -179,25 +181,25 @@ export namespace TimeSynchronization {
|
|
|
179
181
|
/**
|
|
180
182
|
* Input to the TimeSynchronization setDefaultNtp command
|
|
181
183
|
*
|
|
182
|
-
* @see {@link MatterSpecification.
|
|
184
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.6
|
|
183
185
|
*/
|
|
184
186
|
export interface SetDefaultNtpRequest extends TypeFromSchema<typeof TlvSetDefaultNtpRequest> {}
|
|
185
187
|
|
|
186
188
|
/**
|
|
187
|
-
* @see {@link MatterSpecification.
|
|
189
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.6
|
|
188
190
|
*/
|
|
189
191
|
export const TlvTimeZone = TlvObject({
|
|
190
192
|
/**
|
|
191
193
|
* The time zone offset from UTC in seconds.
|
|
192
194
|
*
|
|
193
|
-
* @see {@link MatterSpecification.
|
|
195
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.6.1
|
|
194
196
|
*/
|
|
195
197
|
offset: TlvField(0, TlvInt32.bound({ min: -43200, max: 50400 })),
|
|
196
198
|
|
|
197
199
|
/**
|
|
198
200
|
* The UTC time when the offset shall be applied.
|
|
199
201
|
*
|
|
200
|
-
* @see {@link MatterSpecification.
|
|
202
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.6.2
|
|
201
203
|
*/
|
|
202
204
|
validAt: TlvField(1, TlvEpochUs),
|
|
203
205
|
|
|
@@ -207,18 +209,18 @@ export namespace TimeSynchronization {
|
|
|
207
209
|
* TimeZoneDatabase it may use the Name field to set its own DST offsets if it has database information for the
|
|
208
210
|
* supplied time zone Name and the given Offset matches.
|
|
209
211
|
*
|
|
210
|
-
* @see {@link MatterSpecification.
|
|
212
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.6.3
|
|
211
213
|
*/
|
|
212
214
|
name: TlvOptionalField(2, TlvString.bound({ minLength: 0, maxLength: 64 }))
|
|
213
215
|
});
|
|
214
216
|
|
|
215
217
|
/**
|
|
216
|
-
* @see {@link MatterSpecification.
|
|
218
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.6
|
|
217
219
|
*/
|
|
218
220
|
export interface TimeZone extends TypeFromSchema<typeof TlvTimeZone> {}
|
|
219
221
|
|
|
220
222
|
/**
|
|
221
|
-
* @see {@link MatterSpecification.
|
|
223
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.7
|
|
222
224
|
*/
|
|
223
225
|
export const TlvDstOffset = TlvObject({
|
|
224
226
|
/**
|
|
@@ -226,14 +228,14 @@ export namespace TimeSynchronization {
|
|
|
226
228
|
* accept any values in the int32 range to accommodate potential future legislation that does not fit with these
|
|
227
229
|
* assumptions.
|
|
228
230
|
*
|
|
229
|
-
* @see {@link MatterSpecification.
|
|
231
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.7.1
|
|
230
232
|
*/
|
|
231
233
|
offset: TlvField(0, TlvInt32),
|
|
232
234
|
|
|
233
235
|
/**
|
|
234
236
|
* The UTC time when the offset shall be applied.
|
|
235
237
|
*
|
|
236
|
-
* @see {@link MatterSpecification.
|
|
238
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.7.2
|
|
237
239
|
*/
|
|
238
240
|
validStarting: TlvField(1, TlvEpochUs),
|
|
239
241
|
|
|
@@ -241,13 +243,13 @@ export namespace TimeSynchronization {
|
|
|
241
243
|
* The UTC time when the offset shall stop being applied. Providing a null value here indicates a permanent DST
|
|
242
244
|
* change. If this value is non-null the value shall be larger than the ValidStarting time.
|
|
243
245
|
*
|
|
244
|
-
* @see {@link MatterSpecification.
|
|
246
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.7.3
|
|
245
247
|
*/
|
|
246
248
|
validUntil: TlvField(2, TlvNullable(TlvEpochUs))
|
|
247
249
|
});
|
|
248
250
|
|
|
249
251
|
/**
|
|
250
|
-
* @see {@link MatterSpecification.
|
|
252
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.7
|
|
251
253
|
*/
|
|
252
254
|
export interface DstOffset extends TypeFromSchema<typeof TlvDstOffset> {}
|
|
253
255
|
|
|
@@ -256,7 +258,7 @@ export namespace TimeSynchronization {
|
|
|
256
258
|
* may be used to omit historical data, less commonly used time zones, and/or time zones not related to the region a
|
|
257
259
|
* product is sold in.
|
|
258
260
|
*
|
|
259
|
-
* @see {@link MatterSpecification.
|
|
261
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.3
|
|
260
262
|
*/
|
|
261
263
|
export enum TimeZoneDatabase {
|
|
262
264
|
/**
|
|
@@ -278,7 +280,7 @@ export namespace TimeSynchronization {
|
|
|
278
280
|
/**
|
|
279
281
|
* Input to the TimeSynchronization setTimeZone command
|
|
280
282
|
*
|
|
281
|
-
* @see {@link MatterSpecification.
|
|
283
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.3
|
|
282
284
|
*/
|
|
283
285
|
export const TlvSetTimeZoneRequest = TlvObject({
|
|
284
286
|
timeZone: TlvField(0, TlvArray(TlvTimeZone, { minLength: 1, maxLength: 2 }))
|
|
@@ -287,14 +289,14 @@ export namespace TimeSynchronization {
|
|
|
287
289
|
/**
|
|
288
290
|
* Input to the TimeSynchronization setTimeZone command
|
|
289
291
|
*
|
|
290
|
-
* @see {@link MatterSpecification.
|
|
292
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.3
|
|
291
293
|
*/
|
|
292
294
|
export interface SetTimeZoneRequest extends TypeFromSchema<typeof TlvSetTimeZoneRequest> {}
|
|
293
295
|
|
|
294
296
|
/**
|
|
295
297
|
* This command shall be generated in response to a SetTimeZone command.
|
|
296
298
|
*
|
|
297
|
-
* @see {@link MatterSpecification.
|
|
299
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.4
|
|
298
300
|
*/
|
|
299
301
|
export const TlvSetTimeZoneResponse = TlvObject({
|
|
300
302
|
/**
|
|
@@ -302,7 +304,7 @@ export namespace TimeSynchronization {
|
|
|
302
304
|
* this information to set the DSTOffset attribute. If the node is setting its own DSTOffset attribute, the
|
|
303
305
|
* DSTOffsetsRequired field shall be set to false, otherwise it shall be set to true.
|
|
304
306
|
*
|
|
305
|
-
* @see {@link MatterSpecification.
|
|
307
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.4.1
|
|
306
308
|
*/
|
|
307
309
|
dstOffsetsRequired: TlvField(0, TlvBoolean)
|
|
308
310
|
});
|
|
@@ -310,35 +312,35 @@ export namespace TimeSynchronization {
|
|
|
310
312
|
/**
|
|
311
313
|
* This command shall be generated in response to a SetTimeZone command.
|
|
312
314
|
*
|
|
313
|
-
* @see {@link MatterSpecification.
|
|
315
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.4
|
|
314
316
|
*/
|
|
315
317
|
export interface SetTimeZoneResponse extends TypeFromSchema<typeof TlvSetTimeZoneResponse> {}
|
|
316
318
|
|
|
317
319
|
/**
|
|
318
320
|
* Input to the TimeSynchronization setDstOffset command
|
|
319
321
|
*
|
|
320
|
-
* @see {@link MatterSpecification.
|
|
322
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.5
|
|
321
323
|
*/
|
|
322
324
|
export const TlvSetDstOffsetRequest = TlvObject({ dstOffset: TlvField(0, TlvArray(TlvDstOffset)) });
|
|
323
325
|
|
|
324
326
|
/**
|
|
325
327
|
* Input to the TimeSynchronization setDstOffset command
|
|
326
328
|
*
|
|
327
|
-
* @see {@link MatterSpecification.
|
|
329
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.5
|
|
328
330
|
*/
|
|
329
331
|
export interface SetDstOffsetRequest extends TypeFromSchema<typeof TlvSetDstOffsetRequest> {}
|
|
330
332
|
|
|
331
333
|
/**
|
|
332
334
|
* Body of the TimeSynchronization dstStatus event
|
|
333
335
|
*
|
|
334
|
-
* @see {@link MatterSpecification.
|
|
336
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.10.2
|
|
335
337
|
*/
|
|
336
338
|
export const TlvDstStatusEvent = TlvObject({
|
|
337
339
|
/**
|
|
338
340
|
* Indicates whether the current DST offset is being applied (i.e, daylight savings time is applied, as opposed
|
|
339
341
|
* to standard time).
|
|
340
342
|
*
|
|
341
|
-
* @see {@link MatterSpecification.
|
|
343
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.10.2.1
|
|
342
344
|
*/
|
|
343
345
|
dstOffsetActive: TlvField(0, TlvBoolean)
|
|
344
346
|
});
|
|
@@ -346,20 +348,20 @@ export namespace TimeSynchronization {
|
|
|
346
348
|
/**
|
|
347
349
|
* Body of the TimeSynchronization dstStatus event
|
|
348
350
|
*
|
|
349
|
-
* @see {@link MatterSpecification.
|
|
351
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.10.2
|
|
350
352
|
*/
|
|
351
353
|
export interface DstStatusEvent extends TypeFromSchema<typeof TlvDstStatusEvent> {}
|
|
352
354
|
|
|
353
355
|
/**
|
|
354
356
|
* Body of the TimeSynchronization timeZoneStatus event
|
|
355
357
|
*
|
|
356
|
-
* @see {@link MatterSpecification.
|
|
358
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.10.3
|
|
357
359
|
*/
|
|
358
360
|
export const TlvTimeZoneStatusEvent = TlvObject({
|
|
359
361
|
/**
|
|
360
362
|
* Current time zone offset from UTC in seconds.
|
|
361
363
|
*
|
|
362
|
-
* @see {@link MatterSpecification.
|
|
364
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.10.3.1
|
|
363
365
|
*/
|
|
364
366
|
offset: TlvField(0, TlvInt32.bound({ min: -43200, max: 50400 })),
|
|
365
367
|
|
|
@@ -367,7 +369,7 @@ export namespace TimeSynchronization {
|
|
|
367
369
|
* Current time zone name. This name SHOULD use the country/city format specified by the IANA Time Zone
|
|
368
370
|
* Database.
|
|
369
371
|
*
|
|
370
|
-
* @see {@link MatterSpecification.
|
|
372
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.10.3.2
|
|
371
373
|
*/
|
|
372
374
|
name: TlvOptionalField(1, TlvString.bound({ minLength: 0, maxLength: 64 }))
|
|
373
375
|
});
|
|
@@ -375,12 +377,12 @@ export namespace TimeSynchronization {
|
|
|
375
377
|
/**
|
|
376
378
|
* Body of the TimeSynchronization timeZoneStatus event
|
|
377
379
|
*
|
|
378
|
-
* @see {@link MatterSpecification.
|
|
380
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.10.3
|
|
379
381
|
*/
|
|
380
382
|
export interface TimeZoneStatusEvent extends TypeFromSchema<typeof TlvTimeZoneStatusEvent> {}
|
|
381
383
|
|
|
382
384
|
/**
|
|
383
|
-
* @see {@link MatterSpecification.
|
|
385
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.1
|
|
384
386
|
*/
|
|
385
387
|
export enum Granularity {
|
|
386
388
|
/**
|
|
@@ -416,7 +418,7 @@ export namespace TimeSynchronization {
|
|
|
416
418
|
}
|
|
417
419
|
|
|
418
420
|
/**
|
|
419
|
-
* @see {@link MatterSpecification.
|
|
421
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.6.2
|
|
420
422
|
*/
|
|
421
423
|
export enum TimeSource {
|
|
422
424
|
/**
|
|
@@ -509,27 +511,27 @@ export namespace TimeSynchronization {
|
|
|
509
511
|
/**
|
|
510
512
|
* Input to the TimeSynchronization setUtcTime command
|
|
511
513
|
*
|
|
512
|
-
* @see {@link MatterSpecification.
|
|
514
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.1
|
|
513
515
|
*/
|
|
514
516
|
export const TlvSetUtcTimeRequest = TlvObject({
|
|
515
517
|
/**
|
|
516
518
|
* This shall give the Client’s UTC Time.
|
|
517
519
|
*
|
|
518
|
-
* @see {@link MatterSpecification.
|
|
520
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.1.1
|
|
519
521
|
*/
|
|
520
522
|
utcTime: TlvField(0, TlvEpochUs),
|
|
521
523
|
|
|
522
524
|
/**
|
|
523
525
|
* This shall give the Client’s Granularity, as described in Granularity.
|
|
524
526
|
*
|
|
525
|
-
* @see {@link MatterSpecification.
|
|
527
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.1.2
|
|
526
528
|
*/
|
|
527
529
|
granularity: TlvField(1, TlvEnum<Granularity>()),
|
|
528
530
|
|
|
529
531
|
/**
|
|
530
532
|
* This shall give the Client’s TimeSource, as described in TimeSource.
|
|
531
533
|
*
|
|
532
|
-
* @see {@link MatterSpecification.
|
|
534
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.1.3
|
|
533
535
|
*/
|
|
534
536
|
timeSource: TlvOptionalField(2, TlvEnum<TimeSource>())
|
|
535
537
|
});
|
|
@@ -537,12 +539,12 @@ export namespace TimeSynchronization {
|
|
|
537
539
|
/**
|
|
538
540
|
* Input to the TimeSynchronization setUtcTime command
|
|
539
541
|
*
|
|
540
|
-
* @see {@link MatterSpecification.
|
|
542
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.1
|
|
541
543
|
*/
|
|
542
544
|
export interface SetUtcTimeRequest extends TypeFromSchema<typeof TlvSetUtcTimeRequest> {}
|
|
543
545
|
|
|
544
546
|
/**
|
|
545
|
-
* @see {@link MatterSpecification.
|
|
547
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.7.1
|
|
546
548
|
*/
|
|
547
549
|
export enum StatusCode {
|
|
548
550
|
/**
|
|
@@ -551,6 +553,21 @@ export namespace TimeSynchronization {
|
|
|
551
553
|
TimeNotAccepted = 2
|
|
552
554
|
}
|
|
553
555
|
|
|
556
|
+
/**
|
|
557
|
+
* Thrown for cluster status code {@link StatusCode.TimeNotAccepted}.
|
|
558
|
+
*
|
|
559
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.7.1
|
|
560
|
+
*/
|
|
561
|
+
export class TimeNotAcceptedError extends StatusResponseError {
|
|
562
|
+
constructor(
|
|
563
|
+
message = "Node rejected the attempt to set the UTC time",
|
|
564
|
+
code = Status.Failure,
|
|
565
|
+
clusterCode = StatusCode.TimeNotAccepted
|
|
566
|
+
) {
|
|
567
|
+
super(message, code, clusterCode);
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
|
|
554
571
|
/**
|
|
555
572
|
* A TimeSynchronizationCluster supports these elements if it supports feature TimeSyncClient.
|
|
556
573
|
*/
|
|
@@ -562,7 +579,7 @@ export namespace TimeSynchronization {
|
|
|
562
579
|
* administrator using the SetTrustedTimeSource command. If the value is null, no trusted time source has
|
|
563
580
|
* yet been set.
|
|
564
581
|
*
|
|
565
|
-
* @see {@link MatterSpecification.
|
|
582
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.4
|
|
566
583
|
*/
|
|
567
584
|
trustedTimeSource: Attribute(0x3, TlvNullable(TlvTrustedTimeSource), { persistent: true, default: null })
|
|
568
585
|
},
|
|
@@ -578,7 +595,7 @@ export namespace TimeSynchronization {
|
|
|
578
595
|
* Endpoint fields matching those in the TrustedTimeSource field and has its FabricIndex field set to
|
|
579
596
|
* the command’s accessing fabric index.
|
|
580
597
|
*
|
|
581
|
-
* @see {@link MatterSpecification.
|
|
598
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.2
|
|
582
599
|
*/
|
|
583
600
|
setTrustedTimeSource: Command(
|
|
584
601
|
0x1,
|
|
@@ -599,7 +616,7 @@ export namespace TimeSynchronization {
|
|
|
599
616
|
* is null or the specified peer cannot be reached. MissingTrustedTimeSource events corresponding to a time
|
|
600
617
|
* update SHOULD NOT be generated more often than once per hour.
|
|
601
618
|
*
|
|
602
|
-
* @see {@link MatterSpecification.
|
|
619
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.10.5
|
|
603
620
|
*/
|
|
604
621
|
missingTrustedTimeSource: Event(0x4, EventPriority.Info, TlvNoArguments)
|
|
605
622
|
}
|
|
@@ -620,7 +637,7 @@ export namespace TimeSynchronization {
|
|
|
620
637
|
* text format, as specified in RFC 5952. The address format shall follow the recommendations in Section 4
|
|
621
638
|
* and shall NOT contain a port number.
|
|
622
639
|
*
|
|
623
|
-
* @see {@link MatterSpecification.
|
|
640
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.5
|
|
624
641
|
*/
|
|
625
642
|
defaultNtp: Attribute(
|
|
626
643
|
0x4,
|
|
@@ -632,7 +649,7 @@ export namespace TimeSynchronization {
|
|
|
632
649
|
* This attribute is true if the node supports resolving a domain name. DefaultNTP Address values for these
|
|
633
650
|
* nodes may include domain names. If this is False, the Address for a DefaultNTP shall be an IPv6 address.
|
|
634
651
|
*
|
|
635
|
-
* @see {@link MatterSpecification.
|
|
652
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.13
|
|
636
653
|
*/
|
|
637
654
|
supportsDnsResolve: FixedAttribute(0xc, TlvBoolean, { default: false })
|
|
638
655
|
},
|
|
@@ -645,7 +662,7 @@ export namespace TimeSynchronization {
|
|
|
645
662
|
* provided Address is a domain name, the command shall fail with a status code of INVALID_COMMAND.
|
|
646
663
|
* Otherwise, the node shall set the DefaultNTP attribute to match the DefaultNTP provided in this command.
|
|
647
664
|
*
|
|
648
|
-
* @see {@link MatterSpecification.
|
|
665
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.6
|
|
649
666
|
*/
|
|
650
667
|
setDefaultNtp: Command(
|
|
651
668
|
0x5,
|
|
@@ -692,7 +709,7 @@ export namespace TimeSynchronization {
|
|
|
692
709
|
* zone has been set, it may set this value to a list containing a single TimeZoneStruct with an offset of 0
|
|
693
710
|
* (UTC) and a ValidAt time of 0.
|
|
694
711
|
*
|
|
695
|
-
* @see {@link MatterSpecification.
|
|
712
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.6
|
|
696
713
|
*/
|
|
697
714
|
timeZone: Attribute(
|
|
698
715
|
0x5,
|
|
@@ -716,7 +733,7 @@ export namespace TimeSynchronization {
|
|
|
716
733
|
* If a time zone does not use DST, this shall be indicated by a single entry with a 0 offset and a null
|
|
717
734
|
* ValidUntil field.
|
|
718
735
|
*
|
|
719
|
-
* @see {@link MatterSpecification.
|
|
736
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.7
|
|
720
737
|
*/
|
|
721
738
|
dstOffset: Attribute(0x6, TlvArray(TlvDstOffset), { persistent: true, default: [] }),
|
|
722
739
|
|
|
@@ -729,7 +746,7 @@ export namespace TimeSynchronization {
|
|
|
729
746
|
* If the node has not achieved time synchronization, this shall be null. If the node has an empty
|
|
730
747
|
* DSTOffset, this shall be null.
|
|
731
748
|
*
|
|
732
|
-
* @see {@link MatterSpecification.
|
|
749
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.8
|
|
733
750
|
*/
|
|
734
751
|
localTime: Attribute(0x7, TlvNullable(TlvEpochUs), { omitChanges: true, default: null }),
|
|
735
752
|
|
|
@@ -738,7 +755,7 @@ export namespace TimeSynchronization {
|
|
|
738
755
|
* their own DSTOffset attribute to add new entries and may push DSTOffset updates to other Nodes in the
|
|
739
756
|
* same time zone as required.
|
|
740
757
|
*
|
|
741
|
-
* @see {@link MatterSpecification.
|
|
758
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.9
|
|
742
759
|
*/
|
|
743
760
|
timeZoneDatabase: FixedAttribute(0x8, TlvEnum<TimeZoneDatabase>(), { default: TimeZoneDatabase.None }),
|
|
744
761
|
|
|
@@ -746,14 +763,14 @@ export namespace TimeSynchronization {
|
|
|
746
763
|
* Number of supported list entries in the TimeZone attribute. This attribute may take the value of 1 or 2,
|
|
747
764
|
* where the optional second list entry may be used to handle scheduled regulatory time zone changes.
|
|
748
765
|
*
|
|
749
|
-
* @see {@link MatterSpecification.
|
|
766
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.11
|
|
750
767
|
*/
|
|
751
768
|
timeZoneListMaxSize: FixedAttribute(0xa, TlvUInt8.bound({ min: 1, max: 2 })),
|
|
752
769
|
|
|
753
770
|
/**
|
|
754
771
|
* Number of supported list entries in DSTOffset attribute. This value must be at least 1.
|
|
755
772
|
*
|
|
756
|
-
* @see {@link MatterSpecification.
|
|
773
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.12
|
|
757
774
|
*/
|
|
758
775
|
dstOffsetListMaxSize: FixedAttribute(0xb, TlvUInt8.bound({ min: 1 }))
|
|
759
776
|
},
|
|
@@ -776,7 +793,7 @@ export namespace TimeSynchronization {
|
|
|
776
793
|
* list. A DSTTableEmpty event shall be generated if the DSTOffset attribute is empty. A DSTStatus event
|
|
777
794
|
* shall be generated if the node was previously applying a DST offset.
|
|
778
795
|
*
|
|
779
|
-
* @see {@link MatterSpecification.
|
|
796
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.3
|
|
780
797
|
*/
|
|
781
798
|
setTimeZone: Command(
|
|
782
799
|
0x2,
|
|
@@ -800,7 +817,7 @@ export namespace TimeSynchronization {
|
|
|
800
817
|
* If the DSTOffset attribute change causes a corresponding change to the DST state, a DSTStatus event shall
|
|
801
818
|
* be generated. If the list is empty, the node shall generate a DSTTableEmpty event.
|
|
802
819
|
*
|
|
803
|
-
* @see {@link MatterSpecification.
|
|
820
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.5
|
|
804
821
|
*/
|
|
805
822
|
setDstOffset: Command(0x4, TlvSetDstOffsetRequest, 0x4, TlvNoResponse, { invokeAcl: AccessLevel.Manage })
|
|
806
823
|
},
|
|
@@ -818,14 +835,14 @@ export namespace TimeSynchronization {
|
|
|
818
835
|
*
|
|
819
836
|
* There is no data for this event.
|
|
820
837
|
*
|
|
821
|
-
* @see {@link MatterSpecification.
|
|
838
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.10.1
|
|
822
839
|
*/
|
|
823
840
|
dstTableEmpty: Event(0x0, EventPriority.Info, TlvNoArguments),
|
|
824
841
|
|
|
825
842
|
/**
|
|
826
843
|
* This event shall be generated when the node starts or stops applying a DST offset.
|
|
827
844
|
*
|
|
828
|
-
* @see {@link MatterSpecification.
|
|
845
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.10.2
|
|
829
846
|
*/
|
|
830
847
|
dstStatus: Event(0x1, EventPriority.Info, TlvDstStatusEvent),
|
|
831
848
|
|
|
@@ -833,7 +850,7 @@ export namespace TimeSynchronization {
|
|
|
833
850
|
* This event shall be generated when the node changes its time zone offset or name. It shall NOT be sent
|
|
834
851
|
* for DST changes that are not accompanied by a time zone change.
|
|
835
852
|
*
|
|
836
|
-
* @see {@link MatterSpecification.
|
|
853
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.10.3
|
|
837
854
|
*/
|
|
838
855
|
timeZoneStatus: Event(0x2, EventPriority.Info, TlvTimeZoneStatusEvent)
|
|
839
856
|
}
|
|
@@ -848,7 +865,7 @@ export namespace TimeSynchronization {
|
|
|
848
865
|
* If the node is running an RFC 5905 NTPv4 compliant server on port 123, this value shall be True. If the
|
|
849
866
|
* node is not currently running an NTP server, this value shall be False.
|
|
850
867
|
*
|
|
851
|
-
* @see {@link MatterSpecification.
|
|
868
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.10
|
|
852
869
|
*/
|
|
853
870
|
ntpServerAvailable: Attribute(0x9, TlvBoolean, { default: false })
|
|
854
871
|
}
|
|
@@ -869,14 +886,14 @@ export namespace TimeSynchronization {
|
|
|
869
886
|
* SetDSTOffset commands, and TimeZone and DSTOffset attributes, and shall expose the local time through the
|
|
870
887
|
* LocalTime attribute.
|
|
871
888
|
*
|
|
872
|
-
* @see {@link MatterSpecification.
|
|
889
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.5.1
|
|
873
890
|
*/
|
|
874
891
|
timeZone: BitFlag(0),
|
|
875
892
|
|
|
876
893
|
/**
|
|
877
894
|
* Allows a node to use NTP/SNTP for time synchronization.
|
|
878
895
|
*
|
|
879
|
-
* @see {@link MatterSpecification.
|
|
896
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.5.2
|
|
880
897
|
*/
|
|
881
898
|
ntpClient: BitFlag(1),
|
|
882
899
|
|
|
@@ -884,14 +901,14 @@ export namespace TimeSynchronization {
|
|
|
884
901
|
* Allows a Node to host an NTP server for the network so that other Nodes can achieve a high accuracy time
|
|
885
902
|
* synchronization within the network. See Section 11.17.15, “Acting as an NTP Server”.
|
|
886
903
|
*
|
|
887
|
-
* @see {@link MatterSpecification.
|
|
904
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.5.3
|
|
888
905
|
*/
|
|
889
906
|
ntpServer: BitFlag(2),
|
|
890
907
|
|
|
891
908
|
/**
|
|
892
909
|
* This node also supports a time synchronization client and can connect to and read time from other nodes.
|
|
893
910
|
*
|
|
894
|
-
* @see {@link MatterSpecification.
|
|
911
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.5.4
|
|
895
912
|
*/
|
|
896
913
|
timeSyncClient: BitFlag(3)
|
|
897
914
|
},
|
|
@@ -904,7 +921,7 @@ export namespace TimeSynchronization {
|
|
|
904
921
|
* If the node has not achieved time synchronization, this shall be null. This attribute may be set when a
|
|
905
922
|
* SetUTCTime is received.
|
|
906
923
|
*
|
|
907
|
-
* @see {@link MatterSpecification.
|
|
924
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.1
|
|
908
925
|
*/
|
|
909
926
|
utcTime: Attribute(0x0, TlvNullable(TlvEpochUs), { omitChanges: true, default: null }),
|
|
910
927
|
|
|
@@ -915,7 +932,7 @@ export namespace TimeSynchronization {
|
|
|
915
932
|
* This value shall be set to NoTimeGranularity if UTCTime is null and shall NOT be set to NoTimeGranularity
|
|
916
933
|
* if UTCTime is non-null.
|
|
917
934
|
*
|
|
918
|
-
* @see {@link MatterSpecification.
|
|
935
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.2
|
|
919
936
|
*/
|
|
920
937
|
granularity: Attribute(0x1, TlvEnum<Granularity>(), { default: Granularity.NoTimeGranularity }),
|
|
921
938
|
|
|
@@ -930,7 +947,7 @@ export namespace TimeSynchronization {
|
|
|
930
947
|
*
|
|
931
948
|
* This value shall be set to None if UTCTime is null and shall NOT be set to None if UTCTime is non-null.
|
|
932
949
|
*
|
|
933
|
-
* @see {@link MatterSpecification.
|
|
950
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.8.3
|
|
934
951
|
*/
|
|
935
952
|
timeSource: OptionalAttribute(0x2, TlvEnum<TimeSource>(), { default: TimeSource.None })
|
|
936
953
|
},
|
|
@@ -953,7 +970,7 @@ export namespace TimeSynchronization {
|
|
|
953
970
|
* it opts to not update its time, it shall fail the command with a cluster specific Status Code of
|
|
954
971
|
* TimeNotAccepted.
|
|
955
972
|
*
|
|
956
|
-
* @see {@link MatterSpecification.
|
|
973
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.9.1
|
|
957
974
|
*/
|
|
958
975
|
setUtcTime: Command(0x0, TlvSetUtcTimeRequest, 0x0, TlvNoResponse, { invokeAcl: AccessLevel.Administer })
|
|
959
976
|
},
|
|
@@ -964,7 +981,7 @@ export namespace TimeSynchronization {
|
|
|
964
981
|
* node is unable to get a time from any source. This event SHOULD NOT be generated more often than once per
|
|
965
982
|
* hour.
|
|
966
983
|
*
|
|
967
|
-
* @see {@link MatterSpecification.
|
|
984
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17.10.4
|
|
968
985
|
*/
|
|
969
986
|
timeFailure: Event(0x3, EventPriority.Info, TlvNoArguments)
|
|
970
987
|
},
|
|
@@ -1000,7 +1017,7 @@ export namespace TimeSynchronization {
|
|
|
1000
1017
|
* TimeSynchronizationCluster supports optional features that you can enable with the
|
|
1001
1018
|
* TimeSynchronizationCluster.with() factory method.
|
|
1002
1019
|
*
|
|
1003
|
-
* @see {@link MatterSpecification.
|
|
1020
|
+
* @see {@link MatterSpecification.v141.Core} § 11.17
|
|
1004
1021
|
*/
|
|
1005
1022
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
1006
1023
|
|