@matter/types 0.16.0-alpha.0-20251104-8c3166ea3 → 0.16.0-alpha.0-20251107-6bcb5baf4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clusters/access-control.d.ts +250 -250
- package/dist/cjs/clusters/access-control.js +39 -39
- package/dist/cjs/clusters/account-login.d.ts +29 -29
- package/dist/cjs/clusters/account-login.js +11 -11
- package/dist/cjs/clusters/actions.d.ts +108 -108
- package/dist/cjs/clusters/actions.js +39 -39
- package/dist/cjs/clusters/administrator-commissioning.d.ts +54 -54
- package/dist/cjs/clusters/administrator-commissioning.js +12 -12
- package/dist/cjs/clusters/air-quality.d.ts +5 -5
- package/dist/cjs/clusters/air-quality.js +1 -1
- package/dist/cjs/clusters/alarm-base.d.ts +43 -43
- package/dist/cjs/clusters/alarm-base.js +14 -14
- package/dist/cjs/clusters/application-basic.d.ts +16 -16
- package/dist/cjs/clusters/application-basic.js +10 -10
- package/dist/cjs/clusters/application-launcher.d.ts +104 -104
- package/dist/cjs/clusters/application-launcher.js +13 -13
- package/dist/cjs/clusters/audio-output.d.ts +37 -37
- package/dist/cjs/clusters/audio-output.js +8 -8
- package/dist/cjs/clusters/basic-information.d.ts +55 -55
- package/dist/cjs/clusters/basic-information.js +35 -35
- package/dist/cjs/clusters/binding.d.ts +12 -12
- package/dist/cjs/clusters/binding.js +5 -5
- package/dist/cjs/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/cjs/clusters/boolean-state-configuration.js +18 -18
- package/dist/cjs/clusters/boolean-state.d.ts +7 -7
- package/dist/cjs/clusters/boolean-state.js +3 -3
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +105 -105
- package/dist/cjs/clusters/bridged-device-basic-information.js +29 -29
- package/dist/cjs/clusters/channel.d.ts +561 -561
- package/dist/cjs/clusters/channel.js +73 -73
- package/dist/cjs/clusters/color-control.d.ts +658 -658
- package/dist/cjs/clusters/color-control.js +116 -116
- package/dist/cjs/clusters/commissioner-control.d.ts +16 -16
- package/dist/cjs/clusters/commissioner-control.js +5 -5
- package/dist/cjs/clusters/concentration-measurement.d.ts +26 -26
- package/dist/cjs/clusters/concentration-measurement.js +11 -11
- package/dist/cjs/clusters/content-app-observer.d.ts +18 -18
- package/dist/cjs/clusters/content-app-observer.js +6 -6
- package/dist/cjs/clusters/content-control.d.ts +366 -366
- package/dist/cjs/clusters/content-control.js +58 -58
- package/dist/cjs/clusters/content-launcher.d.ts +479 -479
- package/dist/cjs/clusters/content-launcher.js +39 -39
- package/dist/cjs/clusters/descriptor.d.ts +30 -30
- package/dist/cjs/clusters/descriptor.js +9 -9
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/cjs/clusters/device-energy-management-mode.js +8 -8
- package/dist/cjs/clusters/device-energy-management.d.ts +544 -544
- package/dist/cjs/clusters/device-energy-management.js +87 -87
- package/dist/cjs/clusters/diagnostic-logs.d.ts +37 -37
- package/dist/cjs/clusters/diagnostic-logs.js +8 -8
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/cjs/clusters/dishwasher-alarm.js +14 -14
- package/dist/cjs/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/cjs/clusters/dishwasher-mode.js +8 -8
- package/dist/cjs/clusters/door-lock.d.ts +1349 -1349
- package/dist/cjs/clusters/door-lock.js +227 -227
- package/dist/cjs/clusters/ecosystem-information.d.ts +35 -35
- package/dist/cjs/clusters/ecosystem-information.js +14 -14
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +276 -276
- package/dist/cjs/clusters/electrical-energy-measurement.js +25 -25
- package/dist/cjs/clusters/electrical-power-measurement.d.ts +200 -200
- package/dist/cjs/clusters/electrical-power-measurement.js +39 -39
- package/dist/cjs/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/cjs/clusters/energy-evse-mode.js +8 -8
- package/dist/cjs/clusters/energy-evse.d.ts +323 -323
- package/dist/cjs/clusters/energy-evse.js +73 -73
- package/dist/cjs/clusters/energy-preference.d.ts +49 -49
- package/dist/cjs/clusters/energy-preference.js +9 -9
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/cjs/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/cjs/clusters/fan-control.d.ts +83 -83
- package/dist/cjs/clusters/fan-control.js +19 -19
- package/dist/cjs/clusters/fixed-label.d.ts +2 -2
- package/dist/cjs/clusters/fixed-label.js +1 -1
- package/dist/cjs/clusters/flow-measurement.d.ts +5 -5
- package/dist/cjs/clusters/flow-measurement.js +4 -4
- package/dist/cjs/clusters/general-commissioning.d.ts +104 -104
- package/dist/cjs/clusters/general-commissioning.js +25 -25
- package/dist/cjs/clusters/general-diagnostics.d.ts +174 -174
- package/dist/cjs/clusters/general-diagnostics.js +40 -40
- package/dist/cjs/clusters/group-key-management.d.ts +119 -119
- package/dist/cjs/clusters/group-key-management.js +23 -23
- package/dist/cjs/clusters/groups.d.ts +78 -78
- package/dist/cjs/clusters/groups.js +21 -21
- package/dist/cjs/clusters/icd-management.d.ts +131 -131
- package/dist/cjs/clusters/icd-management.js +29 -29
- package/dist/cjs/clusters/identify.d.ts +16 -16
- package/dist/cjs/clusters/identify.js +6 -6
- package/dist/cjs/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/cjs/clusters/illuminance-measurement.js +5 -5
- package/dist/cjs/clusters/joint-fabric-administrator.d.ts +34 -34
- package/dist/cjs/clusters/joint-fabric-administrator.js +10 -10
- package/dist/cjs/clusters/joint-fabric-datastore.d.ts +232 -232
- package/dist/cjs/clusters/joint-fabric-datastore.js +73 -73
- package/dist/cjs/clusters/keypad-input.d.ts +18 -18
- package/dist/cjs/clusters/keypad-input.js +3 -3
- package/dist/cjs/clusters/label.d.ts +10 -10
- package/dist/cjs/clusters/label.js +3 -3
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/cjs/clusters/laundry-dryer-controls.js +2 -2
- package/dist/cjs/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/cjs/clusters/laundry-washer-controls.js +6 -6
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/cjs/clusters/laundry-washer-mode.js +5 -5
- package/dist/cjs/clusters/level-control.d.ts +303 -303
- package/dist/cjs/clusters/level-control.js +32 -32
- package/dist/cjs/clusters/localization-configuration.d.ts +3 -3
- package/dist/cjs/clusters/localization-configuration.js +2 -2
- package/dist/cjs/clusters/low-power.d.ts +2 -2
- package/dist/cjs/clusters/low-power.js +1 -1
- package/dist/cjs/clusters/media-input.d.ts +47 -47
- package/dist/cjs/clusters/media-input.js +11 -11
- package/dist/cjs/clusters/media-playback.d.ts +390 -390
- package/dist/cjs/clusters/media-playback.js +57 -57
- package/dist/cjs/clusters/messages.d.ts +154 -154
- package/dist/cjs/clusters/messages.js +38 -38
- package/dist/cjs/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/cjs/clusters/microwave-oven-control.js +17 -17
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/cjs/clusters/microwave-oven-mode.js +7 -7
- package/dist/cjs/clusters/mode-base.d.ts +59 -59
- package/dist/cjs/clusters/mode-base.js +13 -13
- package/dist/cjs/clusters/mode-select.d.ts +51 -51
- package/dist/cjs/clusters/mode-select.js +13 -13
- package/dist/cjs/clusters/network-commissioning.d.ts +325 -325
- package/dist/cjs/clusters/network-commissioning.js +46 -46
- package/dist/cjs/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/cjs/clusters/occupancy-sensing.js +20 -20
- package/dist/cjs/clusters/on-off.d.ts +103 -103
- package/dist/cjs/clusters/on-off.js +19 -19
- package/dist/cjs/clusters/operational-credentials.d.ts +106 -106
- package/dist/cjs/clusters/operational-credentials.js +38 -38
- package/dist/cjs/clusters/operational-state.d.ts +67 -67
- package/dist/cjs/clusters/operational-state.js +21 -21
- package/dist/cjs/clusters/ota-software-update-provider.d.ts +65 -65
- package/dist/cjs/clusters/ota-software-update-provider.js +25 -25
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/cjs/clusters/ota-software-update-requestor.js +25 -25
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/cjs/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/cjs/clusters/oven-mode.d.ts +49 -49
- package/dist/cjs/clusters/oven-mode.js +8 -8
- package/dist/cjs/clusters/power-source-configuration.d.ts +2 -2
- package/dist/cjs/clusters/power-source-configuration.js +1 -1
- package/dist/cjs/clusters/power-source.d.ts +155 -155
- package/dist/cjs/clusters/power-source.js +41 -41
- package/dist/cjs/clusters/power-topology.d.ts +8 -8
- package/dist/cjs/clusters/power-topology.js +2 -2
- package/dist/cjs/clusters/pressure-measurement.d.ts +25 -25
- package/dist/cjs/clusters/pressure-measurement.js +9 -9
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/cjs/clusters/pump-configuration-and-control.js +57 -57
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/cjs/clusters/refrigerator-alarm.js +11 -11
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/cjs/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/cjs/clusters/relative-humidity-measurement.js +4 -4
- package/dist/cjs/clusters/resource-monitoring.d.ts +20 -20
- package/dist/cjs/clusters/resource-monitoring.js +7 -7
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +49 -49
- package/dist/cjs/clusters/rvc-clean-mode.js +9 -9
- package/dist/cjs/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/cjs/clusters/rvc-operational-state.js +17 -17
- package/dist/cjs/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/cjs/clusters/rvc-run-mode.js +9 -9
- package/dist/cjs/clusters/scenes-management.d.ts +244 -244
- package/dist/cjs/clusters/scenes-management.js +69 -69
- package/dist/cjs/clusters/service-area.d.ts +128 -128
- package/dist/cjs/clusters/service-area.js +26 -26
- package/dist/cjs/clusters/smoke-co-alarm.d.ts +135 -135
- package/dist/cjs/clusters/smoke-co-alarm.js +30 -30
- package/dist/cjs/clusters/software-diagnostics.d.ts +53 -53
- package/dist/cjs/clusters/software-diagnostics.js +14 -14
- package/dist/cjs/clusters/switch.d.ts +105 -105
- package/dist/cjs/clusters/switch.js +23 -23
- package/dist/cjs/clusters/target-navigator.d.ts +32 -32
- package/dist/cjs/clusters/target-navigator.js +10 -10
- package/dist/cjs/clusters/temperature-control.d.ts +45 -45
- package/dist/cjs/clusters/temperature-control.js +12 -12
- package/dist/cjs/clusters/temperature-measurement.d.ts +5 -5
- package/dist/cjs/clusters/temperature-measurement.js +4 -4
- package/dist/cjs/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/cjs/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/cjs/clusters/thermostat.d.ts +514 -514
- package/dist/cjs/clusters/thermostat.js +114 -114
- package/dist/cjs/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/cjs/clusters/thread-border-router-management.js +14 -14
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/cjs/clusters/thread-network-diagnostics.js +108 -108
- package/dist/cjs/clusters/thread-network-directory.d.ts +27 -27
- package/dist/cjs/clusters/thread-network-directory.js +11 -11
- package/dist/cjs/clusters/time-format-localization.d.ts +12 -12
- package/dist/cjs/clusters/time-format-localization.js +3 -3
- package/dist/cjs/clusters/time-synchronization.d.ts +246 -246
- package/dist/cjs/clusters/time-synchronization.js +47 -47
- package/dist/cjs/clusters/unit-localization.d.ts +9 -9
- package/dist/cjs/clusters/unit-localization.js +2 -2
- package/dist/cjs/clusters/user-label.d.ts +2 -2
- package/dist/cjs/clusters/user-label.js +1 -1
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts +81 -81
- package/dist/cjs/clusters/valve-configuration-and-control.js +22 -22
- package/dist/cjs/clusters/wake-on-lan.d.ts +3 -3
- package/dist/cjs/clusters/wake-on-lan.js +2 -2
- package/dist/cjs/clusters/water-heater-management.d.ts +91 -91
- package/dist/cjs/clusters/water-heater-management.js +16 -16
- package/dist/cjs/clusters/water-heater-mode.d.ts +42 -42
- package/dist/cjs/clusters/water-heater-mode.js +8 -8
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/cjs/clusters/wi-fi-network-management.d.ts +8 -8
- package/dist/cjs/clusters/wi-fi-network-management.js +4 -4
- package/dist/cjs/clusters/window-covering.d.ts +183 -183
- package/dist/cjs/clusters/window-covering.js +49 -49
- package/dist/cjs/dcl/operational-certificate.d.ts +8 -1
- package/dist/cjs/dcl/operational-certificate.d.ts.map +1 -1
- package/dist/cjs/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/cjs/globals/AtomicAttributeStatus.js +2 -2
- package/dist/cjs/globals/AtomicRequestType.d.ts +1 -1
- package/dist/cjs/globals/Currency.d.ts +2 -2
- package/dist/cjs/globals/Locationdesc.d.ts +5 -5
- package/dist/cjs/globals/Locationdesc.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/cjs/globals/MeasurementAccuracy.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/cjs/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/cjs/globals/MeasurementType.d.ts +1 -1
- package/dist/cjs/globals/Namespace.d.ts +1 -1
- package/dist/cjs/globals/Price.d.ts +2 -2
- package/dist/cjs/globals/Priority.d.ts +1 -1
- package/dist/cjs/globals/Semtag.d.ts +6 -6
- package/dist/cjs/globals/Semtag.js +4 -4
- package/dist/cjs/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/cjs/globals/Status.d.ts +36 -36
- package/dist/cjs/globals/ThreeLevelAuto.d.ts +1 -1
- package/dist/cjs/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/cjs/protocol/definitions/secure-channel.d.ts +2 -0
- package/dist/cjs/protocol/definitions/secure-channel.d.ts.map +1 -1
- package/dist/cjs/protocol/definitions/secure-channel.js +1 -0
- package/dist/cjs/protocol/definitions/secure-channel.js.map +1 -1
- package/dist/cjs/schema/PairingCodeSchema.d.ts +4 -0
- package/dist/cjs/schema/PairingCodeSchema.d.ts.map +1 -1
- package/dist/cjs/schema/PairingCodeSchema.js +18 -2
- package/dist/cjs/schema/PairingCodeSchema.js.map +2 -2
- package/dist/esm/clusters/access-control.d.ts +250 -250
- package/dist/esm/clusters/access-control.js +39 -39
- package/dist/esm/clusters/account-login.d.ts +29 -29
- package/dist/esm/clusters/account-login.js +11 -11
- package/dist/esm/clusters/actions.d.ts +108 -108
- package/dist/esm/clusters/actions.js +39 -39
- package/dist/esm/clusters/administrator-commissioning.d.ts +54 -54
- package/dist/esm/clusters/administrator-commissioning.js +12 -12
- package/dist/esm/clusters/air-quality.d.ts +5 -5
- package/dist/esm/clusters/air-quality.js +1 -1
- package/dist/esm/clusters/alarm-base.d.ts +43 -43
- package/dist/esm/clusters/alarm-base.js +14 -14
- package/dist/esm/clusters/application-basic.d.ts +16 -16
- package/dist/esm/clusters/application-basic.js +10 -10
- package/dist/esm/clusters/application-launcher.d.ts +104 -104
- package/dist/esm/clusters/application-launcher.js +13 -13
- package/dist/esm/clusters/audio-output.d.ts +37 -37
- package/dist/esm/clusters/audio-output.js +8 -8
- package/dist/esm/clusters/basic-information.d.ts +55 -55
- package/dist/esm/clusters/basic-information.js +35 -35
- package/dist/esm/clusters/binding.d.ts +12 -12
- package/dist/esm/clusters/binding.js +5 -5
- package/dist/esm/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/esm/clusters/boolean-state-configuration.js +18 -18
- package/dist/esm/clusters/boolean-state.d.ts +7 -7
- package/dist/esm/clusters/boolean-state.js +3 -3
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +105 -105
- package/dist/esm/clusters/bridged-device-basic-information.js +29 -29
- package/dist/esm/clusters/channel.d.ts +561 -561
- package/dist/esm/clusters/channel.js +73 -73
- package/dist/esm/clusters/color-control.d.ts +658 -658
- package/dist/esm/clusters/color-control.js +116 -116
- package/dist/esm/clusters/commissioner-control.d.ts +16 -16
- package/dist/esm/clusters/commissioner-control.js +5 -5
- package/dist/esm/clusters/concentration-measurement.d.ts +26 -26
- package/dist/esm/clusters/concentration-measurement.js +11 -11
- package/dist/esm/clusters/content-app-observer.d.ts +18 -18
- package/dist/esm/clusters/content-app-observer.js +6 -6
- package/dist/esm/clusters/content-control.d.ts +366 -366
- package/dist/esm/clusters/content-control.js +58 -58
- package/dist/esm/clusters/content-launcher.d.ts +479 -479
- package/dist/esm/clusters/content-launcher.js +39 -39
- package/dist/esm/clusters/descriptor.d.ts +30 -30
- package/dist/esm/clusters/descriptor.js +9 -9
- package/dist/esm/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/esm/clusters/device-energy-management-mode.js +8 -8
- package/dist/esm/clusters/device-energy-management.d.ts +544 -544
- package/dist/esm/clusters/device-energy-management.js +87 -87
- package/dist/esm/clusters/diagnostic-logs.d.ts +37 -37
- package/dist/esm/clusters/diagnostic-logs.js +8 -8
- package/dist/esm/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/esm/clusters/dishwasher-alarm.js +14 -14
- package/dist/esm/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/esm/clusters/dishwasher-mode.js +8 -8
- package/dist/esm/clusters/door-lock.d.ts +1349 -1349
- package/dist/esm/clusters/door-lock.js +227 -227
- package/dist/esm/clusters/ecosystem-information.d.ts +35 -35
- package/dist/esm/clusters/ecosystem-information.js +14 -14
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +276 -276
- package/dist/esm/clusters/electrical-energy-measurement.js +25 -25
- package/dist/esm/clusters/electrical-power-measurement.d.ts +200 -200
- package/dist/esm/clusters/electrical-power-measurement.js +39 -39
- package/dist/esm/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/esm/clusters/energy-evse-mode.js +8 -8
- package/dist/esm/clusters/energy-evse.d.ts +323 -323
- package/dist/esm/clusters/energy-evse.js +73 -73
- package/dist/esm/clusters/energy-preference.d.ts +49 -49
- package/dist/esm/clusters/energy-preference.js +9 -9
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/esm/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/esm/clusters/fan-control.d.ts +83 -83
- package/dist/esm/clusters/fan-control.js +19 -19
- package/dist/esm/clusters/fixed-label.d.ts +2 -2
- package/dist/esm/clusters/fixed-label.js +1 -1
- package/dist/esm/clusters/flow-measurement.d.ts +5 -5
- package/dist/esm/clusters/flow-measurement.js +4 -4
- package/dist/esm/clusters/general-commissioning.d.ts +104 -104
- package/dist/esm/clusters/general-commissioning.js +25 -25
- package/dist/esm/clusters/general-diagnostics.d.ts +174 -174
- package/dist/esm/clusters/general-diagnostics.js +40 -40
- package/dist/esm/clusters/group-key-management.d.ts +119 -119
- package/dist/esm/clusters/group-key-management.js +23 -23
- package/dist/esm/clusters/groups.d.ts +78 -78
- package/dist/esm/clusters/groups.js +21 -21
- package/dist/esm/clusters/icd-management.d.ts +131 -131
- package/dist/esm/clusters/icd-management.js +29 -29
- package/dist/esm/clusters/identify.d.ts +16 -16
- package/dist/esm/clusters/identify.js +6 -6
- package/dist/esm/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/esm/clusters/illuminance-measurement.js +5 -5
- package/dist/esm/clusters/joint-fabric-administrator.d.ts +34 -34
- package/dist/esm/clusters/joint-fabric-administrator.js +10 -10
- package/dist/esm/clusters/joint-fabric-datastore.d.ts +232 -232
- package/dist/esm/clusters/joint-fabric-datastore.js +73 -73
- package/dist/esm/clusters/keypad-input.d.ts +18 -18
- package/dist/esm/clusters/keypad-input.js +3 -3
- package/dist/esm/clusters/label.d.ts +10 -10
- package/dist/esm/clusters/label.js +3 -3
- package/dist/esm/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/esm/clusters/laundry-dryer-controls.js +2 -2
- package/dist/esm/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/esm/clusters/laundry-washer-controls.js +6 -6
- package/dist/esm/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/esm/clusters/laundry-washer-mode.js +5 -5
- package/dist/esm/clusters/level-control.d.ts +303 -303
- package/dist/esm/clusters/level-control.js +32 -32
- package/dist/esm/clusters/localization-configuration.d.ts +3 -3
- package/dist/esm/clusters/localization-configuration.js +2 -2
- package/dist/esm/clusters/low-power.d.ts +2 -2
- package/dist/esm/clusters/low-power.js +1 -1
- package/dist/esm/clusters/media-input.d.ts +47 -47
- package/dist/esm/clusters/media-input.js +11 -11
- package/dist/esm/clusters/media-playback.d.ts +390 -390
- package/dist/esm/clusters/media-playback.js +57 -57
- package/dist/esm/clusters/messages.d.ts +154 -154
- package/dist/esm/clusters/messages.js +38 -38
- package/dist/esm/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/esm/clusters/microwave-oven-control.js +17 -17
- package/dist/esm/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/esm/clusters/microwave-oven-mode.js +7 -7
- package/dist/esm/clusters/mode-base.d.ts +59 -59
- package/dist/esm/clusters/mode-base.js +13 -13
- package/dist/esm/clusters/mode-select.d.ts +51 -51
- package/dist/esm/clusters/mode-select.js +13 -13
- package/dist/esm/clusters/network-commissioning.d.ts +325 -325
- package/dist/esm/clusters/network-commissioning.js +46 -46
- package/dist/esm/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/esm/clusters/occupancy-sensing.js +20 -20
- package/dist/esm/clusters/on-off.d.ts +103 -103
- package/dist/esm/clusters/on-off.js +19 -19
- package/dist/esm/clusters/operational-credentials.d.ts +106 -106
- package/dist/esm/clusters/operational-credentials.js +38 -38
- package/dist/esm/clusters/operational-state.d.ts +67 -67
- package/dist/esm/clusters/operational-state.js +21 -21
- package/dist/esm/clusters/ota-software-update-provider.d.ts +65 -65
- package/dist/esm/clusters/ota-software-update-provider.js +25 -25
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/esm/clusters/ota-software-update-requestor.js +25 -25
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/esm/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/esm/clusters/oven-mode.d.ts +49 -49
- package/dist/esm/clusters/oven-mode.js +8 -8
- package/dist/esm/clusters/power-source-configuration.d.ts +2 -2
- package/dist/esm/clusters/power-source-configuration.js +1 -1
- package/dist/esm/clusters/power-source.d.ts +155 -155
- package/dist/esm/clusters/power-source.js +41 -41
- package/dist/esm/clusters/power-topology.d.ts +8 -8
- package/dist/esm/clusters/power-topology.js +2 -2
- package/dist/esm/clusters/pressure-measurement.d.ts +25 -25
- package/dist/esm/clusters/pressure-measurement.js +9 -9
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/esm/clusters/pump-configuration-and-control.js +57 -57
- package/dist/esm/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/esm/clusters/refrigerator-alarm.js +11 -11
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/esm/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/esm/clusters/relative-humidity-measurement.js +4 -4
- package/dist/esm/clusters/resource-monitoring.d.ts +20 -20
- package/dist/esm/clusters/resource-monitoring.js +7 -7
- package/dist/esm/clusters/rvc-clean-mode.d.ts +49 -49
- package/dist/esm/clusters/rvc-clean-mode.js +9 -9
- package/dist/esm/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/esm/clusters/rvc-operational-state.js +17 -17
- package/dist/esm/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/esm/clusters/rvc-run-mode.js +9 -9
- package/dist/esm/clusters/scenes-management.d.ts +244 -244
- package/dist/esm/clusters/scenes-management.js +69 -69
- package/dist/esm/clusters/service-area.d.ts +128 -128
- package/dist/esm/clusters/service-area.js +26 -26
- package/dist/esm/clusters/smoke-co-alarm.d.ts +135 -135
- package/dist/esm/clusters/smoke-co-alarm.js +30 -30
- package/dist/esm/clusters/software-diagnostics.d.ts +53 -53
- package/dist/esm/clusters/software-diagnostics.js +14 -14
- package/dist/esm/clusters/switch.d.ts +105 -105
- package/dist/esm/clusters/switch.js +23 -23
- package/dist/esm/clusters/target-navigator.d.ts +32 -32
- package/dist/esm/clusters/target-navigator.js +10 -10
- package/dist/esm/clusters/temperature-control.d.ts +45 -45
- package/dist/esm/clusters/temperature-control.js +12 -12
- package/dist/esm/clusters/temperature-measurement.d.ts +5 -5
- package/dist/esm/clusters/temperature-measurement.js +4 -4
- package/dist/esm/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/esm/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/esm/clusters/thermostat.d.ts +514 -514
- package/dist/esm/clusters/thermostat.js +114 -114
- package/dist/esm/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/esm/clusters/thread-border-router-management.js +14 -14
- package/dist/esm/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/esm/clusters/thread-network-diagnostics.js +108 -108
- package/dist/esm/clusters/thread-network-directory.d.ts +27 -27
- package/dist/esm/clusters/thread-network-directory.js +11 -11
- package/dist/esm/clusters/time-format-localization.d.ts +12 -12
- package/dist/esm/clusters/time-format-localization.js +3 -3
- package/dist/esm/clusters/time-synchronization.d.ts +246 -246
- package/dist/esm/clusters/time-synchronization.js +47 -47
- package/dist/esm/clusters/unit-localization.d.ts +9 -9
- package/dist/esm/clusters/unit-localization.js +2 -2
- package/dist/esm/clusters/user-label.d.ts +2 -2
- package/dist/esm/clusters/user-label.js +1 -1
- package/dist/esm/clusters/valve-configuration-and-control.d.ts +81 -81
- package/dist/esm/clusters/valve-configuration-and-control.js +22 -22
- package/dist/esm/clusters/wake-on-lan.d.ts +3 -3
- package/dist/esm/clusters/wake-on-lan.js +2 -2
- package/dist/esm/clusters/water-heater-management.d.ts +91 -91
- package/dist/esm/clusters/water-heater-management.js +16 -16
- package/dist/esm/clusters/water-heater-mode.d.ts +42 -42
- package/dist/esm/clusters/water-heater-mode.js +8 -8
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/esm/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/esm/clusters/wi-fi-network-management.d.ts +8 -8
- package/dist/esm/clusters/wi-fi-network-management.js +4 -4
- package/dist/esm/clusters/window-covering.d.ts +183 -183
- package/dist/esm/clusters/window-covering.js +49 -49
- package/dist/esm/dcl/operational-certificate.d.ts +8 -1
- package/dist/esm/dcl/operational-certificate.d.ts.map +1 -1
- package/dist/esm/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/esm/globals/AtomicAttributeStatus.js +2 -2
- package/dist/esm/globals/AtomicRequestType.d.ts +1 -1
- package/dist/esm/globals/Currency.d.ts +2 -2
- package/dist/esm/globals/Locationdesc.d.ts +5 -5
- package/dist/esm/globals/Locationdesc.js +3 -3
- package/dist/esm/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/esm/globals/MeasurementAccuracy.js +3 -3
- package/dist/esm/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/esm/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/esm/globals/MeasurementType.d.ts +1 -1
- package/dist/esm/globals/Namespace.d.ts +1 -1
- package/dist/esm/globals/Price.d.ts +2 -2
- package/dist/esm/globals/Priority.d.ts +1 -1
- package/dist/esm/globals/Semtag.d.ts +6 -6
- package/dist/esm/globals/Semtag.js +4 -4
- package/dist/esm/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/esm/globals/Status.d.ts +36 -36
- package/dist/esm/globals/ThreeLevelAuto.d.ts +1 -1
- package/dist/esm/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/esm/protocol/definitions/secure-channel.d.ts +2 -0
- package/dist/esm/protocol/definitions/secure-channel.d.ts.map +1 -1
- package/dist/esm/protocol/definitions/secure-channel.js +1 -0
- package/dist/esm/protocol/definitions/secure-channel.js.map +1 -1
- package/dist/esm/schema/PairingCodeSchema.d.ts +4 -0
- package/dist/esm/schema/PairingCodeSchema.d.ts.map +1 -1
- package/dist/esm/schema/PairingCodeSchema.js +18 -2
- package/dist/esm/schema/PairingCodeSchema.js.map +2 -2
- package/package.json +5 -5
- package/src/clusters/access-control.ts +72 -72
- package/src/clusters/account-login.ts +22 -22
- package/src/clusters/actions.ts +86 -86
- package/src/clusters/administrator-commissioning.ts +23 -23
- package/src/clusters/air-quality.ts +4 -4
- package/src/clusters/alarm-base.ts +22 -22
- package/src/clusters/application-basic.ts +14 -14
- package/src/clusters/application-launcher.ts +33 -33
- package/src/clusters/audio-output.ts +17 -17
- package/src/clusters/basic-information.ts +48 -48
- package/src/clusters/binding.ts +8 -8
- package/src/clusters/boolean-state-configuration.ts +31 -31
- package/src/clusters/boolean-state.ts +6 -6
- package/src/clusters/bridged-device-basic-information.ts +39 -39
- package/src/clusters/channel.ts +113 -113
- package/src/clusters/color-control.ts +168 -168
- package/src/clusters/commissioner-control.ts +15 -15
- package/src/clusters/concentration-measurement.ts +15 -15
- package/src/clusters/content-app-observer.ts +13 -13
- package/src/clusters/content-control.ts +106 -106
- package/src/clusters/content-launcher.ts +73 -73
- package/src/clusters/descriptor.ts +14 -14
- package/src/clusters/device-energy-management-mode.ts +28 -28
- package/src/clusters/device-energy-management.ts +136 -136
- package/src/clusters/diagnostic-logs.ts +30 -30
- package/src/clusters/dishwasher-alarm.ts +24 -24
- package/src/clusters/dishwasher-mode.ts +27 -27
- package/src/clusters/door-lock.ts +378 -378
- package/src/clusters/ecosystem-information.ts +21 -21
- package/src/clusters/electrical-energy-measurement.ts +40 -40
- package/src/clusters/electrical-power-measurement.ts +54 -54
- package/src/clusters/energy-evse-mode.ts +28 -28
- package/src/clusters/energy-evse.ts +109 -109
- package/src/clusters/energy-preference.ts +19 -19
- package/src/clusters/ethernet-network-diagnostics.ts +13 -13
- package/src/clusters/fan-control.ts +30 -30
- package/src/clusters/fixed-label.ts +2 -2
- package/src/clusters/flow-measurement.ts +5 -5
- package/src/clusters/general-commissioning.ts +45 -45
- package/src/clusters/general-diagnostics.ts +66 -66
- package/src/clusters/group-key-management.ts +45 -45
- package/src/clusters/groups.ts +44 -44
- package/src/clusters/icd-management.ts +50 -50
- package/src/clusters/identify.ts +14 -14
- package/src/clusters/illuminance-measurement.ts +7 -7
- package/src/clusters/joint-fabric-administrator.ts +31 -31
- package/src/clusters/joint-fabric-datastore.ts +145 -145
- package/src/clusters/keypad-input.ts +13 -13
- package/src/clusters/label.ts +5 -5
- package/src/clusters/laundry-dryer-controls.ts +4 -4
- package/src/clusters/laundry-washer-controls.ts +11 -11
- package/src/clusters/laundry-washer-mode.ts +25 -25
- package/src/clusters/level-control.ts +49 -49
- package/src/clusters/localization-configuration.ts +3 -3
- package/src/clusters/low-power.ts +2 -2
- package/src/clusters/media-input.ts +20 -20
- package/src/clusters/media-playback.ts +96 -96
- package/src/clusters/messages.ts +61 -61
- package/src/clusters/microwave-oven-control.ts +23 -23
- package/src/clusters/microwave-oven-mode.ts +25 -25
- package/src/clusters/mode-base.ts +37 -37
- package/src/clusters/mode-select.ts +22 -22
- package/src/clusters/network-commissioning.ts +76 -76
- package/src/clusters/occupancy-sensing.ts +29 -29
- package/src/clusters/on-off.ts +33 -33
- package/src/clusters/operational-credentials.ts +75 -75
- package/src/clusters/operational-state.ts +34 -34
- package/src/clusters/ota-software-update-provider.ts +43 -43
- package/src/clusters/ota-software-update-requestor.ts +55 -55
- package/src/clusters/oven-cavity-operational-state.ts +14 -14
- package/src/clusters/oven-mode.ts +34 -34
- package/src/clusters/power-source-configuration.ts +2 -2
- package/src/clusters/power-source.ts +59 -59
- package/src/clusters/power-topology.ts +4 -4
- package/src/clusters/pressure-measurement.ts +11 -11
- package/src/clusters/pump-configuration-and-control.ts +69 -69
- package/src/clusters/refrigerator-alarm.ts +18 -18
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +26 -26
- package/src/clusters/relative-humidity-measurement.ts +5 -5
- package/src/clusters/resource-monitoring.ts +13 -13
- package/src/clusters/rvc-clean-mode.ts +32 -32
- package/src/clusters/rvc-operational-state.ts +28 -28
- package/src/clusters/rvc-run-mode.ts +38 -38
- package/src/clusters/scenes-management.ts +111 -111
- package/src/clusters/service-area.ts +50 -50
- package/src/clusters/smoke-co-alarm.ts +66 -66
- package/src/clusters/software-diagnostics.ts +20 -20
- package/src/clusters/switch.ts +45 -45
- package/src/clusters/target-navigator.ts +22 -22
- package/src/clusters/temperature-control.ts +19 -19
- package/src/clusters/temperature-measurement.ts +5 -5
- package/src/clusters/thermostat-user-interface-configuration.ts +7 -7
- package/src/clusters/thermostat.ts +172 -172
- package/src/clusters/thread-border-router-management.ts +23 -23
- package/src/clusters/thread-network-diagnostics.ts +125 -125
- package/src/clusters/thread-network-directory.ts +22 -22
- package/src/clusters/time-format-localization.ts +7 -7
- package/src/clusters/time-synchronization.ts +82 -82
- package/src/clusters/unit-localization.ts +5 -5
- package/src/clusters/user-label.ts +2 -2
- package/src/clusters/valve-configuration-and-control.ts +36 -36
- package/src/clusters/wake-on-lan.ts +3 -3
- package/src/clusters/water-heater-management.ts +26 -26
- package/src/clusters/water-heater-mode.ts +27 -27
- package/src/clusters/wi-fi-network-diagnostics.ts +32 -32
- package/src/clusters/wi-fi-network-management.ts +7 -7
- package/src/clusters/window-covering.ts +68 -68
- package/src/dcl/operational-certificate.ts +9 -1
- package/src/globals/AtomicAttributeStatus.ts +4 -4
- package/src/globals/AtomicRequestType.ts +1 -1
- package/src/globals/Currency.ts +2 -2
- package/src/globals/Locationdesc.ts +5 -5
- package/src/globals/MeasurementAccuracy.ts +5 -5
- package/src/globals/MeasurementAccuracyRange.ts +10 -10
- package/src/globals/MeasurementType.ts +1 -1
- package/src/globals/Namespace.ts +1 -1
- package/src/globals/Price.ts +2 -2
- package/src/globals/Priority.ts +1 -1
- package/src/globals/Semtag.ts +6 -6
- package/src/globals/SoftwareVersionCertificationStatus.ts +1 -1
- package/src/globals/Status.ts +36 -36
- package/src/globals/ThreeLevelAuto.ts +1 -1
- package/src/globals/WildcardPathFlags.ts +1 -1
- package/src/protocol/definitions/secure-channel.ts +3 -0
- package/src/schema/PairingCodeSchema.ts +21 -4
|
@@ -38,7 +38,7 @@ export namespace OperationalState {
|
|
|
38
38
|
*
|
|
39
39
|
* The following table defines the generally applicable states.
|
|
40
40
|
*
|
|
41
|
-
* @see {@link MatterSpecification.
|
|
41
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.4.1
|
|
42
42
|
*/
|
|
43
43
|
export enum OperationalStateEnum {
|
|
44
44
|
/**
|
|
@@ -65,13 +65,13 @@ export namespace OperationalState {
|
|
|
65
65
|
/**
|
|
66
66
|
* The OperationalStateStruct is used to indicate a possible state of the device.
|
|
67
67
|
*
|
|
68
|
-
* @see {@link MatterSpecification.
|
|
68
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.4.2
|
|
69
69
|
*/
|
|
70
70
|
export const TlvOperationalStateStruct = TlvObject({
|
|
71
71
|
/**
|
|
72
72
|
* This shall be populated with a value from the OperationalStateEnum.
|
|
73
73
|
*
|
|
74
|
-
* @see {@link MatterSpecification.
|
|
74
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.4.2.1
|
|
75
75
|
*/
|
|
76
76
|
operationalStateId: TlvField(0, TlvEnum<OperationalStateEnum>()),
|
|
77
77
|
|
|
@@ -79,7 +79,7 @@ export namespace OperationalState {
|
|
|
79
79
|
* This field is present when the OperationalStateID is from the set reserved for Manufacturer Specific States.
|
|
80
80
|
* If present, this shall contain a human-readable description of the operational state.
|
|
81
81
|
*
|
|
82
|
-
* @see {@link MatterSpecification.
|
|
82
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.4.2.2
|
|
83
83
|
*/
|
|
84
84
|
operationalStateLabel: TlvOptionalField(1, TlvString.bound({ maxLength: 64 }))
|
|
85
85
|
});
|
|
@@ -87,7 +87,7 @@ export namespace OperationalState {
|
|
|
87
87
|
/**
|
|
88
88
|
* The OperationalStateStruct is used to indicate a possible state of the device.
|
|
89
89
|
*
|
|
90
|
-
* @see {@link MatterSpecification.
|
|
90
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.4.2
|
|
91
91
|
*/
|
|
92
92
|
export interface OperationalStateStruct extends TypeFromSchema<typeof TlvOperationalStateStruct> {}
|
|
93
93
|
|
|
@@ -110,7 +110,7 @@ export namespace OperationalState {
|
|
|
110
110
|
* The set of ErrorStateID field values defined in each of the generic or derived Operational State cluster
|
|
111
111
|
* specifications is called ErrorState.
|
|
112
112
|
*
|
|
113
|
-
* @see {@link MatterSpecification.
|
|
113
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.4.3
|
|
114
114
|
*/
|
|
115
115
|
export enum ErrorState {
|
|
116
116
|
/**
|
|
@@ -135,13 +135,13 @@ export namespace OperationalState {
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
|
-
* @see {@link MatterSpecification.
|
|
138
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.4.4
|
|
139
139
|
*/
|
|
140
140
|
export const TlvErrorStateStruct = TlvObject({
|
|
141
141
|
/**
|
|
142
142
|
* This shall be populated with a value from the ErrorStateEnum.
|
|
143
143
|
*
|
|
144
|
-
* @see {@link MatterSpecification.
|
|
144
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.4.4.1
|
|
145
145
|
*/
|
|
146
146
|
errorStateId: TlvField(0, TlvEnum<ErrorState>()),
|
|
147
147
|
|
|
@@ -149,7 +149,7 @@ export namespace OperationalState {
|
|
|
149
149
|
* This field is present when the ErrorStateID is from the set reserved for Manufacturer Specific errors. If
|
|
150
150
|
* present, this shall contain a human-readable description of the error state.
|
|
151
151
|
*
|
|
152
|
-
* @see {@link MatterSpecification.
|
|
152
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.4.4.2
|
|
153
153
|
*/
|
|
154
154
|
errorStateLabel: TlvOptionalField(1, TlvString.bound({ maxLength: 64 })),
|
|
155
155
|
|
|
@@ -158,13 +158,13 @@ export namespace OperationalState {
|
|
|
158
158
|
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
159
159
|
* "left wheel blocked".
|
|
160
160
|
*
|
|
161
|
-
* @see {@link MatterSpecification.
|
|
161
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.4.4.3
|
|
162
162
|
*/
|
|
163
163
|
errorStateDetails: TlvOptionalField(2, TlvString.bound({ maxLength: 64 }))
|
|
164
164
|
});
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
|
-
* @see {@link MatterSpecification.
|
|
167
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.4.4
|
|
168
168
|
*/
|
|
169
169
|
export interface ErrorStateStruct extends TypeFromSchema<typeof TlvErrorStateStruct> {}
|
|
170
170
|
|
|
@@ -175,7 +175,7 @@ export namespace OperationalState {
|
|
|
175
175
|
*
|
|
176
176
|
* This command shall be generated in response to any of the Start, Stop, Pause, or Resume commands.
|
|
177
177
|
*
|
|
178
|
-
* @see {@link MatterSpecification.
|
|
178
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.6.5
|
|
179
179
|
*/
|
|
180
180
|
export const TlvOperationalCommandResponse = TlvObject({
|
|
181
181
|
/**
|
|
@@ -183,7 +183,7 @@ export namespace OperationalState {
|
|
|
183
183
|
* of the attempted command, the ErrorStateID shall be populated with NoError. See the individual command
|
|
184
184
|
* sections for additional specific requirements on population.
|
|
185
185
|
*
|
|
186
|
-
* @see {@link MatterSpecification.
|
|
186
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.6.5.1
|
|
187
187
|
*/
|
|
188
188
|
commandResponseState: TlvField(0, TlvErrorStateStruct)
|
|
189
189
|
});
|
|
@@ -195,35 +195,35 @@ export namespace OperationalState {
|
|
|
195
195
|
*
|
|
196
196
|
* This command shall be generated in response to any of the Start, Stop, Pause, or Resume commands.
|
|
197
197
|
*
|
|
198
|
-
* @see {@link MatterSpecification.
|
|
198
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.6.5
|
|
199
199
|
*/
|
|
200
200
|
export interface OperationalCommandResponse extends TypeFromSchema<typeof TlvOperationalCommandResponse> {}
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* Body of the OperationalState operationalError event
|
|
204
204
|
*
|
|
205
|
-
* @see {@link MatterSpecification.
|
|
205
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.7.1
|
|
206
206
|
*/
|
|
207
207
|
export const TlvOperationalErrorEvent = TlvObject({ errorState: TlvField(0, TlvErrorStateStruct) });
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
210
|
* Body of the OperationalState operationalError event
|
|
211
211
|
*
|
|
212
|
-
* @see {@link MatterSpecification.
|
|
212
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.7.1
|
|
213
213
|
*/
|
|
214
214
|
export interface OperationalErrorEvent extends TypeFromSchema<typeof TlvOperationalErrorEvent> {}
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* Body of the OperationalState operationCompletion event
|
|
218
218
|
*
|
|
219
|
-
* @see {@link MatterSpecification.
|
|
219
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.7.2
|
|
220
220
|
*/
|
|
221
221
|
export const TlvOperationCompletionEvent = TlvObject({
|
|
222
222
|
/**
|
|
223
223
|
* This field provides an indication of the state at the end of the operation. This field shall have a value
|
|
224
224
|
* from the ErrorStateEnum set. A value of NoError indicates success, that is, no error has been detected.
|
|
225
225
|
*
|
|
226
|
-
* @see {@link MatterSpecification.
|
|
226
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.7.2.1
|
|
227
227
|
*/
|
|
228
228
|
completionErrorCode: TlvField(0, TlvUInt8),
|
|
229
229
|
|
|
@@ -233,7 +233,7 @@ export namespace OperationalState {
|
|
|
233
233
|
* There may be cases whereby the total operational time exceeds the maximum value that can be conveyed by this
|
|
234
234
|
* attribute, in such instances, this attribute shall be populated with null.
|
|
235
235
|
*
|
|
236
|
-
* @see {@link MatterSpecification.
|
|
236
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.7.2.2
|
|
237
237
|
*/
|
|
238
238
|
totalOperationalTime: TlvOptionalField(1, TlvNullable(TlvUInt32)),
|
|
239
239
|
|
|
@@ -242,7 +242,7 @@ export namespace OperationalState {
|
|
|
242
242
|
* exceeds the maximum value that can be conveyed by this attribute, in such instances, this attribute shall be
|
|
243
243
|
* populated with null.
|
|
244
244
|
*
|
|
245
|
-
* @see {@link MatterSpecification.
|
|
245
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.7.2.3
|
|
246
246
|
*/
|
|
247
247
|
pausedTime: TlvOptionalField(2, TlvNullable(TlvUInt32))
|
|
248
248
|
});
|
|
@@ -250,7 +250,7 @@ export namespace OperationalState {
|
|
|
250
250
|
/**
|
|
251
251
|
* Body of the OperationalState operationCompletion event
|
|
252
252
|
*
|
|
253
|
-
* @see {@link MatterSpecification.
|
|
253
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.7.2
|
|
254
254
|
*/
|
|
255
255
|
export interface OperationCompletionEvent extends TypeFromSchema<typeof TlvOperationCompletionEvent> {}
|
|
256
256
|
|
|
@@ -272,7 +272,7 @@ export namespace OperationalState {
|
|
|
272
272
|
* A null value indicates that the device does not present phases during its operation. When this
|
|
273
273
|
* attribute’s value is null, the CurrentPhase attribute shall also be set to null.
|
|
274
274
|
*
|
|
275
|
-
* @see {@link MatterSpecification.
|
|
275
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.5.1
|
|
276
276
|
*/
|
|
277
277
|
phaseList: Attribute(0x0, TlvNullable(TlvArray(TlvString, { maxLength: 32 }))),
|
|
278
278
|
|
|
@@ -284,7 +284,7 @@ export namespace OperationalState {
|
|
|
284
284
|
*
|
|
285
285
|
* Null if the PhaseList attribute is null or if the PhaseList attribute is an empty list.
|
|
286
286
|
*
|
|
287
|
-
* @see {@link MatterSpecification.
|
|
287
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.5.2
|
|
288
288
|
*/
|
|
289
289
|
currentPhase: Attribute(0x1, TlvNullable(TlvUInt8)),
|
|
290
290
|
|
|
@@ -317,7 +317,7 @@ export namespace OperationalState {
|
|
|
317
317
|
* As this attribute is not being reported during a regular countdown, clients SHOULD NOT rely on the
|
|
318
318
|
* reporting of this attribute in order to keep track of the remaining duration.
|
|
319
319
|
*
|
|
320
|
-
* @see {@link MatterSpecification.
|
|
320
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.5.3
|
|
321
321
|
*/
|
|
322
322
|
countdownTime: OptionalAttribute(0x2, TlvNullable(TlvUInt32.bound({ max: 259200 })), { default: null }),
|
|
323
323
|
|
|
@@ -331,7 +331,7 @@ export namespace OperationalState {
|
|
|
331
331
|
* OperationalStateEnum. A device type requiring implementation of this cluster shall define the set of
|
|
332
332
|
* states that are applicable to that specific device type.
|
|
333
333
|
*
|
|
334
|
-
* @see {@link MatterSpecification.
|
|
334
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.5.4
|
|
335
335
|
*/
|
|
336
336
|
operationalStateList: Attribute(0x3, TlvArray(TlvOperationalStateStruct), { default: [] }),
|
|
337
337
|
|
|
@@ -339,7 +339,7 @@ export namespace OperationalState {
|
|
|
339
339
|
* This attribute specifies the current operational state of a device. This shall be populated with a valid
|
|
340
340
|
* OperationalStateID from the set of values in the OperationalStateList Attribute.
|
|
341
341
|
*
|
|
342
|
-
* @see {@link MatterSpecification.
|
|
342
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.5.5
|
|
343
343
|
*/
|
|
344
344
|
operationalState: Attribute(0x4, TlvEnum<OperationalStateEnum>()),
|
|
345
345
|
|
|
@@ -350,7 +350,7 @@ export namespace OperationalState {
|
|
|
350
350
|
*
|
|
351
351
|
* When there is no error detected, this shall have an ErrorStateID of NoError.
|
|
352
352
|
*
|
|
353
|
-
* @see {@link MatterSpecification.
|
|
353
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.5.6
|
|
354
354
|
*/
|
|
355
355
|
operationalError: Attribute(0x5, TlvErrorStateStruct)
|
|
356
356
|
},
|
|
@@ -393,7 +393,7 @@ export namespace OperationalState {
|
|
|
393
393
|
*
|
|
394
394
|
* ### Table 3. Pause Compatibility
|
|
395
395
|
*
|
|
396
|
-
* @see {@link MatterSpecification.
|
|
396
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.6.1
|
|
397
397
|
*/
|
|
398
398
|
pause: OptionalCommand(0x0, TlvNoArguments, 0x4, TlvOperationalCommandResponse),
|
|
399
399
|
|
|
@@ -418,7 +418,7 @@ export namespace OperationalState {
|
|
|
418
418
|
*
|
|
419
419
|
* • The device shall respond with an OperationalCommandResponse command with an ErrorStateID of NoError.
|
|
420
420
|
*
|
|
421
|
-
* @see {@link MatterSpecification.
|
|
421
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.6.2
|
|
422
422
|
*/
|
|
423
423
|
stop: OptionalCommand(0x1, TlvNoArguments, 0x4, TlvOperationalCommandResponse),
|
|
424
424
|
|
|
@@ -445,7 +445,7 @@ export namespace OperationalState {
|
|
|
445
445
|
*
|
|
446
446
|
* • The device shall respond with an OperationalCommandResponse command with an ErrorStateID of NoError.
|
|
447
447
|
*
|
|
448
|
-
* @see {@link MatterSpecification.
|
|
448
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.6.3
|
|
449
449
|
*/
|
|
450
450
|
start: OptionalCommand(0x2, TlvNoArguments, 0x4, TlvOperationalCommandResponse),
|
|
451
451
|
|
|
@@ -487,7 +487,7 @@ export namespace OperationalState {
|
|
|
487
487
|
*
|
|
488
488
|
* • The device shall respond with an OperationalCommandResponse command with an ErrorStateID of NoError.
|
|
489
489
|
*
|
|
490
|
-
* @see {@link MatterSpecification.
|
|
490
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.6.4
|
|
491
491
|
*/
|
|
492
492
|
resume: OptionalCommand(0x3, TlvNoArguments, 0x4, TlvOperationalCommandResponse)
|
|
493
493
|
},
|
|
@@ -499,7 +499,7 @@ export namespace OperationalState {
|
|
|
499
499
|
*
|
|
500
500
|
* This event shall contain the following fields:
|
|
501
501
|
*
|
|
502
|
-
* @see {@link MatterSpecification.
|
|
502
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.7.1
|
|
503
503
|
*/
|
|
504
504
|
operationalError: Event(0x0, Priority.Critical, TlvOperationalErrorEvent),
|
|
505
505
|
|
|
@@ -514,7 +514,7 @@ export namespace OperationalState {
|
|
|
514
514
|
*
|
|
515
515
|
* This event shall contain the following fields:
|
|
516
516
|
*
|
|
517
|
-
* @see {@link MatterSpecification.
|
|
517
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14.7.2
|
|
518
518
|
*/
|
|
519
519
|
operationCompletion: OptionalEvent(0x1, Priority.Info, TlvOperationCompletionEvent)
|
|
520
520
|
}
|
|
@@ -540,7 +540,7 @@ export namespace OperationalState {
|
|
|
540
540
|
*
|
|
541
541
|
* Additionally, this cluster provides events for monitoring the operational state of the device.
|
|
542
542
|
*
|
|
543
|
-
* @see {@link MatterSpecification.
|
|
543
|
+
* @see {@link MatterSpecification.v142.Cluster} § 1.14
|
|
544
544
|
*/
|
|
545
545
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
546
546
|
|
|
@@ -25,7 +25,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
25
25
|
* Note that only HTTP over TLS (HTTPS) is supported (see RFC 7230). Using HTTP without TLS shall NOT be supported,
|
|
26
26
|
* as there is no way to authenticate the involved participants.
|
|
27
27
|
*
|
|
28
|
-
* @see {@link MatterSpecification.
|
|
28
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.4.3
|
|
29
29
|
*/
|
|
30
30
|
export enum DownloadProtocol {
|
|
31
31
|
/**
|
|
@@ -52,14 +52,14 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
52
52
|
/**
|
|
53
53
|
* Input to the OtaSoftwareUpdateProvider queryImage command
|
|
54
54
|
*
|
|
55
|
-
* @see {@link MatterSpecification.
|
|
55
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.1
|
|
56
56
|
*/
|
|
57
57
|
export const TlvQueryImageRequest = TlvObject({
|
|
58
58
|
/**
|
|
59
59
|
* The value shall be the Vendor ID applying to the OTA Requestor’s Node and shall match the value reported by
|
|
60
60
|
* the Basic Information Cluster VendorID attribute.
|
|
61
61
|
*
|
|
62
|
-
* @see {@link MatterSpecification.
|
|
62
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.1.1
|
|
63
63
|
*/
|
|
64
64
|
vendorId: TlvField(0, TlvVendorId),
|
|
65
65
|
|
|
@@ -67,7 +67,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
67
67
|
* The value shall be the Product ID applying to the OTA Requestor’s Node and shall match the value reported by
|
|
68
68
|
* the Basic Information Cluster ProductID attribute.
|
|
69
69
|
*
|
|
70
|
-
* @see {@link MatterSpecification.
|
|
70
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.1.2
|
|
71
71
|
*/
|
|
72
72
|
productId: TlvField(1, TlvUInt16),
|
|
73
73
|
|
|
@@ -76,7 +76,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
76
76
|
* running on the OTA Requestor invoking the command. This version shall be equal to the Software Version
|
|
77
77
|
* attribute of the Basic Information Cluster.
|
|
78
78
|
*
|
|
79
|
-
* @see {@link MatterSpecification.
|
|
79
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.1.3
|
|
80
80
|
*/
|
|
81
81
|
softwareVersion: TlvField(2, TlvUInt32),
|
|
82
82
|
|
|
@@ -95,7 +95,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
95
95
|
* See Section 11.20.3.2, “Querying the OTA Provider” and Section 11.20.3.5, “Transfer of OTA Software Update
|
|
96
96
|
* images” for more details about usage of this field.
|
|
97
97
|
*
|
|
98
|
-
* @see {@link MatterSpecification.
|
|
98
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.1.4
|
|
99
99
|
*/
|
|
100
100
|
protocolsSupported: TlvField(3, TlvArray(TlvEnum<DownloadProtocol>(), { maxLength: 8 })),
|
|
101
101
|
|
|
@@ -103,7 +103,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
103
103
|
* The value of this field, if present, shall contain the OTA Requestor’s hardware version, and shall be equal
|
|
104
104
|
* to the HardwareVersion attribute of the Basic Information Cluster.
|
|
105
105
|
*
|
|
106
|
-
* @see {@link MatterSpecification.
|
|
106
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.1.5
|
|
107
107
|
*/
|
|
108
108
|
hardwareVersion: TlvOptionalField(4, TlvUInt16),
|
|
109
109
|
|
|
@@ -112,7 +112,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
112
112
|
* for the OTA Requestor as configured. This may be used by the OTA Provider logic to allow per-region selection
|
|
113
113
|
* of the Software Image.
|
|
114
114
|
*
|
|
115
|
-
* @see {@link MatterSpecification.
|
|
115
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.1.6
|
|
116
116
|
*/
|
|
117
117
|
location: TlvOptionalField(5, TlvString.bound({ length: 2 })),
|
|
118
118
|
|
|
@@ -122,7 +122,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
122
122
|
*
|
|
123
123
|
* See Section 11.20.3.4, “Obtaining user consent for updating software” for application details about usage.
|
|
124
124
|
*
|
|
125
|
-
* @see {@link MatterSpecification.
|
|
125
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.1.7
|
|
126
126
|
*/
|
|
127
127
|
requestorCanConsent: TlvOptionalField(6, TlvBoolean),
|
|
128
128
|
|
|
@@ -156,7 +156,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
156
156
|
* See Section 11.20.3.2, “Querying the OTA Provider” for full details about the OTA Software Update Query flow
|
|
157
157
|
* which makes use of this command.
|
|
158
158
|
*
|
|
159
|
-
* @see {@link MatterSpecification.
|
|
159
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.1.8
|
|
160
160
|
*/
|
|
161
161
|
metadataForProvider: TlvOptionalField(7, TlvByteString.bound({ maxLength: 512 }))
|
|
162
162
|
});
|
|
@@ -164,14 +164,14 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
164
164
|
/**
|
|
165
165
|
* Input to the OtaSoftwareUpdateProvider queryImage command
|
|
166
166
|
*
|
|
167
|
-
* @see {@link MatterSpecification.
|
|
167
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.1
|
|
168
168
|
*/
|
|
169
169
|
export interface QueryImageRequest extends TypeFromSchema<typeof TlvQueryImageRequest> {}
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* See Section 11.20.3.2, “Querying the OTA Provider” for the semantics of these values.
|
|
173
173
|
*
|
|
174
|
-
* @see {@link MatterSpecification.
|
|
174
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.4.1
|
|
175
175
|
*/
|
|
176
176
|
export enum Status {
|
|
177
177
|
/**
|
|
@@ -198,7 +198,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
198
198
|
/**
|
|
199
199
|
* Thrown for cluster status code {@link Status.UpdateAvailable}.
|
|
200
200
|
*
|
|
201
|
-
* @see {@link MatterSpecification.
|
|
201
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.4.1
|
|
202
202
|
*/
|
|
203
203
|
export class UpdateAvailableError extends StatusResponseError {
|
|
204
204
|
constructor(
|
|
@@ -213,7 +213,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
213
213
|
/**
|
|
214
214
|
* Thrown for cluster status code {@link Status.Busy}.
|
|
215
215
|
*
|
|
216
|
-
* @see {@link MatterSpecification.
|
|
216
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.4.1
|
|
217
217
|
*/
|
|
218
218
|
export class BusyError extends StatusResponseError {
|
|
219
219
|
constructor(
|
|
@@ -228,7 +228,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
228
228
|
/**
|
|
229
229
|
* Thrown for cluster status code {@link Status.NotAvailable}.
|
|
230
230
|
*
|
|
231
|
-
* @see {@link MatterSpecification.
|
|
231
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.4.1
|
|
232
232
|
*/
|
|
233
233
|
export class NotAvailableError extends StatusResponseError {
|
|
234
234
|
constructor(
|
|
@@ -243,7 +243,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
243
243
|
/**
|
|
244
244
|
* Thrown for cluster status code {@link Status.DownloadProtocolNotSupported}.
|
|
245
245
|
*
|
|
246
|
-
* @see {@link MatterSpecification.
|
|
246
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.4.1
|
|
247
247
|
*/
|
|
248
248
|
export class DownloadProtocolNotSupportedError extends StatusResponseError {
|
|
249
249
|
constructor(
|
|
@@ -256,7 +256,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
/**
|
|
259
|
-
* @see {@link MatterSpecification.
|
|
259
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.2
|
|
260
260
|
*/
|
|
261
261
|
export const TlvQueryImageResponse = TlvObject({
|
|
262
262
|
/**
|
|
@@ -265,7 +265,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
265
265
|
* See Section 11.20.3.2, “Querying the OTA Provider” for details about the possible values for this field and
|
|
266
266
|
* their meaning.
|
|
267
267
|
*
|
|
268
|
-
* @see {@link MatterSpecification.
|
|
268
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.2.1
|
|
269
269
|
*/
|
|
270
270
|
status: TlvField(0, TlvEnum<Status>()),
|
|
271
271
|
|
|
@@ -281,7 +281,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
281
281
|
*
|
|
282
282
|
* See Section 11.20.3.2, “Querying the OTA Provider” for details about the rules regarding this field.
|
|
283
283
|
*
|
|
284
|
-
* @see {@link MatterSpecification.
|
|
284
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.2.2
|
|
285
285
|
*/
|
|
286
286
|
delayedActionTime: TlvOptionalField(1, TlvUInt32),
|
|
287
287
|
|
|
@@ -383,7 +383,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
383
383
|
*
|
|
384
384
|
* See Section 11.20.3.2, “Querying the OTA Provider” for additional details about the flow.
|
|
385
385
|
*
|
|
386
|
-
* @see {@link MatterSpecification.
|
|
386
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.2.3
|
|
387
387
|
*/
|
|
388
388
|
imageUri: TlvOptionalField(2, TlvString.bound({ maxLength: 256 })),
|
|
389
389
|
|
|
@@ -396,7 +396,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
396
396
|
* See Section 11.20.3.2, “Querying the OTA Provider” for additional details about the flow and acceptable
|
|
397
397
|
* values.
|
|
398
398
|
*
|
|
399
|
-
* @see {@link MatterSpecification.
|
|
399
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.2.4
|
|
400
400
|
*/
|
|
401
401
|
softwareVersion: TlvOptionalField(3, TlvUInt32),
|
|
402
402
|
|
|
@@ -410,7 +410,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
410
410
|
* See Section 11.20.3.2, “Querying the OTA Provider” for additional details about the flow and acceptable
|
|
411
411
|
* values.
|
|
412
412
|
*
|
|
413
|
-
* @see {@link MatterSpecification.
|
|
413
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.2.5
|
|
414
414
|
*/
|
|
415
415
|
softwareVersionString: TlvOptionalField(4, TlvString.bound({ minLength: 1, maxLength: 64 })),
|
|
416
416
|
|
|
@@ -421,7 +421,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
421
421
|
* See Section 11.20.3.6.1, “UpdateToken usage” for additional details about the generation and usage of
|
|
422
422
|
* UpdateToken.
|
|
423
423
|
*
|
|
424
|
-
* @see {@link MatterSpecification.
|
|
424
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.2.6
|
|
425
425
|
*/
|
|
426
426
|
updateToken: TlvOptionalField(5, TlvByteString.bound({ minLength: 8, maxLength: 32 })),
|
|
427
427
|
|
|
@@ -433,7 +433,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
433
433
|
*
|
|
434
434
|
* See Section 11.20.3.4, “Obtaining user consent for updating software” for application details about usage.
|
|
435
435
|
*
|
|
436
|
-
* @see {@link MatterSpecification.
|
|
436
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.2.7
|
|
437
437
|
*/
|
|
438
438
|
userConsentNeeded: TlvOptionalField(6, TlvBoolean),
|
|
439
439
|
|
|
@@ -450,20 +450,20 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
450
450
|
* by an OTA Provider with this additional knowledge if it has knowledge that the receiving OTA Requestor may be
|
|
451
451
|
* able to use it.
|
|
452
452
|
*
|
|
453
|
-
* @see {@link MatterSpecification.
|
|
453
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.2.8
|
|
454
454
|
*/
|
|
455
455
|
metadataForRequestor: TlvOptionalField(7, TlvByteString.bound({ maxLength: 512 }))
|
|
456
456
|
});
|
|
457
457
|
|
|
458
458
|
/**
|
|
459
|
-
* @see {@link MatterSpecification.
|
|
459
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.2
|
|
460
460
|
*/
|
|
461
461
|
export interface QueryImageResponse extends TypeFromSchema<typeof TlvQueryImageResponse> {}
|
|
462
462
|
|
|
463
463
|
/**
|
|
464
464
|
* Input to the OtaSoftwareUpdateProvider applyUpdateRequest command
|
|
465
465
|
*
|
|
466
|
-
* @see {@link MatterSpecification.
|
|
466
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.3
|
|
467
467
|
*/
|
|
468
468
|
export const TlvApplyUpdateRequest = TlvObject({
|
|
469
469
|
/**
|
|
@@ -471,7 +471,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
471
471
|
* may be used by the OTA Provider to track minimal lifecycle state to allow finer-grained scheduling of the
|
|
472
472
|
* application of Software Images by OTA Requestors.
|
|
473
473
|
*
|
|
474
|
-
* @see {@link MatterSpecification.
|
|
474
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.3.1
|
|
475
475
|
*/
|
|
476
476
|
updateToken: TlvField(0, TlvByteString.bound({ minLength: 8, maxLength: 32 })),
|
|
477
477
|
|
|
@@ -501,7 +501,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
501
501
|
*
|
|
502
502
|
* See Section 11.20.3.6, “Applying a software update” for all error-handling information.
|
|
503
503
|
*
|
|
504
|
-
* @see {@link MatterSpecification.
|
|
504
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.3.2
|
|
505
505
|
*/
|
|
506
506
|
newVersion: TlvField(1, TlvUInt32)
|
|
507
507
|
});
|
|
@@ -509,7 +509,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
509
509
|
/**
|
|
510
510
|
* Input to the OtaSoftwareUpdateProvider applyUpdateRequest command
|
|
511
511
|
*
|
|
512
|
-
* @see {@link MatterSpecification.
|
|
512
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.3
|
|
513
513
|
*/
|
|
514
514
|
export interface ApplyUpdateRequest extends TypeFromSchema<typeof TlvApplyUpdateRequest> {}
|
|
515
515
|
|
|
@@ -517,7 +517,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
517
517
|
* See Section 11.20.3.6, “Applying a software update” for the semantics of the values. This enumeration is used in
|
|
518
518
|
* the Action field of the ApplyUpdateResponse command. See (Action).
|
|
519
519
|
*
|
|
520
|
-
* @see {@link MatterSpecification.
|
|
520
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.4.2
|
|
521
521
|
*/
|
|
522
522
|
export enum ApplyUpdateAction {
|
|
523
523
|
/**
|
|
@@ -537,7 +537,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
/**
|
|
540
|
-
* @see {@link MatterSpecification.
|
|
540
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.4
|
|
541
541
|
*/
|
|
542
542
|
export const TlvApplyUpdateResponse = TlvObject({
|
|
543
543
|
/**
|
|
@@ -545,7 +545,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
545
545
|
* 11.20.3.6, “Applying a software update” for a description of the Action values provided in response to an OTA
|
|
546
546
|
* Provider receiving an invocation of this command.
|
|
547
547
|
*
|
|
548
|
-
* @see {@link MatterSpecification.
|
|
548
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.4.1
|
|
549
549
|
*/
|
|
550
550
|
action: TlvField(0, TlvEnum<ApplyUpdateAction>()),
|
|
551
551
|
|
|
@@ -555,26 +555,26 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
555
555
|
* If this field has a value higher than 86400 seconds (24 hours), then the OTA Requestor may assume a value of
|
|
556
556
|
* 86400, in order to reduce undue Software Image application delays.
|
|
557
557
|
*
|
|
558
|
-
* @see {@link MatterSpecification.
|
|
558
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.4.2
|
|
559
559
|
*/
|
|
560
560
|
delayedActionTime: TlvField(1, TlvUInt32)
|
|
561
561
|
});
|
|
562
562
|
|
|
563
563
|
/**
|
|
564
|
-
* @see {@link MatterSpecification.
|
|
564
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.4
|
|
565
565
|
*/
|
|
566
566
|
export interface ApplyUpdateResponse extends TypeFromSchema<typeof TlvApplyUpdateResponse> {}
|
|
567
567
|
|
|
568
568
|
/**
|
|
569
569
|
* Input to the OtaSoftwareUpdateProvider notifyUpdateApplied command
|
|
570
570
|
*
|
|
571
|
-
* @see {@link MatterSpecification.
|
|
571
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.5
|
|
572
572
|
*/
|
|
573
573
|
export const TlvNotifyUpdateAppliedRequest = TlvObject({
|
|
574
574
|
/**
|
|
575
575
|
* This field shall contain the UpdateToken as specified in Section 11.20.3.6.1, “UpdateToken usage”.
|
|
576
576
|
*
|
|
577
|
-
* @see {@link MatterSpecification.
|
|
577
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.5.1
|
|
578
578
|
*/
|
|
579
579
|
updateToken: TlvField(0, TlvByteString.bound({ minLength: 8, maxLength: 32 })),
|
|
580
580
|
|
|
@@ -608,7 +608,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
608
608
|
* On receiving this command, an OTA Provider may use the information to update its bookkeeping of cached
|
|
609
609
|
* Software Images, or use it for other similar administrative purposes.
|
|
610
610
|
*
|
|
611
|
-
* @see {@link MatterSpecification.
|
|
611
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.5.2
|
|
612
612
|
*/
|
|
613
613
|
softwareVersion: TlvField(1, TlvUInt32)
|
|
614
614
|
});
|
|
@@ -616,7 +616,7 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
616
616
|
/**
|
|
617
617
|
* Input to the OtaSoftwareUpdateProvider notifyUpdateApplied command
|
|
618
618
|
*
|
|
619
|
-
* @see {@link MatterSpecification.
|
|
619
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.5
|
|
620
620
|
*/
|
|
621
621
|
export interface NotifyUpdateAppliedRequest extends TypeFromSchema<typeof TlvNotifyUpdateAppliedRequest> {}
|
|
622
622
|
|
|
@@ -633,24 +633,24 @@ export namespace OtaSoftwareUpdateProvider {
|
|
|
633
633
|
* Upon receipt, this command shall trigger an attempt to find an updated Software Image by the OTA Provider
|
|
634
634
|
* to match the OTA Requestor’s constraints provided in the payload fields.
|
|
635
635
|
*
|
|
636
|
-
* @see {@link MatterSpecification.
|
|
636
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.1
|
|
637
637
|
*/
|
|
638
638
|
queryImage: Command(0x0, TlvQueryImageRequest, 0x1, TlvQueryImageResponse),
|
|
639
639
|
|
|
640
640
|
/**
|
|
641
|
-
* @see {@link MatterSpecification.
|
|
641
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.3
|
|
642
642
|
*/
|
|
643
643
|
applyUpdateRequest: Command(0x2, TlvApplyUpdateRequest, 0x3, TlvApplyUpdateResponse),
|
|
644
644
|
|
|
645
645
|
/**
|
|
646
|
-
* @see {@link MatterSpecification.
|
|
646
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6.5.5
|
|
647
647
|
*/
|
|
648
648
|
notifyUpdateApplied: Command(0x4, TlvNotifyUpdateAppliedRequest, 0x4, TlvNoResponse)
|
|
649
649
|
}
|
|
650
650
|
});
|
|
651
651
|
|
|
652
652
|
/**
|
|
653
|
-
* @see {@link MatterSpecification.
|
|
653
|
+
* @see {@link MatterSpecification.v142.Core} § 11.20.6
|
|
654
654
|
*/
|
|
655
655
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
656
656
|
|