@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
|
@@ -44,7 +44,7 @@ export namespace OperationalState {
|
|
|
44
44
|
*
|
|
45
45
|
* The following table defines the generally applicable states.
|
|
46
46
|
*
|
|
47
|
-
* @see {@link MatterSpecification.
|
|
47
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.4.1
|
|
48
48
|
*/
|
|
49
49
|
export enum OperationalStateEnum {
|
|
50
50
|
/**
|
|
@@ -71,13 +71,13 @@ export namespace OperationalState {
|
|
|
71
71
|
/**
|
|
72
72
|
* The OperationalStateStruct is used to indicate a possible state of the device.
|
|
73
73
|
*
|
|
74
|
-
* @see {@link MatterSpecification.
|
|
74
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.4.2
|
|
75
75
|
*/
|
|
76
76
|
export const TlvOperationalStateStruct = TlvObject({
|
|
77
77
|
/**
|
|
78
78
|
* This shall be populated with a value from the OperationalStateEnum.
|
|
79
79
|
*
|
|
80
|
-
* @see {@link MatterSpecification.
|
|
80
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.4.2.1
|
|
81
81
|
*/
|
|
82
82
|
operationalStateId: TlvField(0, TlvEnum<OperationalStateEnum>()),
|
|
83
83
|
|
|
@@ -86,7 +86,7 @@ export namespace OperationalState {
|
|
|
86
86
|
* States, otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
87
87
|
* operational state.
|
|
88
88
|
*
|
|
89
|
-
* @see {@link MatterSpecification.
|
|
89
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.4.2.2
|
|
90
90
|
*/
|
|
91
91
|
operationalStateLabel: TlvOptionalField(1, TlvString.bound({ maxLength: 64 }))
|
|
92
92
|
});
|
|
@@ -94,7 +94,7 @@ export namespace OperationalState {
|
|
|
94
94
|
/**
|
|
95
95
|
* The OperationalStateStruct is used to indicate a possible state of the device.
|
|
96
96
|
*
|
|
97
|
-
* @see {@link MatterSpecification.
|
|
97
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.4.2
|
|
98
98
|
*/
|
|
99
99
|
export interface OperationalStateStruct extends TypeFromSchema<typeof TlvOperationalStateStruct> {}
|
|
100
100
|
|
|
@@ -117,7 +117,7 @@ export namespace OperationalState {
|
|
|
117
117
|
* The set of ErrorStateID field values defined in each of the generic or derived Operational State cluster
|
|
118
118
|
* specifications is called ErrorState.
|
|
119
119
|
*
|
|
120
|
-
* @see {@link MatterSpecification.
|
|
120
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.4.3
|
|
121
121
|
*/
|
|
122
122
|
export enum ErrorState {
|
|
123
123
|
/**
|
|
@@ -142,13 +142,13 @@ export namespace OperationalState {
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
|
-
* @see {@link MatterSpecification.
|
|
145
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.4.4
|
|
146
146
|
*/
|
|
147
147
|
export const TlvErrorStateStruct = TlvObject({
|
|
148
148
|
/**
|
|
149
149
|
* This shall be populated with a value from the ErrorStateEnum.
|
|
150
150
|
*
|
|
151
|
-
* @see {@link MatterSpecification.
|
|
151
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.4.4.1
|
|
152
152
|
*/
|
|
153
153
|
errorStateId: TlvField(0, TlvEnum<ErrorState>()),
|
|
154
154
|
|
|
@@ -158,7 +158,7 @@ export namespace OperationalState {
|
|
|
158
158
|
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
159
159
|
* special error".
|
|
160
160
|
*
|
|
161
|
-
* @see {@link MatterSpecification.
|
|
161
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.4.4.2
|
|
162
162
|
*/
|
|
163
163
|
errorStateLabel: TlvOptionalField(1, TlvString.bound({ maxLength: 64 })),
|
|
164
164
|
|
|
@@ -167,13 +167,13 @@ export namespace OperationalState {
|
|
|
167
167
|
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
168
168
|
* "left wheel blocked".
|
|
169
169
|
*
|
|
170
|
-
* @see {@link MatterSpecification.
|
|
170
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.4.4.3
|
|
171
171
|
*/
|
|
172
172
|
errorStateDetails: TlvOptionalField(2, TlvString.bound({ maxLength: 64 }))
|
|
173
173
|
});
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
|
-
* @see {@link MatterSpecification.
|
|
176
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.4.4
|
|
177
177
|
*/
|
|
178
178
|
export interface ErrorStateStruct extends TypeFromSchema<typeof TlvErrorStateStruct> {}
|
|
179
179
|
|
|
@@ -184,7 +184,7 @@ export namespace OperationalState {
|
|
|
184
184
|
*
|
|
185
185
|
* This command shall be generated in response to any of the Start, Stop, Pause, or Resume commands.
|
|
186
186
|
*
|
|
187
|
-
* @see {@link MatterSpecification.
|
|
187
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.6.5
|
|
188
188
|
*/
|
|
189
189
|
export const TlvOperationalCommandResponse = TlvObject({
|
|
190
190
|
/**
|
|
@@ -192,7 +192,7 @@ export namespace OperationalState {
|
|
|
192
192
|
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
193
193
|
* sections for additional specific requirements on population.
|
|
194
194
|
*
|
|
195
|
-
* @see {@link MatterSpecification.
|
|
195
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.6.5.1
|
|
196
196
|
*/
|
|
197
197
|
commandResponseState: TlvField(0, TlvErrorStateStruct)
|
|
198
198
|
});
|
|
@@ -204,35 +204,35 @@ export namespace OperationalState {
|
|
|
204
204
|
*
|
|
205
205
|
* This command shall be generated in response to any of the Start, Stop, Pause, or Resume commands.
|
|
206
206
|
*
|
|
207
|
-
* @see {@link MatterSpecification.
|
|
207
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.6.5
|
|
208
208
|
*/
|
|
209
209
|
export interface OperationalCommandResponse extends TypeFromSchema<typeof TlvOperationalCommandResponse> {}
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
212
|
* Body of the OperationalState operationalError event
|
|
213
213
|
*
|
|
214
|
-
* @see {@link MatterSpecification.
|
|
214
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.1
|
|
215
215
|
*/
|
|
216
216
|
export const TlvOperationalErrorEvent = TlvObject({ errorState: TlvField(0, TlvErrorStateStruct) });
|
|
217
217
|
|
|
218
218
|
/**
|
|
219
219
|
* Body of the OperationalState operationalError event
|
|
220
220
|
*
|
|
221
|
-
* @see {@link MatterSpecification.
|
|
221
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.1
|
|
222
222
|
*/
|
|
223
223
|
export interface OperationalErrorEvent extends TypeFromSchema<typeof TlvOperationalErrorEvent> {}
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* Body of the OperationalState operationCompletion event
|
|
227
227
|
*
|
|
228
|
-
* @see {@link MatterSpecification.
|
|
228
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.2
|
|
229
229
|
*/
|
|
230
230
|
export const TlvOperationCompletionEvent = TlvObject({
|
|
231
231
|
/**
|
|
232
232
|
* This field provides an indication of the state at the end of the operation. This field shall have a value
|
|
233
233
|
* from the ErrorStateEnum set. A value of NoError indicates success, that is, no error has been detected.
|
|
234
234
|
*
|
|
235
|
-
* @see {@link MatterSpecification.
|
|
235
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.2.1
|
|
236
236
|
*/
|
|
237
237
|
completionErrorCode: TlvField(0, TlvUInt8),
|
|
238
238
|
|
|
@@ -242,7 +242,7 @@ export namespace OperationalState {
|
|
|
242
242
|
* There may be cases whereby the total operational time exceeds the maximum value that can be conveyed by this
|
|
243
243
|
* attribute, in such instances, this attribute shall be populated with null.
|
|
244
244
|
*
|
|
245
|
-
* @see {@link MatterSpecification.
|
|
245
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.2.2
|
|
246
246
|
*/
|
|
247
247
|
totalOperationalTime: TlvOptionalField(1, TlvNullable(TlvUInt32)),
|
|
248
248
|
|
|
@@ -251,7 +251,7 @@ export namespace OperationalState {
|
|
|
251
251
|
* exceeds the maximum value that can be conveyed by this attribute, in such instances, this attribute shall be
|
|
252
252
|
* populated with null.
|
|
253
253
|
*
|
|
254
|
-
* @see {@link MatterSpecification.
|
|
254
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.2.3
|
|
255
255
|
*/
|
|
256
256
|
pausedTime: TlvOptionalField(2, TlvNullable(TlvUInt32))
|
|
257
257
|
});
|
|
@@ -259,7 +259,7 @@ export namespace OperationalState {
|
|
|
259
259
|
/**
|
|
260
260
|
* Body of the OperationalState operationCompletion event
|
|
261
261
|
*
|
|
262
|
-
* @see {@link MatterSpecification.
|
|
262
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.2
|
|
263
263
|
*/
|
|
264
264
|
export interface OperationCompletionEvent extends TypeFromSchema<typeof TlvOperationCompletionEvent> {}
|
|
265
265
|
|
|
@@ -281,7 +281,7 @@ export namespace OperationalState {
|
|
|
281
281
|
* A null value indicates that the device does not present phases during its operation. When this
|
|
282
282
|
* attribute’s value is null, the CurrentPhase attribute shall also be set to null.
|
|
283
283
|
*
|
|
284
|
-
* @see {@link MatterSpecification.
|
|
284
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.5.1
|
|
285
285
|
*/
|
|
286
286
|
phaseList: Attribute(0x0, TlvNullable(TlvArray(TlvString, { maxLength: 32 }))),
|
|
287
287
|
|
|
@@ -293,7 +293,7 @@ export namespace OperationalState {
|
|
|
293
293
|
*
|
|
294
294
|
* Null if the PhaseList attribute is null or if the PhaseList attribute is an empty list.
|
|
295
295
|
*
|
|
296
|
-
* @see {@link MatterSpecification.
|
|
296
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.5.2
|
|
297
297
|
*/
|
|
298
298
|
currentPhase: Attribute(0x1, TlvNullable(TlvUInt8)),
|
|
299
299
|
|
|
@@ -326,7 +326,7 @@ export namespace OperationalState {
|
|
|
326
326
|
* As this attribute is not being reported during a regular countdown, clients SHOULD NOT rely on the
|
|
327
327
|
* reporting of this attribute in order to keep track of the remaining duration.
|
|
328
328
|
*
|
|
329
|
-
* @see {@link MatterSpecification.
|
|
329
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.5.3
|
|
330
330
|
*/
|
|
331
331
|
countdownTime: OptionalAttribute(0x2, TlvNullable(TlvUInt32.bound({ max: 259200 })), { default: null }),
|
|
332
332
|
|
|
@@ -340,7 +340,7 @@ export namespace OperationalState {
|
|
|
340
340
|
* OperationalStateEnum. A device type requiring implementation of this cluster shall define the set of
|
|
341
341
|
* states that are applicable to that specific device type.
|
|
342
342
|
*
|
|
343
|
-
* @see {@link MatterSpecification.
|
|
343
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.5.4
|
|
344
344
|
*/
|
|
345
345
|
operationalStateList: Attribute(0x3, TlvArray(TlvOperationalStateStruct), { default: [] }),
|
|
346
346
|
|
|
@@ -348,7 +348,7 @@ export namespace OperationalState {
|
|
|
348
348
|
* This attribute specifies the current operational state of a device. This shall be populated with a valid
|
|
349
349
|
* OperationalStateID from the set of values in the OperationalStateList Attribute.
|
|
350
350
|
*
|
|
351
|
-
* @see {@link MatterSpecification.
|
|
351
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.5.5
|
|
352
352
|
*/
|
|
353
353
|
operationalState: Attribute(0x4, TlvEnum<OperationalStateEnum>()),
|
|
354
354
|
|
|
@@ -359,7 +359,7 @@ export namespace OperationalState {
|
|
|
359
359
|
*
|
|
360
360
|
* When there is no error detected, this shall have an ErrorStateID of NoError.
|
|
361
361
|
*
|
|
362
|
-
* @see {@link MatterSpecification.
|
|
362
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.5.6
|
|
363
363
|
*/
|
|
364
364
|
operationalError: Attribute(0x5, TlvErrorStateStruct)
|
|
365
365
|
},
|
|
@@ -402,7 +402,7 @@ export namespace OperationalState {
|
|
|
402
402
|
*
|
|
403
403
|
* ### Table 3. Pause Compatibility
|
|
404
404
|
*
|
|
405
|
-
* @see {@link MatterSpecification.
|
|
405
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.6.1
|
|
406
406
|
*/
|
|
407
407
|
pause: OptionalCommand(0x0, TlvNoArguments, 0x4, TlvOperationalCommandResponse),
|
|
408
408
|
|
|
@@ -427,7 +427,7 @@ export namespace OperationalState {
|
|
|
427
427
|
*
|
|
428
428
|
* • The device shall respond with an OperationalCommandResponse command with an ErrorStateID of NoError.
|
|
429
429
|
*
|
|
430
|
-
* @see {@link MatterSpecification.
|
|
430
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.6.2
|
|
431
431
|
*/
|
|
432
432
|
stop: OptionalCommand(0x1, TlvNoArguments, 0x4, TlvOperationalCommandResponse),
|
|
433
433
|
|
|
@@ -454,7 +454,7 @@ export namespace OperationalState {
|
|
|
454
454
|
*
|
|
455
455
|
* • The device shall respond with an OperationalCommandResponse command with an ErrorStateID of NoError.
|
|
456
456
|
*
|
|
457
|
-
* @see {@link MatterSpecification.
|
|
457
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.6.3
|
|
458
458
|
*/
|
|
459
459
|
start: OptionalCommand(0x2, TlvNoArguments, 0x4, TlvOperationalCommandResponse),
|
|
460
460
|
|
|
@@ -496,7 +496,7 @@ export namespace OperationalState {
|
|
|
496
496
|
*
|
|
497
497
|
* • The device shall respond with an OperationalCommandResponse command with an ErrorStateID of NoError.
|
|
498
498
|
*
|
|
499
|
-
* @see {@link MatterSpecification.
|
|
499
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.6.4
|
|
500
500
|
*/
|
|
501
501
|
resume: OptionalCommand(0x3, TlvNoArguments, 0x4, TlvOperationalCommandResponse)
|
|
502
502
|
},
|
|
@@ -508,7 +508,7 @@ export namespace OperationalState {
|
|
|
508
508
|
*
|
|
509
509
|
* This event shall contain the following fields:
|
|
510
510
|
*
|
|
511
|
-
* @see {@link MatterSpecification.
|
|
511
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.1
|
|
512
512
|
*/
|
|
513
513
|
operationalError: Event(0x0, EventPriority.Critical, TlvOperationalErrorEvent),
|
|
514
514
|
|
|
@@ -523,7 +523,7 @@ export namespace OperationalState {
|
|
|
523
523
|
*
|
|
524
524
|
* This event shall contain the following fields:
|
|
525
525
|
*
|
|
526
|
-
* @see {@link MatterSpecification.
|
|
526
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.2
|
|
527
527
|
*/
|
|
528
528
|
operationCompletion: OptionalEvent(0x1, EventPriority.Info, TlvOperationCompletionEvent)
|
|
529
529
|
}
|
|
@@ -549,7 +549,7 @@ export namespace OperationalState {
|
|
|
549
549
|
*
|
|
550
550
|
* Additionally, this cluster provides events for monitoring the operational state of the device.
|
|
551
551
|
*
|
|
552
|
-
* @see {@link MatterSpecification.
|
|
552
|
+
* @see {@link MatterSpecification.v141.Cluster} § 1.14
|
|
553
553
|
*/
|
|
554
554
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
555
555
|
|
|
@@ -15,6 +15,8 @@ import { TlvArray } from "../tlv/TlvArray.js";
|
|
|
15
15
|
import { TlvString, TlvByteString } from "../tlv/TlvString.js";
|
|
16
16
|
import { TlvBoolean } from "../tlv/TlvBoolean.js";
|
|
17
17
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
18
|
+
import { StatusResponseError } from "../common/StatusResponseError.js";
|
|
19
|
+
import { Status as GlobalStatus } from "../globals/Status.js";
|
|
18
20
|
import { Identity } from "#general";
|
|
19
21
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
20
22
|
|
|
@@ -23,7 +25,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
23
25
|
* Note that only HTTP over TLS (HTTPS) is supported (see RFC 7230). Using HTTP without TLS shall NOT be supported,
|
|
24
26
|
* as there is no way to authenticate the involved participants.
|
|
25
27
|
*
|
|
26
|
-
* @see {@link MatterSpecification.
|
|
28
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.4.3
|
|
27
29
|
*/
|
|
28
30
|
export enum DownloadProtocol {
|
|
29
31
|
/**
|
|
@@ -50,14 +52,14 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
50
52
|
/**
|
|
51
53
|
* Input to the OtaSoftwareUpdateProvider queryImage command
|
|
52
54
|
*
|
|
53
|
-
* @see {@link MatterSpecification.
|
|
55
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.1
|
|
54
56
|
*/
|
|
55
57
|
export const TlvQueryImageRequest = TlvObject({
|
|
56
58
|
/**
|
|
57
59
|
* The value shall be the Vendor ID applying to the OTA Requestor’s Node and shall match the value reported by
|
|
58
60
|
* the Basic Information Cluster VendorID attribute.
|
|
59
61
|
*
|
|
60
|
-
* @see {@link MatterSpecification.
|
|
62
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.1.1
|
|
61
63
|
*/
|
|
62
64
|
vendorId: TlvField(0, TlvVendorId),
|
|
63
65
|
|
|
@@ -65,7 +67,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
65
67
|
* The value shall be the Product ID applying to the OTA Requestor’s Node and shall match the value reported by
|
|
66
68
|
* the Basic Information Cluster ProductID attribute.
|
|
67
69
|
*
|
|
68
|
-
* @see {@link MatterSpecification.
|
|
70
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.1.2
|
|
69
71
|
*/
|
|
70
72
|
productId: TlvField(1, TlvUInt16),
|
|
71
73
|
|
|
@@ -74,7 +76,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
74
76
|
* running on the OTA Requestor invoking the command. This version shall be equal to the Software Version
|
|
75
77
|
* attribute of the Basic Information Cluster.
|
|
76
78
|
*
|
|
77
|
-
* @see {@link MatterSpecification.
|
|
79
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.1.3
|
|
78
80
|
*/
|
|
79
81
|
softwareVersion: TlvField(2, TlvUInt32),
|
|
80
82
|
|
|
@@ -93,7 +95,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
93
95
|
* See Section 11.20.3.2, “Querying the OTA Provider” and Section 11.20.3.5, “Transfer of OTA Software Update
|
|
94
96
|
* images” for more details about usage of this field.
|
|
95
97
|
*
|
|
96
|
-
* @see {@link MatterSpecification.
|
|
98
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.1.4
|
|
97
99
|
*/
|
|
98
100
|
protocolsSupported: TlvField(3, TlvArray(TlvEnum<DownloadProtocol>(), { maxLength: 8 })),
|
|
99
101
|
|
|
@@ -101,7 +103,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
101
103
|
* The value of this field, if present, shall contain the OTA Requestor’s hardware version, and shall be equal
|
|
102
104
|
* to the HardwareVersion attribute of the Basic Information Cluster.
|
|
103
105
|
*
|
|
104
|
-
* @see {@link MatterSpecification.
|
|
106
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.1.5
|
|
105
107
|
*/
|
|
106
108
|
hardwareVersion: TlvOptionalField(4, TlvUInt16),
|
|
107
109
|
|
|
@@ -110,7 +112,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
110
112
|
* for the OTA Requestor as configured. This may be used by the OTA Provider logic to allow per-region selection
|
|
111
113
|
* of the Software Image.
|
|
112
114
|
*
|
|
113
|
-
* @see {@link MatterSpecification.
|
|
115
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.1.6
|
|
114
116
|
*/
|
|
115
117
|
location: TlvOptionalField(5, TlvString.bound({ length: 2 })),
|
|
116
118
|
|
|
@@ -120,7 +122,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
120
122
|
*
|
|
121
123
|
* See Section 11.20.3.4, “Obtaining user consent for updating software” for application details about usage.
|
|
122
124
|
*
|
|
123
|
-
* @see {@link MatterSpecification.
|
|
125
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.1.7
|
|
124
126
|
*/
|
|
125
127
|
requestorCanConsent: TlvOptionalField(6, TlvBoolean),
|
|
126
128
|
|
|
@@ -152,7 +154,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
152
154
|
* See Section 11.20.3.2, “Querying the OTA Provider” for full details about the OTA Software Update Query flow
|
|
153
155
|
* which makes use of this command.
|
|
154
156
|
*
|
|
155
|
-
* @see {@link MatterSpecification.
|
|
157
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.1.8
|
|
156
158
|
*/
|
|
157
159
|
metadataForProvider: TlvOptionalField(7, TlvByteString.bound({ maxLength: 512 }))
|
|
158
160
|
});
|
|
@@ -160,14 +162,14 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
160
162
|
/**
|
|
161
163
|
* Input to the OtaSoftwareUpdateProvider queryImage command
|
|
162
164
|
*
|
|
163
|
-
* @see {@link MatterSpecification.
|
|
165
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.1
|
|
164
166
|
*/
|
|
165
167
|
export interface QueryImageRequest extends TypeFromSchema<typeof TlvQueryImageRequest> {}
|
|
166
168
|
|
|
167
169
|
/**
|
|
168
170
|
* See Section 11.20.3.2, “Querying the OTA Provider” for the semantics of these values.
|
|
169
171
|
*
|
|
170
|
-
* @see {@link MatterSpecification.
|
|
172
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.4.1
|
|
171
173
|
*/
|
|
172
174
|
export enum Status {
|
|
173
175
|
/**
|
|
@@ -192,7 +194,67 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
192
194
|
}
|
|
193
195
|
|
|
194
196
|
/**
|
|
195
|
-
*
|
|
197
|
+
* Thrown for cluster status code {@link Status.UpdateAvailable}.
|
|
198
|
+
*
|
|
199
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.4.1
|
|
200
|
+
*/
|
|
201
|
+
export class UpdateAvailableError extends StatusResponseError {
|
|
202
|
+
constructor(
|
|
203
|
+
message = "Indicates that the OTA Provider has an update available",
|
|
204
|
+
code = GlobalStatus.Failure,
|
|
205
|
+
clusterCode = Status.UpdateAvailable
|
|
206
|
+
) {
|
|
207
|
+
super(message, code, clusterCode);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Thrown for cluster status code {@link Status.Busy}.
|
|
213
|
+
*
|
|
214
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.4.1
|
|
215
|
+
*/
|
|
216
|
+
export class BusyError extends StatusResponseError {
|
|
217
|
+
constructor(
|
|
218
|
+
message = "Indicates OTA Provider may have an update, but it is not ready yet",
|
|
219
|
+
code = GlobalStatus.Failure,
|
|
220
|
+
clusterCode = Status.Busy
|
|
221
|
+
) {
|
|
222
|
+
super(message, code, clusterCode);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Thrown for cluster status code {@link Status.NotAvailable}.
|
|
228
|
+
*
|
|
229
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.4.1
|
|
230
|
+
*/
|
|
231
|
+
export class NotAvailableError extends StatusResponseError {
|
|
232
|
+
constructor(
|
|
233
|
+
message = "Indicates that there is definitely no update currently available from the OTA Provider",
|
|
234
|
+
code = GlobalStatus.Failure,
|
|
235
|
+
clusterCode = Status.NotAvailable
|
|
236
|
+
) {
|
|
237
|
+
super(message, code, clusterCode);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Thrown for cluster status code {@link Status.DownloadProtocolNotSupported}.
|
|
243
|
+
*
|
|
244
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.4.1
|
|
245
|
+
*/
|
|
246
|
+
export class DownloadProtocolNotSupportedError extends StatusResponseError {
|
|
247
|
+
constructor(
|
|
248
|
+
message = "Indicates that the requested download protocol is not supported by the OTA Provider",
|
|
249
|
+
code = GlobalStatus.Failure,
|
|
250
|
+
clusterCode = Status.DownloadProtocolNotSupported
|
|
251
|
+
) {
|
|
252
|
+
super(message, code, clusterCode);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.2
|
|
196
258
|
*/
|
|
197
259
|
export const TlvQueryImageResponse = TlvObject({
|
|
198
260
|
/**
|
|
@@ -201,7 +263,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
201
263
|
* See Section 11.20.3.2, “Querying the OTA Provider” for details about the possible values for this field and
|
|
202
264
|
* their meaning.
|
|
203
265
|
*
|
|
204
|
-
* @see {@link MatterSpecification.
|
|
266
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.2.1
|
|
205
267
|
*/
|
|
206
268
|
status: TlvField(0, TlvEnum<Status>()),
|
|
207
269
|
|
|
@@ -216,7 +278,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
216
278
|
*
|
|
217
279
|
* See Section 11.20.3.2, “Querying the OTA Provider” for details about the rules regarding this field.
|
|
218
280
|
*
|
|
219
|
-
* @see {@link MatterSpecification.
|
|
281
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.2.2
|
|
220
282
|
*/
|
|
221
283
|
delayedActionTime: TlvOptionalField(1, TlvUInt32),
|
|
222
284
|
|
|
@@ -317,7 +379,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
317
379
|
*
|
|
318
380
|
* See Section 11.20.3.2, “Querying the OTA Provider” for additional details about the flow.
|
|
319
381
|
*
|
|
320
|
-
* @see {@link MatterSpecification.
|
|
382
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.2.3
|
|
321
383
|
*/
|
|
322
384
|
imageUri: TlvOptionalField(2, TlvString.bound({ maxLength: 256 })),
|
|
323
385
|
|
|
@@ -330,7 +392,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
330
392
|
* See Section 11.20.3.2, “Querying the OTA Provider” for additional details about the flow and acceptable
|
|
331
393
|
* values.
|
|
332
394
|
*
|
|
333
|
-
* @see {@link MatterSpecification.
|
|
395
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.2.4
|
|
334
396
|
*/
|
|
335
397
|
softwareVersion: TlvOptionalField(3, TlvUInt32),
|
|
336
398
|
|
|
@@ -343,7 +405,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
343
405
|
* See Section 11.20.3.2, “Querying the OTA Provider” for additional details about the flow and acceptable
|
|
344
406
|
* values.
|
|
345
407
|
*
|
|
346
|
-
* @see {@link MatterSpecification.
|
|
408
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.2.5
|
|
347
409
|
*/
|
|
348
410
|
softwareVersionString: TlvOptionalField(4, TlvString.bound({ minLength: 1, maxLength: 64 })),
|
|
349
411
|
|
|
@@ -353,7 +415,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
353
415
|
* See Section 11.20.3.6.1, “UpdateToken usage” for additional details about the generation and usage of
|
|
354
416
|
* UpdateToken.
|
|
355
417
|
*
|
|
356
|
-
* @see {@link MatterSpecification.
|
|
418
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.2.6
|
|
357
419
|
*/
|
|
358
420
|
updateToken: TlvOptionalField(5, TlvByteString.bound({ minLength: 8, maxLength: 32 })),
|
|
359
421
|
|
|
@@ -365,7 +427,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
365
427
|
*
|
|
366
428
|
* See Section 11.20.3.4, “Obtaining user consent for updating software” for application details about usage.
|
|
367
429
|
*
|
|
368
|
-
* @see {@link MatterSpecification.
|
|
430
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.2.7
|
|
369
431
|
*/
|
|
370
432
|
userConsentNeeded: TlvOptionalField(6, TlvBoolean),
|
|
371
433
|
|
|
@@ -382,20 +444,20 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
382
444
|
* by an OTA Provider with this additional knowledge if it has knowledge that the receiving OTA Requestor may be
|
|
383
445
|
* able to use it.
|
|
384
446
|
*
|
|
385
|
-
* @see {@link MatterSpecification.
|
|
447
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.2.8
|
|
386
448
|
*/
|
|
387
449
|
metadataForRequestor: TlvOptionalField(7, TlvByteString.bound({ maxLength: 512 }))
|
|
388
450
|
});
|
|
389
451
|
|
|
390
452
|
/**
|
|
391
|
-
* @see {@link MatterSpecification.
|
|
453
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.2
|
|
392
454
|
*/
|
|
393
455
|
export interface QueryImageResponse extends TypeFromSchema<typeof TlvQueryImageResponse> {}
|
|
394
456
|
|
|
395
457
|
/**
|
|
396
458
|
* Input to the OtaSoftwareUpdateProvider applyUpdateRequest command
|
|
397
459
|
*
|
|
398
|
-
* @see {@link MatterSpecification.
|
|
460
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.3
|
|
399
461
|
*/
|
|
400
462
|
export const TlvApplyUpdateRequest = TlvObject({
|
|
401
463
|
/**
|
|
@@ -403,7 +465,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
403
465
|
* may be used by the OTA Provider to track minimal lifecycle state to allow finer-grained scheduling of the
|
|
404
466
|
* application of Software Images by OTA Requestors.
|
|
405
467
|
*
|
|
406
|
-
* @see {@link MatterSpecification.
|
|
468
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.3.1
|
|
407
469
|
*/
|
|
408
470
|
updateToken: TlvField(0, TlvByteString.bound({ minLength: 8, maxLength: 32 })),
|
|
409
471
|
|
|
@@ -427,7 +489,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
427
489
|
*
|
|
428
490
|
* See Section 11.20.3.6, “Applying a software update” for all error-handling information.
|
|
429
491
|
*
|
|
430
|
-
* @see {@link MatterSpecification.
|
|
492
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.3.2
|
|
431
493
|
*/
|
|
432
494
|
newVersion: TlvField(1, TlvUInt32)
|
|
433
495
|
});
|
|
@@ -435,7 +497,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
435
497
|
/**
|
|
436
498
|
* Input to the OtaSoftwareUpdateProvider applyUpdateRequest command
|
|
437
499
|
*
|
|
438
|
-
* @see {@link MatterSpecification.
|
|
500
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.3
|
|
439
501
|
*/
|
|
440
502
|
export interface ApplyUpdateRequest extends TypeFromSchema<typeof TlvApplyUpdateRequest> {}
|
|
441
503
|
|
|
@@ -443,7 +505,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
443
505
|
* See Section 11.20.3.6, “Applying a software update” for the semantics of the values. This enumeration is used in
|
|
444
506
|
* the Action field of the ApplyUpdateResponse command. See (Action).
|
|
445
507
|
*
|
|
446
|
-
* @see {@link MatterSpecification.
|
|
508
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.4.2
|
|
447
509
|
*/
|
|
448
510
|
export enum ApplyUpdateAction {
|
|
449
511
|
/**
|
|
@@ -463,7 +525,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
463
525
|
}
|
|
464
526
|
|
|
465
527
|
/**
|
|
466
|
-
* @see {@link MatterSpecification.
|
|
528
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.4
|
|
467
529
|
*/
|
|
468
530
|
export const TlvApplyUpdateResponse = TlvObject({
|
|
469
531
|
/**
|
|
@@ -471,7 +533,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
471
533
|
* 11.20.3.6, “Applying a software update” for a description of the Action values provided in response to an OTA
|
|
472
534
|
* Provider receiving an invocation of this command.
|
|
473
535
|
*
|
|
474
|
-
* @see {@link MatterSpecification.
|
|
536
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.4.1
|
|
475
537
|
*/
|
|
476
538
|
action: TlvField(0, TlvEnum<ApplyUpdateAction>()),
|
|
477
539
|
|
|
@@ -481,26 +543,26 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
481
543
|
* If this field has a value higher than 86400 seconds (24 hours), then the OTA Requestor may assume a value of
|
|
482
544
|
* 86400, in order to reduce undue Software Image application delays.
|
|
483
545
|
*
|
|
484
|
-
* @see {@link MatterSpecification.
|
|
546
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.4.2
|
|
485
547
|
*/
|
|
486
548
|
delayedActionTime: TlvField(1, TlvUInt32)
|
|
487
549
|
});
|
|
488
550
|
|
|
489
551
|
/**
|
|
490
|
-
* @see {@link MatterSpecification.
|
|
552
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.4
|
|
491
553
|
*/
|
|
492
554
|
export interface ApplyUpdateResponse extends TypeFromSchema<typeof TlvApplyUpdateResponse> {}
|
|
493
555
|
|
|
494
556
|
/**
|
|
495
557
|
* Input to the OtaSoftwareUpdateProvider notifyUpdateApplied command
|
|
496
558
|
*
|
|
497
|
-
* @see {@link MatterSpecification.
|
|
559
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.5
|
|
498
560
|
*/
|
|
499
561
|
export const TlvNotifyUpdateAppliedRequest = TlvObject({
|
|
500
562
|
/**
|
|
501
563
|
* This field shall contain the UpdateToken as specified in Section 11.20.3.6.1, “UpdateToken usage”.
|
|
502
564
|
*
|
|
503
|
-
* @see {@link MatterSpecification.
|
|
565
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.5.1
|
|
504
566
|
*/
|
|
505
567
|
updateToken: TlvField(0, TlvByteString.bound({ minLength: 8, maxLength: 32 })),
|
|
506
568
|
|
|
@@ -530,7 +592,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
530
592
|
* On receiving this command, an OTA Provider may use the information to update its bookkeeping of cached
|
|
531
593
|
* Software Images, or use it for other similar administrative purposes.
|
|
532
594
|
*
|
|
533
|
-
* @see {@link MatterSpecification.
|
|
595
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.5.2
|
|
534
596
|
*/
|
|
535
597
|
softwareVersion: TlvField(1, TlvUInt32)
|
|
536
598
|
});
|
|
@@ -538,7 +600,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
538
600
|
/**
|
|
539
601
|
* Input to the OtaSoftwareUpdateProvider notifyUpdateApplied command
|
|
540
602
|
*
|
|
541
|
-
* @see {@link MatterSpecification.
|
|
603
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.5
|
|
542
604
|
*/
|
|
543
605
|
export interface NotifyUpdateAppliedRequest extends TypeFromSchema<typeof TlvNotifyUpdateAppliedRequest> {}
|
|
544
606
|
|
|
@@ -555,24 +617,24 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
555
617
|
* Upon receipt, this command shall trigger an attempt to find an updated Software Image by the OTA Provider
|
|
556
618
|
* to match the OTA Requestor’s constraints provided in the payload fields.
|
|
557
619
|
*
|
|
558
|
-
* @see {@link MatterSpecification.
|
|
620
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.1
|
|
559
621
|
*/
|
|
560
622
|
queryImage: Command(0x0, TlvQueryImageRequest, 0x1, TlvQueryImageResponse),
|
|
561
623
|
|
|
562
624
|
/**
|
|
563
|
-
* @see {@link MatterSpecification.
|
|
625
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.3
|
|
564
626
|
*/
|
|
565
627
|
applyUpdateRequest: Command(0x2, TlvApplyUpdateRequest, 0x3, TlvApplyUpdateResponse),
|
|
566
628
|
|
|
567
629
|
/**
|
|
568
|
-
* @see {@link MatterSpecification.
|
|
630
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6.5.5
|
|
569
631
|
*/
|
|
570
632
|
notifyUpdateApplied: Command(0x4, TlvNotifyUpdateAppliedRequest, 0x4, TlvNoResponse)
|
|
571
633
|
}
|
|
572
634
|
});
|
|
573
635
|
|
|
574
636
|
/**
|
|
575
|
-
* @see {@link MatterSpecification.
|
|
637
|
+
* @see {@link MatterSpecification.v141.Core} § 11.20.6
|
|
576
638
|
*/
|
|
577
639
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
578
640
|
|