@matter/types 0.14.0-alpha.0-20250531-7ed2d6da8 → 0.14.0-alpha.0-20250602-37f27bb02
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clusters/access-control.d.ts +250 -250
- package/dist/cjs/clusters/access-control.js +39 -39
- package/dist/cjs/clusters/account-login.d.ts +29 -29
- package/dist/cjs/clusters/account-login.js +11 -11
- package/dist/cjs/clusters/actions.d.ts +108 -108
- package/dist/cjs/clusters/actions.js +39 -39
- package/dist/cjs/clusters/administrator-commissioning.d.ts +77 -51
- package/dist/cjs/clusters/administrator-commissioning.d.ts.map +1 -1
- package/dist/cjs/clusters/administrator-commissioning.js +32 -12
- package/dist/cjs/clusters/administrator-commissioning.js.map +1 -1
- package/dist/cjs/clusters/air-quality.d.ts +5 -5
- package/dist/cjs/clusters/air-quality.js +1 -1
- package/dist/cjs/clusters/alarm-base.d.ts +43 -43
- package/dist/cjs/clusters/alarm-base.js +14 -14
- package/dist/cjs/clusters/application-basic.d.ts +16 -16
- package/dist/cjs/clusters/application-basic.js +10 -10
- package/dist/cjs/clusters/application-launcher.d.ts +141 -99
- package/dist/cjs/clusters/application-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/application-launcher.js +45 -13
- package/dist/cjs/clusters/application-launcher.js.map +2 -2
- package/dist/cjs/clusters/audio-output.d.ts +37 -37
- package/dist/cjs/clusters/audio-output.js +8 -8
- package/dist/cjs/clusters/ballast-configuration.d.ts +23 -23
- package/dist/cjs/clusters/ballast-configuration.js +17 -17
- package/dist/cjs/clusters/basic-information.d.ts +54 -54
- package/dist/cjs/clusters/basic-information.js +34 -34
- package/dist/cjs/clusters/binding.d.ts +12 -12
- package/dist/cjs/clusters/binding.js +5 -5
- package/dist/cjs/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/cjs/clusters/boolean-state-configuration.js +18 -18
- package/dist/cjs/clusters/boolean-state.d.ts +7 -7
- package/dist/cjs/clusters/boolean-state.js +3 -3
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +102 -102
- package/dist/cjs/clusters/bridged-device-basic-information.js +28 -28
- package/dist/cjs/clusters/channel.d.ts +577 -559
- package/dist/cjs/clusters/channel.d.ts.map +1 -1
- package/dist/cjs/clusters/channel.js +87 -73
- package/dist/cjs/clusters/channel.js.map +2 -2
- package/dist/cjs/clusters/color-control.d.ts +658 -658
- package/dist/cjs/clusters/color-control.js +116 -116
- package/dist/cjs/clusters/commissioner-control.d.ts +16 -16
- package/dist/cjs/clusters/commissioner-control.js +5 -5
- package/dist/cjs/clusters/concentration-measurement.d.ts +26 -26
- package/dist/cjs/clusters/concentration-measurement.js +11 -11
- package/dist/cjs/clusters/content-app-observer.d.ts +27 -17
- package/dist/cjs/clusters/content-app-observer.d.ts.map +1 -1
- package/dist/cjs/clusters/content-app-observer.js +14 -6
- package/dist/cjs/clusters/content-app-observer.js.map +2 -2
- package/dist/cjs/clusters/content-control.d.ts +438 -356
- package/dist/cjs/clusters/content-control.d.ts.map +1 -1
- package/dist/cjs/clusters/content-control.js +120 -58
- package/dist/cjs/clusters/content-control.js.map +1 -1
- package/dist/cjs/clusters/content-launcher.d.ts +509 -475
- package/dist/cjs/clusters/content-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/content-launcher.js +65 -39
- package/dist/cjs/clusters/content-launcher.js.map +2 -2
- package/dist/cjs/clusters/descriptor.d.ts +28 -28
- package/dist/cjs/clusters/descriptor.js +8 -8
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/cjs/clusters/device-energy-management-mode.js +8 -8
- package/dist/cjs/clusters/device-energy-management.d.ts +544 -544
- package/dist/cjs/clusters/device-energy-management.js +87 -87
- package/dist/cjs/clusters/diagnostic-logs.d.ts +67 -33
- package/dist/cjs/clusters/diagnostic-logs.d.ts.map +1 -1
- package/dist/cjs/clusters/diagnostic-logs.js +34 -8
- package/dist/cjs/clusters/diagnostic-logs.js.map +2 -2
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/cjs/clusters/dishwasher-alarm.js +14 -14
- package/dist/cjs/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/cjs/clusters/dishwasher-mode.js +8 -8
- package/dist/cjs/clusters/door-lock.d.ts +1367 -1350
- package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
- package/dist/cjs/clusters/door-lock.js +242 -228
- package/dist/cjs/clusters/door-lock.js.map +1 -1
- package/dist/cjs/clusters/ecosystem-information.d.ts +27 -27
- package/dist/cjs/clusters/ecosystem-information.js +12 -12
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +275 -275
- package/dist/cjs/clusters/electrical-energy-measurement.js +25 -25
- package/dist/cjs/clusters/electrical-power-measurement.d.ts +199 -199
- package/dist/cjs/clusters/electrical-power-measurement.js +39 -39
- package/dist/cjs/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/cjs/clusters/energy-evse-mode.js +8 -8
- package/dist/cjs/clusters/energy-evse.d.ts +323 -323
- package/dist/cjs/clusters/energy-evse.js +73 -73
- package/dist/cjs/clusters/energy-preference.d.ts +49 -49
- package/dist/cjs/clusters/energy-preference.js +9 -9
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/cjs/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/cjs/clusters/fan-control.d.ts +67 -67
- package/dist/cjs/clusters/fan-control.js +17 -17
- package/dist/cjs/clusters/fixed-label.d.ts +2 -2
- package/dist/cjs/clusters/fixed-label.js +1 -1
- package/dist/cjs/clusters/flow-measurement.d.ts +5 -5
- package/dist/cjs/clusters/flow-measurement.js +4 -4
- package/dist/cjs/clusters/general-commissioning.d.ts +104 -104
- package/dist/cjs/clusters/general-commissioning.js +25 -25
- package/dist/cjs/clusters/general-diagnostics.d.ts +174 -174
- package/dist/cjs/clusters/general-diagnostics.js +40 -40
- package/dist/cjs/clusters/group-key-management.d.ts +119 -119
- package/dist/cjs/clusters/group-key-management.js +23 -23
- package/dist/cjs/clusters/groups.d.ts +78 -78
- package/dist/cjs/clusters/groups.js +21 -21
- package/dist/cjs/clusters/icd-management.d.ts +131 -131
- package/dist/cjs/clusters/icd-management.js +29 -29
- package/dist/cjs/clusters/identify.d.ts +16 -16
- package/dist/cjs/clusters/identify.js +6 -6
- package/dist/cjs/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/cjs/clusters/illuminance-measurement.js +5 -5
- package/dist/cjs/clusters/joint-fabric-datastore.d.ts +175 -175
- package/dist/cjs/clusters/joint-fabric-datastore.js +62 -62
- package/dist/cjs/clusters/joint-fabric-pki.d.ts +14 -14
- package/dist/cjs/clusters/joint-fabric-pki.js +5 -5
- package/dist/cjs/clusters/keypad-input.d.ts +34 -16
- package/dist/cjs/clusters/keypad-input.d.ts.map +1 -1
- package/dist/cjs/clusters/keypad-input.js +17 -3
- package/dist/cjs/clusters/keypad-input.js.map +2 -2
- package/dist/cjs/clusters/label.d.ts +10 -10
- package/dist/cjs/clusters/label.js +3 -3
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/cjs/clusters/laundry-dryer-controls.js +2 -2
- package/dist/cjs/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/cjs/clusters/laundry-washer-controls.js +6 -6
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/cjs/clusters/laundry-washer-mode.js +5 -5
- package/dist/cjs/clusters/level-control.d.ts +303 -303
- package/dist/cjs/clusters/level-control.js +32 -32
- package/dist/cjs/clusters/localization-configuration.d.ts +3 -3
- package/dist/cjs/clusters/localization-configuration.js +2 -2
- package/dist/cjs/clusters/low-power.d.ts +2 -2
- package/dist/cjs/clusters/low-power.js +1 -1
- package/dist/cjs/clusters/media-input.d.ts +47 -47
- package/dist/cjs/clusters/media-input.js +11 -11
- package/dist/cjs/clusters/media-playback.d.ts +427 -385
- package/dist/cjs/clusters/media-playback.d.ts.map +1 -1
- package/dist/cjs/clusters/media-playback.js +89 -57
- package/dist/cjs/clusters/media-playback.js.map +2 -2
- package/dist/cjs/clusters/messages.d.ts +154 -154
- package/dist/cjs/clusters/messages.js +38 -38
- package/dist/cjs/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/cjs/clusters/microwave-oven-control.js +17 -17
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/cjs/clusters/microwave-oven-mode.js +7 -7
- package/dist/cjs/clusters/mode-base.d.ts +59 -59
- package/dist/cjs/clusters/mode-base.js +13 -13
- package/dist/cjs/clusters/mode-select.d.ts +51 -51
- package/dist/cjs/clusters/mode-select.js +13 -13
- package/dist/cjs/clusters/network-commissioning.d.ts +325 -325
- package/dist/cjs/clusters/network-commissioning.js +46 -46
- package/dist/cjs/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/cjs/clusters/occupancy-sensing.js +20 -20
- package/dist/cjs/clusters/on-off.d.ts +103 -103
- package/dist/cjs/clusters/on-off.js +19 -19
- package/dist/cjs/clusters/operational-credentials.d.ts +94 -94
- package/dist/cjs/clusters/operational-credentials.js +34 -34
- package/dist/cjs/clusters/operational-state.d.ts +67 -67
- package/dist/cjs/clusters/operational-state.js +21 -21
- package/dist/cjs/clusters/ota-software-update-provider.d.ts +95 -61
- package/dist/cjs/clusters/ota-software-update-provider.d.ts.map +1 -1
- package/dist/cjs/clusters/ota-software-update-provider.js +51 -25
- package/dist/cjs/clusters/ota-software-update-provider.js.map +2 -2
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/cjs/clusters/ota-software-update-requestor.js +25 -25
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/cjs/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/cjs/clusters/oven-mode.d.ts +40 -40
- package/dist/cjs/clusters/oven-mode.js +5 -5
- package/dist/cjs/clusters/power-source-configuration.d.ts +2 -2
- package/dist/cjs/clusters/power-source-configuration.js +1 -1
- package/dist/cjs/clusters/power-source.d.ts +155 -155
- package/dist/cjs/clusters/power-source.js +41 -41
- package/dist/cjs/clusters/power-topology.d.ts +8 -8
- package/dist/cjs/clusters/power-topology.js +2 -2
- package/dist/cjs/clusters/pressure-measurement.d.ts +25 -25
- package/dist/cjs/clusters/pressure-measurement.js +9 -9
- package/dist/cjs/clusters/proxy-configuration.d.ts +8 -8
- package/dist/cjs/clusters/proxy-configuration.js +3 -3
- package/dist/cjs/clusters/proxy-discovery.d.ts +10 -10
- package/dist/cjs/clusters/proxy-discovery.js +4 -4
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/cjs/clusters/pump-configuration-and-control.js +57 -57
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/cjs/clusters/refrigerator-alarm.js +11 -11
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/cjs/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/cjs/clusters/relative-humidity-measurement.js +4 -4
- package/dist/cjs/clusters/resource-monitoring.d.ts +20 -20
- package/dist/cjs/clusters/resource-monitoring.js +7 -7
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +48 -48
- package/dist/cjs/clusters/rvc-clean-mode.js +9 -9
- package/dist/cjs/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/cjs/clusters/rvc-operational-state.js +17 -17
- package/dist/cjs/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/cjs/clusters/rvc-run-mode.js +9 -9
- package/dist/cjs/clusters/scenes-management.d.ts +246 -246
- package/dist/cjs/clusters/scenes-management.js +70 -70
- package/dist/cjs/clusters/service-area.d.ts +128 -128
- package/dist/cjs/clusters/service-area.js +26 -26
- package/dist/cjs/clusters/smoke-co-alarm.d.ts +137 -137
- package/dist/cjs/clusters/smoke-co-alarm.js +30 -30
- package/dist/cjs/clusters/software-diagnostics.d.ts +53 -53
- package/dist/cjs/clusters/software-diagnostics.js +14 -14
- package/dist/cjs/clusters/switch.d.ts +105 -105
- package/dist/cjs/clusters/switch.js +23 -23
- package/dist/cjs/clusters/target-navigator.d.ts +48 -30
- package/dist/cjs/clusters/target-navigator.d.ts.map +1 -1
- package/dist/cjs/clusters/target-navigator.js +24 -10
- package/dist/cjs/clusters/target-navigator.js.map +2 -2
- package/dist/cjs/clusters/temperature-control.d.ts +45 -45
- package/dist/cjs/clusters/temperature-control.js +12 -12
- package/dist/cjs/clusters/temperature-measurement.d.ts +5 -5
- package/dist/cjs/clusters/temperature-measurement.js +4 -4
- package/dist/cjs/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/cjs/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/cjs/clusters/thermostat.d.ts +515 -515
- package/dist/cjs/clusters/thermostat.js +114 -114
- package/dist/cjs/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/cjs/clusters/thread-border-router-management.js +14 -14
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/cjs/clusters/thread-network-diagnostics.js +108 -108
- package/dist/cjs/clusters/thread-network-directory.d.ts +27 -27
- package/dist/cjs/clusters/thread-network-directory.js +11 -11
- package/dist/cjs/clusters/time-format-localization.d.ts +12 -12
- package/dist/cjs/clusters/time-format-localization.js +3 -3
- package/dist/cjs/clusters/time-synchronization.d.ts +255 -245
- package/dist/cjs/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/cjs/clusters/time-synchronization.js +55 -47
- package/dist/cjs/clusters/time-synchronization.js.map +1 -1
- package/dist/cjs/clusters/unit-localization.d.ts +6 -6
- package/dist/cjs/clusters/unit-localization.js +1 -1
- package/dist/cjs/clusters/user-label.d.ts +2 -2
- package/dist/cjs/clusters/user-label.js +1 -1
- package/dist/cjs/clusters/valid-proxies.d.ts +7 -7
- package/dist/cjs/clusters/valid-proxies.js +2 -2
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts +90 -80
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts.map +1 -1
- package/dist/cjs/clusters/valve-configuration-and-control.js +30 -22
- package/dist/cjs/clusters/valve-configuration-and-control.js.map +1 -1
- package/dist/cjs/clusters/wake-on-lan.d.ts +3 -3
- package/dist/cjs/clusters/wake-on-lan.js +2 -2
- package/dist/cjs/clusters/water-heater-management.d.ts +91 -91
- package/dist/cjs/clusters/water-heater-management.js +16 -16
- package/dist/cjs/clusters/water-heater-mode.d.ts +42 -42
- package/dist/cjs/clusters/water-heater-mode.js +8 -8
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/cjs/clusters/wi-fi-network-management.d.ts +6 -6
- package/dist/cjs/clusters/wi-fi-network-management.js +3 -3
- package/dist/cjs/clusters/window-covering.d.ts +183 -183
- package/dist/cjs/clusters/window-covering.js +49 -49
- package/dist/cjs/common/StatusCode.d.ts +2 -11
- package/dist/cjs/common/StatusCode.d.ts.map +1 -1
- package/dist/cjs/common/StatusCode.js +1 -17
- package/dist/cjs/common/StatusCode.js.map +1 -1
- package/dist/cjs/common/StatusResponseError.d.ts +21 -0
- package/dist/cjs/common/StatusResponseError.d.ts.map +1 -0
- package/dist/cjs/common/StatusResponseError.js +54 -0
- package/dist/cjs/common/StatusResponseError.js.map +6 -0
- package/dist/cjs/common/ValidationError.d.ts +1 -1
- package/dist/cjs/common/ValidationError.d.ts.map +1 -1
- package/dist/cjs/common/ValidationError.js +2 -1
- package/dist/cjs/common/ValidationError.js.map +1 -1
- package/dist/cjs/common/index.d.ts +1 -0
- package/dist/cjs/common/index.d.ts.map +1 -1
- package/dist/cjs/common/index.js +1 -0
- package/dist/cjs/common/index.js.map +1 -1
- package/dist/cjs/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/cjs/globals/AtomicAttributeStatus.js +2 -2
- package/dist/cjs/globals/AtomicRequestType.d.ts +1 -1
- package/dist/cjs/globals/Locationdesc.d.ts +5 -5
- package/dist/cjs/globals/Locationdesc.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/cjs/globals/MeasurementAccuracy.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/cjs/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/cjs/globals/MeasurementType.d.ts +1 -1
- package/dist/cjs/globals/Priority.d.ts +1 -1
- package/dist/cjs/globals/Semtag.d.ts +6 -6
- package/dist/cjs/globals/Semtag.js +4 -4
- package/dist/cjs/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/cjs/globals/Status.d.ts +33 -33
- package/dist/cjs/globals/Tod.d.ts +2 -2
- package/dist/cjs/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/esm/clusters/access-control.d.ts +250 -250
- package/dist/esm/clusters/access-control.js +39 -39
- package/dist/esm/clusters/account-login.d.ts +29 -29
- package/dist/esm/clusters/account-login.js +11 -11
- package/dist/esm/clusters/actions.d.ts +108 -108
- package/dist/esm/clusters/actions.js +39 -39
- package/dist/esm/clusters/administrator-commissioning.d.ts +77 -51
- package/dist/esm/clusters/administrator-commissioning.d.ts.map +1 -1
- package/dist/esm/clusters/administrator-commissioning.js +32 -12
- package/dist/esm/clusters/administrator-commissioning.js.map +1 -1
- package/dist/esm/clusters/air-quality.d.ts +5 -5
- package/dist/esm/clusters/air-quality.js +1 -1
- package/dist/esm/clusters/alarm-base.d.ts +43 -43
- package/dist/esm/clusters/alarm-base.js +14 -14
- package/dist/esm/clusters/application-basic.d.ts +16 -16
- package/dist/esm/clusters/application-basic.js +10 -10
- package/dist/esm/clusters/application-launcher.d.ts +141 -99
- package/dist/esm/clusters/application-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/application-launcher.js +45 -13
- package/dist/esm/clusters/application-launcher.js.map +1 -1
- package/dist/esm/clusters/audio-output.d.ts +37 -37
- package/dist/esm/clusters/audio-output.js +8 -8
- package/dist/esm/clusters/ballast-configuration.d.ts +23 -23
- package/dist/esm/clusters/ballast-configuration.js +17 -17
- package/dist/esm/clusters/basic-information.d.ts +54 -54
- package/dist/esm/clusters/basic-information.js +34 -34
- package/dist/esm/clusters/binding.d.ts +12 -12
- package/dist/esm/clusters/binding.js +5 -5
- package/dist/esm/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/esm/clusters/boolean-state-configuration.js +18 -18
- package/dist/esm/clusters/boolean-state.d.ts +7 -7
- package/dist/esm/clusters/boolean-state.js +3 -3
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +102 -102
- package/dist/esm/clusters/bridged-device-basic-information.js +28 -28
- package/dist/esm/clusters/channel.d.ts +577 -559
- package/dist/esm/clusters/channel.d.ts.map +1 -1
- package/dist/esm/clusters/channel.js +87 -73
- package/dist/esm/clusters/channel.js.map +1 -1
- package/dist/esm/clusters/color-control.d.ts +658 -658
- package/dist/esm/clusters/color-control.js +116 -116
- package/dist/esm/clusters/commissioner-control.d.ts +16 -16
- package/dist/esm/clusters/commissioner-control.js +5 -5
- package/dist/esm/clusters/concentration-measurement.d.ts +26 -26
- package/dist/esm/clusters/concentration-measurement.js +11 -11
- package/dist/esm/clusters/content-app-observer.d.ts +27 -17
- package/dist/esm/clusters/content-app-observer.d.ts.map +1 -1
- package/dist/esm/clusters/content-app-observer.js +14 -6
- package/dist/esm/clusters/content-app-observer.js.map +1 -1
- package/dist/esm/clusters/content-control.d.ts +438 -356
- package/dist/esm/clusters/content-control.d.ts.map +1 -1
- package/dist/esm/clusters/content-control.js +120 -58
- package/dist/esm/clusters/content-control.js.map +1 -1
- package/dist/esm/clusters/content-launcher.d.ts +509 -475
- package/dist/esm/clusters/content-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/content-launcher.js +65 -39
- package/dist/esm/clusters/content-launcher.js.map +1 -1
- package/dist/esm/clusters/descriptor.d.ts +28 -28
- package/dist/esm/clusters/descriptor.js +8 -8
- package/dist/esm/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/esm/clusters/device-energy-management-mode.js +8 -8
- package/dist/esm/clusters/device-energy-management.d.ts +544 -544
- package/dist/esm/clusters/device-energy-management.js +87 -87
- package/dist/esm/clusters/diagnostic-logs.d.ts +67 -33
- package/dist/esm/clusters/diagnostic-logs.d.ts.map +1 -1
- package/dist/esm/clusters/diagnostic-logs.js +34 -8
- package/dist/esm/clusters/diagnostic-logs.js.map +1 -1
- package/dist/esm/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/esm/clusters/dishwasher-alarm.js +14 -14
- package/dist/esm/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/esm/clusters/dishwasher-mode.js +8 -8
- package/dist/esm/clusters/door-lock.d.ts +1367 -1350
- package/dist/esm/clusters/door-lock.d.ts.map +1 -1
- package/dist/esm/clusters/door-lock.js +242 -228
- package/dist/esm/clusters/door-lock.js.map +1 -1
- package/dist/esm/clusters/ecosystem-information.d.ts +27 -27
- package/dist/esm/clusters/ecosystem-information.js +12 -12
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +275 -275
- package/dist/esm/clusters/electrical-energy-measurement.js +25 -25
- package/dist/esm/clusters/electrical-power-measurement.d.ts +199 -199
- package/dist/esm/clusters/electrical-power-measurement.js +39 -39
- package/dist/esm/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/esm/clusters/energy-evse-mode.js +8 -8
- package/dist/esm/clusters/energy-evse.d.ts +323 -323
- package/dist/esm/clusters/energy-evse.js +73 -73
- package/dist/esm/clusters/energy-preference.d.ts +49 -49
- package/dist/esm/clusters/energy-preference.js +9 -9
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/esm/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/esm/clusters/fan-control.d.ts +67 -67
- package/dist/esm/clusters/fan-control.js +17 -17
- package/dist/esm/clusters/fixed-label.d.ts +2 -2
- package/dist/esm/clusters/fixed-label.js +1 -1
- package/dist/esm/clusters/flow-measurement.d.ts +5 -5
- package/dist/esm/clusters/flow-measurement.js +4 -4
- package/dist/esm/clusters/general-commissioning.d.ts +104 -104
- package/dist/esm/clusters/general-commissioning.js +25 -25
- package/dist/esm/clusters/general-diagnostics.d.ts +174 -174
- package/dist/esm/clusters/general-diagnostics.js +40 -40
- package/dist/esm/clusters/group-key-management.d.ts +119 -119
- package/dist/esm/clusters/group-key-management.js +23 -23
- package/dist/esm/clusters/groups.d.ts +78 -78
- package/dist/esm/clusters/groups.js +21 -21
- package/dist/esm/clusters/icd-management.d.ts +131 -131
- package/dist/esm/clusters/icd-management.js +29 -29
- package/dist/esm/clusters/identify.d.ts +16 -16
- package/dist/esm/clusters/identify.js +6 -6
- package/dist/esm/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/esm/clusters/illuminance-measurement.js +5 -5
- package/dist/esm/clusters/joint-fabric-datastore.d.ts +175 -175
- package/dist/esm/clusters/joint-fabric-datastore.js +62 -62
- package/dist/esm/clusters/joint-fabric-pki.d.ts +14 -14
- package/dist/esm/clusters/joint-fabric-pki.js +5 -5
- package/dist/esm/clusters/keypad-input.d.ts +34 -16
- package/dist/esm/clusters/keypad-input.d.ts.map +1 -1
- package/dist/esm/clusters/keypad-input.js +17 -3
- package/dist/esm/clusters/keypad-input.js.map +1 -1
- package/dist/esm/clusters/label.d.ts +10 -10
- package/dist/esm/clusters/label.js +3 -3
- package/dist/esm/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/esm/clusters/laundry-dryer-controls.js +2 -2
- package/dist/esm/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/esm/clusters/laundry-washer-controls.js +6 -6
- package/dist/esm/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/esm/clusters/laundry-washer-mode.js +5 -5
- package/dist/esm/clusters/level-control.d.ts +303 -303
- package/dist/esm/clusters/level-control.js +32 -32
- package/dist/esm/clusters/localization-configuration.d.ts +3 -3
- package/dist/esm/clusters/localization-configuration.js +2 -2
- package/dist/esm/clusters/low-power.d.ts +2 -2
- package/dist/esm/clusters/low-power.js +1 -1
- package/dist/esm/clusters/media-input.d.ts +47 -47
- package/dist/esm/clusters/media-input.js +11 -11
- package/dist/esm/clusters/media-playback.d.ts +427 -385
- package/dist/esm/clusters/media-playback.d.ts.map +1 -1
- package/dist/esm/clusters/media-playback.js +89 -57
- package/dist/esm/clusters/media-playback.js.map +1 -1
- package/dist/esm/clusters/messages.d.ts +154 -154
- package/dist/esm/clusters/messages.js +38 -38
- package/dist/esm/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/esm/clusters/microwave-oven-control.js +17 -17
- package/dist/esm/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/esm/clusters/microwave-oven-mode.js +7 -7
- package/dist/esm/clusters/mode-base.d.ts +59 -59
- package/dist/esm/clusters/mode-base.js +13 -13
- package/dist/esm/clusters/mode-select.d.ts +51 -51
- package/dist/esm/clusters/mode-select.js +13 -13
- package/dist/esm/clusters/network-commissioning.d.ts +325 -325
- package/dist/esm/clusters/network-commissioning.js +46 -46
- package/dist/esm/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/esm/clusters/occupancy-sensing.js +20 -20
- package/dist/esm/clusters/on-off.d.ts +103 -103
- package/dist/esm/clusters/on-off.js +19 -19
- package/dist/esm/clusters/operational-credentials.d.ts +94 -94
- package/dist/esm/clusters/operational-credentials.js +34 -34
- package/dist/esm/clusters/operational-state.d.ts +67 -67
- package/dist/esm/clusters/operational-state.js +21 -21
- package/dist/esm/clusters/ota-software-update-provider.d.ts +95 -61
- package/dist/esm/clusters/ota-software-update-provider.d.ts.map +1 -1
- package/dist/esm/clusters/ota-software-update-provider.js +51 -25
- package/dist/esm/clusters/ota-software-update-provider.js.map +1 -1
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/esm/clusters/ota-software-update-requestor.js +25 -25
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/esm/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/esm/clusters/oven-mode.d.ts +40 -40
- package/dist/esm/clusters/oven-mode.js +5 -5
- package/dist/esm/clusters/power-source-configuration.d.ts +2 -2
- package/dist/esm/clusters/power-source-configuration.js +1 -1
- package/dist/esm/clusters/power-source.d.ts +155 -155
- package/dist/esm/clusters/power-source.js +41 -41
- package/dist/esm/clusters/power-topology.d.ts +8 -8
- package/dist/esm/clusters/power-topology.js +2 -2
- package/dist/esm/clusters/pressure-measurement.d.ts +25 -25
- package/dist/esm/clusters/pressure-measurement.js +9 -9
- package/dist/esm/clusters/proxy-configuration.d.ts +8 -8
- package/dist/esm/clusters/proxy-configuration.js +3 -3
- package/dist/esm/clusters/proxy-discovery.d.ts +10 -10
- package/dist/esm/clusters/proxy-discovery.js +4 -4
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/esm/clusters/pump-configuration-and-control.js +57 -57
- package/dist/esm/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/esm/clusters/refrigerator-alarm.js +11 -11
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/esm/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/esm/clusters/relative-humidity-measurement.js +4 -4
- package/dist/esm/clusters/resource-monitoring.d.ts +20 -20
- package/dist/esm/clusters/resource-monitoring.js +7 -7
- package/dist/esm/clusters/rvc-clean-mode.d.ts +48 -48
- package/dist/esm/clusters/rvc-clean-mode.js +9 -9
- package/dist/esm/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/esm/clusters/rvc-operational-state.js +17 -17
- package/dist/esm/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/esm/clusters/rvc-run-mode.js +9 -9
- package/dist/esm/clusters/scenes-management.d.ts +246 -246
- package/dist/esm/clusters/scenes-management.js +70 -70
- package/dist/esm/clusters/service-area.d.ts +128 -128
- package/dist/esm/clusters/service-area.js +26 -26
- package/dist/esm/clusters/smoke-co-alarm.d.ts +137 -137
- package/dist/esm/clusters/smoke-co-alarm.js +30 -30
- package/dist/esm/clusters/software-diagnostics.d.ts +53 -53
- package/dist/esm/clusters/software-diagnostics.js +14 -14
- package/dist/esm/clusters/switch.d.ts +105 -105
- package/dist/esm/clusters/switch.js +23 -23
- package/dist/esm/clusters/target-navigator.d.ts +48 -30
- package/dist/esm/clusters/target-navigator.d.ts.map +1 -1
- package/dist/esm/clusters/target-navigator.js +24 -10
- package/dist/esm/clusters/target-navigator.js.map +1 -1
- package/dist/esm/clusters/temperature-control.d.ts +45 -45
- package/dist/esm/clusters/temperature-control.js +12 -12
- package/dist/esm/clusters/temperature-measurement.d.ts +5 -5
- package/dist/esm/clusters/temperature-measurement.js +4 -4
- package/dist/esm/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/esm/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/esm/clusters/thermostat.d.ts +515 -515
- package/dist/esm/clusters/thermostat.js +114 -114
- package/dist/esm/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/esm/clusters/thread-border-router-management.js +14 -14
- package/dist/esm/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/esm/clusters/thread-network-diagnostics.js +108 -108
- package/dist/esm/clusters/thread-network-directory.d.ts +27 -27
- package/dist/esm/clusters/thread-network-directory.js +11 -11
- package/dist/esm/clusters/time-format-localization.d.ts +12 -12
- package/dist/esm/clusters/time-format-localization.js +3 -3
- package/dist/esm/clusters/time-synchronization.d.ts +255 -245
- package/dist/esm/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/esm/clusters/time-synchronization.js +55 -47
- package/dist/esm/clusters/time-synchronization.js.map +1 -1
- package/dist/esm/clusters/unit-localization.d.ts +6 -6
- package/dist/esm/clusters/unit-localization.js +1 -1
- package/dist/esm/clusters/user-label.d.ts +2 -2
- package/dist/esm/clusters/user-label.js +1 -1
- package/dist/esm/clusters/valid-proxies.d.ts +7 -7
- package/dist/esm/clusters/valid-proxies.js +2 -2
- package/dist/esm/clusters/valve-configuration-and-control.d.ts +90 -80
- package/dist/esm/clusters/valve-configuration-and-control.d.ts.map +1 -1
- package/dist/esm/clusters/valve-configuration-and-control.js +30 -22
- package/dist/esm/clusters/valve-configuration-and-control.js.map +1 -1
- package/dist/esm/clusters/wake-on-lan.d.ts +3 -3
- package/dist/esm/clusters/wake-on-lan.js +2 -2
- package/dist/esm/clusters/water-heater-management.d.ts +91 -91
- package/dist/esm/clusters/water-heater-management.js +16 -16
- package/dist/esm/clusters/water-heater-mode.d.ts +42 -42
- package/dist/esm/clusters/water-heater-mode.js +8 -8
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/esm/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/esm/clusters/wi-fi-network-management.d.ts +6 -6
- package/dist/esm/clusters/wi-fi-network-management.js +3 -3
- package/dist/esm/clusters/window-covering.d.ts +183 -183
- package/dist/esm/clusters/window-covering.js +49 -49
- package/dist/esm/common/StatusCode.d.ts +2 -11
- package/dist/esm/common/StatusCode.d.ts.map +1 -1
- package/dist/esm/common/StatusCode.js +1 -17
- package/dist/esm/common/StatusCode.js.map +1 -1
- package/dist/esm/common/StatusResponseError.d.ts +21 -0
- package/dist/esm/common/StatusResponseError.d.ts.map +1 -0
- package/dist/esm/common/StatusResponseError.js +34 -0
- package/dist/esm/common/StatusResponseError.js.map +6 -0
- package/dist/esm/common/ValidationError.d.ts +1 -1
- package/dist/esm/common/ValidationError.d.ts.map +1 -1
- package/dist/esm/common/ValidationError.js +2 -1
- package/dist/esm/common/ValidationError.js.map +1 -1
- package/dist/esm/common/index.d.ts +1 -0
- package/dist/esm/common/index.d.ts.map +1 -1
- package/dist/esm/common/index.js +1 -0
- package/dist/esm/common/index.js.map +1 -1
- package/dist/esm/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/esm/globals/AtomicAttributeStatus.js +2 -2
- package/dist/esm/globals/AtomicRequestType.d.ts +1 -1
- package/dist/esm/globals/Locationdesc.d.ts +5 -5
- package/dist/esm/globals/Locationdesc.js +3 -3
- package/dist/esm/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/esm/globals/MeasurementAccuracy.js +3 -3
- package/dist/esm/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/esm/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/esm/globals/MeasurementType.d.ts +1 -1
- package/dist/esm/globals/Priority.d.ts +1 -1
- package/dist/esm/globals/Semtag.d.ts +6 -6
- package/dist/esm/globals/Semtag.js +4 -4
- package/dist/esm/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/esm/globals/Status.d.ts +33 -33
- package/dist/esm/globals/Tod.d.ts +2 -2
- package/dist/esm/globals/WildcardPathFlags.d.ts +1 -1
- package/package.json +5 -5
- package/src/clusters/access-control.ts +72 -72
- package/src/clusters/account-login.ts +22 -22
- package/src/clusters/actions.ts +86 -86
- package/src/clusters/administrator-commissioning.ts +67 -20
- package/src/clusters/air-quality.ts +4 -4
- package/src/clusters/alarm-base.ts +22 -22
- package/src/clusters/application-basic.ts +14 -14
- package/src/clusters/application-launcher.ts +105 -28
- package/src/clusters/audio-output.ts +17 -17
- package/src/clusters/ballast-configuration.ts +20 -20
- package/src/clusters/basic-information.ts +47 -47
- package/src/clusters/binding.ts +8 -8
- package/src/clusters/boolean-state-configuration.ts +31 -31
- package/src/clusters/boolean-state.ts +6 -6
- package/src/clusters/bridged-device-basic-information.ts +38 -38
- package/src/clusters/channel.ts +143 -111
- package/src/clusters/color-control.ts +168 -168
- package/src/clusters/commissioner-control.ts +15 -15
- package/src/clusters/concentration-measurement.ts +15 -15
- package/src/clusters/content-app-observer.ts +29 -12
- package/src/clusters/content-control.ts +248 -96
- package/src/clusters/content-launcher.ts +131 -69
- package/src/clusters/descriptor.ts +13 -13
- package/src/clusters/device-energy-management-mode.ts +28 -28
- package/src/clusters/device-energy-management.ts +136 -136
- package/src/clusters/diagnostic-logs.ts +88 -26
- package/src/clusters/dishwasher-alarm.ts +24 -24
- package/src/clusters/dishwasher-mode.ts +27 -27
- package/src/clusters/door-lock.ts +408 -377
- package/src/clusters/ecosystem-information.ts +17 -17
- package/src/clusters/electrical-energy-measurement.ts +39 -39
- package/src/clusters/electrical-power-measurement.ts +53 -53
- package/src/clusters/energy-evse-mode.ts +28 -28
- package/src/clusters/energy-evse.ts +109 -109
- package/src/clusters/energy-preference.ts +19 -19
- package/src/clusters/ethernet-network-diagnostics.ts +13 -13
- package/src/clusters/fan-control.ts +30 -30
- package/src/clusters/fixed-label.ts +2 -2
- package/src/clusters/flow-measurement.ts +5 -5
- package/src/clusters/general-commissioning.ts +45 -45
- package/src/clusters/general-diagnostics.ts +66 -66
- package/src/clusters/group-key-management.ts +45 -45
- package/src/clusters/groups.ts +44 -44
- package/src/clusters/icd-management.ts +50 -50
- package/src/clusters/identify.ts +14 -14
- package/src/clusters/illuminance-measurement.ts +7 -7
- package/src/clusters/joint-fabric-datastore.ts +82 -82
- package/src/clusters/joint-fabric-pki.ts +12 -12
- package/src/clusters/keypad-input.ts +43 -11
- package/src/clusters/label.ts +5 -5
- package/src/clusters/laundry-dryer-controls.ts +4 -4
- package/src/clusters/laundry-washer-controls.ts +11 -11
- package/src/clusters/laundry-washer-mode.ts +25 -25
- package/src/clusters/level-control.ts +49 -49
- package/src/clusters/localization-configuration.ts +3 -3
- package/src/clusters/low-power.ts +2 -2
- package/src/clusters/media-input.ts +20 -20
- package/src/clusters/media-playback.ts +168 -91
- package/src/clusters/messages.ts +61 -61
- package/src/clusters/microwave-oven-control.ts +23 -23
- package/src/clusters/microwave-oven-mode.ts +25 -25
- package/src/clusters/mode-base.ts +37 -37
- package/src/clusters/mode-select.ts +22 -22
- package/src/clusters/network-commissioning.ts +76 -76
- package/src/clusters/occupancy-sensing.ts +29 -29
- package/src/clusters/on-off.ts +33 -33
- package/src/clusters/operational-credentials.ts +65 -65
- package/src/clusters/operational-state.ts +34 -34
- package/src/clusters/ota-software-update-provider.ts +101 -39
- package/src/clusters/ota-software-update-requestor.ts +55 -55
- package/src/clusters/oven-cavity-operational-state.ts +14 -14
- package/src/clusters/oven-mode.ts +31 -31
- package/src/clusters/power-source-configuration.ts +2 -2
- package/src/clusters/power-source.ts +59 -59
- package/src/clusters/power-topology.ts +4 -4
- package/src/clusters/pressure-measurement.ts +11 -11
- package/src/clusters/proxy-configuration.ts +6 -6
- package/src/clusters/proxy-discovery.ts +7 -7
- package/src/clusters/pump-configuration-and-control.ts +69 -69
- package/src/clusters/refrigerator-alarm.ts +18 -18
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +26 -26
- package/src/clusters/relative-humidity-measurement.ts +5 -5
- package/src/clusters/resource-monitoring.ts +13 -13
- package/src/clusters/rvc-clean-mode.ts +31 -31
- package/src/clusters/rvc-operational-state.ts +28 -28
- package/src/clusters/rvc-run-mode.ts +38 -38
- package/src/clusters/scenes-management.ts +112 -112
- package/src/clusters/service-area.ts +50 -50
- package/src/clusters/smoke-co-alarm.ts +68 -68
- package/src/clusters/software-diagnostics.ts +20 -20
- package/src/clusters/switch.ts +45 -45
- package/src/clusters/target-navigator.ts +52 -20
- package/src/clusters/temperature-control.ts +19 -19
- package/src/clusters/temperature-measurement.ts +5 -5
- package/src/clusters/thermostat-user-interface-configuration.ts +7 -7
- package/src/clusters/thermostat.ts +172 -172
- package/src/clusters/thread-border-router-management.ts +23 -23
- package/src/clusters/thread-network-diagnostics.ts +125 -125
- package/src/clusters/thread-network-directory.ts +22 -22
- package/src/clusters/time-format-localization.ts +7 -7
- package/src/clusters/time-synchronization.ts +98 -81
- package/src/clusters/unit-localization.ts +4 -4
- package/src/clusters/user-label.ts +2 -2
- package/src/clusters/valid-proxies.ts +7 -7
- package/src/clusters/valve-configuration-and-control.ts +52 -35
- package/src/clusters/wake-on-lan.ts +3 -3
- package/src/clusters/water-heater-management.ts +26 -26
- package/src/clusters/water-heater-mode.ts +27 -27
- package/src/clusters/wi-fi-network-diagnostics.ts +32 -32
- package/src/clusters/wi-fi-network-management.ts +6 -6
- package/src/clusters/window-covering.ts +68 -68
- package/src/common/StatusCode.ts +3 -21
- package/src/common/StatusResponseError.ts +41 -0
- package/src/common/ValidationError.ts +2 -1
- package/src/common/index.ts +1 -0
- package/src/globals/AtomicAttributeStatus.ts +4 -4
- package/src/globals/AtomicRequestType.ts +1 -1
- package/src/globals/Locationdesc.ts +5 -5
- package/src/globals/MeasurementAccuracy.ts +5 -5
- package/src/globals/MeasurementAccuracyRange.ts +10 -10
- package/src/globals/MeasurementType.ts +1 -1
- package/src/globals/Priority.ts +1 -1
- package/src/globals/Semtag.ts +6 -6
- package/src/globals/SoftwareVersionCertificationStatus.ts +1 -1
- package/src/globals/Status.ts +33 -33
- package/src/globals/Tod.ts +2 -2
- package/src/globals/WildcardPathFlags.ts +1 -1
|
@@ -24,9 +24,11 @@ import { BitFlag, BitsFromPartial, BitField } from "../schema/BitmapSchema.js";
|
|
|
24
24
|
import { TlvString, TlvByteString } from "../tlv/TlvString.js";
|
|
25
25
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
26
26
|
import { TlvFabricIndex } from "../datatype/FabricIndex.js";
|
|
27
|
+
import { Status } from "../globals/Status.js";
|
|
27
28
|
import { TlvBoolean } from "../tlv/TlvBoolean.js";
|
|
28
29
|
import { TlvNodeId } from "../datatype/NodeId.js";
|
|
29
30
|
import { TlvNoArguments } from "../tlv/TlvNoArguments.js";
|
|
31
|
+
import { StatusResponseError } from "../common/StatusResponseError.js";
|
|
30
32
|
import { ClusterType } from "../cluster/ClusterType.js";
|
|
31
33
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
32
34
|
var DoorLock;
|
|
@@ -60,7 +62,7 @@ var DoorLock;
|
|
|
60
62
|
/**
|
|
61
63
|
* This field shall indicate the new door state for this door event.
|
|
62
64
|
*
|
|
63
|
-
* @see {@link MatterSpecification.
|
|
65
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.2.1
|
|
64
66
|
*/
|
|
65
67
|
doorState: TlvField(0, TlvEnum())
|
|
66
68
|
});
|
|
@@ -113,13 +115,13 @@ var DoorLock;
|
|
|
113
115
|
/**
|
|
114
116
|
* This field shall indicate the type of operation.
|
|
115
117
|
*
|
|
116
|
-
* @see {@link MatterSpecification.
|
|
118
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.32.1
|
|
117
119
|
*/
|
|
118
120
|
operationType: TlvField(0, TlvEnum()),
|
|
119
121
|
/**
|
|
120
122
|
* This field shall indicate the user ID.
|
|
121
123
|
*
|
|
122
|
-
* @see {@link MatterSpecification.
|
|
124
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.32.2
|
|
123
125
|
*/
|
|
124
126
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
125
127
|
/**
|
|
@@ -133,7 +135,7 @@ var DoorLock;
|
|
|
133
135
|
*
|
|
134
136
|
* If UserName is not null, the UserName in the user record shall be set to the provided value.
|
|
135
137
|
*
|
|
136
|
-
* @see {@link MatterSpecification.
|
|
138
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.32.3
|
|
137
139
|
*/
|
|
138
140
|
userName: TlvField(2, TlvNullable(TlvString.bound({ maxLength: 10 }))),
|
|
139
141
|
/**
|
|
@@ -150,7 +152,7 @@ var DoorLock;
|
|
|
150
152
|
*
|
|
151
153
|
* If UserUniqueID is not null, the UserUniqueID in the user record shall be set to the provided value.
|
|
152
154
|
*
|
|
153
|
-
* @see {@link MatterSpecification.
|
|
155
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.32.4
|
|
154
156
|
*/
|
|
155
157
|
userUniqueId: TlvField(3, TlvNullable(TlvUInt32)),
|
|
156
158
|
/**
|
|
@@ -165,7 +167,7 @@ var DoorLock;
|
|
|
165
167
|
*
|
|
166
168
|
* If UserStatus is not null, the UserStatus in the user record shall be set to the provided value.
|
|
167
169
|
*
|
|
168
|
-
* @see {@link MatterSpecification.
|
|
170
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.32.5
|
|
169
171
|
*/
|
|
170
172
|
userStatus: TlvField(4, TlvNullable(TlvEnum())),
|
|
171
173
|
/**
|
|
@@ -180,7 +182,7 @@ var DoorLock;
|
|
|
180
182
|
*
|
|
181
183
|
* If UserType is not null, the UserType in the user record shall be set to the provided value.
|
|
182
184
|
*
|
|
183
|
-
* @see {@link MatterSpecification.
|
|
185
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.32.6
|
|
184
186
|
*/
|
|
185
187
|
userType: TlvField(5, TlvNullable(TlvEnum())),
|
|
186
188
|
/**
|
|
@@ -199,7 +201,7 @@ var DoorLock;
|
|
|
199
201
|
*
|
|
200
202
|
* If CredentialRule is not null, the CredentialRule in the user record shall be set to the provided value.
|
|
201
203
|
*
|
|
202
|
-
* @see {@link MatterSpecification.
|
|
204
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.32.7
|
|
203
205
|
*/
|
|
204
206
|
credentialRule: TlvField(6, TlvNullable(TlvEnum()))
|
|
205
207
|
});
|
|
@@ -220,7 +222,7 @@ var DoorLock;
|
|
|
220
222
|
/**
|
|
221
223
|
* This field shall indicate the credential field used to authorize the lock operation.
|
|
222
224
|
*
|
|
223
|
-
* @see {@link MatterSpecification.
|
|
225
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.6.24.1
|
|
224
226
|
*/
|
|
225
227
|
credentialType: TlvField(0, TlvEnum()),
|
|
226
228
|
/**
|
|
@@ -228,7 +230,7 @@ var DoorLock;
|
|
|
228
230
|
* list of credentials identified by CredentialType (e.g. PIN, RFID, etc.). This field shall be set to 0 if
|
|
229
231
|
* CredentialType is ProgrammingPIN or does not correspond to a list that can be indexed into.
|
|
230
232
|
*
|
|
231
|
-
* @see {@link MatterSpecification.
|
|
233
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.6.24.2
|
|
232
234
|
*/
|
|
233
235
|
credentialIndex: TlvField(1, TlvUInt16)
|
|
234
236
|
});
|
|
@@ -236,43 +238,43 @@ var DoorLock;
|
|
|
236
238
|
/**
|
|
237
239
|
* This field shall indicate the user ID.
|
|
238
240
|
*
|
|
239
|
-
* @see {@link MatterSpecification.
|
|
241
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.34.1
|
|
240
242
|
*/
|
|
241
243
|
userIndex: TlvField(0, TlvUInt16.bound({ min: 1 })),
|
|
242
244
|
/**
|
|
243
245
|
* This field shall contain a string to use as a human readable identifier for the user.
|
|
244
246
|
*
|
|
245
|
-
* @see {@link MatterSpecification.
|
|
247
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.34.2
|
|
246
248
|
*/
|
|
247
249
|
userName: TlvField(1, TlvNullable(TlvString.bound({ maxLength: 10 }))),
|
|
248
250
|
/**
|
|
249
251
|
* See UserUniqueID field.
|
|
250
252
|
*
|
|
251
|
-
* @see {@link MatterSpecification.
|
|
253
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.34.3
|
|
252
254
|
*/
|
|
253
255
|
userUniqueId: TlvField(2, TlvNullable(TlvUInt32)),
|
|
254
256
|
/**
|
|
255
257
|
* This field shall indicate the UserStatus assigned to the user when created or modified.
|
|
256
258
|
*
|
|
257
|
-
* @see {@link MatterSpecification.
|
|
259
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.34.4
|
|
258
260
|
*/
|
|
259
261
|
userStatus: TlvField(3, TlvNullable(TlvEnum())),
|
|
260
262
|
/**
|
|
261
263
|
* This field shall indicate the UserType assigned to this user when created or modified.
|
|
262
264
|
*
|
|
263
|
-
* @see {@link MatterSpecification.
|
|
265
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.34.5
|
|
264
266
|
*/
|
|
265
267
|
userType: TlvField(4, TlvNullable(TlvEnum())),
|
|
266
268
|
/**
|
|
267
269
|
* This field shall indicate the CredentialRule set for this user.
|
|
268
270
|
*
|
|
269
|
-
* @see {@link MatterSpecification.
|
|
271
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.34.6
|
|
270
272
|
*/
|
|
271
273
|
credentialRule: TlvField(5, TlvNullable(TlvEnum())),
|
|
272
274
|
/**
|
|
273
275
|
* This field shall contain a list of credentials for this user.
|
|
274
276
|
*
|
|
275
|
-
* @see {@link MatterSpecification.
|
|
277
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.34.7
|
|
276
278
|
*/
|
|
277
279
|
credentials: TlvField(6, TlvNullable(TlvArray(DoorLock2.TlvCredential, { minLength: 0 }))),
|
|
278
280
|
/**
|
|
@@ -281,7 +283,7 @@ var DoorLock;
|
|
|
281
283
|
* the Interaction Model) and shall NOT be null otherwise. This value shall be set to 0 if the original creator
|
|
282
284
|
* fabric was deleted.
|
|
283
285
|
*
|
|
284
|
-
* @see {@link MatterSpecification.
|
|
286
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.34.8
|
|
285
287
|
*/
|
|
286
288
|
creatorFabricIndex: TlvField(7, TlvNullable(TlvFabricIndex)),
|
|
287
289
|
/**
|
|
@@ -290,7 +292,7 @@ var DoorLock;
|
|
|
290
292
|
* modified outside the Interaction Model) and shall NOT be null otherwise. This value shall be set to 0 if the
|
|
291
293
|
* last modifier fabric was deleted.
|
|
292
294
|
*
|
|
293
|
-
* @see {@link MatterSpecification.
|
|
295
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.34.9
|
|
294
296
|
*/
|
|
295
297
|
lastModifiedFabricIndex: TlvField(8, TlvNullable(TlvFabricIndex)),
|
|
296
298
|
/**
|
|
@@ -298,7 +300,7 @@ var DoorLock;
|
|
|
298
300
|
* occupied user slots in the database. This shall NOT be null if there is at least one occupied entry after the
|
|
299
301
|
* requested UserIndex in the User database and shall be null if there are no more occupied entries.
|
|
300
302
|
*
|
|
301
|
-
* @see {@link MatterSpecification.
|
|
303
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.34.10
|
|
302
304
|
*/
|
|
303
305
|
nextUserIndex: TlvField(9, TlvNullable(TlvUInt16.bound({ min: 1 })))
|
|
304
306
|
});
|
|
@@ -306,7 +308,7 @@ var DoorLock;
|
|
|
306
308
|
/**
|
|
307
309
|
* This field shall specify a valid User index or 0xFFFE to indicate all user slots shall be cleared.
|
|
308
310
|
*
|
|
309
|
-
* @see {@link MatterSpecification.
|
|
311
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.35.1
|
|
310
312
|
*/
|
|
311
313
|
userIndex: TlvField(0, TlvUInt16)
|
|
312
314
|
});
|
|
@@ -314,14 +316,14 @@ var DoorLock;
|
|
|
314
316
|
/**
|
|
315
317
|
* This field shall indicate the set credential operation type requested.
|
|
316
318
|
*
|
|
317
|
-
* @see {@link MatterSpecification.
|
|
319
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.36.1
|
|
318
320
|
*/
|
|
319
321
|
operationType: TlvField(0, TlvEnum()),
|
|
320
322
|
/**
|
|
321
323
|
* This field shall contain a credential structure that contains the CredentialTypeEnum and the credential index
|
|
322
324
|
* (if applicable or 0 if not) to set.
|
|
323
325
|
*
|
|
324
|
-
* @see {@link MatterSpecification.
|
|
326
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.36.2
|
|
325
327
|
*/
|
|
326
328
|
credential: TlvField(1, DoorLock2.TlvCredential),
|
|
327
329
|
/**
|
|
@@ -329,7 +331,7 @@ var DoorLock;
|
|
|
329
331
|
* of the credential data shall conform to the limits of the CredentialType specified in the Credential
|
|
330
332
|
* structure otherwise an INVALID_COMMAND status shall be returned in the SetCredentialResponse command.
|
|
331
333
|
*
|
|
332
|
-
* @see {@link MatterSpecification.
|
|
334
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.36.3
|
|
333
335
|
*/
|
|
334
336
|
credentialData: TlvField(2, TlvByteString),
|
|
335
337
|
/**
|
|
@@ -337,21 +339,21 @@ var DoorLock;
|
|
|
337
339
|
* modified. This shall be null if OperationType is add and a new credential and user is being added at the same
|
|
338
340
|
* time.
|
|
339
341
|
*
|
|
340
|
-
* @see {@link MatterSpecification.
|
|
342
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.36.4
|
|
341
343
|
*/
|
|
342
344
|
userIndex: TlvField(3, TlvNullable(TlvUInt16.bound({ min: 1 }))),
|
|
343
345
|
/**
|
|
344
346
|
* This field shall indicate the user status to use in the new user record if a new user is being created. This
|
|
345
347
|
* shall be null if OperationType is Modify. This may be null when adding a new credential and user.
|
|
346
348
|
*
|
|
347
|
-
* @see {@link MatterSpecification.
|
|
349
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.36.5
|
|
348
350
|
*/
|
|
349
351
|
userStatus: TlvField(4, TlvNullable(TlvEnum())),
|
|
350
352
|
/**
|
|
351
353
|
* This field shall indicate the user type to use in the new user record if a new user is being created. This
|
|
352
354
|
* shall be null if OperationType is Modify. This may be null when adding a new credential and user.
|
|
353
355
|
*
|
|
354
|
-
* @see {@link MatterSpecification.
|
|
356
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.36.6
|
|
355
357
|
*/
|
|
356
358
|
userType: TlvField(5, TlvNullable(TlvEnum()))
|
|
357
359
|
});
|
|
@@ -388,7 +390,7 @@ var DoorLock;
|
|
|
388
390
|
*
|
|
389
391
|
* • INVALID_COMMAND, if OperationType is Modify and UserIndex points to an available slot.
|
|
390
392
|
*
|
|
391
|
-
* @see {@link MatterSpecification.
|
|
393
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.37.1
|
|
392
394
|
*/
|
|
393
395
|
status: TlvField(0, TlvEnum()),
|
|
394
396
|
/**
|
|
@@ -398,7 +400,7 @@ var DoorLock;
|
|
|
398
400
|
* created. If the OperationType was Add and an existing User was associated with the new credential then this
|
|
399
401
|
* shall be null.
|
|
400
402
|
*
|
|
401
|
-
* @see {@link MatterSpecification.
|
|
403
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.37.2
|
|
402
404
|
*/
|
|
403
405
|
userIndex: TlvField(1, TlvNullable(TlvUInt16.bound({ min: 1 }))),
|
|
404
406
|
/**
|
|
@@ -408,7 +410,7 @@ var DoorLock;
|
|
|
408
410
|
* null if there are no more available entries. The NextCredentialIndex reported shall NOT exceed the maximum
|
|
409
411
|
* number of credentials for a particular credential type.
|
|
410
412
|
*
|
|
411
|
-
* @see {@link MatterSpecification.
|
|
413
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.37.3
|
|
412
414
|
*/
|
|
413
415
|
nextCredentialIndex: TlvOptionalField(2, TlvNullable(TlvUInt16))
|
|
414
416
|
});
|
|
@@ -417,7 +419,7 @@ var DoorLock;
|
|
|
417
419
|
* This field shall contain a credential structure that contains the CredentialTypeEnum and the credential index
|
|
418
420
|
* (if applicable or 0 if not) to retrieve the status for.
|
|
419
421
|
*
|
|
420
|
-
* @see {@link MatterSpecification.
|
|
422
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.38.1
|
|
421
423
|
*/
|
|
422
424
|
credential: TlvField(0, DoorLock2.TlvCredential)
|
|
423
425
|
});
|
|
@@ -426,7 +428,7 @@ var DoorLock;
|
|
|
426
428
|
* This field shall indicate if the requested credential type and index exists and is populated for the
|
|
427
429
|
* requested user index.
|
|
428
430
|
*
|
|
429
|
-
* @see {@link MatterSpecification.
|
|
431
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.39.1
|
|
430
432
|
*/
|
|
431
433
|
credentialExists: TlvField(0, TlvBoolean),
|
|
432
434
|
/**
|
|
@@ -434,7 +436,7 @@ var DoorLock;
|
|
|
434
436
|
* CredentialType requested was ProgrammingPIN then UserIndex shall be null; otherwise, UserIndex shall be null
|
|
435
437
|
* if CredentialExists is set to False and shall NOT be null if CredentialExists is set to True.
|
|
436
438
|
*
|
|
437
|
-
* @see {@link MatterSpecification.
|
|
439
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.39.2
|
|
438
440
|
*/
|
|
439
441
|
userIndex: TlvField(1, TlvNullable(TlvUInt16.bound({ min: 1 }))),
|
|
440
442
|
/**
|
|
@@ -443,7 +445,7 @@ var DoorLock;
|
|
|
443
445
|
* credential was created outside the Interaction Model) and shall NOT be null otherwise. This value shall be
|
|
444
446
|
* set to 0 if the original creator fabric was deleted.
|
|
445
447
|
*
|
|
446
|
-
* @see {@link MatterSpecification.
|
|
448
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.39.3
|
|
447
449
|
*/
|
|
448
450
|
creatorFabricIndex: TlvField(2, TlvNullable(TlvFabricIndex)),
|
|
449
451
|
/**
|
|
@@ -452,7 +454,7 @@ var DoorLock;
|
|
|
452
454
|
* credential was modified outside the Interaction Model) and shall NOT be null otherwise. This value shall be
|
|
453
455
|
* set to 0 if the last modifier fabric was deleted.
|
|
454
456
|
*
|
|
455
|
-
* @see {@link MatterSpecification.
|
|
457
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.39.4
|
|
456
458
|
*/
|
|
457
459
|
lastModifiedFabricIndex: TlvField(3, TlvNullable(TlvFabricIndex)),
|
|
458
460
|
/**
|
|
@@ -462,7 +464,7 @@ var DoorLock;
|
|
|
462
464
|
* null if there are no more occupied entries. The NextCredentialIndex reported shall NOT exceed the maximum
|
|
463
465
|
* number of credentials for a particular credential type.
|
|
464
466
|
*
|
|
465
|
-
* @see {@link MatterSpecification.
|
|
467
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.39.5
|
|
466
468
|
*/
|
|
467
469
|
nextCredentialIndex: TlvOptionalField(4, TlvNullable(TlvUInt16)),
|
|
468
470
|
/**
|
|
@@ -481,7 +483,7 @@ var DoorLock;
|
|
|
481
483
|
* > Since the Aliro credentials are public keys, there is no security risk in allowing them to be read.
|
|
482
484
|
* Possession of the credential octet string does not allow operating the lock.
|
|
483
485
|
*
|
|
484
|
-
* @see {@link MatterSpecification.
|
|
486
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.39.6
|
|
485
487
|
*/
|
|
486
488
|
credentialData: TlvOptionalField(5, TlvNullable(TlvByteString))
|
|
487
489
|
});
|
|
@@ -491,7 +493,7 @@ var DoorLock;
|
|
|
491
493
|
* (0xFFFE for all credentials or 0 if not applicable) to clear. This shall be null if clearing all credential
|
|
492
494
|
* types otherwise it shall NOT be null.
|
|
493
495
|
*
|
|
494
|
-
* @see {@link MatterSpecification.
|
|
496
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.40.1
|
|
495
497
|
*/
|
|
496
498
|
credential: TlvField(0, TlvNullable(DoorLock2.TlvCredential))
|
|
497
499
|
});
|
|
@@ -530,19 +532,19 @@ var DoorLock;
|
|
|
530
532
|
/**
|
|
531
533
|
* This field shall indicate the lock data type that was changed.
|
|
532
534
|
*
|
|
533
|
-
* @see {@link MatterSpecification.
|
|
535
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.5.1
|
|
534
536
|
*/
|
|
535
537
|
lockDataType: TlvField(0, TlvEnum()),
|
|
536
538
|
/**
|
|
537
539
|
* This field shall indicate the data operation performed on the lock data type changed.
|
|
538
540
|
*
|
|
539
|
-
* @see {@link MatterSpecification.
|
|
541
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.5.2
|
|
540
542
|
*/
|
|
541
543
|
dataOperationType: TlvField(1, TlvEnum()),
|
|
542
544
|
/**
|
|
543
545
|
* This field shall indicate the source of the user data change.
|
|
544
546
|
*
|
|
545
|
-
* @see {@link MatterSpecification.
|
|
547
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.5.3
|
|
546
548
|
*/
|
|
547
549
|
operationSource: TlvField(2, TlvEnum()),
|
|
548
550
|
/**
|
|
@@ -550,7 +552,7 @@ var DoorLock;
|
|
|
550
552
|
* is no specific user associated with the data operation. This shall be 0xFFFE if all users are affected (e.g.
|
|
551
553
|
* Clear Users).
|
|
552
554
|
*
|
|
553
|
-
* @see {@link MatterSpecification.
|
|
555
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.5.4
|
|
554
556
|
*/
|
|
555
557
|
userIndex: TlvField(3, TlvNullable(TlvUInt16)),
|
|
556
558
|
/**
|
|
@@ -558,7 +560,7 @@ var DoorLock;
|
|
|
558
560
|
* null if there is no fabric that can be determined to have caused the change. This shall NOT be null if the
|
|
559
561
|
* operation source is "Remote".
|
|
560
562
|
*
|
|
561
|
-
* @see {@link MatterSpecification.
|
|
563
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.5.5
|
|
562
564
|
*/
|
|
563
565
|
fabricIndex: TlvField(4, TlvNullable(TlvFabricIndex)),
|
|
564
566
|
/**
|
|
@@ -566,7 +568,7 @@ var DoorLock;
|
|
|
566
568
|
* performed the change. This shall be null if there was no Node involved in the change. This shall NOT be null
|
|
567
569
|
* if the operation source is "Remote".
|
|
568
570
|
*
|
|
569
|
-
* @see {@link MatterSpecification.
|
|
571
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.5.6
|
|
570
572
|
*/
|
|
571
573
|
sourceNode: TlvField(5, TlvNullable(TlvNodeId)),
|
|
572
574
|
/**
|
|
@@ -575,7 +577,7 @@ var DoorLock;
|
|
|
575
577
|
* list that can be indexed into (e.g. ProgrammingUser). This shall be 0xFFFE if all indices are affected (e.g.
|
|
576
578
|
* ClearPINCode, ClearRFIDCode, ClearWeekDaySchedule, ClearYearDaySchedule, etc.).
|
|
577
579
|
*
|
|
578
|
-
* @see {@link MatterSpecification.
|
|
580
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.5.7
|
|
579
581
|
*/
|
|
580
582
|
dataIndex: TlvField(6, TlvNullable(TlvUInt16))
|
|
581
583
|
});
|
|
@@ -613,38 +615,38 @@ var DoorLock;
|
|
|
613
615
|
/**
|
|
614
616
|
* This field shall indicate the index of the Week Day schedule.
|
|
615
617
|
*
|
|
616
|
-
* @see {@link MatterSpecification.
|
|
618
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.12.1
|
|
617
619
|
*/
|
|
618
620
|
weekDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
619
621
|
/**
|
|
620
622
|
* This field shall indicate the user ID.
|
|
621
623
|
*
|
|
622
|
-
* @see {@link MatterSpecification.
|
|
624
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.12.2
|
|
623
625
|
*/
|
|
624
626
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
625
627
|
/**
|
|
626
628
|
* This field shall indicate which week days the schedule is active.
|
|
627
629
|
*
|
|
628
|
-
* @see {@link MatterSpecification.
|
|
630
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.12.3
|
|
629
631
|
*/
|
|
630
632
|
daysMask: TlvField(2, TlvBitmap(TlvUInt8, DoorLock2.DaysMask)),
|
|
631
633
|
/**
|
|
632
634
|
* This field shall indicate the starting hour for the Week Day schedule.
|
|
633
635
|
*
|
|
634
|
-
* @see {@link MatterSpecification.
|
|
636
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.12.4
|
|
635
637
|
*/
|
|
636
638
|
startHour: TlvField(3, TlvUInt8.bound({ max: 23 })),
|
|
637
639
|
/**
|
|
638
640
|
* This field shall indicate the starting minute for the Week Day schedule.
|
|
639
641
|
*
|
|
640
|
-
* @see {@link MatterSpecification.
|
|
642
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.12.5
|
|
641
643
|
*/
|
|
642
644
|
startMinute: TlvField(4, TlvUInt8.bound({ max: 59 })),
|
|
643
645
|
/**
|
|
644
646
|
* This field shall indicate the ending hour for the Week Day schedule. EndHour shall be equal to or greater
|
|
645
647
|
* than StartHour.
|
|
646
648
|
*
|
|
647
|
-
* @see {@link MatterSpecification.
|
|
649
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.12.6
|
|
648
650
|
*/
|
|
649
651
|
endHour: TlvField(5, TlvUInt8.bound({ max: 23 })),
|
|
650
652
|
/**
|
|
@@ -654,7 +656,7 @@ var DoorLock;
|
|
|
654
656
|
* If the EndHour is equal to 23 and the EndMinute is equal to 59 the Lock shall grant access to the user up
|
|
655
657
|
* until 23:59:59.
|
|
656
658
|
*
|
|
657
|
-
* @see {@link MatterSpecification.
|
|
659
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.12.7
|
|
658
660
|
*/
|
|
659
661
|
endMinute: TlvField(6, TlvUInt8.bound({ max: 59 }))
|
|
660
662
|
});
|
|
@@ -666,13 +668,13 @@ var DoorLock;
|
|
|
666
668
|
/**
|
|
667
669
|
* This field shall indicate the index of the Week Day schedule.
|
|
668
670
|
*
|
|
669
|
-
* @see {@link MatterSpecification.
|
|
671
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.14.1
|
|
670
672
|
*/
|
|
671
673
|
weekDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
672
674
|
/**
|
|
673
675
|
* This field shall indicate the user ID.
|
|
674
676
|
*
|
|
675
|
-
* @see {@link MatterSpecification.
|
|
677
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.14.2
|
|
676
678
|
*/
|
|
677
679
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
678
680
|
/**
|
|
@@ -689,34 +691,34 @@ var DoorLock;
|
|
|
689
691
|
* If this field is SUCCESS, the optional fields for this command shall be present. For other (error) status
|
|
690
692
|
* values, only the fields up to the status field shall be present.
|
|
691
693
|
*
|
|
692
|
-
* @see {@link MatterSpecification.
|
|
694
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.14.3
|
|
693
695
|
*/
|
|
694
696
|
status: TlvField(2, TlvEnum()),
|
|
695
697
|
daysMask: TlvOptionalField(3, TlvBitmap(TlvUInt8, DoorLock2.DaysMask)),
|
|
696
698
|
/**
|
|
697
699
|
* This field shall indicate the starting hour for the Week Day schedule.
|
|
698
700
|
*
|
|
699
|
-
* @see {@link MatterSpecification.
|
|
701
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.14.4
|
|
700
702
|
*/
|
|
701
703
|
startHour: TlvOptionalField(4, TlvUInt8.bound({ max: 23 })),
|
|
702
704
|
/**
|
|
703
705
|
* This field shall indicate the starting minute for the Week Day schedule.
|
|
704
706
|
*
|
|
705
|
-
* @see {@link MatterSpecification.
|
|
707
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.14.5
|
|
706
708
|
*/
|
|
707
709
|
startMinute: TlvOptionalField(5, TlvUInt8.bound({ max: 59 })),
|
|
708
710
|
/**
|
|
709
711
|
* This field shall indicate the ending hour for the Week Day schedule. EndHour shall be equal to or greater
|
|
710
712
|
* than StartHour.
|
|
711
713
|
*
|
|
712
|
-
* @see {@link MatterSpecification.
|
|
714
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.14.6
|
|
713
715
|
*/
|
|
714
716
|
endHour: TlvOptionalField(6, TlvUInt8.bound({ max: 23 })),
|
|
715
717
|
/**
|
|
716
718
|
* This field shall indicate the ending minute for the Week Day schedule. If EndHour is equal to StartHour then
|
|
717
719
|
* EndMinute shall be greater than StartMinute.
|
|
718
720
|
*
|
|
719
|
-
* @see {@link MatterSpecification.
|
|
721
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.14.7
|
|
720
722
|
*/
|
|
721
723
|
endMinute: TlvOptionalField(7, TlvUInt8.bound({ max: 59 }))
|
|
722
724
|
});
|
|
@@ -725,13 +727,13 @@ var DoorLock;
|
|
|
725
727
|
* This field shall indicate the Week Day schedule index to clear or 0xFE to clear all Week Day schedules for
|
|
726
728
|
* the specified user.
|
|
727
729
|
*
|
|
728
|
-
* @see {@link MatterSpecification.
|
|
730
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.15.1
|
|
729
731
|
*/
|
|
730
732
|
weekDayIndex: TlvField(0, TlvUInt8),
|
|
731
733
|
/**
|
|
732
734
|
* This field shall indicate the user ID.
|
|
733
735
|
*
|
|
734
|
-
* @see {@link MatterSpecification.
|
|
736
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.15.2
|
|
735
737
|
*/
|
|
736
738
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 }))
|
|
737
739
|
});
|
|
@@ -739,20 +741,20 @@ var DoorLock;
|
|
|
739
741
|
/**
|
|
740
742
|
* This field shall indicate the index of the Year Day schedule.
|
|
741
743
|
*
|
|
742
|
-
* @see {@link MatterSpecification.
|
|
744
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.16.1
|
|
743
745
|
*/
|
|
744
746
|
yearDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
745
747
|
/**
|
|
746
748
|
* This field shall indicate the user ID.
|
|
747
749
|
*
|
|
748
|
-
* @see {@link MatterSpecification.
|
|
750
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.16.2
|
|
749
751
|
*/
|
|
750
752
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
751
753
|
/**
|
|
752
754
|
* This field shall indicate the starting time for the Year Day schedule in Epoch Time in Seconds with local
|
|
753
755
|
* time offset based on the local timezone and DST offset on the day represented by the value.
|
|
754
756
|
*
|
|
755
|
-
* @see {@link MatterSpecification.
|
|
757
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.16.3
|
|
756
758
|
*/
|
|
757
759
|
localStartTime: TlvField(2, TlvEpochS),
|
|
758
760
|
/**
|
|
@@ -760,7 +762,7 @@ var DoorLock;
|
|
|
760
762
|
* offset based on the local timezone and DST offset on the day represented by the value. LocalEndTime shall be
|
|
761
763
|
* greater than LocalStartTime.
|
|
762
764
|
*
|
|
763
|
-
* @see {@link MatterSpecification.
|
|
765
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.16.4
|
|
764
766
|
*/
|
|
765
767
|
localEndTime: TlvField(3, TlvEpochS)
|
|
766
768
|
});
|
|
@@ -772,13 +774,13 @@ var DoorLock;
|
|
|
772
774
|
/**
|
|
773
775
|
* This field shall indicate the index of the Year Day schedule.
|
|
774
776
|
*
|
|
775
|
-
* @see {@link MatterSpecification.
|
|
777
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.18.1
|
|
776
778
|
*/
|
|
777
779
|
yearDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
778
780
|
/**
|
|
779
781
|
* This field shall indicate the user ID.
|
|
780
782
|
*
|
|
781
|
-
* @see {@link MatterSpecification.
|
|
783
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.18.2
|
|
782
784
|
*/
|
|
783
785
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
784
786
|
/**
|
|
@@ -795,7 +797,7 @@ var DoorLock;
|
|
|
795
797
|
* If this field is SUCCESS, the optional fields for this command shall be present. For other (error) status
|
|
796
798
|
* values, only the fields up to the status field shall be present.
|
|
797
799
|
*
|
|
798
|
-
* @see {@link MatterSpecification.
|
|
800
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.18.3
|
|
799
801
|
*/
|
|
800
802
|
status: TlvField(2, TlvEnum()),
|
|
801
803
|
/**
|
|
@@ -803,7 +805,7 @@ var DoorLock;
|
|
|
803
805
|
* time offset based on the local timezone and DST offset on the day represented by the value. This shall be
|
|
804
806
|
* null if the schedule is not set for the YearDayIndex and UserIndex provided.
|
|
805
807
|
*
|
|
806
|
-
* @see {@link MatterSpecification.
|
|
808
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.18.4
|
|
807
809
|
*/
|
|
808
810
|
localStartTime: TlvOptionalField(3, TlvEpochS),
|
|
809
811
|
/**
|
|
@@ -812,7 +814,7 @@ var DoorLock;
|
|
|
812
814
|
* greater than LocalStartTime. This shall be null if the schedule is not set for the YearDayIndex and UserIndex
|
|
813
815
|
* provided.
|
|
814
816
|
*
|
|
815
|
-
* @see {@link MatterSpecification.
|
|
817
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.18.5
|
|
816
818
|
*/
|
|
817
819
|
localEndTime: TlvOptionalField(4, TlvEpochS)
|
|
818
820
|
});
|
|
@@ -821,13 +823,13 @@ var DoorLock;
|
|
|
821
823
|
* This field shall indicate the Year Day schedule index to clear or 0xFE to clear all Year Day schedules for
|
|
822
824
|
* the specified user.
|
|
823
825
|
*
|
|
824
|
-
* @see {@link MatterSpecification.
|
|
826
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.19.1
|
|
825
827
|
*/
|
|
826
828
|
yearDayIndex: TlvField(0, TlvUInt8),
|
|
827
829
|
/**
|
|
828
830
|
* This field shall indicate the user ID.
|
|
829
831
|
*
|
|
830
|
-
* @see {@link MatterSpecification.
|
|
832
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.19.2
|
|
831
833
|
*/
|
|
832
834
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 }))
|
|
833
835
|
});
|
|
@@ -843,14 +845,14 @@ var DoorLock;
|
|
|
843
845
|
/**
|
|
844
846
|
* This field shall indicate the index of the Holiday schedule.
|
|
845
847
|
*
|
|
846
|
-
* @see {@link MatterSpecification.
|
|
848
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.20.1
|
|
847
849
|
*/
|
|
848
850
|
holidayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
849
851
|
/**
|
|
850
852
|
* This field shall indicate the starting time for the Holiday Day schedule in Epoch Time in Seconds with local
|
|
851
853
|
* time offset based on the local timezone and DST offset on the day represented by the value.
|
|
852
854
|
*
|
|
853
|
-
* @see {@link MatterSpecification.
|
|
855
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.20.2
|
|
854
856
|
*/
|
|
855
857
|
localStartTime: TlvField(1, TlvEpochS),
|
|
856
858
|
/**
|
|
@@ -858,13 +860,13 @@ var DoorLock;
|
|
|
858
860
|
* time offset based on the local timezone and DST offset on the day represented by the value. LocalEndTime
|
|
859
861
|
* shall be greater than LocalStartTime.
|
|
860
862
|
*
|
|
861
|
-
* @see {@link MatterSpecification.
|
|
863
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.20.3
|
|
862
864
|
*/
|
|
863
865
|
localEndTime: TlvField(2, TlvEpochS),
|
|
864
866
|
/**
|
|
865
867
|
* This field shall indicate the operating mode to use during this Holiday schedule start/end time.
|
|
866
868
|
*
|
|
867
|
-
* @see {@link MatterSpecification.
|
|
869
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.20.4
|
|
868
870
|
*/
|
|
869
871
|
operatingMode: TlvField(3, TlvEnum())
|
|
870
872
|
});
|
|
@@ -873,7 +875,7 @@ var DoorLock;
|
|
|
873
875
|
/**
|
|
874
876
|
* This field shall indicate the index of the Holiday schedule.
|
|
875
877
|
*
|
|
876
|
-
* @see {@link MatterSpecification.
|
|
878
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.22.1
|
|
877
879
|
*/
|
|
878
880
|
holidayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
879
881
|
/**
|
|
@@ -891,7 +893,7 @@ var DoorLock;
|
|
|
891
893
|
* If this field is SUCCESS, the optional fields for this command shall be present. For other (error) status
|
|
892
894
|
* values, only the fields up to the status field shall be present.
|
|
893
895
|
*
|
|
894
|
-
* @see {@link MatterSpecification.
|
|
896
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.22.2
|
|
895
897
|
*/
|
|
896
898
|
status: TlvField(1, TlvEnum()),
|
|
897
899
|
/**
|
|
@@ -899,7 +901,7 @@ var DoorLock;
|
|
|
899
901
|
* offset based on the local timezone and DST offset on the day represented by the value. This shall be null if
|
|
900
902
|
* the schedule is not set for the HolidayIndex provided.
|
|
901
903
|
*
|
|
902
|
-
* @see {@link MatterSpecification.
|
|
904
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.22.3
|
|
903
905
|
*/
|
|
904
906
|
localStartTime: TlvOptionalField(2, TlvNullable(TlvEpochS)),
|
|
905
907
|
/**
|
|
@@ -907,14 +909,14 @@ var DoorLock;
|
|
|
907
909
|
* offset based on the local timezone and DST offset on the day represented by the value. LocalEndTime shall be
|
|
908
910
|
* greater than LocalStartTime. This shall be null if the schedule is not set for the HolidayIndex provided.
|
|
909
911
|
*
|
|
910
|
-
* @see {@link MatterSpecification.
|
|
912
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.22.4
|
|
911
913
|
*/
|
|
912
914
|
localEndTime: TlvOptionalField(3, TlvNullable(TlvEpochS)),
|
|
913
915
|
/**
|
|
914
916
|
* This field shall indicate the operating mode to use during this Holiday schedule start/end time. This shall
|
|
915
917
|
* be null if the schedule is not set for the HolidayIndex provided.
|
|
916
918
|
*
|
|
917
|
-
* @see {@link MatterSpecification.
|
|
919
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.22.5
|
|
918
920
|
*/
|
|
919
921
|
operatingMode: TlvOptionalField(4, TlvNullable(TlvEnum()))
|
|
920
922
|
});
|
|
@@ -922,7 +924,7 @@ var DoorLock;
|
|
|
922
924
|
/**
|
|
923
925
|
* This field shall indicate the Holiday schedule index to clear or 0xFE to clear all Holiday schedules.
|
|
924
926
|
*
|
|
925
|
-
* @see {@link MatterSpecification.
|
|
927
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.23.1
|
|
926
928
|
*/
|
|
927
929
|
holidayIndex: TlvField(0, TlvUInt8)
|
|
928
930
|
});
|
|
@@ -931,14 +933,14 @@ var DoorLock;
|
|
|
931
933
|
* This field shall indicate the user ID. The value of the UserID field shall be between 0 and the value of the
|
|
932
934
|
* NumberOfPINUsersSupported attribute.
|
|
933
935
|
*
|
|
934
|
-
* @see {@link MatterSpecification.
|
|
936
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.4.1
|
|
935
937
|
*/
|
|
936
938
|
userId: TlvField(0, TlvUInt16),
|
|
937
939
|
/**
|
|
938
940
|
* This field shall indicate the user status. Only the values 1 (Occupied/Enabled) and 3 (Occupied/Disabled) are
|
|
939
941
|
* allowed for UserStatus.
|
|
940
942
|
*
|
|
941
|
-
* @see {@link MatterSpecification.
|
|
943
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.4.2
|
|
942
944
|
*/
|
|
943
945
|
userStatus: TlvField(1, TlvNullable(TlvEnum())),
|
|
944
946
|
userType: TlvField(2, TlvNullable(TlvEnum())),
|
|
@@ -949,7 +951,7 @@ var DoorLock;
|
|
|
949
951
|
* This field shall indicate the user ID. The value of the UserID field shall be between 0 and the value of the
|
|
950
952
|
* NumberOfPINUsersSupported attribute.
|
|
951
953
|
*
|
|
952
|
-
* @see {@link MatterSpecification.
|
|
954
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.5.1
|
|
953
955
|
*/
|
|
954
956
|
userId: TlvField(0, TlvUInt16)
|
|
955
957
|
});
|
|
@@ -964,7 +966,7 @@ var DoorLock;
|
|
|
964
966
|
* This field shall specify a valid PIN code slot index or 0xFFFE to indicate all PIN code slots shall be
|
|
965
967
|
* cleared.
|
|
966
968
|
*
|
|
967
|
-
* @see {@link MatterSpecification.
|
|
969
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.7.1
|
|
968
970
|
*/
|
|
969
971
|
pinSlotIndex: TlvField(0, TlvUInt16)
|
|
970
972
|
});
|
|
@@ -972,26 +974,26 @@ var DoorLock;
|
|
|
972
974
|
/**
|
|
973
975
|
* This field shall indicate the signing key component of the Reader’s key pair.
|
|
974
976
|
*
|
|
975
|
-
* @see {@link MatterSpecification.
|
|
977
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.42.1
|
|
976
978
|
*/
|
|
977
979
|
signingKey: TlvField(0, TlvByteString.bound({ length: 32 })),
|
|
978
980
|
/**
|
|
979
981
|
* This field shall indicate the verification key component of the Reader’s key pair. This shall be an
|
|
980
982
|
* uncompressed elliptic curve public key as defined in section 2.3.3 of SEC 1.
|
|
981
983
|
*
|
|
982
|
-
* @see {@link MatterSpecification.
|
|
984
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.42.2
|
|
983
985
|
*/
|
|
984
986
|
verificationKey: TlvField(1, TlvByteString.bound({ length: 65 })),
|
|
985
987
|
/**
|
|
986
988
|
* This field shall indicate the reader group identifier for the lock.
|
|
987
989
|
*
|
|
988
|
-
* @see {@link MatterSpecification.
|
|
990
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.42.3
|
|
989
991
|
*/
|
|
990
992
|
groupIdentifier: TlvField(2, TlvByteString.bound({ length: 16 })),
|
|
991
993
|
/**
|
|
992
994
|
* This field shall indicate the group resolving key for the lock.
|
|
993
995
|
*
|
|
994
|
-
* @see {@link MatterSpecification.
|
|
996
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.42.4
|
|
995
997
|
*/
|
|
996
998
|
groupResolvingKey: TlvOptionalField(3, TlvByteString.bound({ length: 16 }))
|
|
997
999
|
});
|
|
@@ -1000,14 +1002,14 @@ var DoorLock;
|
|
|
1000
1002
|
* This field shall indicate the user ID. The value of the UserID field shall be between 0 and the value of the
|
|
1001
1003
|
* NumberOfPINUsersSupported attribute.
|
|
1002
1004
|
*
|
|
1003
|
-
* @see {@link MatterSpecification.
|
|
1005
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.9.1
|
|
1004
1006
|
*/
|
|
1005
1007
|
userId: TlvField(0, TlvUInt16),
|
|
1006
1008
|
/**
|
|
1007
1009
|
* UserStatus value of Available is not allowed. In order to clear a user id, the ClearUser Command shall be
|
|
1008
1010
|
* used. For user status value please refer to UserStatusEnum.
|
|
1009
1011
|
*
|
|
1010
|
-
* @see {@link MatterSpecification.
|
|
1012
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.9.2
|
|
1011
1013
|
*/
|
|
1012
1014
|
userStatus: TlvField(1, TlvEnum())
|
|
1013
1015
|
});
|
|
@@ -1016,7 +1018,7 @@ var DoorLock;
|
|
|
1016
1018
|
* This field shall indicate the user ID. The value of the UserID field shall be between 0 and the value of the
|
|
1017
1019
|
* NumberOfPINUsersSupported attribute.
|
|
1018
1020
|
*
|
|
1019
|
-
* @see {@link MatterSpecification.
|
|
1021
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.10.1
|
|
1020
1022
|
*/
|
|
1021
1023
|
userId: TlvField(0, TlvUInt16)
|
|
1022
1024
|
});
|
|
@@ -1024,13 +1026,13 @@ var DoorLock;
|
|
|
1024
1026
|
/**
|
|
1025
1027
|
* This field shall indicate the user ID provided in the request.
|
|
1026
1028
|
*
|
|
1027
|
-
* @see {@link MatterSpecification.
|
|
1029
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.11.1
|
|
1028
1030
|
*/
|
|
1029
1031
|
userId: TlvField(0, TlvUInt16),
|
|
1030
1032
|
/**
|
|
1031
1033
|
* This field shall indicate the current status of the requested user ID.
|
|
1032
1034
|
*
|
|
1033
|
-
* @see {@link MatterSpecification.
|
|
1035
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.11.2
|
|
1034
1036
|
*/
|
|
1035
1037
|
userStatus: TlvField(1, TlvEnum())
|
|
1036
1038
|
});
|
|
@@ -1038,13 +1040,13 @@ var DoorLock;
|
|
|
1038
1040
|
/**
|
|
1039
1041
|
* This field shall indicate the user ID.
|
|
1040
1042
|
*
|
|
1041
|
-
* @see {@link MatterSpecification.
|
|
1043
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.24.1
|
|
1042
1044
|
*/
|
|
1043
1045
|
userId: TlvField(0, TlvUInt16),
|
|
1044
1046
|
/**
|
|
1045
1047
|
* This field shall indicate the user type.
|
|
1046
1048
|
*
|
|
1047
|
-
* @see {@link MatterSpecification.
|
|
1049
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.24.2
|
|
1048
1050
|
*/
|
|
1049
1051
|
userType: TlvField(1, TlvEnum())
|
|
1050
1052
|
});
|
|
@@ -1059,7 +1061,7 @@ var DoorLock;
|
|
|
1059
1061
|
*
|
|
1060
1062
|
* The value of the UserID field shall be between 0 and the value of the NumberOfRFIDUsersSupported attribute.
|
|
1061
1063
|
*
|
|
1062
|
-
* @see {@link MatterSpecification.
|
|
1064
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.27.1
|
|
1063
1065
|
*/
|
|
1064
1066
|
userId: TlvField(0, TlvUInt16),
|
|
1065
1067
|
/**
|
|
@@ -1068,13 +1070,13 @@ var DoorLock;
|
|
|
1068
1070
|
*
|
|
1069
1071
|
* Only the values 1 (Occupied/Enabled) and 3 (Occupied/Disabled) are allowed for UserStatus.
|
|
1070
1072
|
*
|
|
1071
|
-
* @see {@link MatterSpecification.
|
|
1073
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.27.2
|
|
1072
1074
|
*/
|
|
1073
1075
|
userStatus: TlvField(1, TlvNullable(TlvEnum())),
|
|
1074
1076
|
/**
|
|
1075
1077
|
* The values are the same as used for SetPINCode command.
|
|
1076
1078
|
*
|
|
1077
|
-
* @see {@link MatterSpecification.
|
|
1079
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.27.3
|
|
1078
1080
|
*/
|
|
1079
1081
|
userType: TlvField(2, TlvNullable(TlvEnum())),
|
|
1080
1082
|
rfidCode: TlvField(3, TlvByteString)
|
|
@@ -1085,7 +1087,7 @@ var DoorLock;
|
|
|
1085
1087
|
*
|
|
1086
1088
|
* The value of the UserID field shall be between 0 and the value of the NumberOfRFIDUsersSupported attribute.
|
|
1087
1089
|
*
|
|
1088
|
-
* @see {@link MatterSpecification.
|
|
1090
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.28.1
|
|
1089
1091
|
*/
|
|
1090
1092
|
userId: TlvField(0, TlvUInt16)
|
|
1091
1093
|
});
|
|
@@ -1100,7 +1102,7 @@ var DoorLock;
|
|
|
1100
1102
|
* This field shall indicate a valid RFID code slot index or 0xFFFE to indicate all RFID code slots shall be
|
|
1101
1103
|
* cleared.
|
|
1102
1104
|
*
|
|
1103
|
-
* @see {@link MatterSpecification.
|
|
1105
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.30.1
|
|
1104
1106
|
*/
|
|
1105
1107
|
rfidSlotIndex: TlvField(0, TlvUInt16)
|
|
1106
1108
|
});
|
|
@@ -1108,7 +1110,7 @@ var DoorLock;
|
|
|
1108
1110
|
/**
|
|
1109
1111
|
* See PINCode field.
|
|
1110
1112
|
*
|
|
1111
|
-
* @see {@link MatterSpecification.
|
|
1113
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.41.1
|
|
1112
1114
|
*/
|
|
1113
1115
|
pinCode: TlvOptionalField(0, TlvByteString)
|
|
1114
1116
|
});
|
|
@@ -1183,7 +1185,7 @@ var DoorLock;
|
|
|
1183
1185
|
*
|
|
1184
1186
|
* • 1 = Local programming is enabled
|
|
1185
1187
|
*
|
|
1186
|
-
* @see {@link MatterSpecification.
|
|
1188
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.6.4.1
|
|
1187
1189
|
*/
|
|
1188
1190
|
localProgramming: BitFlag(0),
|
|
1189
1191
|
/**
|
|
@@ -1195,7 +1197,7 @@ var DoorLock;
|
|
|
1195
1197
|
*
|
|
1196
1198
|
* • 1 = Keypad interface is enabled
|
|
1197
1199
|
*
|
|
1198
|
-
* @see {@link MatterSpecification.
|
|
1200
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.6.4.2
|
|
1199
1201
|
*/
|
|
1200
1202
|
keypadInterface: BitFlag(1),
|
|
1201
1203
|
/**
|
|
@@ -1207,7 +1209,7 @@ var DoorLock;
|
|
|
1207
1209
|
*
|
|
1208
1210
|
* • 1 = Remote interface is enabled
|
|
1209
1211
|
*
|
|
1210
|
-
* @see {@link MatterSpecification.
|
|
1212
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.6.4.3
|
|
1211
1213
|
*/
|
|
1212
1214
|
remoteInterface: BitFlag(2),
|
|
1213
1215
|
/**
|
|
@@ -1219,7 +1221,7 @@ var DoorLock;
|
|
|
1219
1221
|
*
|
|
1220
1222
|
* • 1 = Sound volume value is equal to something other than 0
|
|
1221
1223
|
*
|
|
1222
|
-
* @see {@link MatterSpecification.
|
|
1224
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.6.4.4
|
|
1223
1225
|
*/
|
|
1224
1226
|
soundVolume: BitFlag(5),
|
|
1225
1227
|
/**
|
|
@@ -1231,7 +1233,7 @@ var DoorLock;
|
|
|
1231
1233
|
*
|
|
1232
1234
|
* • 1 = Auto relock time value is equal to something other than 0
|
|
1233
1235
|
*
|
|
1234
|
-
* @see {@link MatterSpecification.
|
|
1236
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.6.4.5
|
|
1235
1237
|
*/
|
|
1236
1238
|
autoRelockTime: BitFlag(6),
|
|
1237
1239
|
/**
|
|
@@ -1243,7 +1245,7 @@ var DoorLock;
|
|
|
1243
1245
|
*
|
|
1244
1246
|
* • 1 = LED settings value is equal to something other than 0
|
|
1245
1247
|
*
|
|
1246
|
-
* @see {@link MatterSpecification.
|
|
1248
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.6.4.6
|
|
1247
1249
|
*/
|
|
1248
1250
|
ledSettings: BitFlag(7)
|
|
1249
1251
|
};
|
|
@@ -1257,7 +1259,7 @@ var DoorLock;
|
|
|
1257
1259
|
*
|
|
1258
1260
|
* • 1 = This ability is enabled
|
|
1259
1261
|
*
|
|
1260
|
-
* @see {@link MatterSpecification.
|
|
1262
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.6.5.1
|
|
1261
1263
|
*/
|
|
1262
1264
|
addUsersCredentialsSchedules: BitFlag(0),
|
|
1263
1265
|
/**
|
|
@@ -1269,7 +1271,7 @@ var DoorLock;
|
|
|
1269
1271
|
*
|
|
1270
1272
|
* • 1 = This ability is enabled
|
|
1271
1273
|
*
|
|
1272
|
-
* @see {@link MatterSpecification.
|
|
1274
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.6.5.2
|
|
1273
1275
|
*/
|
|
1274
1276
|
modifyUsersCredentialsSchedules: BitFlag(1),
|
|
1275
1277
|
/**
|
|
@@ -1281,7 +1283,7 @@ var DoorLock;
|
|
|
1281
1283
|
*
|
|
1282
1284
|
* • 1 = This ability is enabled
|
|
1283
1285
|
*
|
|
1284
|
-
* @see {@link MatterSpecification.
|
|
1286
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.6.5.3
|
|
1285
1287
|
*/
|
|
1286
1288
|
clearUsersCredentialsSchedules: BitFlag(2),
|
|
1287
1289
|
/**
|
|
@@ -1293,7 +1295,7 @@ var DoorLock;
|
|
|
1293
1295
|
*
|
|
1294
1296
|
* • 1 = This ability is enabled
|
|
1295
1297
|
*
|
|
1296
|
-
* @see {@link MatterSpecification.
|
|
1298
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.6.5.4
|
|
1297
1299
|
*/
|
|
1298
1300
|
adjustSettings: BitFlag(3)
|
|
1299
1301
|
};
|
|
@@ -1335,7 +1337,7 @@ var DoorLock;
|
|
|
1335
1337
|
* UserCodeTemporaryDisableTime will be triggered if the WrongCodeEntryLimit is exceeded. The lock shall ignore
|
|
1336
1338
|
* any attempts to lock/unlock the door until the UserCodeTemporaryDisableTime expires.
|
|
1337
1339
|
*
|
|
1338
|
-
* @see {@link MatterSpecification.
|
|
1340
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.1.1
|
|
1339
1341
|
*/
|
|
1340
1342
|
pinCode: TlvOptionalField(0, TlvByteString)
|
|
1341
1343
|
});
|
|
@@ -1343,7 +1345,7 @@ var DoorLock;
|
|
|
1343
1345
|
/**
|
|
1344
1346
|
* See PINCode field.
|
|
1345
1347
|
*
|
|
1346
|
-
* @see {@link MatterSpecification.
|
|
1348
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.2.1
|
|
1347
1349
|
*/
|
|
1348
1350
|
pinCode: TlvOptionalField(0, TlvByteString)
|
|
1349
1351
|
});
|
|
@@ -1352,13 +1354,13 @@ var DoorLock;
|
|
|
1352
1354
|
* This field shall indicate the timeout in seconds to wait before relocking the door lock. This value is
|
|
1353
1355
|
* independent of the AutoRelockTime attribute value.
|
|
1354
1356
|
*
|
|
1355
|
-
* @see {@link MatterSpecification.
|
|
1357
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.3.1
|
|
1356
1358
|
*/
|
|
1357
1359
|
timeout: TlvField(0, TlvUInt16),
|
|
1358
1360
|
/**
|
|
1359
1361
|
* See PINCode field.
|
|
1360
1362
|
*
|
|
1361
|
-
* @see {@link MatterSpecification.
|
|
1363
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.3.2
|
|
1362
1364
|
*/
|
|
1363
1365
|
pinCode: TlvOptionalField(1, TlvByteString)
|
|
1364
1366
|
});
|
|
@@ -1377,7 +1379,7 @@ var DoorLock;
|
|
|
1377
1379
|
/**
|
|
1378
1380
|
* This field shall indicate the alarm code of the event that has happened.
|
|
1379
1381
|
*
|
|
1380
|
-
* @see {@link MatterSpecification.
|
|
1382
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.1.1
|
|
1381
1383
|
*/
|
|
1382
1384
|
alarmCode: TlvField(0, TlvEnum())
|
|
1383
1385
|
});
|
|
@@ -1393,13 +1395,13 @@ var DoorLock;
|
|
|
1393
1395
|
/**
|
|
1394
1396
|
* This field shall indicate the type of the lock operation that was performed.
|
|
1395
1397
|
*
|
|
1396
|
-
* @see {@link MatterSpecification.
|
|
1398
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.3.1
|
|
1397
1399
|
*/
|
|
1398
1400
|
lockOperationType: TlvField(0, TlvEnum()),
|
|
1399
1401
|
/**
|
|
1400
1402
|
* This field shall indicate the source of the lock operation that was performed.
|
|
1401
1403
|
*
|
|
1402
|
-
* @see {@link MatterSpecification.
|
|
1404
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.3.2
|
|
1403
1405
|
*/
|
|
1404
1406
|
operationSource: TlvField(1, TlvEnum()),
|
|
1405
1407
|
/**
|
|
@@ -1407,7 +1409,7 @@ var DoorLock;
|
|
|
1407
1409
|
* user index that can be determined for the given operation source. This shall NOT be null if a user index can
|
|
1408
1410
|
* be determined. In particular, this shall NOT be null if the operation was associated with a valid credential.
|
|
1409
1411
|
*
|
|
1410
|
-
* @see {@link MatterSpecification.
|
|
1412
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.3.3
|
|
1411
1413
|
*/
|
|
1412
1414
|
userIndex: TlvField(2, TlvNullable(TlvUInt16)),
|
|
1413
1415
|
/**
|
|
@@ -1415,7 +1417,7 @@ var DoorLock;
|
|
|
1415
1417
|
* null if there is no fabric that can be determined for the given operation source. This shall NOT be null if
|
|
1416
1418
|
* the operation source is "Remote".
|
|
1417
1419
|
*
|
|
1418
|
-
* @see {@link MatterSpecification.
|
|
1420
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.3.4
|
|
1419
1421
|
*/
|
|
1420
1422
|
fabricIndex: TlvField(3, TlvNullable(TlvFabricIndex)),
|
|
1421
1423
|
/**
|
|
@@ -1423,14 +1425,14 @@ var DoorLock;
|
|
|
1423
1425
|
* there is no Node associated with the given operation source. This shall NOT be null if the operation source
|
|
1424
1426
|
* is "Remote".
|
|
1425
1427
|
*
|
|
1426
|
-
* @see {@link MatterSpecification.
|
|
1428
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.3.5
|
|
1427
1429
|
*/
|
|
1428
1430
|
sourceNode: TlvField(4, TlvNullable(TlvNodeId)),
|
|
1429
1431
|
/**
|
|
1430
1432
|
* This field shall indicate the list of credentials used in performing the lock operation. This shall be null
|
|
1431
1433
|
* if no credentials were involved.
|
|
1432
1434
|
*
|
|
1433
|
-
* @see {@link MatterSpecification.
|
|
1435
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.3.6
|
|
1434
1436
|
*/
|
|
1435
1437
|
credentials: TlvOptionalField(5, TlvNullable(TlvArray(DoorLock2.TlvCredential, { minLength: 1 })))
|
|
1436
1438
|
});
|
|
@@ -1446,26 +1448,26 @@ var DoorLock;
|
|
|
1446
1448
|
/**
|
|
1447
1449
|
* This field shall indicate the type of the lock operation that was performed.
|
|
1448
1450
|
*
|
|
1449
|
-
* @see {@link MatterSpecification.
|
|
1451
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.4.1
|
|
1450
1452
|
*/
|
|
1451
1453
|
lockOperationType: TlvField(0, TlvEnum()),
|
|
1452
1454
|
/**
|
|
1453
1455
|
* This field shall indicate the source of the lock operation that was performed.
|
|
1454
1456
|
*
|
|
1455
|
-
* @see {@link MatterSpecification.
|
|
1457
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.4.2
|
|
1456
1458
|
*/
|
|
1457
1459
|
operationSource: TlvField(1, TlvEnum()),
|
|
1458
1460
|
/**
|
|
1459
1461
|
* This field shall indicate the lock operation error triggered when the operation was performed.
|
|
1460
1462
|
*
|
|
1461
|
-
* @see {@link MatterSpecification.
|
|
1463
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.4.3
|
|
1462
1464
|
*/
|
|
1463
1465
|
operationError: TlvField(2, TlvEnum()),
|
|
1464
1466
|
/**
|
|
1465
1467
|
* This field shall indicate the lock UserIndex who performed the lock operation. This shall be null if there is
|
|
1466
1468
|
* no user id that can be determined for the given operation source.
|
|
1467
1469
|
*
|
|
1468
|
-
* @see {@link MatterSpecification.
|
|
1470
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.4.4
|
|
1469
1471
|
*/
|
|
1470
1472
|
userIndex: TlvField(3, TlvNullable(TlvUInt16)),
|
|
1471
1473
|
/**
|
|
@@ -1473,7 +1475,7 @@ var DoorLock;
|
|
|
1473
1475
|
* null if there is no fabric that can be determined for the given operation source. This shall NOT be null if
|
|
1474
1476
|
* the operation source is "Remote".
|
|
1475
1477
|
*
|
|
1476
|
-
* @see {@link MatterSpecification.
|
|
1478
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.4.5
|
|
1477
1479
|
*/
|
|
1478
1480
|
fabricIndex: TlvField(4, TlvNullable(TlvFabricIndex)),
|
|
1479
1481
|
/**
|
|
@@ -1481,14 +1483,14 @@ var DoorLock;
|
|
|
1481
1483
|
* there is no Node associated with the given operation source. This shall NOT be null if the operation source
|
|
1482
1484
|
* is "Remote".
|
|
1483
1485
|
*
|
|
1484
|
-
* @see {@link MatterSpecification.
|
|
1486
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.4.6
|
|
1485
1487
|
*/
|
|
1486
1488
|
sourceNode: TlvField(5, TlvNullable(TlvNodeId)),
|
|
1487
1489
|
/**
|
|
1488
1490
|
* This field shall indicate the list of credentials used in performing the lock operation. This shall be null
|
|
1489
1491
|
* if no credentials were involved.
|
|
1490
1492
|
*
|
|
1491
|
-
* @see {@link MatterSpecification.
|
|
1493
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.4.7
|
|
1492
1494
|
*/
|
|
1493
1495
|
credentials: TlvOptionalField(6, TlvNullable(TlvArray(DoorLock2.TlvCredential, { minLength: 1 })))
|
|
1494
1496
|
});
|
|
@@ -1503,6 +1505,18 @@ var DoorLock;
|
|
|
1503
1505
|
StatusCode2[StatusCode2["Duplicate"] = 2] = "Duplicate";
|
|
1504
1506
|
StatusCode2[StatusCode2["Occupied"] = 3] = "Occupied";
|
|
1505
1507
|
})(StatusCode = DoorLock2.StatusCode || (DoorLock2.StatusCode = {}));
|
|
1508
|
+
class DuplicateError extends StatusResponseError {
|
|
1509
|
+
constructor(message = "Entry would cause a duplicate credential/ID", code = Status.Failure, clusterCode = 2 /* Duplicate */) {
|
|
1510
|
+
super(message, code, clusterCode);
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
DoorLock2.DuplicateError = DuplicateError;
|
|
1514
|
+
class OccupiedError extends StatusResponseError {
|
|
1515
|
+
constructor(message = "Entry would replace an occupied slot", code = Status.Failure, clusterCode = 3 /* Occupied */) {
|
|
1516
|
+
super(message, code, clusterCode);
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
DoorLock2.OccupiedError = OccupiedError;
|
|
1506
1520
|
DoorLock2.DoorPositionSensorComponent = MutableCluster.Component({
|
|
1507
1521
|
attributes: {
|
|
1508
1522
|
/**
|
|
@@ -1510,26 +1524,26 @@ var DoorLock;
|
|
|
1510
1524
|
*
|
|
1511
1525
|
* Null only if an internal error prevents the retrieval of the current door state.
|
|
1512
1526
|
*
|
|
1513
|
-
* @see {@link MatterSpecification.
|
|
1527
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.4
|
|
1514
1528
|
*/
|
|
1515
1529
|
doorState: Attribute(3, TlvNullable(TlvEnum())),
|
|
1516
1530
|
/**
|
|
1517
1531
|
* This attribute shall hold the number of door open events that have occurred since it was last zeroed.
|
|
1518
1532
|
*
|
|
1519
|
-
* @see {@link MatterSpecification.
|
|
1533
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.5
|
|
1520
1534
|
*/
|
|
1521
1535
|
doorOpenEvents: OptionalWritableAttribute(4, TlvUInt32, { writeAcl: AccessLevel.Manage }),
|
|
1522
1536
|
/**
|
|
1523
1537
|
* This attribute shall hold the number of door closed events that have occurred since it was last zeroed.
|
|
1524
1538
|
*
|
|
1525
|
-
* @see {@link MatterSpecification.
|
|
1539
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.6
|
|
1526
1540
|
*/
|
|
1527
1541
|
doorClosedEvents: OptionalWritableAttribute(5, TlvUInt32, { writeAcl: AccessLevel.Manage }),
|
|
1528
1542
|
/**
|
|
1529
1543
|
* This attribute shall hold the number of minutes the door has been open since the last time it
|
|
1530
1544
|
* transitioned from closed to open.
|
|
1531
1545
|
*
|
|
1532
|
-
* @see {@link MatterSpecification.
|
|
1546
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.7
|
|
1533
1547
|
*/
|
|
1534
1548
|
openPeriod: OptionalWritableAttribute(6, TlvUInt16, { writeAcl: AccessLevel.Manage })
|
|
1535
1549
|
},
|
|
@@ -1537,7 +1551,7 @@ var DoorLock;
|
|
|
1537
1551
|
/**
|
|
1538
1552
|
* The door lock server sends out a DoorStateChange event when the door lock door state changes.
|
|
1539
1553
|
*
|
|
1540
|
-
* @see {@link MatterSpecification.
|
|
1554
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.2
|
|
1541
1555
|
*/
|
|
1542
1556
|
doorStateChange: Event(1, EventPriority.Critical, DoorLock2.TlvDoorStateChangeEvent)
|
|
1543
1557
|
}
|
|
@@ -1547,14 +1561,14 @@ var DoorLock;
|
|
|
1547
1561
|
/**
|
|
1548
1562
|
* Indicates the number of total users supported by the lock.
|
|
1549
1563
|
*
|
|
1550
|
-
* @see {@link MatterSpecification.
|
|
1564
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.8
|
|
1551
1565
|
*/
|
|
1552
1566
|
numberOfTotalUsersSupported: FixedAttribute(17, TlvUInt16, { default: 0 }),
|
|
1553
1567
|
/**
|
|
1554
1568
|
* This attribute shall contain a bitmap with the bits set for the values of CredentialRuleEnum supported on
|
|
1555
1569
|
* this device.
|
|
1556
1570
|
*
|
|
1557
|
-
* @see {@link MatterSpecification.
|
|
1571
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.18
|
|
1558
1572
|
*/
|
|
1559
1573
|
credentialRulesSupport: FixedAttribute(
|
|
1560
1574
|
27,
|
|
@@ -1572,7 +1586,7 @@ var DoorLock;
|
|
|
1572
1586
|
* NumberOfRFIDUsersSupported is set to 3, it will not be possible to actually assign 10 credentials for a
|
|
1573
1587
|
* user because maximum number of credentials in the database is 8.
|
|
1574
1588
|
*
|
|
1575
|
-
* @see {@link MatterSpecification.
|
|
1589
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.19
|
|
1576
1590
|
*/
|
|
1577
1591
|
numberOfCredentialsSupportedPerUser: FixedAttribute(28, TlvUInt8, { default: 0 }),
|
|
1578
1592
|
/**
|
|
@@ -1580,7 +1594,7 @@ var DoorLock;
|
|
|
1580
1594
|
* type ExpiringUser shall remain valid after its first use before expiring. When the credential expires the
|
|
1581
1595
|
* UserStatus for the corresponding user record shall be set to OccupiedDisabled.
|
|
1582
1596
|
*
|
|
1583
|
-
* @see {@link MatterSpecification.
|
|
1597
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.36
|
|
1584
1598
|
*/
|
|
1585
1599
|
expiringUserTimeout: OptionalWritableAttribute(
|
|
1586
1600
|
53,
|
|
@@ -1606,7 +1620,7 @@ var DoorLock;
|
|
|
1606
1620
|
* • INVALID_COMMAND, if one or more fields violate constraints or are invalid or if OperationType is
|
|
1607
1621
|
* Modify and UserIndex points to an available slot.
|
|
1608
1622
|
*
|
|
1609
|
-
* @see {@link MatterSpecification.
|
|
1623
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.32
|
|
1610
1624
|
*/
|
|
1611
1625
|
setUser: Command(
|
|
1612
1626
|
26,
|
|
@@ -1621,7 +1635,7 @@ var DoorLock;
|
|
|
1621
1635
|
* An InvokeResponse command shall be sent with an appropriate error (e.g. FAILURE, INVALID_COMMAND, etc.)
|
|
1622
1636
|
* as needed otherwise the GetUserResponse Command shall be sent implying a status of SUCCESS.
|
|
1623
1637
|
*
|
|
1624
|
-
* @see {@link MatterSpecification.
|
|
1638
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.33
|
|
1625
1639
|
*/
|
|
1626
1640
|
getUser: Command(27, DoorLock2.TlvGetUserRequest, 28, DoorLock2.TlvGetUserResponse, { invokeAcl: AccessLevel.Administer }),
|
|
1627
1641
|
/**
|
|
@@ -1633,7 +1647,7 @@ var DoorLock;
|
|
|
1633
1647
|
*
|
|
1634
1648
|
* A LockUserChange event with the provided UserIndex shall be generated after successfully clearing users.
|
|
1635
1649
|
*
|
|
1636
|
-
* @see {@link MatterSpecification.
|
|
1650
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.35
|
|
1637
1651
|
*/
|
|
1638
1652
|
clearUser: Command(
|
|
1639
1653
|
29,
|
|
@@ -1648,7 +1662,7 @@ var DoorLock;
|
|
|
1648
1662
|
*
|
|
1649
1663
|
* Fields used for different use cases:
|
|
1650
1664
|
*
|
|
1651
|
-
* @see {@link MatterSpecification.
|
|
1665
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.36
|
|
1652
1666
|
*/
|
|
1653
1667
|
setCredential: Command(
|
|
1654
1668
|
34,
|
|
@@ -1663,7 +1677,7 @@ var DoorLock;
|
|
|
1663
1677
|
* An InvokeResponse command shall be sent with an appropriate error (e.g. FAILURE, INVALID_COMMAND, etc.)
|
|
1664
1678
|
* as needed otherwise the GetCredentialStatusResponse command shall be sent implying a status of SUCCESS.
|
|
1665
1679
|
*
|
|
1666
|
-
* @see {@link MatterSpecification.
|
|
1680
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.38
|
|
1667
1681
|
*/
|
|
1668
1682
|
getCredentialStatus: Command(
|
|
1669
1683
|
36,
|
|
@@ -1684,7 +1698,7 @@ var DoorLock;
|
|
|
1684
1698
|
*
|
|
1685
1699
|
* Return status shall be one of the following values:
|
|
1686
1700
|
*
|
|
1687
|
-
* @see {@link MatterSpecification.
|
|
1701
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.40
|
|
1688
1702
|
*/
|
|
1689
1703
|
clearCredential: Command(
|
|
1690
1704
|
38,
|
|
@@ -1699,7 +1713,7 @@ var DoorLock;
|
|
|
1699
1713
|
* The door lock server sends out a LockUserChange event when a lock user, schedule, or credential change
|
|
1700
1714
|
* has occurred.
|
|
1701
1715
|
*
|
|
1702
|
-
* @see {@link MatterSpecification.
|
|
1716
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.5
|
|
1703
1717
|
*/
|
|
1704
1718
|
lockUserChange: Event(4, EventPriority.Info, DoorLock2.TlvLockUserChangeEvent)
|
|
1705
1719
|
}
|
|
@@ -1709,19 +1723,19 @@ var DoorLock;
|
|
|
1709
1723
|
/**
|
|
1710
1724
|
* Indicates the number of PIN users supported.
|
|
1711
1725
|
*
|
|
1712
|
-
* @see {@link MatterSpecification.
|
|
1726
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.9
|
|
1713
1727
|
*/
|
|
1714
1728
|
numberOfPinUsersSupported: FixedAttribute(18, TlvUInt16, { default: 0 }),
|
|
1715
1729
|
/**
|
|
1716
1730
|
* Indicates the maximum length in bytes of a PIN Code on this device.
|
|
1717
1731
|
*
|
|
1718
|
-
* @see {@link MatterSpecification.
|
|
1732
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.14
|
|
1719
1733
|
*/
|
|
1720
1734
|
maxPinCodeLength: FixedAttribute(23, TlvUInt8),
|
|
1721
1735
|
/**
|
|
1722
1736
|
* Indicates the minimum length in bytes of a PIN Code on this device.
|
|
1723
1737
|
*
|
|
1724
|
-
* @see {@link MatterSpecification.
|
|
1738
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.15
|
|
1725
1739
|
*/
|
|
1726
1740
|
minPinCodeLength: FixedAttribute(24, TlvUInt8)
|
|
1727
1741
|
}
|
|
@@ -1731,7 +1745,7 @@ var DoorLock;
|
|
|
1731
1745
|
/**
|
|
1732
1746
|
* Indicates the number of RFID users supported.
|
|
1733
1747
|
*
|
|
1734
|
-
* @see {@link MatterSpecification.
|
|
1748
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.10
|
|
1735
1749
|
*/
|
|
1736
1750
|
numberOfRfidUsersSupported: FixedAttribute(19, TlvUInt16, { default: 0 }),
|
|
1737
1751
|
/**
|
|
@@ -1739,7 +1753,7 @@ var DoorLock;
|
|
|
1739
1753
|
* range specified by the manufacturer, if media anti-collision identifiers (UID) are used as RFID code, a
|
|
1740
1754
|
* value of 20 (equals 10 Byte ISO 14443A UID) is recommended.
|
|
1741
1755
|
*
|
|
1742
|
-
* @see {@link MatterSpecification.
|
|
1756
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.16
|
|
1743
1757
|
*/
|
|
1744
1758
|
maxRfidCodeLength: FixedAttribute(25, TlvUInt8),
|
|
1745
1759
|
/**
|
|
@@ -1747,7 +1761,7 @@ var DoorLock;
|
|
|
1747
1761
|
* range specified by the manufacturer, if media anti-collision identifiers (UID) are used as RFID code, a
|
|
1748
1762
|
* value of 8 (equals 4 Byte ISO 14443A UID) is recommended.
|
|
1749
1763
|
*
|
|
1750
|
-
* @see {@link MatterSpecification.
|
|
1764
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.17
|
|
1751
1765
|
*/
|
|
1752
1766
|
minRfidCodeLength: FixedAttribute(26, TlvUInt8)
|
|
1753
1767
|
}
|
|
@@ -1757,7 +1771,7 @@ var DoorLock;
|
|
|
1757
1771
|
/**
|
|
1758
1772
|
* Indicates the number of configurable week day schedule supported per user.
|
|
1759
1773
|
*
|
|
1760
|
-
* @see {@link MatterSpecification.
|
|
1774
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.11
|
|
1761
1775
|
*/
|
|
1762
1776
|
numberOfWeekDaySchedulesSupportedPerUser: FixedAttribute(
|
|
1763
1777
|
20,
|
|
@@ -1774,7 +1788,7 @@ var DoorLock;
|
|
|
1774
1788
|
*
|
|
1775
1789
|
* Return status shall be one of the following values:
|
|
1776
1790
|
*
|
|
1777
|
-
* @see {@link MatterSpecification.
|
|
1791
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.12
|
|
1778
1792
|
*/
|
|
1779
1793
|
setWeekDaySchedule: Command(
|
|
1780
1794
|
11,
|
|
@@ -1786,7 +1800,7 @@ var DoorLock;
|
|
|
1786
1800
|
/**
|
|
1787
1801
|
* Retrieve the specific weekly schedule for the specific user.
|
|
1788
1802
|
*
|
|
1789
|
-
* @see {@link MatterSpecification.
|
|
1803
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.13
|
|
1790
1804
|
*/
|
|
1791
1805
|
getWeekDaySchedule: Command(
|
|
1792
1806
|
12,
|
|
@@ -1800,7 +1814,7 @@ var DoorLock;
|
|
|
1800
1814
|
*
|
|
1801
1815
|
* Return status shall be one of the following values:
|
|
1802
1816
|
*
|
|
1803
|
-
* @see {@link MatterSpecification.
|
|
1817
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.15
|
|
1804
1818
|
*/
|
|
1805
1819
|
clearWeekDaySchedule: Command(
|
|
1806
1820
|
13,
|
|
@@ -1816,7 +1830,7 @@ var DoorLock;
|
|
|
1816
1830
|
/**
|
|
1817
1831
|
* Indicates the number of configurable year day schedule supported per user.
|
|
1818
1832
|
*
|
|
1819
|
-
* @see {@link MatterSpecification.
|
|
1833
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.12
|
|
1820
1834
|
*/
|
|
1821
1835
|
numberOfYearDaySchedulesSupportedPerUser: FixedAttribute(
|
|
1822
1836
|
21,
|
|
@@ -1833,7 +1847,7 @@ var DoorLock;
|
|
|
1833
1847
|
*
|
|
1834
1848
|
* Return status shall be one of the following values:
|
|
1835
1849
|
*
|
|
1836
|
-
* @see {@link MatterSpecification.
|
|
1850
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.16
|
|
1837
1851
|
*/
|
|
1838
1852
|
setYearDaySchedule: Command(
|
|
1839
1853
|
14,
|
|
@@ -1845,7 +1859,7 @@ var DoorLock;
|
|
|
1845
1859
|
/**
|
|
1846
1860
|
* Retrieve the specific year day schedule for the specific schedule and user indexes.
|
|
1847
1861
|
*
|
|
1848
|
-
* @see {@link MatterSpecification.
|
|
1862
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.17
|
|
1849
1863
|
*/
|
|
1850
1864
|
getYearDaySchedule: Command(
|
|
1851
1865
|
15,
|
|
@@ -1859,7 +1873,7 @@ var DoorLock;
|
|
|
1859
1873
|
*
|
|
1860
1874
|
* Return status shall be one of the following values:
|
|
1861
1875
|
*
|
|
1862
|
-
* @see {@link MatterSpecification.
|
|
1876
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.19
|
|
1863
1877
|
*/
|
|
1864
1878
|
clearYearDaySchedule: Command(
|
|
1865
1879
|
16,
|
|
@@ -1875,7 +1889,7 @@ var DoorLock;
|
|
|
1875
1889
|
/**
|
|
1876
1890
|
* Indicates the number of holiday schedules supported for the entire door lock device.
|
|
1877
1891
|
*
|
|
1878
|
-
* @see {@link MatterSpecification.
|
|
1892
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.13
|
|
1879
1893
|
*/
|
|
1880
1894
|
numberOfHolidaySchedulesSupported: FixedAttribute(22, TlvUInt8.bound({ max: 253 }), { default: 0 })
|
|
1881
1895
|
},
|
|
@@ -1886,7 +1900,7 @@ var DoorLock;
|
|
|
1886
1900
|
*
|
|
1887
1901
|
* Return status shall be one of the following values:
|
|
1888
1902
|
*
|
|
1889
|
-
* @see {@link MatterSpecification.
|
|
1903
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.20
|
|
1890
1904
|
*/
|
|
1891
1905
|
setHolidaySchedule: Command(
|
|
1892
1906
|
17,
|
|
@@ -1898,7 +1912,7 @@ var DoorLock;
|
|
|
1898
1912
|
/**
|
|
1899
1913
|
* Get the holiday schedule for the specified index.
|
|
1900
1914
|
*
|
|
1901
|
-
* @see {@link MatterSpecification.
|
|
1915
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.21
|
|
1902
1916
|
*/
|
|
1903
1917
|
getHolidaySchedule: Command(
|
|
1904
1918
|
18,
|
|
@@ -1910,7 +1924,7 @@ var DoorLock;
|
|
|
1910
1924
|
/**
|
|
1911
1925
|
* Clears the holiday schedule or all holiday schedules.
|
|
1912
1926
|
*
|
|
1913
|
-
* @see {@link MatterSpecification.
|
|
1927
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.23
|
|
1914
1928
|
*/
|
|
1915
1929
|
clearHolidaySchedule: Command(
|
|
1916
1930
|
19,
|
|
@@ -1935,7 +1949,7 @@ var DoorLock;
|
|
|
1935
1949
|
* logic, environmental events, or other reasons. The lock shall reset the counter if a valid credential is
|
|
1936
1950
|
* presented.
|
|
1937
1951
|
*
|
|
1938
|
-
* @see {@link MatterSpecification.
|
|
1952
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.32
|
|
1939
1953
|
*/
|
|
1940
1954
|
wrongCodeEntryLimit: WritableAttribute(
|
|
1941
1955
|
48,
|
|
@@ -1948,7 +1962,7 @@ var DoorLock;
|
|
|
1948
1962
|
* and guess a PIN for the device.) If the attribute accepts writes and an attempt to write the attribute to
|
|
1949
1963
|
* 0 is made, the device shall respond with CONSTRAINT_ERROR.
|
|
1950
1964
|
*
|
|
1951
|
-
* @see {@link MatterSpecification.
|
|
1965
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.33
|
|
1952
1966
|
*/
|
|
1953
1967
|
userCodeTemporaryDisableTime: WritableAttribute(
|
|
1954
1968
|
49,
|
|
@@ -1969,7 +1983,7 @@ var DoorLock;
|
|
|
1969
1983
|
* 0x32 0x33 0x34 shall be used in the PIN field in any door lock cluster message payload. If the attribute
|
|
1970
1984
|
* value is False, 0x04 0xFF 0xFF 0xFF 0xFF shall be used.
|
|
1971
1985
|
*
|
|
1972
|
-
* @see {@link MatterSpecification.
|
|
1986
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.34
|
|
1973
1987
|
*/
|
|
1974
1988
|
sendPinOverTheAir: OptionalWritableAttribute(
|
|
1975
1989
|
50,
|
|
@@ -1984,7 +1998,7 @@ var DoorLock;
|
|
|
1984
1998
|
* Return status is a global status code or a cluster-specific status code from the Status Codes table and
|
|
1985
1999
|
* shall be one of the following values:
|
|
1986
2000
|
*
|
|
1987
|
-
* @see {@link MatterSpecification.
|
|
2001
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.4
|
|
1988
2002
|
*/
|
|
1989
2003
|
setPinCode: Command(
|
|
1990
2004
|
5,
|
|
@@ -1996,7 +2010,7 @@ var DoorLock;
|
|
|
1996
2010
|
/**
|
|
1997
2011
|
* Retrieve a PIN Code.
|
|
1998
2012
|
*
|
|
1999
|
-
* @see {@link MatterSpecification.
|
|
2013
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.5
|
|
2000
2014
|
*/
|
|
2001
2015
|
getPinCode: Command(
|
|
2002
2016
|
6,
|
|
@@ -2012,7 +2026,7 @@ var DoorLock;
|
|
|
2012
2026
|
* corresponding user record’s UserStatus value shall be set to Available, and UserType value shall be set
|
|
2013
2027
|
* to UnrestrictedUser and all schedules shall be cleared.
|
|
2014
2028
|
*
|
|
2015
|
-
* @see {@link MatterSpecification.
|
|
2029
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.7
|
|
2016
2030
|
*/
|
|
2017
2031
|
clearPinCode: Command(
|
|
2018
2032
|
7,
|
|
@@ -2029,7 +2043,7 @@ var DoorLock;
|
|
|
2029
2043
|
* > On the server, the clear all PIN codes command SHOULD have the same effect as the ClearPINCode command
|
|
2030
2044
|
* with respect to the setting of user status, user type and schedules.
|
|
2031
2045
|
*
|
|
2032
|
-
* @see {@link MatterSpecification.
|
|
2046
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.8
|
|
2033
2047
|
*/
|
|
2034
2048
|
clearAllPinCodes: Command(
|
|
2035
2049
|
8,
|
|
@@ -2047,7 +2061,7 @@ var DoorLock;
|
|
|
2047
2061
|
* server requires that an optional PINs be included in the payload of remote lock operation events like
|
|
2048
2062
|
* Lock, Unlock, Unlock with Timeout and Toggle in order to function.
|
|
2049
2063
|
*
|
|
2050
|
-
* @see {@link MatterSpecification.
|
|
2064
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.35
|
|
2051
2065
|
*/
|
|
2052
2066
|
requirePinForRemoteOperation: WritableAttribute(
|
|
2053
2067
|
51,
|
|
@@ -2064,7 +2078,7 @@ var DoorLock;
|
|
|
2064
2078
|
*
|
|
2065
2079
|
* Null if no Reader key pair has been configured on the lock. See SetAliroReaderConfig.
|
|
2066
2080
|
*
|
|
2067
|
-
* @see {@link MatterSpecification.
|
|
2081
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.38
|
|
2068
2082
|
*/
|
|
2069
2083
|
aliroReaderVerificationKey: Attribute(
|
|
2070
2084
|
128,
|
|
@@ -2076,7 +2090,7 @@ var DoorLock;
|
|
|
2076
2090
|
*
|
|
2077
2091
|
* Null if no reader_group_identifier has been configured on the lock. See SetAliroReaderConfig.
|
|
2078
2092
|
*
|
|
2079
|
-
* @see {@link MatterSpecification.
|
|
2093
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.39
|
|
2080
2094
|
*/
|
|
2081
2095
|
aliroReaderGroupIdentifier: Attribute(
|
|
2082
2096
|
129,
|
|
@@ -2086,7 +2100,7 @@ var DoorLock;
|
|
|
2086
2100
|
/**
|
|
2087
2101
|
* Indicates the reader_group_sub_identifier as defined in [Aliro].
|
|
2088
2102
|
*
|
|
2089
|
-
* @see {@link MatterSpecification.
|
|
2103
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.40
|
|
2090
2104
|
*/
|
|
2091
2105
|
aliroReaderGroupSubIdentifier: FixedAttribute(
|
|
2092
2106
|
130,
|
|
@@ -2096,7 +2110,7 @@ var DoorLock;
|
|
|
2096
2110
|
/**
|
|
2097
2111
|
* Indicates the list of protocol versions supported for expedited transactions as defined in [Aliro].
|
|
2098
2112
|
*
|
|
2099
|
-
* @see {@link MatterSpecification.
|
|
2113
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.41
|
|
2100
2114
|
*/
|
|
2101
2115
|
aliroExpeditedTransactionSupportedProtocolVersions: FixedAttribute(
|
|
2102
2116
|
131,
|
|
@@ -2106,7 +2120,7 @@ var DoorLock;
|
|
|
2106
2120
|
/**
|
|
2107
2121
|
* Indicates the maximum number of AliroCredentialIssuerKey credentials that can be stored on the lock.
|
|
2108
2122
|
*
|
|
2109
|
-
* @see {@link MatterSpecification.
|
|
2123
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.45
|
|
2110
2124
|
*/
|
|
2111
2125
|
numberOfAliroCredentialIssuerKeysSupported: FixedAttribute(135, TlvUInt16, { default: 0 }),
|
|
2112
2126
|
/**
|
|
@@ -2122,7 +2136,7 @@ var DoorLock;
|
|
|
2122
2136
|
* NumberOfAliroEndpointKeysSupported and also add a credential of type AliroNonEvictableEndpointKey at
|
|
2123
2137
|
* the same index, and both credentials would exist on the server.
|
|
2124
2138
|
*
|
|
2125
|
-
* @see {@link MatterSpecification.
|
|
2139
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.46
|
|
2126
2140
|
*/
|
|
2127
2141
|
numberOfAliroEndpointKeysSupported: FixedAttribute(136, TlvUInt16, { default: 0 })
|
|
2128
2142
|
},
|
|
@@ -2130,7 +2144,7 @@ var DoorLock;
|
|
|
2130
2144
|
/**
|
|
2131
2145
|
* This command allows communicating an Aliro Reader configuration, as defined in [Aliro], to the lock.
|
|
2132
2146
|
*
|
|
2133
|
-
* @see {@link MatterSpecification.
|
|
2147
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.42
|
|
2134
2148
|
*/
|
|
2135
2149
|
setAliroReaderConfig: Command(
|
|
2136
2150
|
40,
|
|
@@ -2149,7 +2163,7 @@ var DoorLock;
|
|
|
2149
2163
|
* verification key to interact with the lock. This effect is not restricted to a single fabric or
|
|
2150
2164
|
* otherwise scoped in any way.
|
|
2151
2165
|
*
|
|
2152
|
-
* @see {@link MatterSpecification.
|
|
2166
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.43
|
|
2153
2167
|
*/
|
|
2154
2168
|
clearAliroReaderConfig: Command(
|
|
2155
2169
|
41,
|
|
@@ -2167,7 +2181,7 @@ var DoorLock;
|
|
|
2167
2181
|
*
|
|
2168
2182
|
* Null if no group resolving key has been configured on the lock. See SetAliroReaderConfig.
|
|
2169
2183
|
*
|
|
2170
|
-
* @see {@link MatterSpecification.
|
|
2184
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.42
|
|
2171
2185
|
*/
|
|
2172
2186
|
aliroGroupResolvingKey: Attribute(
|
|
2173
2187
|
132,
|
|
@@ -2178,7 +2192,7 @@ var DoorLock;
|
|
|
2178
2192
|
* Indicates the list of protocol versions supported for the Bluetooth LE + UWB Access Control Flow as
|
|
2179
2193
|
* defined in [Aliro].
|
|
2180
2194
|
*
|
|
2181
|
-
* @see {@link MatterSpecification.
|
|
2195
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.43
|
|
2182
2196
|
*/
|
|
2183
2197
|
aliroSupportedBleuwbProtocolVersions: FixedAttribute(
|
|
2184
2198
|
133,
|
|
@@ -2188,7 +2202,7 @@ var DoorLock;
|
|
|
2188
2202
|
/**
|
|
2189
2203
|
* Indicates the version of the Bluetooth LE advertisement as defined in [Aliro].
|
|
2190
2204
|
*
|
|
2191
|
-
* @see {@link MatterSpecification.
|
|
2205
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.44
|
|
2192
2206
|
*/
|
|
2193
2207
|
aliroBleAdvertisingVersion: FixedAttribute(
|
|
2194
2208
|
134,
|
|
@@ -2202,7 +2216,7 @@ var DoorLock;
|
|
|
2202
2216
|
/**
|
|
2203
2217
|
* Set the status of a user ID.
|
|
2204
2218
|
*
|
|
2205
|
-
* @see {@link MatterSpecification.
|
|
2219
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.9
|
|
2206
2220
|
*/
|
|
2207
2221
|
setUserStatus: OptionalCommand(
|
|
2208
2222
|
9,
|
|
@@ -2214,7 +2228,7 @@ var DoorLock;
|
|
|
2214
2228
|
/**
|
|
2215
2229
|
* Get the status of a user.
|
|
2216
2230
|
*
|
|
2217
|
-
* @see {@link MatterSpecification.
|
|
2231
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.10
|
|
2218
2232
|
*/
|
|
2219
2233
|
getUserStatus: OptionalCommand(
|
|
2220
2234
|
10,
|
|
@@ -2230,7 +2244,7 @@ var DoorLock;
|
|
|
2230
2244
|
*
|
|
2231
2245
|
* Return status shall be one of the following values:
|
|
2232
2246
|
*
|
|
2233
|
-
* @see {@link MatterSpecification.
|
|
2247
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.24
|
|
2234
2248
|
*/
|
|
2235
2249
|
setUserType: OptionalCommand(
|
|
2236
2250
|
20,
|
|
@@ -2242,7 +2256,7 @@ var DoorLock;
|
|
|
2242
2256
|
/**
|
|
2243
2257
|
* Retrieve the user type for a specific user.
|
|
2244
2258
|
*
|
|
2245
|
-
* @see {@link MatterSpecification.
|
|
2259
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.25
|
|
2246
2260
|
*/
|
|
2247
2261
|
getUserType: OptionalCommand(
|
|
2248
2262
|
21,
|
|
@@ -2262,7 +2276,7 @@ var DoorLock;
|
|
|
2262
2276
|
* Return status is a global status code or a cluster-specific status code from the Status Codes table and
|
|
2263
2277
|
* shall be one of the following values:
|
|
2264
2278
|
*
|
|
2265
|
-
* @see {@link MatterSpecification.
|
|
2279
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.27
|
|
2266
2280
|
*/
|
|
2267
2281
|
setRfidCode: Command(
|
|
2268
2282
|
22,
|
|
@@ -2274,7 +2288,7 @@ var DoorLock;
|
|
|
2274
2288
|
/**
|
|
2275
2289
|
* Retrieve an RFID code.
|
|
2276
2290
|
*
|
|
2277
|
-
* @see {@link MatterSpecification.
|
|
2291
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.28
|
|
2278
2292
|
*/
|
|
2279
2293
|
getRfidCode: Command(
|
|
2280
2294
|
23,
|
|
@@ -2290,7 +2304,7 @@ var DoorLock;
|
|
|
2290
2304
|
* corresponding user record’s UserStatus value shall be set to Available, and UserType value shall be set
|
|
2291
2305
|
* to UnrestrictedUser and all schedules shall be cleared.
|
|
2292
2306
|
*
|
|
2293
|
-
* @see {@link MatterSpecification.
|
|
2307
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.30
|
|
2294
2308
|
*/
|
|
2295
2309
|
clearRfidCode: Command(
|
|
2296
2310
|
24,
|
|
@@ -2304,7 +2318,7 @@ var DoorLock;
|
|
|
2304
2318
|
* user status has to be set to "0 Available", the user type has to be set to the default value, and all
|
|
2305
2319
|
* schedules which are supported have to be set to the default values.
|
|
2306
2320
|
*
|
|
2307
|
-
* @see {@link MatterSpecification.
|
|
2321
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.31
|
|
2308
2322
|
*/
|
|
2309
2323
|
clearAllRfidCodes: Command(
|
|
2310
2324
|
25,
|
|
@@ -2327,7 +2341,7 @@ var DoorLock;
|
|
|
2327
2341
|
* > If the attribute AutoRelockTime is supported, the lock will transition to the locked state when the
|
|
2328
2342
|
* auto relock time has expired.
|
|
2329
2343
|
*
|
|
2330
|
-
* @see {@link MatterSpecification.
|
|
2344
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.41
|
|
2331
2345
|
*/
|
|
2332
2346
|
unboltDoor: Command(39, DoorLock2.TlvUnboltDoorRequest, 39, TlvNoResponse, { timed: true })
|
|
2333
2347
|
}
|
|
@@ -2345,7 +2359,7 @@ var DoorLock;
|
|
|
2345
2359
|
* and Schedules are all associated with a User index and not directly with a PIN index. A User index may
|
|
2346
2360
|
* have several credentials associated with it.
|
|
2347
2361
|
*
|
|
2348
|
-
* @see {@link MatterSpecification.
|
|
2362
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.1
|
|
2349
2363
|
*/
|
|
2350
2364
|
pinCredential: BitFlag(0),
|
|
2351
2365
|
/**
|
|
@@ -2356,7 +2370,7 @@ var DoorLock;
|
|
|
2356
2370
|
* and Schedules are all associated with a User index and not directly with a RFID index. A User Index may
|
|
2357
2371
|
* have several credentials associated with it.
|
|
2358
2372
|
*
|
|
2359
|
-
* @see {@link MatterSpecification.
|
|
2373
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.2
|
|
2360
2374
|
*/
|
|
2361
2375
|
rfidCredential: BitFlag(1),
|
|
2362
2376
|
/**
|
|
@@ -2369,7 +2383,7 @@ var DoorLock;
|
|
|
2369
2383
|
* and Schedules are all associated with a User index and not directly with a Finger index. A User Index may
|
|
2370
2384
|
* have several credentials associated with it.
|
|
2371
2385
|
*
|
|
2372
|
-
* @see {@link MatterSpecification.
|
|
2386
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.3
|
|
2373
2387
|
*/
|
|
2374
2388
|
fingerCredentials: BitFlag(2),
|
|
2375
2389
|
/**
|
|
@@ -2383,14 +2397,14 @@ var DoorLock;
|
|
|
2383
2397
|
* Support for WeekDayAccessSchedules requires that the lock has the capability of keeping track of local
|
|
2384
2398
|
* time.
|
|
2385
2399
|
*
|
|
2386
|
-
* @see {@link MatterSpecification.
|
|
2400
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.4
|
|
2387
2401
|
*/
|
|
2388
2402
|
weekDayAccessSchedules: BitFlag(4),
|
|
2389
2403
|
/**
|
|
2390
2404
|
* If this feature is supported this indicates that the lock has the ability to determine the position of
|
|
2391
2405
|
* the door which is separate from the state of the lock.
|
|
2392
2406
|
*
|
|
2393
|
-
* @see {@link MatterSpecification.
|
|
2407
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.5
|
|
2394
2408
|
*/
|
|
2395
2409
|
doorPositionSensor: BitFlag(5),
|
|
2396
2410
|
/**
|
|
@@ -2403,7 +2417,7 @@ var DoorLock;
|
|
|
2403
2417
|
* A lock may support multiple credential types so if the User feature is supported the UserType, UserStatus
|
|
2404
2418
|
* and Schedules are all associated with a User and not directly with a credential.
|
|
2405
2419
|
*
|
|
2406
|
-
* @see {@link MatterSpecification.
|
|
2420
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.6
|
|
2407
2421
|
*/
|
|
2408
2422
|
faceCredentials: BitFlag(6),
|
|
2409
2423
|
/**
|
|
@@ -2411,7 +2425,7 @@ var DoorLock;
|
|
|
2411
2425
|
* lock/unlock command. Currently the cluster only supports providing the PIN credential to the lock/unlock
|
|
2412
2426
|
* commands. If this feature is supported then the PIN Credential feature shall also be supported.
|
|
2413
2427
|
*
|
|
2414
|
-
* @see {@link MatterSpecification.
|
|
2428
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.7
|
|
2415
2429
|
*/
|
|
2416
2430
|
credentialOverTheAirAccess: BitFlag(7),
|
|
2417
2431
|
/**
|
|
@@ -2419,7 +2433,7 @@ var DoorLock;
|
|
|
2419
2433
|
* used to associate credentials and schedules to single user record within the lock. This also means the
|
|
2420
2434
|
* UserType and UserStatus fields are associated with a User and not a credential.
|
|
2421
2435
|
*
|
|
2422
|
-
* @see {@link MatterSpecification.
|
|
2436
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.8
|
|
2423
2437
|
*/
|
|
2424
2438
|
user: BitFlag(8),
|
|
2425
2439
|
/**
|
|
@@ -2431,7 +2445,7 @@ var DoorLock;
|
|
|
2431
2445
|
* Support for YearDayAccessSchedules requires that the lock has the capability of keeping track of local
|
|
2432
2446
|
* time.
|
|
2433
2447
|
*
|
|
2434
|
-
* @see {@link MatterSpecification.
|
|
2448
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.9
|
|
2435
2449
|
*/
|
|
2436
2450
|
yearDayAccessSchedules: BitFlag(10),
|
|
2437
2451
|
/**
|
|
@@ -2440,7 +2454,7 @@ var DoorLock;
|
|
|
2440
2454
|
*
|
|
2441
2455
|
* Support for HolidaySchedules requires that the lock has the capability of keeping track of local time.
|
|
2442
2456
|
*
|
|
2443
|
-
* @see {@link MatterSpecification.
|
|
2457
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.10
|
|
2444
2458
|
*/
|
|
2445
2459
|
holidaySchedules: BitFlag(11),
|
|
2446
2460
|
/**
|
|
@@ -2450,21 +2464,21 @@ var DoorLock;
|
|
|
2450
2464
|
* Locks without unbolting support don’t differentiate between unbolting and unlocking and perform the same
|
|
2451
2465
|
* operation for both commands.
|
|
2452
2466
|
*
|
|
2453
|
-
* @see {@link MatterSpecification.
|
|
2467
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.11
|
|
2454
2468
|
*/
|
|
2455
2469
|
unbolting: BitFlag(12),
|
|
2456
2470
|
/**
|
|
2457
2471
|
* Locks that support this feature implement the Aliro specification as defined in [Aliro] and support
|
|
2458
2472
|
* Matter as a method for provisioning Aliro credentials.
|
|
2459
2473
|
*
|
|
2460
|
-
* @see {@link MatterSpecification.
|
|
2474
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.12
|
|
2461
2475
|
*/
|
|
2462
2476
|
aliroProvisioning: BitFlag(13),
|
|
2463
2477
|
/**
|
|
2464
2478
|
* Locks that support this feature implement the Bluetooth LE + UWB Access Control Flow as defined in
|
|
2465
2479
|
* [Aliro].
|
|
2466
2480
|
*
|
|
2467
|
-
* @see {@link MatterSpecification.
|
|
2481
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.4.13
|
|
2468
2482
|
*/
|
|
2469
2483
|
aliroBleuwb: BitFlag(14)
|
|
2470
2484
|
},
|
|
@@ -2478,27 +2492,27 @@ var DoorLock;
|
|
|
2478
2492
|
* Locked and Unlocked so it is only partially secured. For example, a deadbolt could be partially extended
|
|
2479
2493
|
* and not in a dead latched state.
|
|
2480
2494
|
*
|
|
2481
|
-
* @see {@link MatterSpecification.
|
|
2495
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.1
|
|
2482
2496
|
*/
|
|
2483
2497
|
lockState: Attribute(0, TlvNullable(TlvEnum())),
|
|
2484
2498
|
/**
|
|
2485
2499
|
* Indicates the type of door lock as defined in LockTypeEnum.
|
|
2486
2500
|
*
|
|
2487
|
-
* @see {@link MatterSpecification.
|
|
2501
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.2
|
|
2488
2502
|
*/
|
|
2489
2503
|
lockType: Attribute(1, TlvEnum()),
|
|
2490
2504
|
/**
|
|
2491
2505
|
* Indicates if the lock is currently able to (Enabled) or not able to (Disabled) process remote Lock,
|
|
2492
2506
|
* Unlock, or Unlock with Timeout commands.
|
|
2493
2507
|
*
|
|
2494
|
-
* @see {@link MatterSpecification.
|
|
2508
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.3
|
|
2495
2509
|
*/
|
|
2496
2510
|
actuatorEnabled: Attribute(2, TlvBoolean),
|
|
2497
2511
|
/**
|
|
2498
2512
|
* Indicates the language for the on-screen or audible user interface using a 2- byte language code from
|
|
2499
2513
|
* ISO-639-1.
|
|
2500
2514
|
*
|
|
2501
|
-
* @see {@link MatterSpecification.
|
|
2515
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.20
|
|
2502
2516
|
*/
|
|
2503
2517
|
language: OptionalWritableAttribute(
|
|
2504
2518
|
33,
|
|
@@ -2508,7 +2522,7 @@ var DoorLock;
|
|
|
2508
2522
|
/**
|
|
2509
2523
|
* Indicates the settings for the LED support, as defined by LEDSettingEnum.
|
|
2510
2524
|
*
|
|
2511
|
-
* @see {@link MatterSpecification.
|
|
2525
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.21
|
|
2512
2526
|
*/
|
|
2513
2527
|
ledSettings: OptionalWritableAttribute(
|
|
2514
2528
|
34,
|
|
@@ -2520,13 +2534,13 @@ var DoorLock;
|
|
|
2520
2534
|
* 0=disabled. If set, unlock operations from any source will be timed. For one time unlock with timeout use
|
|
2521
2535
|
* the specific command.
|
|
2522
2536
|
*
|
|
2523
|
-
* @see {@link MatterSpecification.
|
|
2537
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.22
|
|
2524
2538
|
*/
|
|
2525
2539
|
autoRelockTime: OptionalWritableAttribute(35, TlvUInt32, { writeAcl: AccessLevel.Manage }),
|
|
2526
2540
|
/**
|
|
2527
2541
|
* Indicates the sound volume on a door lock as defined by SoundVolumeEnum.
|
|
2528
2542
|
*
|
|
2529
|
-
* @see {@link MatterSpecification.
|
|
2543
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.23
|
|
2530
2544
|
*/
|
|
2531
2545
|
soundVolume: OptionalWritableAttribute(
|
|
2532
2546
|
36,
|
|
@@ -2536,7 +2550,7 @@ var DoorLock;
|
|
|
2536
2550
|
/**
|
|
2537
2551
|
* This attribute shall indicate the current operating mode of the lock as defined in OperatingModeEnum.
|
|
2538
2552
|
*
|
|
2539
|
-
* @see {@link MatterSpecification.
|
|
2553
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.24
|
|
2540
2554
|
*/
|
|
2541
2555
|
operatingMode: WritableAttribute(
|
|
2542
2556
|
37,
|
|
@@ -2548,7 +2562,7 @@ var DoorLock;
|
|
|
2548
2562
|
* the lock. All operating modes NOT supported by a lock shall be set to one. The value of the OperatingMode
|
|
2549
2563
|
* enumeration defines the related bit to be set.
|
|
2550
2564
|
*
|
|
2551
|
-
* @see {@link MatterSpecification.
|
|
2565
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.25
|
|
2552
2566
|
*/
|
|
2553
2567
|
supportedOperatingModes: FixedAttribute(
|
|
2554
2568
|
38,
|
|
@@ -2574,7 +2588,7 @@ var DoorLock;
|
|
|
2574
2588
|
* current Sound Volume is High Volume. Therefore, if the client wants to query/modify the current Sound
|
|
2575
2589
|
* Volume setting on the server, the client SHOULD read/write to the Sound Volume attribute.
|
|
2576
2590
|
*
|
|
2577
|
-
* @see {@link MatterSpecification.
|
|
2591
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.26
|
|
2578
2592
|
*/
|
|
2579
2593
|
defaultConfigurationRegister: OptionalAttribute(39, TlvBitmap(TlvUInt16, DoorLock2.ConfigurationRegister)),
|
|
2580
2594
|
/**
|
|
@@ -2584,7 +2598,7 @@ var DoorLock;
|
|
|
2584
2598
|
* for those features whose bit is set to 0 in the LocalProgrammingFeatures attribute. Local programming
|
|
2585
2599
|
* shall be enabled by default.
|
|
2586
2600
|
*
|
|
2587
|
-
* @see {@link MatterSpecification.
|
|
2601
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.27
|
|
2588
2602
|
*/
|
|
2589
2603
|
enableLocalProgramming: OptionalWritableAttribute(
|
|
2590
2604
|
40,
|
|
@@ -2595,7 +2609,7 @@ var DoorLock;
|
|
|
2595
2609
|
* This attribute shall enable/disable the ability to lock the door lock with a single touch on the door
|
|
2596
2610
|
* lock.
|
|
2597
2611
|
*
|
|
2598
|
-
* @see {@link MatterSpecification.
|
|
2612
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.28
|
|
2599
2613
|
*/
|
|
2600
2614
|
enableOneTouchLocking: OptionalWritableAttribute(
|
|
2601
2615
|
41,
|
|
@@ -2606,7 +2620,7 @@ var DoorLock;
|
|
|
2606
2620
|
* This attribute shall enable/disable an inside LED that allows the user to see at a glance if the door is
|
|
2607
2621
|
* locked.
|
|
2608
2622
|
*
|
|
2609
|
-
* @see {@link MatterSpecification.
|
|
2623
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.29
|
|
2610
2624
|
*/
|
|
2611
2625
|
enableInsideStatusLed: OptionalWritableAttribute(
|
|
2612
2626
|
42,
|
|
@@ -2617,7 +2631,7 @@ var DoorLock;
|
|
|
2617
2631
|
* This attribute shall enable/disable a button inside the door that is used to put the lock into privacy
|
|
2618
2632
|
* mode. When the lock is in privacy mode it cannot be manipulated from the outside.
|
|
2619
2633
|
*
|
|
2620
|
-
* @see {@link MatterSpecification.
|
|
2634
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.30
|
|
2621
2635
|
*/
|
|
2622
2636
|
enablePrivacyModeButton: OptionalWritableAttribute(
|
|
2623
2637
|
43,
|
|
@@ -2633,7 +2647,7 @@ var DoorLock;
|
|
|
2633
2647
|
*
|
|
2634
2648
|
* The features that can be disabled from local programming are defined in LocalProgrammingFeaturesBitmap.
|
|
2635
2649
|
*
|
|
2636
|
-
* @see {@link MatterSpecification.
|
|
2650
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.31
|
|
2637
2651
|
*/
|
|
2638
2652
|
localProgrammingFeatures: OptionalWritableAttribute(
|
|
2639
2653
|
44,
|
|
@@ -2648,7 +2662,7 @@ var DoorLock;
|
|
|
2648
2662
|
*
|
|
2649
2663
|
* This mask DOES NOT apply to the Events mechanism of this cluster.
|
|
2650
2664
|
*
|
|
2651
|
-
* @see {@link MatterSpecification.
|
|
2665
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.9.37
|
|
2652
2666
|
*/
|
|
2653
2667
|
alarmMask: OptionalWritableAttribute(
|
|
2654
2668
|
64,
|
|
@@ -2665,7 +2679,7 @@ var DoorLock;
|
|
|
2665
2679
|
* lock. The door lock may require a PIN depending on the value of the RequirePINForRemoteOperation
|
|
2666
2680
|
* attribute.
|
|
2667
2681
|
*
|
|
2668
|
-
* @see {@link MatterSpecification.
|
|
2682
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.1
|
|
2669
2683
|
*/
|
|
2670
2684
|
lockDoor: Command(0, DoorLock2.TlvLockDoorRequest, 0, TlvNoResponse, { timed: true }),
|
|
2671
2685
|
/**
|
|
@@ -2678,7 +2692,7 @@ var DoorLock;
|
|
|
2678
2692
|
* > If the attribute AutoRelockTime is supported the lock will transition to the locked state when the auto
|
|
2679
2693
|
* relock time has expired.
|
|
2680
2694
|
*
|
|
2681
|
-
* @see {@link MatterSpecification.
|
|
2695
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.2
|
|
2682
2696
|
*/
|
|
2683
2697
|
unlockDoor: Command(1, DoorLock2.TlvUnlockDoorRequest, 1, TlvNoResponse, { timed: true }),
|
|
2684
2698
|
/**
|
|
@@ -2688,7 +2702,7 @@ var DoorLock;
|
|
|
2688
2702
|
* specified in the AutoRelockTime attribute. If the door lock device is not capable of or does not want to
|
|
2689
2703
|
* support temporary Relock Timeout, it SHOULD NOT support this optional command.
|
|
2690
2704
|
*
|
|
2691
|
-
* @see {@link MatterSpecification.
|
|
2705
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.10.3
|
|
2692
2706
|
*/
|
|
2693
2707
|
unlockWithTimeout: OptionalCommand(3, DoorLock2.TlvUnlockWithTimeoutRequest, 3, TlvNoResponse, { timed: true })
|
|
2694
2708
|
},
|
|
@@ -2697,7 +2711,7 @@ var DoorLock;
|
|
|
2697
2711
|
* The door lock server provides several alarms which can be sent when there is a critical state on the door
|
|
2698
2712
|
* lock. The alarms available for the door lock server are listed in AlarmCodeEnum.
|
|
2699
2713
|
*
|
|
2700
|
-
* @see {@link MatterSpecification.
|
|
2714
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.1
|
|
2701
2715
|
*/
|
|
2702
2716
|
doorLockAlarm: Event(0, EventPriority.Critical, DoorLock2.TlvDoorLockAlarmEvent),
|
|
2703
2717
|
/**
|
|
@@ -2727,14 +2741,14 @@ var DoorLock;
|
|
|
2727
2741
|
* ◦ may generate a LockOperation event of LockOperationType Unlatch when it is actuated from the
|
|
2728
2742
|
* inside.
|
|
2729
2743
|
*
|
|
2730
|
-
* @see {@link MatterSpecification.
|
|
2744
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.3
|
|
2731
2745
|
*/
|
|
2732
2746
|
lockOperation: Event(2, EventPriority.Critical, DoorLock2.TlvLockOperationEvent),
|
|
2733
2747
|
/**
|
|
2734
2748
|
* The door lock server sends out a LockOperationError event when a lock operation fails for various
|
|
2735
2749
|
* reasons.
|
|
2736
2750
|
*
|
|
2737
|
-
* @see {@link MatterSpecification.
|
|
2751
|
+
* @see {@link MatterSpecification.v141.Cluster} § 5.2.11.4
|
|
2738
2752
|
*/
|
|
2739
2753
|
lockOperationError: Event(3, EventPriority.Critical, DoorLock2.TlvLockOperationErrorEvent)
|
|
2740
2754
|
},
|