@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
|
@@ -31,7 +31,7 @@ export namespace TimeSynchronization {
|
|
|
31
31
|
/**
|
|
32
32
|
* These are optional features supported by TimeSynchronizationCluster.
|
|
33
33
|
*
|
|
34
|
-
* @see {@link MatterSpecification.
|
|
34
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.5
|
|
35
35
|
*/
|
|
36
36
|
export enum Feature {
|
|
37
37
|
/**
|
|
@@ -42,7 +42,7 @@ export namespace TimeSynchronization {
|
|
|
42
42
|
* commands, and TimeZone and DSTOffset attributes, and shall expose the local time through the LocalTime
|
|
43
43
|
* attribute.
|
|
44
44
|
*
|
|
45
|
-
* @see {@link MatterSpecification.
|
|
45
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.5.1
|
|
46
46
|
*/
|
|
47
47
|
TimeZone = "TimeZone",
|
|
48
48
|
|
|
@@ -51,7 +51,7 @@ export namespace TimeSynchronization {
|
|
|
51
51
|
*
|
|
52
52
|
* Allows a node to use NTP/SNTP for time synchronization.
|
|
53
53
|
*
|
|
54
|
-
* @see {@link MatterSpecification.
|
|
54
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.5.2
|
|
55
55
|
*/
|
|
56
56
|
NtpClient = "NtpClient",
|
|
57
57
|
|
|
@@ -61,7 +61,7 @@ export namespace TimeSynchronization {
|
|
|
61
61
|
* Allows a Node to host an NTP server for the network so that other Nodes can achieve a high accuracy time
|
|
62
62
|
* synchronization within the network. See Section 11.17.15, “Acting as an NTP Server”.
|
|
63
63
|
*
|
|
64
|
-
* @see {@link MatterSpecification.
|
|
64
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.5.3
|
|
65
65
|
*/
|
|
66
66
|
NtpServer = "NtpServer",
|
|
67
67
|
|
|
@@ -70,51 +70,51 @@ export namespace TimeSynchronization {
|
|
|
70
70
|
*
|
|
71
71
|
* This node also supports a time synchronization client and can connect to and read time from other nodes.
|
|
72
72
|
*
|
|
73
|
-
* @see {@link MatterSpecification.
|
|
73
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.5.4
|
|
74
74
|
*/
|
|
75
75
|
TimeSyncClient = "TimeSyncClient"
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
* @see {@link MatterSpecification.
|
|
79
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.4
|
|
80
80
|
*/
|
|
81
81
|
export const TlvTrustedTimeSource = TlvObject({
|
|
82
82
|
/**
|
|
83
83
|
* The Fabric Index associated with the Fabric of the client which last set the value of the trusted time source
|
|
84
84
|
* node.
|
|
85
85
|
*
|
|
86
|
-
* @see {@link MatterSpecification.
|
|
86
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.4.1
|
|
87
87
|
*/
|
|
88
88
|
fabricIndex: TlvField(0, TlvFabricIndex),
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* Node ID of the trusted time source node on the Fabric associated with the entry.
|
|
92
92
|
*
|
|
93
|
-
* @see {@link MatterSpecification.
|
|
93
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.4.2
|
|
94
94
|
*/
|
|
95
95
|
nodeId: TlvField(1, TlvNodeId),
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* Endpoint on the trusted time source node that contains the Time Synchronization cluster server.
|
|
99
99
|
*
|
|
100
|
-
* @see {@link MatterSpecification.
|
|
100
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.4.3
|
|
101
101
|
*/
|
|
102
102
|
endpoint: TlvField(2, TlvEndpointNumber)
|
|
103
103
|
});
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
|
-
* @see {@link MatterSpecification.
|
|
106
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.4
|
|
107
107
|
*/
|
|
108
108
|
export interface TrustedTimeSource extends TypeFromSchema<typeof TlvTrustedTimeSource> {}
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
* @see {@link MatterSpecification.
|
|
111
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.5
|
|
112
112
|
*/
|
|
113
113
|
export const TlvFabricScopedTrustedTimeSource = TlvObject({
|
|
114
114
|
/**
|
|
115
115
|
* Node ID of the trusted time source node on the Fabric of the issuer.
|
|
116
116
|
*
|
|
117
|
-
* @see {@link MatterSpecification.
|
|
117
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.5.1
|
|
118
118
|
*/
|
|
119
119
|
nodeId: TlvField(0, TlvNodeId),
|
|
120
120
|
|
|
@@ -123,26 +123,26 @@ export namespace TimeSynchronization {
|
|
|
123
123
|
* provided to avoid having to do discovery of the location of that endpoint by walking over all endpoints and
|
|
124
124
|
* checking their Descriptor Cluster.
|
|
125
125
|
*
|
|
126
|
-
* @see {@link MatterSpecification.
|
|
126
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.5.2
|
|
127
127
|
*/
|
|
128
128
|
endpoint: TlvField(1, TlvEndpointNumber)
|
|
129
129
|
});
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
|
-
* @see {@link MatterSpecification.
|
|
132
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.5
|
|
133
133
|
*/
|
|
134
134
|
export interface FabricScopedTrustedTimeSource extends TypeFromSchema<typeof TlvFabricScopedTrustedTimeSource> {}
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* Input to the TimeSynchronization setTrustedTimeSource command
|
|
138
138
|
*
|
|
139
|
-
* @see {@link MatterSpecification.
|
|
139
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.2
|
|
140
140
|
*/
|
|
141
141
|
export const TlvSetTrustedTimeSourceRequest = TlvObject({
|
|
142
142
|
/**
|
|
143
143
|
* This field contains the Node ID and endpoint of a trusted time source on the accessing fabric.
|
|
144
144
|
*
|
|
145
|
-
* @see {@link MatterSpecification.
|
|
145
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.2.1
|
|
146
146
|
*/
|
|
147
147
|
trustedTimeSource: TlvField(0, TlvNullable(TlvFabricScopedTrustedTimeSource)),
|
|
148
148
|
|
|
@@ -152,21 +152,21 @@ export namespace TimeSynchronization {
|
|
|
152
152
|
/**
|
|
153
153
|
* Input to the TimeSynchronization setTrustedTimeSource command
|
|
154
154
|
*
|
|
155
|
-
* @see {@link MatterSpecification.
|
|
155
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.2
|
|
156
156
|
*/
|
|
157
157
|
export interface SetTrustedTimeSourceRequest extends TypeFromSchema<typeof TlvSetTrustedTimeSourceRequest> {}
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
160
|
* Input to the TimeSynchronization setDefaultNtp command
|
|
161
161
|
*
|
|
162
|
-
* @see {@link MatterSpecification.
|
|
162
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.6
|
|
163
163
|
*/
|
|
164
164
|
export const TlvSetDefaultNtpRequest = TlvObject({
|
|
165
165
|
/**
|
|
166
166
|
* This field contains the address of an NTP server than can be used as a fallback for time synchronization. The
|
|
167
167
|
* format of this field shall follow the requirements in the DefaultNTP attribute description.
|
|
168
168
|
*
|
|
169
|
-
* @see {@link MatterSpecification.
|
|
169
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.6.1
|
|
170
170
|
*/
|
|
171
171
|
defaultNtp: TlvField(0, TlvNullable(TlvString.bound({ maxLength: 128 })))
|
|
172
172
|
});
|
|
@@ -174,25 +174,25 @@ export namespace TimeSynchronization {
|
|
|
174
174
|
/**
|
|
175
175
|
* Input to the TimeSynchronization setDefaultNtp command
|
|
176
176
|
*
|
|
177
|
-
* @see {@link MatterSpecification.
|
|
177
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.6
|
|
178
178
|
*/
|
|
179
179
|
export interface SetDefaultNtpRequest extends TypeFromSchema<typeof TlvSetDefaultNtpRequest> {}
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
|
-
* @see {@link MatterSpecification.
|
|
182
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.6
|
|
183
183
|
*/
|
|
184
184
|
export const TlvTimeZone = TlvObject({
|
|
185
185
|
/**
|
|
186
186
|
* The time zone offset from UTC in seconds.
|
|
187
187
|
*
|
|
188
|
-
* @see {@link MatterSpecification.
|
|
188
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.6.1
|
|
189
189
|
*/
|
|
190
190
|
offset: TlvField(0, TlvInt32.bound({ min: -43200, max: 50400 })),
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* The UTC time when the offset shall be applied.
|
|
194
194
|
*
|
|
195
|
-
* @see {@link MatterSpecification.
|
|
195
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.6.2
|
|
196
196
|
*/
|
|
197
197
|
validAt: TlvField(1, TlvEpochUs),
|
|
198
198
|
|
|
@@ -202,18 +202,18 @@ export namespace TimeSynchronization {
|
|
|
202
202
|
* TimeZoneDatabase it may use the Name field to set its own DST offsets if it has database information for the
|
|
203
203
|
* supplied time zone Name and the given Offset matches.
|
|
204
204
|
*
|
|
205
|
-
* @see {@link MatterSpecification.
|
|
205
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.6.3
|
|
206
206
|
*/
|
|
207
207
|
name: TlvOptionalField(2, TlvString.bound({ minLength: 0, maxLength: 64 }))
|
|
208
208
|
});
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
|
-
* @see {@link MatterSpecification.
|
|
211
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.6
|
|
212
212
|
*/
|
|
213
213
|
export interface TimeZone extends TypeFromSchema<typeof TlvTimeZone> {}
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
|
-
* @see {@link MatterSpecification.
|
|
216
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.7
|
|
217
217
|
*/
|
|
218
218
|
export const TlvDstOffset = TlvObject({
|
|
219
219
|
/**
|
|
@@ -221,14 +221,14 @@ export namespace TimeSynchronization {
|
|
|
221
221
|
* accept any values in the int32 range to accommodate potential future legislation that does not fit with these
|
|
222
222
|
* assumptions.
|
|
223
223
|
*
|
|
224
|
-
* @see {@link MatterSpecification.
|
|
224
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.7.1
|
|
225
225
|
*/
|
|
226
226
|
offset: TlvField(0, TlvInt32),
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
229
|
* The UTC time when the offset shall be applied.
|
|
230
230
|
*
|
|
231
|
-
* @see {@link MatterSpecification.
|
|
231
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.7.2
|
|
232
232
|
*/
|
|
233
233
|
validStarting: TlvField(1, TlvEpochUs),
|
|
234
234
|
|
|
@@ -236,13 +236,13 @@ export namespace TimeSynchronization {
|
|
|
236
236
|
* The UTC time when the offset shall stop being applied. Providing a null value here indicates a permanent DST
|
|
237
237
|
* change. If this value is non-null the value shall be larger than the ValidStarting time.
|
|
238
238
|
*
|
|
239
|
-
* @see {@link MatterSpecification.
|
|
239
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.7.3
|
|
240
240
|
*/
|
|
241
241
|
validUntil: TlvField(2, TlvNullable(TlvEpochUs))
|
|
242
242
|
});
|
|
243
243
|
|
|
244
244
|
/**
|
|
245
|
-
* @see {@link MatterSpecification.
|
|
245
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.7
|
|
246
246
|
*/
|
|
247
247
|
export interface DstOffset extends TypeFromSchema<typeof TlvDstOffset> {}
|
|
248
248
|
|
|
@@ -251,7 +251,7 @@ export namespace TimeSynchronization {
|
|
|
251
251
|
* may be used to omit historical data, less commonly used time zones, and/or time zones not related to the region a
|
|
252
252
|
* product is sold in.
|
|
253
253
|
*
|
|
254
|
-
* @see {@link MatterSpecification.
|
|
254
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.3
|
|
255
255
|
*/
|
|
256
256
|
export enum TimeZoneDatabase {
|
|
257
257
|
/**
|
|
@@ -273,7 +273,7 @@ export namespace TimeSynchronization {
|
|
|
273
273
|
/**
|
|
274
274
|
* Input to the TimeSynchronization setTimeZone command
|
|
275
275
|
*
|
|
276
|
-
* @see {@link MatterSpecification.
|
|
276
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.3
|
|
277
277
|
*/
|
|
278
278
|
export const TlvSetTimeZoneRequest = TlvObject({
|
|
279
279
|
timeZone: TlvField(0, TlvArray(TlvTimeZone, { minLength: 1, maxLength: 2 }))
|
|
@@ -282,7 +282,7 @@ export namespace TimeSynchronization {
|
|
|
282
282
|
/**
|
|
283
283
|
* Input to the TimeSynchronization setTimeZone command
|
|
284
284
|
*
|
|
285
|
-
* @see {@link MatterSpecification.
|
|
285
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.3
|
|
286
286
|
*/
|
|
287
287
|
export interface SetTimeZoneRequest extends TypeFromSchema<typeof TlvSetTimeZoneRequest> {}
|
|
288
288
|
|
|
@@ -290,7 +290,7 @@ export namespace TimeSynchronization {
|
|
|
290
290
|
* THis command is used to report the result of a SetTimeZone command. This command shall be generated in response
|
|
291
291
|
* to a SetTimeZone command.
|
|
292
292
|
*
|
|
293
|
-
* @see {@link MatterSpecification.
|
|
293
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.4
|
|
294
294
|
*/
|
|
295
295
|
export const TlvSetTimeZoneResponse = TlvObject({
|
|
296
296
|
/**
|
|
@@ -298,7 +298,7 @@ export namespace TimeSynchronization {
|
|
|
298
298
|
* this information to set the DSTOffset attribute. If the node is setting its own DSTOffset attribute, the
|
|
299
299
|
* DSTOffsetRequired field shall be set to false, otherwise it shall be set to true.
|
|
300
300
|
*
|
|
301
|
-
* @see {@link MatterSpecification.
|
|
301
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.4.1
|
|
302
302
|
*/
|
|
303
303
|
dstOffsetRequired: TlvField(0, TlvBoolean)
|
|
304
304
|
});
|
|
@@ -307,35 +307,35 @@ export namespace TimeSynchronization {
|
|
|
307
307
|
* THis command is used to report the result of a SetTimeZone command. This command shall be generated in response
|
|
308
308
|
* to a SetTimeZone command.
|
|
309
309
|
*
|
|
310
|
-
* @see {@link MatterSpecification.
|
|
310
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.4
|
|
311
311
|
*/
|
|
312
312
|
export interface SetTimeZoneResponse extends TypeFromSchema<typeof TlvSetTimeZoneResponse> {}
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
315
|
* Input to the TimeSynchronization setDstOffset command
|
|
316
316
|
*
|
|
317
|
-
* @see {@link MatterSpecification.
|
|
317
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.5
|
|
318
318
|
*/
|
|
319
319
|
export const TlvSetDstOffsetRequest = TlvObject({ dstOffset: TlvField(0, TlvArray(TlvDstOffset)) });
|
|
320
320
|
|
|
321
321
|
/**
|
|
322
322
|
* Input to the TimeSynchronization setDstOffset command
|
|
323
323
|
*
|
|
324
|
-
* @see {@link MatterSpecification.
|
|
324
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.5
|
|
325
325
|
*/
|
|
326
326
|
export interface SetDstOffsetRequest extends TypeFromSchema<typeof TlvSetDstOffsetRequest> {}
|
|
327
327
|
|
|
328
328
|
/**
|
|
329
329
|
* Body of the TimeSynchronization dstStatus event
|
|
330
330
|
*
|
|
331
|
-
* @see {@link MatterSpecification.
|
|
331
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.10.2
|
|
332
332
|
*/
|
|
333
333
|
export const TlvDstStatusEvent = TlvObject({
|
|
334
334
|
/**
|
|
335
335
|
* Indicates whether the current DST offset is being applied (i.e, daylight savings time is applied, as opposed
|
|
336
336
|
* to standard time).
|
|
337
337
|
*
|
|
338
|
-
* @see {@link MatterSpecification.
|
|
338
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.10.2.1
|
|
339
339
|
*/
|
|
340
340
|
dstOffsetActive: TlvField(0, TlvBoolean)
|
|
341
341
|
});
|
|
@@ -343,20 +343,20 @@ export namespace TimeSynchronization {
|
|
|
343
343
|
/**
|
|
344
344
|
* Body of the TimeSynchronization dstStatus event
|
|
345
345
|
*
|
|
346
|
-
* @see {@link MatterSpecification.
|
|
346
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.10.2
|
|
347
347
|
*/
|
|
348
348
|
export interface DstStatusEvent extends TypeFromSchema<typeof TlvDstStatusEvent> {}
|
|
349
349
|
|
|
350
350
|
/**
|
|
351
351
|
* Body of the TimeSynchronization timeZoneStatus event
|
|
352
352
|
*
|
|
353
|
-
* @see {@link MatterSpecification.
|
|
353
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.10.3
|
|
354
354
|
*/
|
|
355
355
|
export const TlvTimeZoneStatusEvent = TlvObject({
|
|
356
356
|
/**
|
|
357
357
|
* Current time zone offset from UTC in seconds.
|
|
358
358
|
*
|
|
359
|
-
* @see {@link MatterSpecification.
|
|
359
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.10.3.1
|
|
360
360
|
*/
|
|
361
361
|
offset: TlvField(0, TlvInt32.bound({ min: -43200, max: 50400 })),
|
|
362
362
|
|
|
@@ -364,7 +364,7 @@ export namespace TimeSynchronization {
|
|
|
364
364
|
* Current time zone name. This name SHOULD use the country/city format specified by the IANA Time Zone
|
|
365
365
|
* Database.
|
|
366
366
|
*
|
|
367
|
-
* @see {@link MatterSpecification.
|
|
367
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.10.3.2
|
|
368
368
|
*/
|
|
369
369
|
name: TlvOptionalField(1, TlvString.bound({ minLength: 0, maxLength: 64 }))
|
|
370
370
|
});
|
|
@@ -372,12 +372,12 @@ export namespace TimeSynchronization {
|
|
|
372
372
|
/**
|
|
373
373
|
* Body of the TimeSynchronization timeZoneStatus event
|
|
374
374
|
*
|
|
375
|
-
* @see {@link MatterSpecification.
|
|
375
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.10.3
|
|
376
376
|
*/
|
|
377
377
|
export interface TimeZoneStatusEvent extends TypeFromSchema<typeof TlvTimeZoneStatusEvent> {}
|
|
378
378
|
|
|
379
379
|
/**
|
|
380
|
-
* @see {@link MatterSpecification.
|
|
380
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.1
|
|
381
381
|
*/
|
|
382
382
|
export enum Granularity {
|
|
383
383
|
/**
|
|
@@ -413,7 +413,7 @@ export namespace TimeSynchronization {
|
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
/**
|
|
416
|
-
* @see {@link MatterSpecification.
|
|
416
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.6.2
|
|
417
417
|
*/
|
|
418
418
|
export enum TimeSource {
|
|
419
419
|
/**
|
|
@@ -506,27 +506,27 @@ export namespace TimeSynchronization {
|
|
|
506
506
|
/**
|
|
507
507
|
* Input to the TimeSynchronization setUtcTime command
|
|
508
508
|
*
|
|
509
|
-
* @see {@link MatterSpecification.
|
|
509
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.1
|
|
510
510
|
*/
|
|
511
511
|
export const TlvSetUtcTimeRequest = TlvObject({
|
|
512
512
|
/**
|
|
513
513
|
* This field shall give the Client’s UTC Time.
|
|
514
514
|
*
|
|
515
|
-
* @see {@link MatterSpecification.
|
|
515
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.1.1
|
|
516
516
|
*/
|
|
517
517
|
utcTime: TlvField(0, TlvEpochUs),
|
|
518
518
|
|
|
519
519
|
/**
|
|
520
520
|
* This field shall give the Client’s Granularity, as described in Granularity.
|
|
521
521
|
*
|
|
522
|
-
* @see {@link MatterSpecification.
|
|
522
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.1.2
|
|
523
523
|
*/
|
|
524
524
|
granularity: TlvField(1, TlvEnum<Granularity>()),
|
|
525
525
|
|
|
526
526
|
/**
|
|
527
527
|
* This field shall give the Client’s TimeSource, as described in TimeSource.
|
|
528
528
|
*
|
|
529
|
-
* @see {@link MatterSpecification.
|
|
529
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.1.3
|
|
530
530
|
*/
|
|
531
531
|
timeSource: TlvOptionalField(2, TlvEnum<TimeSource>())
|
|
532
532
|
});
|
|
@@ -534,12 +534,12 @@ export namespace TimeSynchronization {
|
|
|
534
534
|
/**
|
|
535
535
|
* Input to the TimeSynchronization setUtcTime command
|
|
536
536
|
*
|
|
537
|
-
* @see {@link MatterSpecification.
|
|
537
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.1
|
|
538
538
|
*/
|
|
539
539
|
export interface SetUtcTimeRequest extends TypeFromSchema<typeof TlvSetUtcTimeRequest> {}
|
|
540
540
|
|
|
541
541
|
/**
|
|
542
|
-
* @see {@link MatterSpecification.
|
|
542
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.7.1
|
|
543
543
|
*/
|
|
544
544
|
export enum StatusCode {
|
|
545
545
|
/**
|
|
@@ -551,7 +551,7 @@ export namespace TimeSynchronization {
|
|
|
551
551
|
/**
|
|
552
552
|
* Thrown for cluster status code {@link StatusCode.TimeNotAccepted}.
|
|
553
553
|
*
|
|
554
|
-
* @see {@link MatterSpecification.
|
|
554
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.7.1
|
|
555
555
|
*/
|
|
556
556
|
export class TimeNotAcceptedError extends StatusResponseError {
|
|
557
557
|
constructor(
|
|
@@ -574,7 +574,7 @@ export namespace TimeSynchronization {
|
|
|
574
574
|
* an administrator using the SetTrustedTimeSource command. If the value is null, no trusted time source has
|
|
575
575
|
* yet been set.
|
|
576
576
|
*
|
|
577
|
-
* @see {@link MatterSpecification.
|
|
577
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.4
|
|
578
578
|
*/
|
|
579
579
|
trustedTimeSource: Attribute(0x3, TlvNullable(TlvTrustedTimeSource), { persistent: true, default: null })
|
|
580
580
|
},
|
|
@@ -590,7 +590,7 @@ export namespace TimeSynchronization {
|
|
|
590
590
|
* Endpoint fields matching those in the TrustedTimeSource field and has its FabricIndex field set to
|
|
591
591
|
* the command’s accessing fabric index.
|
|
592
592
|
*
|
|
593
|
-
* @see {@link MatterSpecification.
|
|
593
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.2
|
|
594
594
|
*/
|
|
595
595
|
setTrustedTimeSource: Command(
|
|
596
596
|
0x1,
|
|
@@ -611,7 +611,7 @@ export namespace TimeSynchronization {
|
|
|
611
611
|
* is null or the specified peer cannot be reached. MissingTrustedTimeSource events corresponding to a time
|
|
612
612
|
* update SHOULD NOT be generated more often than once per hour.
|
|
613
613
|
*
|
|
614
|
-
* @see {@link MatterSpecification.
|
|
614
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.10.5
|
|
615
615
|
*/
|
|
616
616
|
missingTrustedTimeSource: Event(0x4, Priority.Info, TlvNoArguments)
|
|
617
617
|
}
|
|
@@ -632,7 +632,7 @@ export namespace TimeSynchronization {
|
|
|
632
632
|
* text format, as specified in RFC 5952. The address format shall follow the recommendations in Section 4
|
|
633
633
|
* and shall NOT contain a port number.
|
|
634
634
|
*
|
|
635
|
-
* @see {@link MatterSpecification.
|
|
635
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.5
|
|
636
636
|
*/
|
|
637
637
|
defaultNtp: Attribute(
|
|
638
638
|
0x4,
|
|
@@ -644,7 +644,7 @@ export namespace TimeSynchronization {
|
|
|
644
644
|
* Indicates if the node supports resolving a domain name. DefaultNTP Address values for these nodes may
|
|
645
645
|
* include domain names. If this is False, the Address for a DefaultNTP shall be an IPv6 address.
|
|
646
646
|
*
|
|
647
|
-
* @see {@link MatterSpecification.
|
|
647
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.13
|
|
648
648
|
*/
|
|
649
649
|
supportsDnsResolve: FixedAttribute(0xc, TlvBoolean, { default: false })
|
|
650
650
|
},
|
|
@@ -659,7 +659,7 @@ export namespace TimeSynchronization {
|
|
|
659
659
|
* command shall fail with a status code of INVALID_COMMAND. Otherwise, the node shall set the DefaultNTP
|
|
660
660
|
* attribute to match the DefaultNTP provided in this command.
|
|
661
661
|
*
|
|
662
|
-
* @see {@link MatterSpecification.
|
|
662
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.6
|
|
663
663
|
*/
|
|
664
664
|
setDefaultNtp: Command(
|
|
665
665
|
0x5,
|
|
@@ -707,7 +707,7 @@ export namespace TimeSynchronization {
|
|
|
707
707
|
* zone has been set, it may set this value to a list containing a single TimeZoneStruct with an offset of 0
|
|
708
708
|
* (UTC) and a ValidAt time of 0.
|
|
709
709
|
*
|
|
710
|
-
* @see {@link MatterSpecification.
|
|
710
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.6
|
|
711
711
|
*/
|
|
712
712
|
timeZone: Attribute(
|
|
713
713
|
0x5,
|
|
@@ -733,7 +733,7 @@ export namespace TimeSynchronization {
|
|
|
733
733
|
* If a time zone does not use DST, this shall be indicated by a single entry with a 0 offset and a null
|
|
734
734
|
* ValidUntil field.
|
|
735
735
|
*
|
|
736
|
-
* @see {@link MatterSpecification.
|
|
736
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.7
|
|
737
737
|
*/
|
|
738
738
|
dstOffset: Attribute(0x6, TlvArray(TlvDstOffset), { persistent: true, default: [] }),
|
|
739
739
|
|
|
@@ -746,7 +746,7 @@ export namespace TimeSynchronization {
|
|
|
746
746
|
* If the node has not achieved time synchronization, this shall be null. If the node has an empty
|
|
747
747
|
* DSTOffset, this shall be null.
|
|
748
748
|
*
|
|
749
|
-
* @see {@link MatterSpecification.
|
|
749
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.8
|
|
750
750
|
*/
|
|
751
751
|
localTime: Attribute(0x7, TlvNullable(TlvEpochUs), { omitChanges: true, default: null }),
|
|
752
752
|
|
|
@@ -755,7 +755,7 @@ export namespace TimeSynchronization {
|
|
|
755
755
|
* their own DSTOffset attribute to add new entries and may push DSTOffset updates to other Nodes in the
|
|
756
756
|
* same time zone as required.
|
|
757
757
|
*
|
|
758
|
-
* @see {@link MatterSpecification.
|
|
758
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.9
|
|
759
759
|
*/
|
|
760
760
|
timeZoneDatabase: FixedAttribute(0x8, TlvEnum<TimeZoneDatabase>(), { default: TimeZoneDatabase.None }),
|
|
761
761
|
|
|
@@ -764,14 +764,14 @@ export namespace TimeSynchronization {
|
|
|
764
764
|
* value of 1 or 2, where the optional second list entry may be used to handle scheduled regulatory time
|
|
765
765
|
* zone changes.
|
|
766
766
|
*
|
|
767
|
-
* @see {@link MatterSpecification.
|
|
767
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.11
|
|
768
768
|
*/
|
|
769
769
|
timeZoneListMaxSize: FixedAttribute(0xa, TlvUInt8.bound({ min: 1, max: 2 })),
|
|
770
770
|
|
|
771
771
|
/**
|
|
772
772
|
* Indicates the number of supported list entries in DSTOffset attribute. This value must be at least 1.
|
|
773
773
|
*
|
|
774
|
-
* @see {@link MatterSpecification.
|
|
774
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.12
|
|
775
775
|
*/
|
|
776
776
|
dstOffsetListMaxSize: FixedAttribute(0xb, TlvUInt8.bound({ min: 1 }))
|
|
777
777
|
},
|
|
@@ -794,7 +794,7 @@ export namespace TimeSynchronization {
|
|
|
794
794
|
* list. A DSTTableEmpty event shall be generated if the DSTOffset attribute is empty. A DSTStatus event
|
|
795
795
|
* shall be generated if the node was previously applying a DST offset.
|
|
796
796
|
*
|
|
797
|
-
* @see {@link MatterSpecification.
|
|
797
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.3
|
|
798
798
|
*/
|
|
799
799
|
setTimeZone: Command(
|
|
800
800
|
0x2,
|
|
@@ -818,7 +818,7 @@ export namespace TimeSynchronization {
|
|
|
818
818
|
* If the DSTOffset attribute change causes a corresponding change to the DST state, a DSTStatus event shall
|
|
819
819
|
* be generated. If the list is empty, the node shall generate a DSTTableEmpty event.
|
|
820
820
|
*
|
|
821
|
-
* @see {@link MatterSpecification.
|
|
821
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.5
|
|
822
822
|
*/
|
|
823
823
|
setDstOffset: Command(0x4, TlvSetDstOffsetRequest, 0x4, TlvNoResponse, { invokeAcl: AccessLevel.Manage })
|
|
824
824
|
},
|
|
@@ -836,14 +836,14 @@ export namespace TimeSynchronization {
|
|
|
836
836
|
*
|
|
837
837
|
* There is no data for this event.
|
|
838
838
|
*
|
|
839
|
-
* @see {@link MatterSpecification.
|
|
839
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.10.1
|
|
840
840
|
*/
|
|
841
841
|
dstTableEmpty: Event(0x0, Priority.Info, TlvNoArguments),
|
|
842
842
|
|
|
843
843
|
/**
|
|
844
844
|
* This event shall be generated when the node starts or stops applying a DST offset.
|
|
845
845
|
*
|
|
846
|
-
* @see {@link MatterSpecification.
|
|
846
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.10.2
|
|
847
847
|
*/
|
|
848
848
|
dstStatus: Event(0x1, Priority.Info, TlvDstStatusEvent),
|
|
849
849
|
|
|
@@ -851,7 +851,7 @@ export namespace TimeSynchronization {
|
|
|
851
851
|
* This event shall be generated when the node changes its time zone offset or name. It shall NOT be sent
|
|
852
852
|
* for DST changes that are not accompanied by a time zone change.
|
|
853
853
|
*
|
|
854
|
-
* @see {@link MatterSpecification.
|
|
854
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.10.3
|
|
855
855
|
*/
|
|
856
856
|
timeZoneStatus: Event(0x2, Priority.Info, TlvTimeZoneStatusEvent)
|
|
857
857
|
}
|
|
@@ -868,7 +868,7 @@ export namespace TimeSynchronization {
|
|
|
868
868
|
*
|
|
869
869
|
* If the node is not currently running an NTP server, this value shall be False.
|
|
870
870
|
*
|
|
871
|
-
* @see {@link MatterSpecification.
|
|
871
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.10
|
|
872
872
|
*/
|
|
873
873
|
ntpServerAvailable: Attribute(0x9, TlvBoolean, { default: false })
|
|
874
874
|
}
|
|
@@ -889,14 +889,14 @@ export namespace TimeSynchronization {
|
|
|
889
889
|
* SetDSTOffset commands, and TimeZone and DSTOffset attributes, and shall expose the local time through the
|
|
890
890
|
* LocalTime attribute.
|
|
891
891
|
*
|
|
892
|
-
* @see {@link MatterSpecification.
|
|
892
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.5.1
|
|
893
893
|
*/
|
|
894
894
|
timeZone: BitFlag(0),
|
|
895
895
|
|
|
896
896
|
/**
|
|
897
897
|
* Allows a node to use NTP/SNTP for time synchronization.
|
|
898
898
|
*
|
|
899
|
-
* @see {@link MatterSpecification.
|
|
899
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.5.2
|
|
900
900
|
*/
|
|
901
901
|
ntpClient: BitFlag(1),
|
|
902
902
|
|
|
@@ -904,14 +904,14 @@ export namespace TimeSynchronization {
|
|
|
904
904
|
* Allows a Node to host an NTP server for the network so that other Nodes can achieve a high accuracy time
|
|
905
905
|
* synchronization within the network. See Section 11.17.15, “Acting as an NTP Server”.
|
|
906
906
|
*
|
|
907
|
-
* @see {@link MatterSpecification.
|
|
907
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.5.3
|
|
908
908
|
*/
|
|
909
909
|
ntpServer: BitFlag(2),
|
|
910
910
|
|
|
911
911
|
/**
|
|
912
912
|
* This node also supports a time synchronization client and can connect to and read time from other nodes.
|
|
913
913
|
*
|
|
914
|
-
* @see {@link MatterSpecification.
|
|
914
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.5.4
|
|
915
915
|
*/
|
|
916
916
|
timeSyncClient: BitFlag(3)
|
|
917
917
|
},
|
|
@@ -924,7 +924,7 @@ export namespace TimeSynchronization {
|
|
|
924
924
|
* If the node has not achieved time synchronization, this attribute shall be null. This attribute may be
|
|
925
925
|
* set when a SetUTCTime is received.
|
|
926
926
|
*
|
|
927
|
-
* @see {@link MatterSpecification.
|
|
927
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.1
|
|
928
928
|
*/
|
|
929
929
|
utcTime: Attribute(0x0, TlvNullable(TlvEpochUs), { omitChanges: true, default: null }),
|
|
930
930
|
|
|
@@ -935,7 +935,7 @@ export namespace TimeSynchronization {
|
|
|
935
935
|
* This value shall be set to NoTimeGranularity if UTCTime is null and shall NOT be set to NoTimeGranularity
|
|
936
936
|
* if UTCTime is non-null.
|
|
937
937
|
*
|
|
938
|
-
* @see {@link MatterSpecification.
|
|
938
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.2
|
|
939
939
|
*/
|
|
940
940
|
granularity: Attribute(0x1, TlvEnum<Granularity>(), { default: Granularity.NoTimeGranularity }),
|
|
941
941
|
|
|
@@ -950,7 +950,7 @@ export namespace TimeSynchronization {
|
|
|
950
950
|
*
|
|
951
951
|
* This value shall be set to None if UTCTime is null and shall NOT be set to None if UTCTime is non-null.
|
|
952
952
|
*
|
|
953
|
-
* @see {@link MatterSpecification.
|
|
953
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.8.3
|
|
954
954
|
*/
|
|
955
955
|
timeSource: OptionalAttribute(0x2, TlvEnum<TimeSource>(), { default: TimeSource.None })
|
|
956
956
|
},
|
|
@@ -975,7 +975,7 @@ export namespace TimeSynchronization {
|
|
|
975
975
|
* it opts to not update its time, it shall fail the command with a cluster specific Status Code of
|
|
976
976
|
* TimeNotAccepted.
|
|
977
977
|
*
|
|
978
|
-
* @see {@link MatterSpecification.
|
|
978
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.9.1
|
|
979
979
|
*/
|
|
980
980
|
setUtcTime: Command(0x0, TlvSetUtcTimeRequest, 0x0, TlvNoResponse, { invokeAcl: AccessLevel.Administer })
|
|
981
981
|
},
|
|
@@ -986,7 +986,7 @@ export namespace TimeSynchronization {
|
|
|
986
986
|
* node is unable to get a time from any source. This event SHOULD NOT be generated more often than once per
|
|
987
987
|
* hour.
|
|
988
988
|
*
|
|
989
|
-
* @see {@link MatterSpecification.
|
|
989
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17.10.4
|
|
990
990
|
*/
|
|
991
991
|
timeFailure: Event(0x3, Priority.Info, TlvNoArguments)
|
|
992
992
|
},
|
|
@@ -1022,7 +1022,7 @@ export namespace TimeSynchronization {
|
|
|
1022
1022
|
* TimeSynchronizationCluster supports optional features that you can enable with the
|
|
1023
1023
|
* TimeSynchronizationCluster.with() factory method.
|
|
1024
1024
|
*
|
|
1025
|
-
* @see {@link MatterSpecification.
|
|
1025
|
+
* @see {@link MatterSpecification.v142.Core} § 11.17
|
|
1026
1026
|
*/
|
|
1027
1027
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
1028
1028
|
|