@matter/types 0.13.0-alpha.0-20250328-6dde053de → 0.13.0-alpha.0-20250330-df5a17eba
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 +51 -51
- package/dist/cjs/clusters/administrator-commissioning.js +12 -12
- package/dist/cjs/clusters/air-quality.d.ts +5 -5
- package/dist/cjs/clusters/air-quality.js +1 -1
- package/dist/cjs/clusters/alarm-base.d.ts +43 -43
- package/dist/cjs/clusters/alarm-base.js +14 -14
- package/dist/cjs/clusters/application-basic.d.ts +16 -16
- package/dist/cjs/clusters/application-basic.js +10 -10
- package/dist/cjs/clusters/application-launcher.d.ts +99 -99
- package/dist/cjs/clusters/application-launcher.js +13 -13
- package/dist/cjs/clusters/audio-output.d.ts +37 -37
- package/dist/cjs/clusters/audio-output.js +8 -8
- package/dist/cjs/clusters/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 +559 -559
- package/dist/cjs/clusters/channel.js +73 -73
- package/dist/cjs/clusters/color-control.d.ts +658 -658
- package/dist/cjs/clusters/color-control.js +116 -116
- package/dist/cjs/clusters/commissioner-control.d.ts +16 -16
- package/dist/cjs/clusters/commissioner-control.js +5 -5
- package/dist/cjs/clusters/concentration-measurement.d.ts +26 -26
- package/dist/cjs/clusters/concentration-measurement.js +11 -11
- package/dist/cjs/clusters/content-app-observer.d.ts +17 -17
- package/dist/cjs/clusters/content-app-observer.js +6 -6
- package/dist/cjs/clusters/content-control.d.ts +356 -356
- package/dist/cjs/clusters/content-control.js +58 -58
- package/dist/cjs/clusters/content-launcher.d.ts +475 -475
- package/dist/cjs/clusters/content-launcher.js +39 -39
- 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 +33 -33
- package/dist/cjs/clusters/diagnostic-logs.js +8 -8
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/cjs/clusters/dishwasher-alarm.js +14 -14
- package/dist/cjs/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/cjs/clusters/dishwasher-mode.js +8 -8
- package/dist/cjs/clusters/door-lock.d.ts +1350 -1350
- package/dist/cjs/clusters/door-lock.js +229 -229
- 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-cluster.d.ts +175 -175
- package/dist/cjs/clusters/joint-fabric-datastore-cluster.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 +16 -16
- package/dist/cjs/clusters/keypad-input.js +3 -3
- package/dist/cjs/clusters/label.d.ts +10 -10
- package/dist/cjs/clusters/label.js +3 -3
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/cjs/clusters/laundry-dryer-controls.js +2 -2
- package/dist/cjs/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/cjs/clusters/laundry-washer-controls.js +6 -6
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +43 -43
- package/dist/cjs/clusters/laundry-washer-mode.js +8 -8
- package/dist/cjs/clusters/level-control.d.ts +307 -307
- package/dist/cjs/clusters/level-control.js +33 -33
- 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 +385 -385
- package/dist/cjs/clusters/media-playback.js +57 -57
- package/dist/cjs/clusters/messages.d.ts +154 -154
- package/dist/cjs/clusters/messages.js +38 -38
- package/dist/cjs/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/cjs/clusters/microwave-oven-control.js +17 -17
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/cjs/clusters/microwave-oven-mode.js +7 -7
- package/dist/cjs/clusters/mode-base.d.ts +59 -59
- package/dist/cjs/clusters/mode-base.js +13 -13
- package/dist/cjs/clusters/mode-select.d.ts +51 -51
- package/dist/cjs/clusters/mode-select.js +13 -13
- package/dist/cjs/clusters/network-commissioning.d.ts +325 -325
- package/dist/cjs/clusters/network-commissioning.js +46 -46
- package/dist/cjs/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/cjs/clusters/occupancy-sensing.js +20 -20
- package/dist/cjs/clusters/on-off.d.ts +103 -103
- package/dist/cjs/clusters/on-off.js +19 -19
- package/dist/cjs/clusters/operational-credentials.d.ts +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 +61 -61
- package/dist/cjs/clusters/ota-software-update-provider.js +25 -25
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/cjs/clusters/ota-software-update-requestor.js +25 -25
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +9 -9
- package/dist/cjs/clusters/oven-cavity-operational-state.js +8 -8
- package/dist/cjs/clusters/oven-mode.d.ts +49 -49
- package/dist/cjs/clusters/oven-mode.js +8 -8
- package/dist/cjs/clusters/power-source-configuration.d.ts +2 -2
- package/dist/cjs/clusters/power-source-configuration.js +1 -1
- package/dist/cjs/clusters/power-source.d.ts +155 -155
- package/dist/cjs/clusters/power-source.js +41 -41
- package/dist/cjs/clusters/power-topology.d.ts +8 -8
- package/dist/cjs/clusters/power-topology.js +2 -2
- package/dist/cjs/clusters/pressure-measurement.d.ts +25 -25
- package/dist/cjs/clusters/pressure-measurement.js +9 -9
- package/dist/cjs/clusters/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 +43 -43
- package/dist/cjs/clusters/rvc-clean-mode.js +8 -8
- package/dist/cjs/clusters/rvc-operational-state.d.ts +44 -44
- package/dist/cjs/clusters/rvc-operational-state.js +15 -15
- package/dist/cjs/clusters/rvc-run-mode.d.ts +50 -50
- package/dist/cjs/clusters/rvc-run-mode.js +8 -8
- 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 +135 -135
- package/dist/cjs/clusters/smoke-co-alarm.js +30 -30
- package/dist/cjs/clusters/software-diagnostics.d.ts +53 -53
- package/dist/cjs/clusters/software-diagnostics.js +14 -14
- package/dist/cjs/clusters/switch.d.ts +105 -105
- package/dist/cjs/clusters/switch.js +23 -23
- package/dist/cjs/clusters/target-navigator.d.ts +30 -30
- package/dist/cjs/clusters/target-navigator.js +10 -10
- package/dist/cjs/clusters/temperature-control.d.ts +45 -45
- package/dist/cjs/clusters/temperature-control.js +12 -12
- package/dist/cjs/clusters/temperature-measurement.d.ts +5 -5
- package/dist/cjs/clusters/temperature-measurement.js +4 -4
- package/dist/cjs/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/cjs/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/cjs/clusters/thermostat.d.ts +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 +245 -245
- package/dist/cjs/clusters/time-synchronization.js +47 -47
- 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 +80 -80
- package/dist/cjs/clusters/valve-configuration-and-control.js +22 -22
- package/dist/cjs/clusters/wake-on-lan.d.ts +3 -3
- package/dist/cjs/clusters/wake-on-lan.js +2 -2
- package/dist/cjs/clusters/water-heater-management.d.ts +91 -91
- package/dist/cjs/clusters/water-heater-management.js +16 -16
- package/dist/cjs/clusters/water-heater-mode.d.ts +42 -42
- package/dist/cjs/clusters/water-heater-mode.js +8 -8
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/cjs/clusters/wi-fi-network-management.d.ts +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/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 +51 -51
- package/dist/esm/clusters/administrator-commissioning.js +12 -12
- package/dist/esm/clusters/air-quality.d.ts +5 -5
- package/dist/esm/clusters/air-quality.js +1 -1
- package/dist/esm/clusters/alarm-base.d.ts +43 -43
- package/dist/esm/clusters/alarm-base.js +14 -14
- package/dist/esm/clusters/application-basic.d.ts +16 -16
- package/dist/esm/clusters/application-basic.js +10 -10
- package/dist/esm/clusters/application-launcher.d.ts +99 -99
- package/dist/esm/clusters/application-launcher.js +13 -13
- package/dist/esm/clusters/audio-output.d.ts +37 -37
- package/dist/esm/clusters/audio-output.js +8 -8
- package/dist/esm/clusters/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 +559 -559
- package/dist/esm/clusters/channel.js +73 -73
- package/dist/esm/clusters/color-control.d.ts +658 -658
- package/dist/esm/clusters/color-control.js +116 -116
- package/dist/esm/clusters/commissioner-control.d.ts +16 -16
- package/dist/esm/clusters/commissioner-control.js +5 -5
- package/dist/esm/clusters/concentration-measurement.d.ts +26 -26
- package/dist/esm/clusters/concentration-measurement.js +11 -11
- package/dist/esm/clusters/content-app-observer.d.ts +17 -17
- package/dist/esm/clusters/content-app-observer.js +6 -6
- package/dist/esm/clusters/content-control.d.ts +356 -356
- package/dist/esm/clusters/content-control.js +58 -58
- package/dist/esm/clusters/content-launcher.d.ts +475 -475
- package/dist/esm/clusters/content-launcher.js +39 -39
- 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 +33 -33
- package/dist/esm/clusters/diagnostic-logs.js +8 -8
- package/dist/esm/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/esm/clusters/dishwasher-alarm.js +14 -14
- package/dist/esm/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/esm/clusters/dishwasher-mode.js +8 -8
- package/dist/esm/clusters/door-lock.d.ts +1350 -1350
- package/dist/esm/clusters/door-lock.js +229 -229
- 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-cluster.d.ts +175 -175
- package/dist/esm/clusters/joint-fabric-datastore-cluster.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 +16 -16
- package/dist/esm/clusters/keypad-input.js +3 -3
- package/dist/esm/clusters/label.d.ts +10 -10
- package/dist/esm/clusters/label.js +3 -3
- package/dist/esm/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/esm/clusters/laundry-dryer-controls.js +2 -2
- package/dist/esm/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/esm/clusters/laundry-washer-controls.js +6 -6
- package/dist/esm/clusters/laundry-washer-mode.d.ts +43 -43
- package/dist/esm/clusters/laundry-washer-mode.js +8 -8
- package/dist/esm/clusters/level-control.d.ts +307 -307
- package/dist/esm/clusters/level-control.js +33 -33
- 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 +385 -385
- package/dist/esm/clusters/media-playback.js +57 -57
- package/dist/esm/clusters/messages.d.ts +154 -154
- package/dist/esm/clusters/messages.js +38 -38
- package/dist/esm/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/esm/clusters/microwave-oven-control.js +17 -17
- package/dist/esm/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/esm/clusters/microwave-oven-mode.js +7 -7
- package/dist/esm/clusters/mode-base.d.ts +59 -59
- package/dist/esm/clusters/mode-base.js +13 -13
- package/dist/esm/clusters/mode-select.d.ts +51 -51
- package/dist/esm/clusters/mode-select.js +13 -13
- package/dist/esm/clusters/network-commissioning.d.ts +325 -325
- package/dist/esm/clusters/network-commissioning.js +46 -46
- package/dist/esm/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/esm/clusters/occupancy-sensing.js +20 -20
- package/dist/esm/clusters/on-off.d.ts +103 -103
- package/dist/esm/clusters/on-off.js +19 -19
- package/dist/esm/clusters/operational-credentials.d.ts +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 +61 -61
- package/dist/esm/clusters/ota-software-update-provider.js +25 -25
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/esm/clusters/ota-software-update-requestor.js +25 -25
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +9 -9
- package/dist/esm/clusters/oven-cavity-operational-state.js +8 -8
- package/dist/esm/clusters/oven-mode.d.ts +49 -49
- package/dist/esm/clusters/oven-mode.js +8 -8
- package/dist/esm/clusters/power-source-configuration.d.ts +2 -2
- package/dist/esm/clusters/power-source-configuration.js +1 -1
- package/dist/esm/clusters/power-source.d.ts +155 -155
- package/dist/esm/clusters/power-source.js +41 -41
- package/dist/esm/clusters/power-topology.d.ts +8 -8
- package/dist/esm/clusters/power-topology.js +2 -2
- package/dist/esm/clusters/pressure-measurement.d.ts +25 -25
- package/dist/esm/clusters/pressure-measurement.js +9 -9
- package/dist/esm/clusters/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 +43 -43
- package/dist/esm/clusters/rvc-clean-mode.js +8 -8
- package/dist/esm/clusters/rvc-operational-state.d.ts +44 -44
- package/dist/esm/clusters/rvc-operational-state.js +15 -15
- package/dist/esm/clusters/rvc-run-mode.d.ts +50 -50
- package/dist/esm/clusters/rvc-run-mode.js +8 -8
- 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 +135 -135
- package/dist/esm/clusters/smoke-co-alarm.js +30 -30
- package/dist/esm/clusters/software-diagnostics.d.ts +53 -53
- package/dist/esm/clusters/software-diagnostics.js +14 -14
- package/dist/esm/clusters/switch.d.ts +105 -105
- package/dist/esm/clusters/switch.js +23 -23
- package/dist/esm/clusters/target-navigator.d.ts +30 -30
- package/dist/esm/clusters/target-navigator.js +10 -10
- package/dist/esm/clusters/temperature-control.d.ts +45 -45
- package/dist/esm/clusters/temperature-control.js +12 -12
- package/dist/esm/clusters/temperature-measurement.d.ts +5 -5
- package/dist/esm/clusters/temperature-measurement.js +4 -4
- package/dist/esm/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/esm/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/esm/clusters/thermostat.d.ts +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 +245 -245
- package/dist/esm/clusters/time-synchronization.js +47 -47
- 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 +80 -80
- package/dist/esm/clusters/valve-configuration-and-control.js +22 -22
- package/dist/esm/clusters/wake-on-lan.d.ts +3 -3
- package/dist/esm/clusters/wake-on-lan.js +2 -2
- package/dist/esm/clusters/water-heater-management.d.ts +91 -91
- package/dist/esm/clusters/water-heater-management.js +16 -16
- package/dist/esm/clusters/water-heater-mode.d.ts +42 -42
- package/dist/esm/clusters/water-heater-mode.js +8 -8
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/esm/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/esm/clusters/wi-fi-network-management.d.ts +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/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 +20 -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 +28 -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 +111 -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 +12 -12
- package/src/clusters/content-control.ts +96 -96
- package/src/clusters/content-launcher.ts +69 -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 +26 -26
- package/src/clusters/dishwasher-alarm.ts +24 -24
- package/src/clusters/dishwasher-mode.ts +27 -27
- package/src/clusters/door-lock.ts +378 -378
- package/src/clusters/ecosystem-information.ts +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-cluster.ts +82 -82
- package/src/clusters/joint-fabric-pki.ts +12 -12
- package/src/clusters/keypad-input.ts +11 -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 +28 -28
- package/src/clusters/level-control.ts +50 -50
- 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 +91 -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 +39 -39
- package/src/clusters/ota-software-update-requestor.ts +55 -55
- package/src/clusters/oven-cavity-operational-state.ts +9 -9
- package/src/clusters/oven-mode.ts +34 -34
- package/src/clusters/power-source-configuration.ts +2 -2
- package/src/clusters/power-source.ts +59 -59
- package/src/clusters/power-topology.ts +4 -4
- package/src/clusters/pressure-measurement.ts +11 -11
- package/src/clusters/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 +28 -28
- package/src/clusters/rvc-operational-state.ts +26 -26
- package/src/clusters/rvc-run-mode.ts +35 -35
- package/src/clusters/scenes-management.ts +112 -112
- package/src/clusters/service-area.ts +50 -50
- package/src/clusters/smoke-co-alarm.ts +66 -66
- package/src/clusters/software-diagnostics.ts +20 -20
- package/src/clusters/switch.ts +45 -45
- package/src/clusters/target-navigator.ts +20 -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 +81 -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 +35 -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/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.v14.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.v14.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.v14.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.v14.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.v14.Cluster} § 1.14.4.2
|
|
98
98
|
*/
|
|
99
99
|
export interface OperationalStateStruct extends TypeFromSchema<typeof TlvOperationalStateStruct> {}
|
|
100
100
|
|
|
@@ -118,7 +118,7 @@ export namespace OperationalState {
|
|
|
118
118
|
* The set of ErrorStateID field values defined in each of the generic or derived Operational State cluster
|
|
119
119
|
* specifications is called ErrorState.
|
|
120
120
|
*
|
|
121
|
-
* @see {@link MatterSpecification.
|
|
121
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.3
|
|
122
122
|
*/
|
|
123
123
|
export enum ErrorState {
|
|
124
124
|
/**
|
|
@@ -143,13 +143,13 @@ export namespace OperationalState {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
|
-
* @see {@link MatterSpecification.
|
|
146
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4
|
|
147
147
|
*/
|
|
148
148
|
export const TlvErrorStateStruct = TlvObject({
|
|
149
149
|
/**
|
|
150
150
|
* This shall be populated with a value from the ErrorStateEnum.
|
|
151
151
|
*
|
|
152
|
-
* @see {@link MatterSpecification.
|
|
152
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.1
|
|
153
153
|
*/
|
|
154
154
|
errorStateId: TlvField(0, TlvEnum<ErrorState>()),
|
|
155
155
|
|
|
@@ -159,7 +159,7 @@ export namespace OperationalState {
|
|
|
159
159
|
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
160
160
|
* special error".
|
|
161
161
|
*
|
|
162
|
-
* @see {@link MatterSpecification.
|
|
162
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.2
|
|
163
163
|
*/
|
|
164
164
|
errorStateLabel: TlvOptionalField(1, TlvString.bound({ maxLength: 64 })),
|
|
165
165
|
|
|
@@ -168,13 +168,13 @@ export namespace OperationalState {
|
|
|
168
168
|
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
169
169
|
* "left wheel blocked".
|
|
170
170
|
*
|
|
171
|
-
* @see {@link MatterSpecification.
|
|
171
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.3
|
|
172
172
|
*/
|
|
173
173
|
errorStateDetails: TlvOptionalField(2, TlvString.bound({ maxLength: 64 }))
|
|
174
174
|
});
|
|
175
175
|
|
|
176
176
|
/**
|
|
177
|
-
* @see {@link MatterSpecification.
|
|
177
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4
|
|
178
178
|
*/
|
|
179
179
|
export interface ErrorStateStruct extends TypeFromSchema<typeof TlvErrorStateStruct> {}
|
|
180
180
|
|
|
@@ -185,7 +185,7 @@ export namespace OperationalState {
|
|
|
185
185
|
*
|
|
186
186
|
* This command shall be generated in response to any of the Start, Stop, Pause, or Resume commands.
|
|
187
187
|
*
|
|
188
|
-
* @see {@link MatterSpecification.
|
|
188
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5
|
|
189
189
|
*/
|
|
190
190
|
export const TlvOperationalCommandResponse = TlvObject({
|
|
191
191
|
/**
|
|
@@ -193,7 +193,7 @@ export namespace OperationalState {
|
|
|
193
193
|
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
194
194
|
* sections for additional specific requirements on population.
|
|
195
195
|
*
|
|
196
|
-
* @see {@link MatterSpecification.
|
|
196
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
197
197
|
*/
|
|
198
198
|
commandResponseState: TlvField(0, TlvErrorStateStruct)
|
|
199
199
|
});
|
|
@@ -205,35 +205,35 @@ export namespace OperationalState {
|
|
|
205
205
|
*
|
|
206
206
|
* This command shall be generated in response to any of the Start, Stop, Pause, or Resume commands.
|
|
207
207
|
*
|
|
208
|
-
* @see {@link MatterSpecification.
|
|
208
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5
|
|
209
209
|
*/
|
|
210
210
|
export interface OperationalCommandResponse extends TypeFromSchema<typeof TlvOperationalCommandResponse> {}
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
213
|
* Body of the OperationalState operationalError event
|
|
214
214
|
*
|
|
215
|
-
* @see {@link MatterSpecification.
|
|
215
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.1
|
|
216
216
|
*/
|
|
217
217
|
export const TlvOperationalErrorEvent = TlvObject({ errorState: TlvField(0, TlvErrorStateStruct) });
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
220
|
* Body of the OperationalState operationalError event
|
|
221
221
|
*
|
|
222
|
-
* @see {@link MatterSpecification.
|
|
222
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.1
|
|
223
223
|
*/
|
|
224
224
|
export interface OperationalErrorEvent extends TypeFromSchema<typeof TlvOperationalErrorEvent> {}
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* Body of the OperationalState operationCompletion event
|
|
228
228
|
*
|
|
229
|
-
* @see {@link MatterSpecification.
|
|
229
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.2
|
|
230
230
|
*/
|
|
231
231
|
export const TlvOperationCompletionEvent = TlvObject({
|
|
232
232
|
/**
|
|
233
233
|
* This field provides an indication of the state at the end of the operation. This field shall have a value
|
|
234
234
|
* from the ErrorStateEnum set. A value of NoError indicates success, that is, no error has been detected.
|
|
235
235
|
*
|
|
236
|
-
* @see {@link MatterSpecification.
|
|
236
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.2.1
|
|
237
237
|
*/
|
|
238
238
|
completionErrorCode: TlvField(0, TlvUInt8),
|
|
239
239
|
|
|
@@ -244,7 +244,7 @@ export namespace OperationalState {
|
|
|
244
244
|
* spent while paused. There may be cases whereby the total operational time exceeds the maximum value that can
|
|
245
245
|
* be conveyed by this attribute, in such instances, this attribute shall be populated with null.
|
|
246
246
|
*
|
|
247
|
-
* @see {@link MatterSpecification.
|
|
247
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.2.2
|
|
248
248
|
*/
|
|
249
249
|
totalOperationalTime: TlvOptionalField(1, TlvNullable(TlvUInt32)),
|
|
250
250
|
|
|
@@ -253,7 +253,7 @@ export namespace OperationalState {
|
|
|
253
253
|
* exceeds the maximum value that can be conveyed by this attribute, in such instances, this attribute shall be
|
|
254
254
|
* populated with null.
|
|
255
255
|
*
|
|
256
|
-
* @see {@link MatterSpecification.
|
|
256
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.2.3
|
|
257
257
|
*/
|
|
258
258
|
pausedTime: TlvOptionalField(2, TlvNullable(TlvUInt32))
|
|
259
259
|
});
|
|
@@ -261,7 +261,7 @@ export namespace OperationalState {
|
|
|
261
261
|
/**
|
|
262
262
|
* Body of the OperationalState operationCompletion event
|
|
263
263
|
*
|
|
264
|
-
* @see {@link MatterSpecification.
|
|
264
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.2
|
|
265
265
|
*/
|
|
266
266
|
export interface OperationCompletionEvent extends TypeFromSchema<typeof TlvOperationCompletionEvent> {}
|
|
267
267
|
|
|
@@ -283,7 +283,7 @@ export namespace OperationalState {
|
|
|
283
283
|
* A null value indicates that the device does not present phases during its operation. When this
|
|
284
284
|
* attribute’s value is null, the CurrentPhase attribute shall also be set to null.
|
|
285
285
|
*
|
|
286
|
-
* @see {@link MatterSpecification.
|
|
286
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.5.1
|
|
287
287
|
*/
|
|
288
288
|
phaseList: Attribute(0x0, TlvNullable(TlvArray(TlvString, { maxLength: 32 }))),
|
|
289
289
|
|
|
@@ -296,7 +296,7 @@ export namespace OperationalState {
|
|
|
296
296
|
*
|
|
297
297
|
* Null if the PhaseList attribute is null or if the PhaseList attribute is an empty list.
|
|
298
298
|
*
|
|
299
|
-
* @see {@link MatterSpecification.
|
|
299
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.5.2
|
|
300
300
|
*/
|
|
301
301
|
currentPhase: Attribute(0x1, TlvNullable(TlvUInt8)),
|
|
302
302
|
|
|
@@ -329,7 +329,7 @@ export namespace OperationalState {
|
|
|
329
329
|
* As this attribute is not being reported during a regular countdown, clients SHOULD NOT rely on the
|
|
330
330
|
* reporting of this attribute in order to keep track of the remaining duration.
|
|
331
331
|
*
|
|
332
|
-
* @see {@link MatterSpecification.
|
|
332
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.5.3
|
|
333
333
|
*/
|
|
334
334
|
countdownTime: OptionalAttribute(0x2, TlvNullable(TlvUInt32.bound({ max: 259200 })), { default: null }),
|
|
335
335
|
|
|
@@ -343,7 +343,7 @@ export namespace OperationalState {
|
|
|
343
343
|
* OperationalStateEnum. A device type requiring implementation of this cluster shall define the set of
|
|
344
344
|
* states that are applicable to that specific device type.
|
|
345
345
|
*
|
|
346
|
-
* @see {@link MatterSpecification.
|
|
346
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.5.4
|
|
347
347
|
*/
|
|
348
348
|
operationalStateList: Attribute(0x3, TlvArray(TlvOperationalStateStruct), { default: [] }),
|
|
349
349
|
|
|
@@ -351,7 +351,7 @@ export namespace OperationalState {
|
|
|
351
351
|
* This attribute specifies the current operational state of a device. This shall be populated with a valid
|
|
352
352
|
* OperationalStateID from the set of values in the OperationalStateList Attribute.
|
|
353
353
|
*
|
|
354
|
-
* @see {@link MatterSpecification.
|
|
354
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.5.5
|
|
355
355
|
*/
|
|
356
356
|
operationalState: Attribute(0x4, TlvEnum<OperationalStateEnum>()),
|
|
357
357
|
|
|
@@ -362,7 +362,7 @@ export namespace OperationalState {
|
|
|
362
362
|
*
|
|
363
363
|
* When there is no error detected, this shall have an ErrorStateID of NoError.
|
|
364
364
|
*
|
|
365
|
-
* @see {@link MatterSpecification.
|
|
365
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.5.6
|
|
366
366
|
*/
|
|
367
367
|
operationalError: Attribute(0x5, TlvErrorStateStruct)
|
|
368
368
|
},
|
|
@@ -406,7 +406,7 @@ export namespace OperationalState {
|
|
|
406
406
|
*
|
|
407
407
|
* ### Table 3. Pause Compatibility
|
|
408
408
|
*
|
|
409
|
-
* @see {@link MatterSpecification.
|
|
409
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.1
|
|
410
410
|
*/
|
|
411
411
|
pause: OptionalCommand(0x0, TlvNoArguments, 0x4, TlvOperationalCommandResponse),
|
|
412
412
|
|
|
@@ -431,7 +431,7 @@ export namespace OperationalState {
|
|
|
431
431
|
*
|
|
432
432
|
* • The device shall respond with an OperationalCommandResponse command with an ErrorStateID of NoError.
|
|
433
433
|
*
|
|
434
|
-
* @see {@link MatterSpecification.
|
|
434
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.2
|
|
435
435
|
*/
|
|
436
436
|
stop: OptionalCommand(0x1, TlvNoArguments, 0x4, TlvOperationalCommandResponse),
|
|
437
437
|
|
|
@@ -458,7 +458,7 @@ export namespace OperationalState {
|
|
|
458
458
|
*
|
|
459
459
|
* • The device shall respond with an OperationalCommandResponse command with an ErrorStateID of NoError.
|
|
460
460
|
*
|
|
461
|
-
* @see {@link MatterSpecification.
|
|
461
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.3
|
|
462
462
|
*/
|
|
463
463
|
start: OptionalCommand(0x2, TlvNoArguments, 0x4, TlvOperationalCommandResponse),
|
|
464
464
|
|
|
@@ -500,7 +500,7 @@ export namespace OperationalState {
|
|
|
500
500
|
*
|
|
501
501
|
* • The device shall respond with an OperationalCommandResponse command with an ErrorStateID of NoError.
|
|
502
502
|
*
|
|
503
|
-
* @see {@link MatterSpecification.
|
|
503
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.4
|
|
504
504
|
*/
|
|
505
505
|
resume: OptionalCommand(0x3, TlvNoArguments, 0x4, TlvOperationalCommandResponse)
|
|
506
506
|
},
|
|
@@ -512,7 +512,7 @@ export namespace OperationalState {
|
|
|
512
512
|
*
|
|
513
513
|
* This event shall contain the following fields:
|
|
514
514
|
*
|
|
515
|
-
* @see {@link MatterSpecification.
|
|
515
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.1
|
|
516
516
|
*/
|
|
517
517
|
operationalError: Event(0x0, EventPriority.Critical, TlvOperationalErrorEvent),
|
|
518
518
|
|
|
@@ -527,7 +527,7 @@ export namespace OperationalState {
|
|
|
527
527
|
*
|
|
528
528
|
* This event shall contain the following fields:
|
|
529
529
|
*
|
|
530
|
-
* @see {@link MatterSpecification.
|
|
530
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.2
|
|
531
531
|
*/
|
|
532
532
|
operationCompletion: OptionalEvent(0x1, EventPriority.Info, TlvOperationCompletionEvent)
|
|
533
533
|
}
|
|
@@ -553,7 +553,7 @@ export namespace OperationalState {
|
|
|
553
553
|
*
|
|
554
554
|
* Additionally, this cluster provides events for monitoring the operational state of the device.
|
|
555
555
|
*
|
|
556
|
-
* @see {@link MatterSpecification.
|
|
556
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14
|
|
557
557
|
*/
|
|
558
558
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
559
559
|
|
|
@@ -23,7 +23,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
23
23
|
* Note that only HTTP over TLS (HTTPS) is supported (see RFC 7230). Using HTTP without TLS shall NOT be supported,
|
|
24
24
|
* as there is no way to authenticate the involved participants.
|
|
25
25
|
*
|
|
26
|
-
* @see {@link MatterSpecification.
|
|
26
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.4.3
|
|
27
27
|
*/
|
|
28
28
|
export enum DownloadProtocol {
|
|
29
29
|
/**
|
|
@@ -50,14 +50,14 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
50
50
|
/**
|
|
51
51
|
* Input to the OtaSoftwareUpdateProvider queryImage command
|
|
52
52
|
*
|
|
53
|
-
* @see {@link MatterSpecification.
|
|
53
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.1
|
|
54
54
|
*/
|
|
55
55
|
export const TlvQueryImageRequest = TlvObject({
|
|
56
56
|
/**
|
|
57
57
|
* The value shall be the Vendor ID applying to the OTA Requestor’s Node and shall match the value reported by
|
|
58
58
|
* the Basic Information Cluster VendorID attribute.
|
|
59
59
|
*
|
|
60
|
-
* @see {@link MatterSpecification.
|
|
60
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.1.1
|
|
61
61
|
*/
|
|
62
62
|
vendorId: TlvField(0, TlvVendorId),
|
|
63
63
|
|
|
@@ -65,7 +65,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
65
65
|
* The value shall be the Product ID applying to the OTA Requestor’s Node and shall match the value reported by
|
|
66
66
|
* the Basic Information Cluster ProductID attribute.
|
|
67
67
|
*
|
|
68
|
-
* @see {@link MatterSpecification.
|
|
68
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.1.2
|
|
69
69
|
*/
|
|
70
70
|
productId: TlvField(1, TlvUInt16),
|
|
71
71
|
|
|
@@ -74,7 +74,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
74
74
|
* running on the OTA Requestor invoking the command. This version shall be equal to the Software Version
|
|
75
75
|
* attribute of the Basic Information Cluster.
|
|
76
76
|
*
|
|
77
|
-
* @see {@link MatterSpecification.
|
|
77
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.1.3
|
|
78
78
|
*/
|
|
79
79
|
softwareVersion: TlvField(2, TlvUInt32),
|
|
80
80
|
|
|
@@ -93,7 +93,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
93
93
|
* See Section 11.20.3.2, “Querying the OTA Provider” and Section 11.20.3.5, “Transfer of OTA Software Update
|
|
94
94
|
* images” for more details about usage of this field.
|
|
95
95
|
*
|
|
96
|
-
* @see {@link MatterSpecification.
|
|
96
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.1.4
|
|
97
97
|
*/
|
|
98
98
|
protocolsSupported: TlvField(3, TlvArray(TlvEnum<DownloadProtocol>(), { maxLength: 8 })),
|
|
99
99
|
|
|
@@ -101,7 +101,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
101
101
|
* The value of this field, if present, shall contain the OTA Requestor’s hardware version, and shall be equal
|
|
102
102
|
* to the HardwareVersion attribute of the Basic Information Cluster.
|
|
103
103
|
*
|
|
104
|
-
* @see {@link MatterSpecification.
|
|
104
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.1.5
|
|
105
105
|
*/
|
|
106
106
|
hardwareVersion: TlvOptionalField(4, TlvUInt16),
|
|
107
107
|
|
|
@@ -111,7 +111,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
111
111
|
* attribute for the OTA Requestor as configured. This may be used by the OTA Provider logic to allow per-region
|
|
112
112
|
* selection of the Software Image.
|
|
113
113
|
*
|
|
114
|
-
* @see {@link MatterSpecification.
|
|
114
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.1.6
|
|
115
115
|
*/
|
|
116
116
|
location: TlvOptionalField(5, TlvString.bound({ length: 2 })),
|
|
117
117
|
|
|
@@ -121,7 +121,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
121
121
|
*
|
|
122
122
|
* See Section 11.20.3.4, “Obtaining user consent for updating software” for application details about usage.
|
|
123
123
|
*
|
|
124
|
-
* @see {@link MatterSpecification.
|
|
124
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.1.7
|
|
125
125
|
*/
|
|
126
126
|
requestorCanConsent: TlvOptionalField(6, TlvBoolean),
|
|
127
127
|
|
|
@@ -155,7 +155,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
155
155
|
* See Section 11.20.3.2, “Querying the OTA Provider” for full details about the OTA Software Update Query flow
|
|
156
156
|
* which makes use of this command.
|
|
157
157
|
*
|
|
158
|
-
* @see {@link MatterSpecification.
|
|
158
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.1.8
|
|
159
159
|
*/
|
|
160
160
|
metadataForProvider: TlvOptionalField(7, TlvByteString.bound({ maxLength: 512 }))
|
|
161
161
|
});
|
|
@@ -163,14 +163,14 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
163
163
|
/**
|
|
164
164
|
* Input to the OtaSoftwareUpdateProvider queryImage command
|
|
165
165
|
*
|
|
166
|
-
* @see {@link MatterSpecification.
|
|
166
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.1
|
|
167
167
|
*/
|
|
168
168
|
export interface QueryImageRequest extends TypeFromSchema<typeof TlvQueryImageRequest> {}
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
171
|
* See Section 11.20.3.2, “Querying the OTA Provider” for the semantics of these values.
|
|
172
172
|
*
|
|
173
|
-
* @see {@link MatterSpecification.
|
|
173
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.4.1
|
|
174
174
|
*/
|
|
175
175
|
export enum Status {
|
|
176
176
|
/**
|
|
@@ -195,7 +195,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
|
-
* @see {@link MatterSpecification.
|
|
198
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.2
|
|
199
199
|
*/
|
|
200
200
|
export const TlvQueryImageResponse = TlvObject({
|
|
201
201
|
/**
|
|
@@ -204,7 +204,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
204
204
|
* See Section 11.20.3.2, “Querying the OTA Provider” for details about the possible values for this field and
|
|
205
205
|
* their meaning.
|
|
206
206
|
*
|
|
207
|
-
* @see {@link MatterSpecification.
|
|
207
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.2.1
|
|
208
208
|
*/
|
|
209
209
|
status: TlvField(0, TlvEnum<Status>()),
|
|
210
210
|
|
|
@@ -219,7 +219,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
219
219
|
*
|
|
220
220
|
* See Section 11.20.3.2, “Querying the OTA Provider” for details about the rules regarding this field.
|
|
221
221
|
*
|
|
222
|
-
* @see {@link MatterSpecification.
|
|
222
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.2.2
|
|
223
223
|
*/
|
|
224
224
|
delayedActionTime: TlvOptionalField(1, TlvUInt32),
|
|
225
225
|
|
|
@@ -320,7 +320,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
320
320
|
*
|
|
321
321
|
* See Section 11.20.3.2, “Querying the OTA Provider” for additional details about the flow.
|
|
322
322
|
*
|
|
323
|
-
* @see {@link MatterSpecification.
|
|
323
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.2.3
|
|
324
324
|
*/
|
|
325
325
|
imageUri: TlvOptionalField(2, TlvString.bound({ maxLength: 256 })),
|
|
326
326
|
|
|
@@ -333,7 +333,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
333
333
|
* See Section 11.20.3.2, “Querying the OTA Provider” for additional details about the flow and acceptable
|
|
334
334
|
* values.
|
|
335
335
|
*
|
|
336
|
-
* @see {@link MatterSpecification.
|
|
336
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.2.4
|
|
337
337
|
*/
|
|
338
338
|
softwareVersion: TlvOptionalField(3, TlvUInt32),
|
|
339
339
|
|
|
@@ -346,7 +346,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
346
346
|
* See Section 11.20.3.2, “Querying the OTA Provider” for additional details about the flow and acceptable
|
|
347
347
|
* values.
|
|
348
348
|
*
|
|
349
|
-
* @see {@link MatterSpecification.
|
|
349
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.2.5
|
|
350
350
|
*/
|
|
351
351
|
softwareVersionString: TlvOptionalField(4, TlvString.bound({ minLength: 1, maxLength: 64 })),
|
|
352
352
|
|
|
@@ -356,7 +356,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
356
356
|
* See Section 11.20.3.6.1, “UpdateToken usage” for additional details about the generation and usage of
|
|
357
357
|
* UpdateToken.
|
|
358
358
|
*
|
|
359
|
-
* @see {@link MatterSpecification.
|
|
359
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.2.6
|
|
360
360
|
*/
|
|
361
361
|
updateToken: TlvOptionalField(5, TlvByteString.bound({ minLength: 8, maxLength: 32 })),
|
|
362
362
|
|
|
@@ -368,7 +368,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
368
368
|
*
|
|
369
369
|
* See Section 11.20.3.4, “Obtaining user consent for updating software” for application details about usage.
|
|
370
370
|
*
|
|
371
|
-
* @see {@link MatterSpecification.
|
|
371
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.2.7
|
|
372
372
|
*/
|
|
373
373
|
userConsentNeeded: TlvOptionalField(6, TlvBoolean),
|
|
374
374
|
|
|
@@ -385,20 +385,20 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
385
385
|
* by an OTA Provider with this additional knowledge if it has knowledge that the receiving OTA Requestor may be
|
|
386
386
|
* able to use it.
|
|
387
387
|
*
|
|
388
|
-
* @see {@link MatterSpecification.
|
|
388
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.2.8
|
|
389
389
|
*/
|
|
390
390
|
metadataForRequestor: TlvOptionalField(7, TlvByteString.bound({ maxLength: 512 }))
|
|
391
391
|
});
|
|
392
392
|
|
|
393
393
|
/**
|
|
394
|
-
* @see {@link MatterSpecification.
|
|
394
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.2
|
|
395
395
|
*/
|
|
396
396
|
export interface QueryImageResponse extends TypeFromSchema<typeof TlvQueryImageResponse> {}
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
399
|
* Input to the OtaSoftwareUpdateProvider applyUpdateRequest command
|
|
400
400
|
*
|
|
401
|
-
* @see {@link MatterSpecification.
|
|
401
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.3
|
|
402
402
|
*/
|
|
403
403
|
export const TlvApplyUpdateRequest = TlvObject({
|
|
404
404
|
/**
|
|
@@ -406,7 +406,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
406
406
|
* may be used by the OTA Provider to track minimal lifecycle state to allow finer-grained scheduling of the
|
|
407
407
|
* application of Software Images by OTA Requestors.
|
|
408
408
|
*
|
|
409
|
-
* @see {@link MatterSpecification.
|
|
409
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.3.1
|
|
410
410
|
*/
|
|
411
411
|
updateToken: TlvField(0, TlvByteString.bound({ minLength: 8, maxLength: 32 })),
|
|
412
412
|
|
|
@@ -436,7 +436,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
436
436
|
*
|
|
437
437
|
* See Section 11.20.3.6, “Applying a software update” for all error-handling information.
|
|
438
438
|
*
|
|
439
|
-
* @see {@link MatterSpecification.
|
|
439
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.3.2
|
|
440
440
|
*/
|
|
441
441
|
newVersion: TlvField(1, TlvUInt32)
|
|
442
442
|
});
|
|
@@ -444,7 +444,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
444
444
|
/**
|
|
445
445
|
* Input to the OtaSoftwareUpdateProvider applyUpdateRequest command
|
|
446
446
|
*
|
|
447
|
-
* @see {@link MatterSpecification.
|
|
447
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.3
|
|
448
448
|
*/
|
|
449
449
|
export interface ApplyUpdateRequest extends TypeFromSchema<typeof TlvApplyUpdateRequest> {}
|
|
450
450
|
|
|
@@ -452,7 +452,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
452
452
|
* See Section 11.20.3.6, “Applying a software update” for the semantics of the values. This enumeration is used in
|
|
453
453
|
* the Action field of the ApplyUpdateResponse command. See (Action).
|
|
454
454
|
*
|
|
455
|
-
* @see {@link MatterSpecification.
|
|
455
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.4.2
|
|
456
456
|
*/
|
|
457
457
|
export enum ApplyUpdateAction {
|
|
458
458
|
/**
|
|
@@ -472,7 +472,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
/**
|
|
475
|
-
* @see {@link MatterSpecification.
|
|
475
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.4
|
|
476
476
|
*/
|
|
477
477
|
export const TlvApplyUpdateResponse = TlvObject({
|
|
478
478
|
/**
|
|
@@ -480,7 +480,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
480
480
|
* 11.20.3.6, “Applying a software update” for a description of the Action values provided in response to an OTA
|
|
481
481
|
* Provider receiving an invocation of this command.
|
|
482
482
|
*
|
|
483
|
-
* @see {@link MatterSpecification.
|
|
483
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.4.1
|
|
484
484
|
*/
|
|
485
485
|
action: TlvField(0, TlvEnum<ApplyUpdateAction>()),
|
|
486
486
|
|
|
@@ -490,26 +490,26 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
490
490
|
* If this field has a value higher than 86400 seconds (24 hours), then the OTA Requestor may assume a value of
|
|
491
491
|
* 86400, in order to reduce undue Software Image application delays.
|
|
492
492
|
*
|
|
493
|
-
* @see {@link MatterSpecification.
|
|
493
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.4.2
|
|
494
494
|
*/
|
|
495
495
|
delayedActionTime: TlvField(1, TlvUInt32)
|
|
496
496
|
});
|
|
497
497
|
|
|
498
498
|
/**
|
|
499
|
-
* @see {@link MatterSpecification.
|
|
499
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.4
|
|
500
500
|
*/
|
|
501
501
|
export interface ApplyUpdateResponse extends TypeFromSchema<typeof TlvApplyUpdateResponse> {}
|
|
502
502
|
|
|
503
503
|
/**
|
|
504
504
|
* Input to the OtaSoftwareUpdateProvider notifyUpdateApplied command
|
|
505
505
|
*
|
|
506
|
-
* @see {@link MatterSpecification.
|
|
506
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.5
|
|
507
507
|
*/
|
|
508
508
|
export const TlvNotifyUpdateAppliedRequest = TlvObject({
|
|
509
509
|
/**
|
|
510
510
|
* This field shall contain the UpdateToken as specified in Section 11.20.3.6.1, “UpdateToken usage”.
|
|
511
511
|
*
|
|
512
|
-
* @see {@link MatterSpecification.
|
|
512
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.5.1
|
|
513
513
|
*/
|
|
514
514
|
updateToken: TlvField(0, TlvByteString.bound({ minLength: 8, maxLength: 32 })),
|
|
515
515
|
|
|
@@ -543,7 +543,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
543
543
|
* On receiving this command, an OTA Provider may use the information to update its bookkeeping of cached
|
|
544
544
|
* Software Images, or use it for other similar administrative purposes.
|
|
545
545
|
*
|
|
546
|
-
* @see {@link MatterSpecification.
|
|
546
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.5.2
|
|
547
547
|
*/
|
|
548
548
|
softwareVersion: TlvField(1, TlvUInt32)
|
|
549
549
|
});
|
|
@@ -551,7 +551,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
551
551
|
/**
|
|
552
552
|
* Input to the OtaSoftwareUpdateProvider notifyUpdateApplied command
|
|
553
553
|
*
|
|
554
|
-
* @see {@link MatterSpecification.
|
|
554
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.5
|
|
555
555
|
*/
|
|
556
556
|
export interface NotifyUpdateAppliedRequest extends TypeFromSchema<typeof TlvNotifyUpdateAppliedRequest> {}
|
|
557
557
|
|
|
@@ -568,24 +568,24 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
568
568
|
* Upon receipt, this command shall trigger an attempt to find an updated Software Image by the OTA Provider
|
|
569
569
|
* to match the OTA Requestor’s constraints provided in the payload fields.
|
|
570
570
|
*
|
|
571
|
-
* @see {@link MatterSpecification.
|
|
571
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.1
|
|
572
572
|
*/
|
|
573
573
|
queryImage: Command(0x0, TlvQueryImageRequest, 0x1, TlvQueryImageResponse),
|
|
574
574
|
|
|
575
575
|
/**
|
|
576
|
-
* @see {@link MatterSpecification.
|
|
576
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.3
|
|
577
577
|
*/
|
|
578
578
|
applyUpdateRequest: Command(0x2, TlvApplyUpdateRequest, 0x3, TlvApplyUpdateResponse),
|
|
579
579
|
|
|
580
580
|
/**
|
|
581
|
-
* @see {@link MatterSpecification.
|
|
581
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6.5.5
|
|
582
582
|
*/
|
|
583
583
|
notifyUpdateApplied: Command(0x4, TlvNotifyUpdateAppliedRequest, 0x4, TlvNoResponse)
|
|
584
584
|
}
|
|
585
585
|
});
|
|
586
586
|
|
|
587
587
|
/**
|
|
588
|
-
* @see {@link MatterSpecification.
|
|
588
|
+
* @see {@link MatterSpecification.v14.Core} § 11.20.6
|
|
589
589
|
*/
|
|
590
590
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
591
591
|
|