@matter/types 0.16.0-alpha.0-20251103-b47ffa15b → 0.16.0-alpha.0-20251106-4e10fd77b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clusters/access-control.d.ts +250 -250
- package/dist/cjs/clusters/access-control.js +39 -39
- package/dist/cjs/clusters/account-login.d.ts +29 -29
- package/dist/cjs/clusters/account-login.js +11 -11
- package/dist/cjs/clusters/actions.d.ts +108 -108
- package/dist/cjs/clusters/actions.js +39 -39
- package/dist/cjs/clusters/administrator-commissioning.d.ts +54 -54
- package/dist/cjs/clusters/administrator-commissioning.js +12 -12
- package/dist/cjs/clusters/air-quality.d.ts +5 -5
- package/dist/cjs/clusters/air-quality.js +1 -1
- package/dist/cjs/clusters/alarm-base.d.ts +43 -43
- package/dist/cjs/clusters/alarm-base.js +14 -14
- package/dist/cjs/clusters/application-basic.d.ts +16 -16
- package/dist/cjs/clusters/application-basic.js +10 -10
- package/dist/cjs/clusters/application-launcher.d.ts +104 -104
- package/dist/cjs/clusters/application-launcher.js +13 -13
- package/dist/cjs/clusters/audio-output.d.ts +37 -37
- package/dist/cjs/clusters/audio-output.js +8 -8
- package/dist/cjs/clusters/basic-information.d.ts +55 -55
- package/dist/cjs/clusters/basic-information.js +35 -35
- package/dist/cjs/clusters/binding.d.ts +12 -12
- package/dist/cjs/clusters/binding.js +5 -5
- package/dist/cjs/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/cjs/clusters/boolean-state-configuration.js +18 -18
- package/dist/cjs/clusters/boolean-state.d.ts +7 -7
- package/dist/cjs/clusters/boolean-state.js +3 -3
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +105 -105
- package/dist/cjs/clusters/bridged-device-basic-information.js +29 -29
- package/dist/cjs/clusters/channel.d.ts +561 -561
- package/dist/cjs/clusters/channel.js +73 -73
- package/dist/cjs/clusters/color-control.d.ts +658 -658
- package/dist/cjs/clusters/color-control.js +116 -116
- package/dist/cjs/clusters/commissioner-control.d.ts +16 -16
- package/dist/cjs/clusters/commissioner-control.js +5 -5
- package/dist/cjs/clusters/concentration-measurement.d.ts +26 -26
- package/dist/cjs/clusters/concentration-measurement.js +11 -11
- package/dist/cjs/clusters/content-app-observer.d.ts +18 -18
- package/dist/cjs/clusters/content-app-observer.js +6 -6
- package/dist/cjs/clusters/content-control.d.ts +366 -366
- package/dist/cjs/clusters/content-control.js +58 -58
- package/dist/cjs/clusters/content-launcher.d.ts +479 -479
- package/dist/cjs/clusters/content-launcher.js +39 -39
- package/dist/cjs/clusters/descriptor.d.ts +30 -30
- package/dist/cjs/clusters/descriptor.js +9 -9
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/cjs/clusters/device-energy-management-mode.js +8 -8
- package/dist/cjs/clusters/device-energy-management.d.ts +544 -544
- package/dist/cjs/clusters/device-energy-management.js +87 -87
- package/dist/cjs/clusters/diagnostic-logs.d.ts +37 -37
- package/dist/cjs/clusters/diagnostic-logs.js +8 -8
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/cjs/clusters/dishwasher-alarm.js +14 -14
- package/dist/cjs/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/cjs/clusters/dishwasher-mode.js +8 -8
- package/dist/cjs/clusters/door-lock.d.ts +1349 -1349
- package/dist/cjs/clusters/door-lock.js +227 -227
- package/dist/cjs/clusters/ecosystem-information.d.ts +35 -35
- package/dist/cjs/clusters/ecosystem-information.js +14 -14
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +276 -276
- package/dist/cjs/clusters/electrical-energy-measurement.js +25 -25
- package/dist/cjs/clusters/electrical-power-measurement.d.ts +200 -200
- package/dist/cjs/clusters/electrical-power-measurement.js +39 -39
- package/dist/cjs/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/cjs/clusters/energy-evse-mode.js +8 -8
- package/dist/cjs/clusters/energy-evse.d.ts +323 -323
- package/dist/cjs/clusters/energy-evse.js +73 -73
- package/dist/cjs/clusters/energy-preference.d.ts +49 -49
- package/dist/cjs/clusters/energy-preference.js +9 -9
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/cjs/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/cjs/clusters/fan-control.d.ts +83 -83
- package/dist/cjs/clusters/fan-control.js +19 -19
- package/dist/cjs/clusters/fixed-label.d.ts +2 -2
- package/dist/cjs/clusters/fixed-label.js +1 -1
- package/dist/cjs/clusters/flow-measurement.d.ts +5 -5
- package/dist/cjs/clusters/flow-measurement.js +4 -4
- package/dist/cjs/clusters/general-commissioning.d.ts +104 -104
- package/dist/cjs/clusters/general-commissioning.js +25 -25
- package/dist/cjs/clusters/general-diagnostics.d.ts +174 -174
- package/dist/cjs/clusters/general-diagnostics.js +40 -40
- package/dist/cjs/clusters/group-key-management.d.ts +119 -119
- package/dist/cjs/clusters/group-key-management.js +23 -23
- package/dist/cjs/clusters/groups.d.ts +78 -78
- package/dist/cjs/clusters/groups.js +21 -21
- package/dist/cjs/clusters/icd-management.d.ts +131 -131
- package/dist/cjs/clusters/icd-management.js +29 -29
- package/dist/cjs/clusters/identify.d.ts +16 -16
- package/dist/cjs/clusters/identify.js +6 -6
- package/dist/cjs/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/cjs/clusters/illuminance-measurement.js +5 -5
- package/dist/cjs/clusters/joint-fabric-administrator.d.ts +34 -34
- package/dist/cjs/clusters/joint-fabric-administrator.js +10 -10
- package/dist/cjs/clusters/joint-fabric-datastore.d.ts +232 -232
- package/dist/cjs/clusters/joint-fabric-datastore.js +73 -73
- package/dist/cjs/clusters/keypad-input.d.ts +18 -18
- package/dist/cjs/clusters/keypad-input.js +3 -3
- package/dist/cjs/clusters/label.d.ts +10 -10
- package/dist/cjs/clusters/label.js +3 -3
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/cjs/clusters/laundry-dryer-controls.js +2 -2
- package/dist/cjs/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/cjs/clusters/laundry-washer-controls.js +6 -6
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/cjs/clusters/laundry-washer-mode.js +5 -5
- package/dist/cjs/clusters/level-control.d.ts +303 -303
- package/dist/cjs/clusters/level-control.js +32 -32
- package/dist/cjs/clusters/localization-configuration.d.ts +3 -3
- package/dist/cjs/clusters/localization-configuration.js +2 -2
- package/dist/cjs/clusters/low-power.d.ts +2 -2
- package/dist/cjs/clusters/low-power.js +1 -1
- package/dist/cjs/clusters/media-input.d.ts +47 -47
- package/dist/cjs/clusters/media-input.js +11 -11
- package/dist/cjs/clusters/media-playback.d.ts +390 -390
- package/dist/cjs/clusters/media-playback.js +57 -57
- package/dist/cjs/clusters/messages.d.ts +154 -154
- package/dist/cjs/clusters/messages.js +38 -38
- package/dist/cjs/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/cjs/clusters/microwave-oven-control.js +17 -17
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/cjs/clusters/microwave-oven-mode.js +7 -7
- package/dist/cjs/clusters/mode-base.d.ts +59 -59
- package/dist/cjs/clusters/mode-base.js +13 -13
- package/dist/cjs/clusters/mode-select.d.ts +51 -51
- package/dist/cjs/clusters/mode-select.js +13 -13
- package/dist/cjs/clusters/network-commissioning.d.ts +325 -325
- package/dist/cjs/clusters/network-commissioning.js +46 -46
- package/dist/cjs/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/cjs/clusters/occupancy-sensing.js +20 -20
- package/dist/cjs/clusters/on-off.d.ts +103 -103
- package/dist/cjs/clusters/on-off.js +19 -19
- package/dist/cjs/clusters/operational-credentials.d.ts +106 -106
- package/dist/cjs/clusters/operational-credentials.js +38 -38
- package/dist/cjs/clusters/operational-state.d.ts +67 -67
- package/dist/cjs/clusters/operational-state.js +21 -21
- package/dist/cjs/clusters/ota-software-update-provider.d.ts +65 -65
- package/dist/cjs/clusters/ota-software-update-provider.js +25 -25
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/cjs/clusters/ota-software-update-requestor.js +25 -25
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/cjs/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/cjs/clusters/oven-mode.d.ts +49 -49
- package/dist/cjs/clusters/oven-mode.js +8 -8
- package/dist/cjs/clusters/power-source-configuration.d.ts +2 -2
- package/dist/cjs/clusters/power-source-configuration.js +1 -1
- package/dist/cjs/clusters/power-source.d.ts +155 -155
- package/dist/cjs/clusters/power-source.js +41 -41
- package/dist/cjs/clusters/power-topology.d.ts +8 -8
- package/dist/cjs/clusters/power-topology.js +2 -2
- package/dist/cjs/clusters/pressure-measurement.d.ts +25 -25
- package/dist/cjs/clusters/pressure-measurement.js +9 -9
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/cjs/clusters/pump-configuration-and-control.js +57 -57
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/cjs/clusters/refrigerator-alarm.js +11 -11
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/cjs/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/cjs/clusters/relative-humidity-measurement.js +4 -4
- package/dist/cjs/clusters/resource-monitoring.d.ts +20 -20
- package/dist/cjs/clusters/resource-monitoring.js +7 -7
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +49 -49
- package/dist/cjs/clusters/rvc-clean-mode.js +9 -9
- package/dist/cjs/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/cjs/clusters/rvc-operational-state.js +17 -17
- package/dist/cjs/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/cjs/clusters/rvc-run-mode.js +9 -9
- package/dist/cjs/clusters/scenes-management.d.ts +244 -244
- package/dist/cjs/clusters/scenes-management.js +69 -69
- package/dist/cjs/clusters/service-area.d.ts +128 -128
- package/dist/cjs/clusters/service-area.js +26 -26
- package/dist/cjs/clusters/smoke-co-alarm.d.ts +135 -135
- package/dist/cjs/clusters/smoke-co-alarm.js +30 -30
- package/dist/cjs/clusters/software-diagnostics.d.ts +53 -53
- package/dist/cjs/clusters/software-diagnostics.js +14 -14
- package/dist/cjs/clusters/switch.d.ts +105 -105
- package/dist/cjs/clusters/switch.js +23 -23
- package/dist/cjs/clusters/target-navigator.d.ts +32 -32
- package/dist/cjs/clusters/target-navigator.js +10 -10
- package/dist/cjs/clusters/temperature-control.d.ts +45 -45
- package/dist/cjs/clusters/temperature-control.js +12 -12
- package/dist/cjs/clusters/temperature-measurement.d.ts +5 -5
- package/dist/cjs/clusters/temperature-measurement.js +4 -4
- package/dist/cjs/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/cjs/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/cjs/clusters/thermostat.d.ts +514 -514
- package/dist/cjs/clusters/thermostat.js +114 -114
- package/dist/cjs/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/cjs/clusters/thread-border-router-management.js +14 -14
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/cjs/clusters/thread-network-diagnostics.js +108 -108
- package/dist/cjs/clusters/thread-network-directory.d.ts +27 -27
- package/dist/cjs/clusters/thread-network-directory.js +11 -11
- package/dist/cjs/clusters/time-format-localization.d.ts +12 -12
- package/dist/cjs/clusters/time-format-localization.js +3 -3
- package/dist/cjs/clusters/time-synchronization.d.ts +246 -246
- package/dist/cjs/clusters/time-synchronization.js +47 -47
- package/dist/cjs/clusters/unit-localization.d.ts +9 -9
- package/dist/cjs/clusters/unit-localization.js +2 -2
- package/dist/cjs/clusters/user-label.d.ts +2 -2
- package/dist/cjs/clusters/user-label.js +1 -1
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts +81 -81
- package/dist/cjs/clusters/valve-configuration-and-control.js +22 -22
- package/dist/cjs/clusters/wake-on-lan.d.ts +3 -3
- package/dist/cjs/clusters/wake-on-lan.js +2 -2
- package/dist/cjs/clusters/water-heater-management.d.ts +91 -91
- package/dist/cjs/clusters/water-heater-management.js +16 -16
- package/dist/cjs/clusters/water-heater-mode.d.ts +42 -42
- package/dist/cjs/clusters/water-heater-mode.js +8 -8
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/cjs/clusters/wi-fi-network-management.d.ts +8 -8
- package/dist/cjs/clusters/wi-fi-network-management.js +4 -4
- package/dist/cjs/clusters/window-covering.d.ts +183 -183
- package/dist/cjs/clusters/window-covering.js +49 -49
- package/dist/cjs/dcl/operational-certificate.d.ts +8 -1
- package/dist/cjs/dcl/operational-certificate.d.ts.map +1 -1
- package/dist/cjs/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/cjs/globals/AtomicAttributeStatus.js +2 -2
- package/dist/cjs/globals/AtomicRequestType.d.ts +1 -1
- package/dist/cjs/globals/Currency.d.ts +2 -2
- package/dist/cjs/globals/Locationdesc.d.ts +5 -5
- package/dist/cjs/globals/Locationdesc.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/cjs/globals/MeasurementAccuracy.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/cjs/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/cjs/globals/MeasurementType.d.ts +1 -1
- package/dist/cjs/globals/Namespace.d.ts +1 -1
- package/dist/cjs/globals/Price.d.ts +2 -2
- package/dist/cjs/globals/Priority.d.ts +1 -1
- package/dist/cjs/globals/Semtag.d.ts +6 -6
- package/dist/cjs/globals/Semtag.js +4 -4
- package/dist/cjs/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/cjs/globals/Status.d.ts +36 -36
- package/dist/cjs/globals/ThreeLevelAuto.d.ts +1 -1
- package/dist/cjs/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/esm/clusters/access-control.d.ts +250 -250
- package/dist/esm/clusters/access-control.js +39 -39
- package/dist/esm/clusters/account-login.d.ts +29 -29
- package/dist/esm/clusters/account-login.js +11 -11
- package/dist/esm/clusters/actions.d.ts +108 -108
- package/dist/esm/clusters/actions.js +39 -39
- package/dist/esm/clusters/administrator-commissioning.d.ts +54 -54
- package/dist/esm/clusters/administrator-commissioning.js +12 -12
- package/dist/esm/clusters/air-quality.d.ts +5 -5
- package/dist/esm/clusters/air-quality.js +1 -1
- package/dist/esm/clusters/alarm-base.d.ts +43 -43
- package/dist/esm/clusters/alarm-base.js +14 -14
- package/dist/esm/clusters/application-basic.d.ts +16 -16
- package/dist/esm/clusters/application-basic.js +10 -10
- package/dist/esm/clusters/application-launcher.d.ts +104 -104
- package/dist/esm/clusters/application-launcher.js +13 -13
- package/dist/esm/clusters/audio-output.d.ts +37 -37
- package/dist/esm/clusters/audio-output.js +8 -8
- package/dist/esm/clusters/basic-information.d.ts +55 -55
- package/dist/esm/clusters/basic-information.js +35 -35
- package/dist/esm/clusters/binding.d.ts +12 -12
- package/dist/esm/clusters/binding.js +5 -5
- package/dist/esm/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/esm/clusters/boolean-state-configuration.js +18 -18
- package/dist/esm/clusters/boolean-state.d.ts +7 -7
- package/dist/esm/clusters/boolean-state.js +3 -3
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +105 -105
- package/dist/esm/clusters/bridged-device-basic-information.js +29 -29
- package/dist/esm/clusters/channel.d.ts +561 -561
- package/dist/esm/clusters/channel.js +73 -73
- package/dist/esm/clusters/color-control.d.ts +658 -658
- package/dist/esm/clusters/color-control.js +116 -116
- package/dist/esm/clusters/commissioner-control.d.ts +16 -16
- package/dist/esm/clusters/commissioner-control.js +5 -5
- package/dist/esm/clusters/concentration-measurement.d.ts +26 -26
- package/dist/esm/clusters/concentration-measurement.js +11 -11
- package/dist/esm/clusters/content-app-observer.d.ts +18 -18
- package/dist/esm/clusters/content-app-observer.js +6 -6
- package/dist/esm/clusters/content-control.d.ts +366 -366
- package/dist/esm/clusters/content-control.js +58 -58
- package/dist/esm/clusters/content-launcher.d.ts +479 -479
- package/dist/esm/clusters/content-launcher.js +39 -39
- package/dist/esm/clusters/descriptor.d.ts +30 -30
- package/dist/esm/clusters/descriptor.js +9 -9
- package/dist/esm/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/esm/clusters/device-energy-management-mode.js +8 -8
- package/dist/esm/clusters/device-energy-management.d.ts +544 -544
- package/dist/esm/clusters/device-energy-management.js +87 -87
- package/dist/esm/clusters/diagnostic-logs.d.ts +37 -37
- package/dist/esm/clusters/diagnostic-logs.js +8 -8
- package/dist/esm/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/esm/clusters/dishwasher-alarm.js +14 -14
- package/dist/esm/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/esm/clusters/dishwasher-mode.js +8 -8
- package/dist/esm/clusters/door-lock.d.ts +1349 -1349
- package/dist/esm/clusters/door-lock.js +227 -227
- package/dist/esm/clusters/ecosystem-information.d.ts +35 -35
- package/dist/esm/clusters/ecosystem-information.js +14 -14
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +276 -276
- package/dist/esm/clusters/electrical-energy-measurement.js +25 -25
- package/dist/esm/clusters/electrical-power-measurement.d.ts +200 -200
- package/dist/esm/clusters/electrical-power-measurement.js +39 -39
- package/dist/esm/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/esm/clusters/energy-evse-mode.js +8 -8
- package/dist/esm/clusters/energy-evse.d.ts +323 -323
- package/dist/esm/clusters/energy-evse.js +73 -73
- package/dist/esm/clusters/energy-preference.d.ts +49 -49
- package/dist/esm/clusters/energy-preference.js +9 -9
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/esm/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/esm/clusters/fan-control.d.ts +83 -83
- package/dist/esm/clusters/fan-control.js +19 -19
- package/dist/esm/clusters/fixed-label.d.ts +2 -2
- package/dist/esm/clusters/fixed-label.js +1 -1
- package/dist/esm/clusters/flow-measurement.d.ts +5 -5
- package/dist/esm/clusters/flow-measurement.js +4 -4
- package/dist/esm/clusters/general-commissioning.d.ts +104 -104
- package/dist/esm/clusters/general-commissioning.js +25 -25
- package/dist/esm/clusters/general-diagnostics.d.ts +174 -174
- package/dist/esm/clusters/general-diagnostics.js +40 -40
- package/dist/esm/clusters/group-key-management.d.ts +119 -119
- package/dist/esm/clusters/group-key-management.js +23 -23
- package/dist/esm/clusters/groups.d.ts +78 -78
- package/dist/esm/clusters/groups.js +21 -21
- package/dist/esm/clusters/icd-management.d.ts +131 -131
- package/dist/esm/clusters/icd-management.js +29 -29
- package/dist/esm/clusters/identify.d.ts +16 -16
- package/dist/esm/clusters/identify.js +6 -6
- package/dist/esm/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/esm/clusters/illuminance-measurement.js +5 -5
- package/dist/esm/clusters/joint-fabric-administrator.d.ts +34 -34
- package/dist/esm/clusters/joint-fabric-administrator.js +10 -10
- package/dist/esm/clusters/joint-fabric-datastore.d.ts +232 -232
- package/dist/esm/clusters/joint-fabric-datastore.js +73 -73
- package/dist/esm/clusters/keypad-input.d.ts +18 -18
- package/dist/esm/clusters/keypad-input.js +3 -3
- package/dist/esm/clusters/label.d.ts +10 -10
- package/dist/esm/clusters/label.js +3 -3
- package/dist/esm/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/esm/clusters/laundry-dryer-controls.js +2 -2
- package/dist/esm/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/esm/clusters/laundry-washer-controls.js +6 -6
- package/dist/esm/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/esm/clusters/laundry-washer-mode.js +5 -5
- package/dist/esm/clusters/level-control.d.ts +303 -303
- package/dist/esm/clusters/level-control.js +32 -32
- package/dist/esm/clusters/localization-configuration.d.ts +3 -3
- package/dist/esm/clusters/localization-configuration.js +2 -2
- package/dist/esm/clusters/low-power.d.ts +2 -2
- package/dist/esm/clusters/low-power.js +1 -1
- package/dist/esm/clusters/media-input.d.ts +47 -47
- package/dist/esm/clusters/media-input.js +11 -11
- package/dist/esm/clusters/media-playback.d.ts +390 -390
- package/dist/esm/clusters/media-playback.js +57 -57
- package/dist/esm/clusters/messages.d.ts +154 -154
- package/dist/esm/clusters/messages.js +38 -38
- package/dist/esm/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/esm/clusters/microwave-oven-control.js +17 -17
- package/dist/esm/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/esm/clusters/microwave-oven-mode.js +7 -7
- package/dist/esm/clusters/mode-base.d.ts +59 -59
- package/dist/esm/clusters/mode-base.js +13 -13
- package/dist/esm/clusters/mode-select.d.ts +51 -51
- package/dist/esm/clusters/mode-select.js +13 -13
- package/dist/esm/clusters/network-commissioning.d.ts +325 -325
- package/dist/esm/clusters/network-commissioning.js +46 -46
- package/dist/esm/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/esm/clusters/occupancy-sensing.js +20 -20
- package/dist/esm/clusters/on-off.d.ts +103 -103
- package/dist/esm/clusters/on-off.js +19 -19
- package/dist/esm/clusters/operational-credentials.d.ts +106 -106
- package/dist/esm/clusters/operational-credentials.js +38 -38
- package/dist/esm/clusters/operational-state.d.ts +67 -67
- package/dist/esm/clusters/operational-state.js +21 -21
- package/dist/esm/clusters/ota-software-update-provider.d.ts +65 -65
- package/dist/esm/clusters/ota-software-update-provider.js +25 -25
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/esm/clusters/ota-software-update-requestor.js +25 -25
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/esm/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/esm/clusters/oven-mode.d.ts +49 -49
- package/dist/esm/clusters/oven-mode.js +8 -8
- package/dist/esm/clusters/power-source-configuration.d.ts +2 -2
- package/dist/esm/clusters/power-source-configuration.js +1 -1
- package/dist/esm/clusters/power-source.d.ts +155 -155
- package/dist/esm/clusters/power-source.js +41 -41
- package/dist/esm/clusters/power-topology.d.ts +8 -8
- package/dist/esm/clusters/power-topology.js +2 -2
- package/dist/esm/clusters/pressure-measurement.d.ts +25 -25
- package/dist/esm/clusters/pressure-measurement.js +9 -9
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/esm/clusters/pump-configuration-and-control.js +57 -57
- package/dist/esm/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/esm/clusters/refrigerator-alarm.js +11 -11
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/esm/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/esm/clusters/relative-humidity-measurement.js +4 -4
- package/dist/esm/clusters/resource-monitoring.d.ts +20 -20
- package/dist/esm/clusters/resource-monitoring.js +7 -7
- package/dist/esm/clusters/rvc-clean-mode.d.ts +49 -49
- package/dist/esm/clusters/rvc-clean-mode.js +9 -9
- package/dist/esm/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/esm/clusters/rvc-operational-state.js +17 -17
- package/dist/esm/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/esm/clusters/rvc-run-mode.js +9 -9
- package/dist/esm/clusters/scenes-management.d.ts +244 -244
- package/dist/esm/clusters/scenes-management.js +69 -69
- package/dist/esm/clusters/service-area.d.ts +128 -128
- package/dist/esm/clusters/service-area.js +26 -26
- package/dist/esm/clusters/smoke-co-alarm.d.ts +135 -135
- package/dist/esm/clusters/smoke-co-alarm.js +30 -30
- package/dist/esm/clusters/software-diagnostics.d.ts +53 -53
- package/dist/esm/clusters/software-diagnostics.js +14 -14
- package/dist/esm/clusters/switch.d.ts +105 -105
- package/dist/esm/clusters/switch.js +23 -23
- package/dist/esm/clusters/target-navigator.d.ts +32 -32
- package/dist/esm/clusters/target-navigator.js +10 -10
- package/dist/esm/clusters/temperature-control.d.ts +45 -45
- package/dist/esm/clusters/temperature-control.js +12 -12
- package/dist/esm/clusters/temperature-measurement.d.ts +5 -5
- package/dist/esm/clusters/temperature-measurement.js +4 -4
- package/dist/esm/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/esm/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/esm/clusters/thermostat.d.ts +514 -514
- package/dist/esm/clusters/thermostat.js +114 -114
- package/dist/esm/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/esm/clusters/thread-border-router-management.js +14 -14
- package/dist/esm/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/esm/clusters/thread-network-diagnostics.js +108 -108
- package/dist/esm/clusters/thread-network-directory.d.ts +27 -27
- package/dist/esm/clusters/thread-network-directory.js +11 -11
- package/dist/esm/clusters/time-format-localization.d.ts +12 -12
- package/dist/esm/clusters/time-format-localization.js +3 -3
- package/dist/esm/clusters/time-synchronization.d.ts +246 -246
- package/dist/esm/clusters/time-synchronization.js +47 -47
- package/dist/esm/clusters/unit-localization.d.ts +9 -9
- package/dist/esm/clusters/unit-localization.js +2 -2
- package/dist/esm/clusters/user-label.d.ts +2 -2
- package/dist/esm/clusters/user-label.js +1 -1
- package/dist/esm/clusters/valve-configuration-and-control.d.ts +81 -81
- package/dist/esm/clusters/valve-configuration-and-control.js +22 -22
- package/dist/esm/clusters/wake-on-lan.d.ts +3 -3
- package/dist/esm/clusters/wake-on-lan.js +2 -2
- package/dist/esm/clusters/water-heater-management.d.ts +91 -91
- package/dist/esm/clusters/water-heater-management.js +16 -16
- package/dist/esm/clusters/water-heater-mode.d.ts +42 -42
- package/dist/esm/clusters/water-heater-mode.js +8 -8
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/esm/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/esm/clusters/wi-fi-network-management.d.ts +8 -8
- package/dist/esm/clusters/wi-fi-network-management.js +4 -4
- package/dist/esm/clusters/window-covering.d.ts +183 -183
- package/dist/esm/clusters/window-covering.js +49 -49
- package/dist/esm/dcl/operational-certificate.d.ts +8 -1
- package/dist/esm/dcl/operational-certificate.d.ts.map +1 -1
- package/dist/esm/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/esm/globals/AtomicAttributeStatus.js +2 -2
- package/dist/esm/globals/AtomicRequestType.d.ts +1 -1
- package/dist/esm/globals/Currency.d.ts +2 -2
- package/dist/esm/globals/Locationdesc.d.ts +5 -5
- package/dist/esm/globals/Locationdesc.js +3 -3
- package/dist/esm/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/esm/globals/MeasurementAccuracy.js +3 -3
- package/dist/esm/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/esm/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/esm/globals/MeasurementType.d.ts +1 -1
- package/dist/esm/globals/Namespace.d.ts +1 -1
- package/dist/esm/globals/Price.d.ts +2 -2
- package/dist/esm/globals/Priority.d.ts +1 -1
- package/dist/esm/globals/Semtag.d.ts +6 -6
- package/dist/esm/globals/Semtag.js +4 -4
- package/dist/esm/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/esm/globals/Status.d.ts +36 -36
- package/dist/esm/globals/ThreeLevelAuto.d.ts +1 -1
- package/dist/esm/globals/WildcardPathFlags.d.ts +1 -1
- package/package.json +5 -5
- package/src/clusters/access-control.ts +72 -72
- package/src/clusters/account-login.ts +22 -22
- package/src/clusters/actions.ts +86 -86
- package/src/clusters/administrator-commissioning.ts +23 -23
- package/src/clusters/air-quality.ts +4 -4
- package/src/clusters/alarm-base.ts +22 -22
- package/src/clusters/application-basic.ts +14 -14
- package/src/clusters/application-launcher.ts +33 -33
- package/src/clusters/audio-output.ts +17 -17
- package/src/clusters/basic-information.ts +48 -48
- package/src/clusters/binding.ts +8 -8
- package/src/clusters/boolean-state-configuration.ts +31 -31
- package/src/clusters/boolean-state.ts +6 -6
- package/src/clusters/bridged-device-basic-information.ts +39 -39
- package/src/clusters/channel.ts +113 -113
- package/src/clusters/color-control.ts +168 -168
- package/src/clusters/commissioner-control.ts +15 -15
- package/src/clusters/concentration-measurement.ts +15 -15
- package/src/clusters/content-app-observer.ts +13 -13
- package/src/clusters/content-control.ts +106 -106
- package/src/clusters/content-launcher.ts +73 -73
- package/src/clusters/descriptor.ts +14 -14
- package/src/clusters/device-energy-management-mode.ts +28 -28
- package/src/clusters/device-energy-management.ts +136 -136
- package/src/clusters/diagnostic-logs.ts +30 -30
- package/src/clusters/dishwasher-alarm.ts +24 -24
- package/src/clusters/dishwasher-mode.ts +27 -27
- package/src/clusters/door-lock.ts +378 -378
- package/src/clusters/ecosystem-information.ts +21 -21
- package/src/clusters/electrical-energy-measurement.ts +40 -40
- package/src/clusters/electrical-power-measurement.ts +54 -54
- package/src/clusters/energy-evse-mode.ts +28 -28
- package/src/clusters/energy-evse.ts +109 -109
- package/src/clusters/energy-preference.ts +19 -19
- package/src/clusters/ethernet-network-diagnostics.ts +13 -13
- package/src/clusters/fan-control.ts +30 -30
- package/src/clusters/fixed-label.ts +2 -2
- package/src/clusters/flow-measurement.ts +5 -5
- package/src/clusters/general-commissioning.ts +45 -45
- package/src/clusters/general-diagnostics.ts +66 -66
- package/src/clusters/group-key-management.ts +45 -45
- package/src/clusters/groups.ts +44 -44
- package/src/clusters/icd-management.ts +50 -50
- package/src/clusters/identify.ts +14 -14
- package/src/clusters/illuminance-measurement.ts +7 -7
- package/src/clusters/joint-fabric-administrator.ts +31 -31
- package/src/clusters/joint-fabric-datastore.ts +145 -145
- package/src/clusters/keypad-input.ts +13 -13
- package/src/clusters/label.ts +5 -5
- package/src/clusters/laundry-dryer-controls.ts +4 -4
- package/src/clusters/laundry-washer-controls.ts +11 -11
- package/src/clusters/laundry-washer-mode.ts +25 -25
- package/src/clusters/level-control.ts +49 -49
- package/src/clusters/localization-configuration.ts +3 -3
- package/src/clusters/low-power.ts +2 -2
- package/src/clusters/media-input.ts +20 -20
- package/src/clusters/media-playback.ts +96 -96
- package/src/clusters/messages.ts +61 -61
- package/src/clusters/microwave-oven-control.ts +23 -23
- package/src/clusters/microwave-oven-mode.ts +25 -25
- package/src/clusters/mode-base.ts +37 -37
- package/src/clusters/mode-select.ts +22 -22
- package/src/clusters/network-commissioning.ts +76 -76
- package/src/clusters/occupancy-sensing.ts +29 -29
- package/src/clusters/on-off.ts +33 -33
- package/src/clusters/operational-credentials.ts +75 -75
- package/src/clusters/operational-state.ts +34 -34
- package/src/clusters/ota-software-update-provider.ts +43 -43
- package/src/clusters/ota-software-update-requestor.ts +55 -55
- package/src/clusters/oven-cavity-operational-state.ts +14 -14
- package/src/clusters/oven-mode.ts +34 -34
- package/src/clusters/power-source-configuration.ts +2 -2
- package/src/clusters/power-source.ts +59 -59
- package/src/clusters/power-topology.ts +4 -4
- package/src/clusters/pressure-measurement.ts +11 -11
- package/src/clusters/pump-configuration-and-control.ts +69 -69
- package/src/clusters/refrigerator-alarm.ts +18 -18
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +26 -26
- package/src/clusters/relative-humidity-measurement.ts +5 -5
- package/src/clusters/resource-monitoring.ts +13 -13
- package/src/clusters/rvc-clean-mode.ts +32 -32
- package/src/clusters/rvc-operational-state.ts +28 -28
- package/src/clusters/rvc-run-mode.ts +38 -38
- package/src/clusters/scenes-management.ts +111 -111
- package/src/clusters/service-area.ts +50 -50
- package/src/clusters/smoke-co-alarm.ts +66 -66
- package/src/clusters/software-diagnostics.ts +20 -20
- package/src/clusters/switch.ts +45 -45
- package/src/clusters/target-navigator.ts +22 -22
- package/src/clusters/temperature-control.ts +19 -19
- package/src/clusters/temperature-measurement.ts +5 -5
- package/src/clusters/thermostat-user-interface-configuration.ts +7 -7
- package/src/clusters/thermostat.ts +172 -172
- package/src/clusters/thread-border-router-management.ts +23 -23
- package/src/clusters/thread-network-diagnostics.ts +125 -125
- package/src/clusters/thread-network-directory.ts +22 -22
- package/src/clusters/time-format-localization.ts +7 -7
- package/src/clusters/time-synchronization.ts +82 -82
- package/src/clusters/unit-localization.ts +5 -5
- package/src/clusters/user-label.ts +2 -2
- package/src/clusters/valve-configuration-and-control.ts +36 -36
- package/src/clusters/wake-on-lan.ts +3 -3
- package/src/clusters/water-heater-management.ts +26 -26
- package/src/clusters/water-heater-mode.ts +27 -27
- package/src/clusters/wi-fi-network-diagnostics.ts +32 -32
- package/src/clusters/wi-fi-network-management.ts +7 -7
- package/src/clusters/window-covering.ts +68 -68
- package/src/dcl/operational-certificate.ts +9 -1
- package/src/globals/AtomicAttributeStatus.ts +4 -4
- package/src/globals/AtomicRequestType.ts +1 -1
- package/src/globals/Currency.ts +2 -2
- package/src/globals/Locationdesc.ts +5 -5
- package/src/globals/MeasurementAccuracy.ts +5 -5
- package/src/globals/MeasurementAccuracyRange.ts +10 -10
- package/src/globals/MeasurementType.ts +1 -1
- package/src/globals/Namespace.ts +1 -1
- package/src/globals/Price.ts +2 -2
- package/src/globals/Priority.ts +1 -1
- package/src/globals/Semtag.ts +6 -6
- package/src/globals/SoftwareVersionCertificationStatus.ts +1 -1
- package/src/globals/Status.ts +36 -36
- package/src/globals/ThreeLevelAuto.ts +1 -1
- package/src/globals/WildcardPathFlags.ts +1 -1
- package/dist/cjs/common/DeviceClassification.d.ts +0 -44
- package/dist/cjs/common/DeviceClassification.d.ts.map +0 -1
- package/dist/cjs/common/DeviceClassification.js +0 -38
- package/dist/cjs/common/DeviceClassification.js.map +0 -6
- package/dist/esm/common/DeviceClassification.d.ts +0 -44
- package/dist/esm/common/DeviceClassification.d.ts.map +0 -1
- package/dist/esm/common/DeviceClassification.js +0 -18
- package/dist/esm/common/DeviceClassification.js.map +0 -6
- package/src/common/DeviceClassification.ts +0 -49
|
@@ -41,7 +41,7 @@ export namespace DoorLock {
|
|
|
41
41
|
/**
|
|
42
42
|
* These are optional features supported by DoorLockCluster.
|
|
43
43
|
*
|
|
44
|
-
* @see {@link MatterSpecification.
|
|
44
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4
|
|
45
45
|
*/
|
|
46
46
|
export enum Feature {
|
|
47
47
|
/**
|
|
@@ -53,7 +53,7 @@ export namespace DoorLock {
|
|
|
53
53
|
* Schedules are all associated with a User index and not directly with a PIN index. A User index may have
|
|
54
54
|
* several credentials associated with it.
|
|
55
55
|
*
|
|
56
|
-
* @see {@link MatterSpecification.
|
|
56
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.1
|
|
57
57
|
*/
|
|
58
58
|
PinCredential = "PinCredential",
|
|
59
59
|
|
|
@@ -67,7 +67,7 @@ export namespace DoorLock {
|
|
|
67
67
|
* Schedules are all associated with a User index and not directly with a RFID index. A User Index may have
|
|
68
68
|
* several credentials associated with it.
|
|
69
69
|
*
|
|
70
|
-
* @see {@link MatterSpecification.
|
|
70
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.2
|
|
71
71
|
*/
|
|
72
72
|
RfidCredential = "RfidCredential",
|
|
73
73
|
|
|
@@ -83,7 +83,7 @@ export namespace DoorLock {
|
|
|
83
83
|
* Schedules are all associated with a User index and not directly with a Finger index. A User Index may have
|
|
84
84
|
* several credentials associated with it.
|
|
85
85
|
*
|
|
86
|
-
* @see {@link MatterSpecification.
|
|
86
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.3
|
|
87
87
|
*/
|
|
88
88
|
FingerCredentials = "FingerCredentials",
|
|
89
89
|
|
|
@@ -99,7 +99,7 @@ export namespace DoorLock {
|
|
|
99
99
|
*
|
|
100
100
|
* Support for WeekDayAccessSchedules requires that the lock has the capability of keeping track of local time.
|
|
101
101
|
*
|
|
102
|
-
* @see {@link MatterSpecification.
|
|
102
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.4
|
|
103
103
|
*/
|
|
104
104
|
WeekDayAccessSchedules = "WeekDayAccessSchedules",
|
|
105
105
|
|
|
@@ -109,7 +109,7 @@ export namespace DoorLock {
|
|
|
109
109
|
* If this feature is supported this indicates that the lock has the ability to determine the position of the
|
|
110
110
|
* door which is separate from the state of the lock.
|
|
111
111
|
*
|
|
112
|
-
* @see {@link MatterSpecification.
|
|
112
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.5
|
|
113
113
|
*/
|
|
114
114
|
DoorPositionSensor = "DoorPositionSensor",
|
|
115
115
|
|
|
@@ -124,7 +124,7 @@ export namespace DoorLock {
|
|
|
124
124
|
* A lock may support multiple credential types so if the User feature is supported the UserType, UserStatus and
|
|
125
125
|
* Schedules are all associated with a User and not directly with a credential.
|
|
126
126
|
*
|
|
127
|
-
* @see {@link MatterSpecification.
|
|
127
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.6
|
|
128
128
|
*/
|
|
129
129
|
FaceCredentials = "FaceCredentials",
|
|
130
130
|
|
|
@@ -135,7 +135,7 @@ export namespace DoorLock {
|
|
|
135
135
|
* lock/unlock command. Currently the cluster only supports providing the PIN credential to the lock/unlock
|
|
136
136
|
* commands. If this feature is supported then the PIN Credential feature shall also be supported.
|
|
137
137
|
*
|
|
138
|
-
* @see {@link MatterSpecification.
|
|
138
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.7
|
|
139
139
|
*/
|
|
140
140
|
CredentialOverTheAirAccess = "CredentialOverTheAirAccess",
|
|
141
141
|
|
|
@@ -146,7 +146,7 @@ export namespace DoorLock {
|
|
|
146
146
|
* to associate credentials and schedules to single user record within the lock. This also means the UserType
|
|
147
147
|
* and UserStatus fields are associated with a User and not a credential.
|
|
148
148
|
*
|
|
149
|
-
* @see {@link MatterSpecification.
|
|
149
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.8
|
|
150
150
|
*/
|
|
151
151
|
User = "User",
|
|
152
152
|
|
|
@@ -160,7 +160,7 @@ export namespace DoorLock {
|
|
|
160
160
|
*
|
|
161
161
|
* Support for YearDayAccessSchedules requires that the lock has the capability of keeping track of local time.
|
|
162
162
|
*
|
|
163
|
-
* @see {@link MatterSpecification.
|
|
163
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.9
|
|
164
164
|
*/
|
|
165
165
|
YearDayAccessSchedules = "YearDayAccessSchedules",
|
|
166
166
|
|
|
@@ -172,7 +172,7 @@ export namespace DoorLock {
|
|
|
172
172
|
*
|
|
173
173
|
* Support for HolidaySchedules requires that the lock has the capability of keeping track of local time.
|
|
174
174
|
*
|
|
175
|
-
* @see {@link MatterSpecification.
|
|
175
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.10
|
|
176
176
|
*/
|
|
177
177
|
HolidaySchedules = "HolidaySchedules",
|
|
178
178
|
|
|
@@ -185,7 +185,7 @@ export namespace DoorLock {
|
|
|
185
185
|
* without unbolting support don’t differentiate between unbolting and unlocking and perform the same operation
|
|
186
186
|
* for both commands.
|
|
187
187
|
*
|
|
188
|
-
* @see {@link MatterSpecification.
|
|
188
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.11
|
|
189
189
|
*/
|
|
190
190
|
Unbolting = "Unbolting",
|
|
191
191
|
|
|
@@ -195,7 +195,7 @@ export namespace DoorLock {
|
|
|
195
195
|
* Locks that support this feature implement the Aliro specification as defined in [Aliro] and support Matter as
|
|
196
196
|
* a method for provisioning Aliro credentials.
|
|
197
197
|
*
|
|
198
|
-
* @see {@link MatterSpecification.
|
|
198
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.12
|
|
199
199
|
*/
|
|
200
200
|
AliroProvisioning = "AliroProvisioning",
|
|
201
201
|
|
|
@@ -204,7 +204,7 @@ export namespace DoorLock {
|
|
|
204
204
|
*
|
|
205
205
|
* Locks that support this feature implement the Bluetooth LE + UWB Access Control Flow as defined in [Aliro].
|
|
206
206
|
*
|
|
207
|
-
* @see {@link MatterSpecification.
|
|
207
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.13
|
|
208
208
|
*/
|
|
209
209
|
AliroBleuwb = "AliroBleuwb"
|
|
210
210
|
}
|
|
@@ -212,7 +212,7 @@ export namespace DoorLock {
|
|
|
212
212
|
/**
|
|
213
213
|
* This enumeration shall indicate the current door state.
|
|
214
214
|
*
|
|
215
|
-
* @see {@link MatterSpecification.
|
|
215
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.11
|
|
216
216
|
*/
|
|
217
217
|
export enum DoorState {
|
|
218
218
|
/**
|
|
@@ -249,13 +249,13 @@ export namespace DoorLock {
|
|
|
249
249
|
/**
|
|
250
250
|
* Body of the DoorLock doorStateChange event
|
|
251
251
|
*
|
|
252
|
-
* @see {@link MatterSpecification.
|
|
252
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.2
|
|
253
253
|
*/
|
|
254
254
|
export const TlvDoorStateChangeEvent = TlvObject({
|
|
255
255
|
/**
|
|
256
256
|
* This field shall indicate the new door state for this door event.
|
|
257
257
|
*
|
|
258
|
-
* @see {@link MatterSpecification.
|
|
258
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.2.1
|
|
259
259
|
*/
|
|
260
260
|
doorState: TlvField(0, TlvEnum<DoorState>())
|
|
261
261
|
});
|
|
@@ -263,12 +263,12 @@ export namespace DoorLock {
|
|
|
263
263
|
/**
|
|
264
264
|
* Body of the DoorLock doorStateChange event
|
|
265
265
|
*
|
|
266
|
-
* @see {@link MatterSpecification.
|
|
266
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.2
|
|
267
267
|
*/
|
|
268
268
|
export interface DoorStateChangeEvent extends TypeFromSchema<typeof TlvDoorStateChangeEvent> {}
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
|
-
* @see {@link MatterSpecification.
|
|
271
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.2
|
|
272
272
|
*/
|
|
273
273
|
export const CredentialRules = {
|
|
274
274
|
/**
|
|
@@ -290,7 +290,7 @@ export namespace DoorLock {
|
|
|
290
290
|
/**
|
|
291
291
|
* This enumeration shall indicate the data operation performed.
|
|
292
292
|
*
|
|
293
|
-
* @see {@link MatterSpecification.
|
|
293
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.10
|
|
294
294
|
*/
|
|
295
295
|
export enum DataOperationType {
|
|
296
296
|
/**
|
|
@@ -312,7 +312,7 @@ export namespace DoorLock {
|
|
|
312
312
|
/**
|
|
313
313
|
* This enumeration shall indicate what the status is for a specific user ID.
|
|
314
314
|
*
|
|
315
|
-
* @see {@link MatterSpecification.
|
|
315
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.17
|
|
316
316
|
*/
|
|
317
317
|
export enum UserStatus {
|
|
318
318
|
/**
|
|
@@ -334,7 +334,7 @@ export namespace DoorLock {
|
|
|
334
334
|
/**
|
|
335
335
|
* This enumeration shall indicate what the type is for a specific user ID.
|
|
336
336
|
*
|
|
337
|
-
* @see {@link MatterSpecification.
|
|
337
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.18
|
|
338
338
|
*/
|
|
339
339
|
export enum UserType {
|
|
340
340
|
/**
|
|
@@ -342,7 +342,7 @@ export namespace DoorLock {
|
|
|
342
342
|
*
|
|
343
343
|
* This value shall indicate the user has access 24/7 provided proper PIN or RFID is supplied (e.g., owner).
|
|
344
344
|
*
|
|
345
|
-
* @see {@link MatterSpecification.
|
|
345
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.18.1
|
|
346
346
|
*/
|
|
347
347
|
UnrestrictedUser = 0,
|
|
348
348
|
|
|
@@ -359,7 +359,7 @@ export namespace DoorLock {
|
|
|
359
359
|
* falls within at least one of the YearDaySchedules. If current time is not known, user access shall NOT be
|
|
360
360
|
* granted.
|
|
361
361
|
*
|
|
362
|
-
* @see {@link MatterSpecification.
|
|
362
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.18.2
|
|
363
363
|
*/
|
|
364
364
|
YearDayScheduleUser = 1,
|
|
365
365
|
|
|
@@ -377,7 +377,7 @@ export namespace DoorLock {
|
|
|
377
377
|
* falls within at least one of the WeekDaySchedules. If current time is not known, user access shall NOT be
|
|
378
378
|
* granted.
|
|
379
379
|
*
|
|
380
|
-
* @see {@link MatterSpecification.
|
|
380
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.18.3
|
|
381
381
|
*/
|
|
382
382
|
WeekDayScheduleUser = 2,
|
|
383
383
|
|
|
@@ -388,7 +388,7 @@ export namespace DoorLock {
|
|
|
388
388
|
* manage the users and user schedules. In all other respects this user matches the unrestricted (default) user.
|
|
389
389
|
* ProgrammingUser is the only user that can disable the user interface (keypad, remote, etc…).
|
|
390
390
|
*
|
|
391
|
-
* @see {@link MatterSpecification.
|
|
391
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.18.4
|
|
392
392
|
*/
|
|
393
393
|
ProgrammingUser = 3,
|
|
394
394
|
|
|
@@ -398,7 +398,7 @@ export namespace DoorLock {
|
|
|
398
398
|
* This value shall indicate the user is recognized by the lock but does not have the ability to open the lock.
|
|
399
399
|
* This user will only cause the lock to generate the appropriate event notification to any bound devices.
|
|
400
400
|
*
|
|
401
|
-
* @see {@link MatterSpecification.
|
|
401
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.18.5
|
|
402
402
|
*/
|
|
403
403
|
NonAccessUser = 4,
|
|
404
404
|
|
|
@@ -409,7 +409,7 @@ export namespace DoorLock {
|
|
|
409
409
|
* ForcedUser silent alarm will be emitted to allow a notified Node to alert emergency services or contacts on
|
|
410
410
|
* the user account when used.
|
|
411
411
|
*
|
|
412
|
-
* @see {@link MatterSpecification.
|
|
412
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.18.6
|
|
413
413
|
*/
|
|
414
414
|
ForcedUser = 5,
|
|
415
415
|
|
|
@@ -419,7 +419,7 @@ export namespace DoorLock {
|
|
|
419
419
|
* This value shall indicate the user has the ability to open lock once after which the lock shall change the
|
|
420
420
|
* corresponding user record UserStatus value to OccupiedDisabled automatically.
|
|
421
421
|
*
|
|
422
|
-
* @see {@link MatterSpecification.
|
|
422
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.18.7
|
|
423
423
|
*/
|
|
424
424
|
DisposableUser = 6,
|
|
425
425
|
|
|
@@ -431,7 +431,7 @@ export namespace DoorLock {
|
|
|
431
431
|
* minutes the corresponding user record UserStatus value shall be set to OccupiedDisabled automatically by the
|
|
432
432
|
* lock. The lock shall persist the timeout across reboots such that the ExpiringUserTimeout is honored.
|
|
433
433
|
*
|
|
434
|
-
* @see {@link MatterSpecification.
|
|
434
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.18.8
|
|
435
435
|
*/
|
|
436
436
|
ExpiringUser = 7,
|
|
437
437
|
|
|
@@ -453,7 +453,7 @@ export namespace DoorLock {
|
|
|
453
453
|
* granted if and only if the current time falls within at least one of the WeekDaySchedules AND the current
|
|
454
454
|
* time falls within at least one of the YearDaySchedules.
|
|
455
455
|
*
|
|
456
|
-
* @see {@link MatterSpecification.
|
|
456
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.18.9
|
|
457
457
|
*/
|
|
458
458
|
ScheduleRestrictedUser = 8,
|
|
459
459
|
|
|
@@ -465,7 +465,7 @@ export namespace DoorLock {
|
|
|
465
465
|
* prevent a PIN code credential created for them from being used at the keypad. The PIN code credential would
|
|
466
466
|
* only be provided over-the-air for the lock/unlock commands.
|
|
467
467
|
*
|
|
468
|
-
* @see {@link MatterSpecification.
|
|
468
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.18.10
|
|
469
469
|
*/
|
|
470
470
|
RemoteOnlyUser = 9
|
|
471
471
|
}
|
|
@@ -473,7 +473,7 @@ export namespace DoorLock {
|
|
|
473
473
|
/**
|
|
474
474
|
* This enumeration shall indicate the credential rule that can be applied to a particular user.
|
|
475
475
|
*
|
|
476
|
-
* @see {@link MatterSpecification.
|
|
476
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.8
|
|
477
477
|
*/
|
|
478
478
|
export enum CredentialRule {
|
|
479
479
|
/**
|
|
@@ -495,20 +495,20 @@ export namespace DoorLock {
|
|
|
495
495
|
/**
|
|
496
496
|
* Input to the DoorLock setUser command
|
|
497
497
|
*
|
|
498
|
-
* @see {@link MatterSpecification.
|
|
498
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32
|
|
499
499
|
*/
|
|
500
500
|
export const TlvSetUserRequest = TlvObject({
|
|
501
501
|
/**
|
|
502
502
|
* This field shall indicate the type of operation.
|
|
503
503
|
*
|
|
504
|
-
* @see {@link MatterSpecification.
|
|
504
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.1
|
|
505
505
|
*/
|
|
506
506
|
operationType: TlvField(0, TlvEnum<DataOperationType>()),
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
509
|
* This field shall indicate the user ID.
|
|
510
510
|
*
|
|
511
|
-
* @see {@link MatterSpecification.
|
|
511
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.2
|
|
512
512
|
*/
|
|
513
513
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
514
514
|
|
|
@@ -523,7 +523,7 @@ export namespace DoorLock {
|
|
|
523
523
|
*
|
|
524
524
|
* If UserName is not null, the UserName in the user record shall be set to the provided value.
|
|
525
525
|
*
|
|
526
|
-
* @see {@link MatterSpecification.
|
|
526
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.3
|
|
527
527
|
*/
|
|
528
528
|
userName: TlvField(2, TlvNullable(TlvString.bound({ maxLength: 10 }))),
|
|
529
529
|
|
|
@@ -541,7 +541,7 @@ export namespace DoorLock {
|
|
|
541
541
|
*
|
|
542
542
|
* If UserUniqueID is not null, the UserUniqueID in the user record shall be set to the provided value.
|
|
543
543
|
*
|
|
544
|
-
* @see {@link MatterSpecification.
|
|
544
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.4
|
|
545
545
|
*/
|
|
546
546
|
userUniqueId: TlvField(3, TlvNullable(TlvUInt32)),
|
|
547
547
|
|
|
@@ -557,7 +557,7 @@ export namespace DoorLock {
|
|
|
557
557
|
*
|
|
558
558
|
* If UserStatus is not null, the UserStatus in the user record shall be set to the provided value.
|
|
559
559
|
*
|
|
560
|
-
* @see {@link MatterSpecification.
|
|
560
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.5
|
|
561
561
|
*/
|
|
562
562
|
userStatus: TlvField(4, TlvNullable(TlvEnum<UserStatus>())),
|
|
563
563
|
|
|
@@ -573,7 +573,7 @@ export namespace DoorLock {
|
|
|
573
573
|
*
|
|
574
574
|
* If UserType is not null, the UserType in the user record shall be set to the provided value.
|
|
575
575
|
*
|
|
576
|
-
* @see {@link MatterSpecification.
|
|
576
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.6
|
|
577
577
|
*/
|
|
578
578
|
userType: TlvField(5, TlvNullable(TlvEnum<UserType>())),
|
|
579
579
|
|
|
@@ -593,7 +593,7 @@ export namespace DoorLock {
|
|
|
593
593
|
*
|
|
594
594
|
* If CredentialRule is not null, the CredentialRule in the user record shall be set to the provided value.
|
|
595
595
|
*
|
|
596
|
-
* @see {@link MatterSpecification.
|
|
596
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.7
|
|
597
597
|
*/
|
|
598
598
|
credentialRule: TlvField(6, TlvNullable(TlvEnum<CredentialRule>()))
|
|
599
599
|
});
|
|
@@ -601,28 +601,28 @@ export namespace DoorLock {
|
|
|
601
601
|
/**
|
|
602
602
|
* Input to the DoorLock setUser command
|
|
603
603
|
*
|
|
604
|
-
* @see {@link MatterSpecification.
|
|
604
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32
|
|
605
605
|
*/
|
|
606
606
|
export interface SetUserRequest extends TypeFromSchema<typeof TlvSetUserRequest> {}
|
|
607
607
|
|
|
608
608
|
/**
|
|
609
609
|
* Input to the DoorLock getUser command
|
|
610
610
|
*
|
|
611
|
-
* @see {@link MatterSpecification.
|
|
611
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.33
|
|
612
612
|
*/
|
|
613
613
|
export const TlvGetUserRequest = TlvObject({ userIndex: TlvField(0, TlvUInt16.bound({ min: 1 })) });
|
|
614
614
|
|
|
615
615
|
/**
|
|
616
616
|
* Input to the DoorLock getUser command
|
|
617
617
|
*
|
|
618
|
-
* @see {@link MatterSpecification.
|
|
618
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.33
|
|
619
619
|
*/
|
|
620
620
|
export interface GetUserRequest extends TypeFromSchema<typeof TlvGetUserRequest> {}
|
|
621
621
|
|
|
622
622
|
/**
|
|
623
623
|
* This enumeration shall indicate the credential type.
|
|
624
624
|
*
|
|
625
|
-
* @see {@link MatterSpecification.
|
|
625
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.9
|
|
626
626
|
*/
|
|
627
627
|
export enum CredentialType {
|
|
628
628
|
/**
|
|
@@ -691,7 +691,7 @@ export namespace DoorLock {
|
|
|
691
691
|
* created, the credential associated with the changes in the LockOperation events shall be the
|
|
692
692
|
* AliroCredentialIssuerKey credential used for the step-up.
|
|
693
693
|
*
|
|
694
|
-
* @see {@link MatterSpecification.
|
|
694
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.9.1
|
|
695
695
|
*/
|
|
696
696
|
AliroCredentialIssuerKey = 6,
|
|
697
697
|
|
|
@@ -701,7 +701,7 @@ export namespace DoorLock {
|
|
|
701
701
|
* Credentials of this type shall be 65-byte uncompressed elliptic curve public keys as defined in section 2.3.3
|
|
702
702
|
* of SEC 1.
|
|
703
703
|
*
|
|
704
|
-
* @see {@link MatterSpecification.
|
|
704
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.9.2
|
|
705
705
|
*/
|
|
706
706
|
AliroEvictableEndpointKey = 7,
|
|
707
707
|
|
|
@@ -712,7 +712,7 @@ export namespace DoorLock {
|
|
|
712
712
|
* Credentials of this type shall be 65-byte uncompressed elliptic curve public keys as defined in section 2.3.3
|
|
713
713
|
* of SEC 1.
|
|
714
714
|
*
|
|
715
|
-
* @see {@link MatterSpecification.
|
|
715
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.9.3
|
|
716
716
|
*/
|
|
717
717
|
AliroNonEvictableEndpointKey = 8
|
|
718
718
|
}
|
|
@@ -721,13 +721,13 @@ export namespace DoorLock {
|
|
|
721
721
|
* This struct shall indicate the credential types and their corresponding indices (if any) for the event or user
|
|
722
722
|
* record.
|
|
723
723
|
*
|
|
724
|
-
* @see {@link MatterSpecification.
|
|
724
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.24
|
|
725
725
|
*/
|
|
726
726
|
export const TlvCredential = TlvObject({
|
|
727
727
|
/**
|
|
728
728
|
* This field shall indicate the credential field used to authorize the lock operation.
|
|
729
729
|
*
|
|
730
|
-
* @see {@link MatterSpecification.
|
|
730
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.24.1
|
|
731
731
|
*/
|
|
732
732
|
credentialType: TlvField(0, TlvEnum<CredentialType>()),
|
|
733
733
|
|
|
@@ -736,7 +736,7 @@ export namespace DoorLock {
|
|
|
736
736
|
* list of credentials identified by CredentialType (e.g. PIN, RFID, etc.). This field shall be set to 0 if
|
|
737
737
|
* CredentialType is ProgrammingPIN or does not correspond to a list that can be indexed into.
|
|
738
738
|
*
|
|
739
|
-
* @see {@link MatterSpecification.
|
|
739
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.24.2
|
|
740
740
|
*/
|
|
741
741
|
credentialIndex: TlvField(1, TlvUInt16)
|
|
742
742
|
});
|
|
@@ -745,7 +745,7 @@ export namespace DoorLock {
|
|
|
745
745
|
* This struct shall indicate the credential types and their corresponding indices (if any) for the event or user
|
|
746
746
|
* record.
|
|
747
747
|
*
|
|
748
|
-
* @see {@link MatterSpecification.
|
|
748
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.24
|
|
749
749
|
*/
|
|
750
750
|
export interface Credential extends TypeFromSchema<typeof TlvCredential> {}
|
|
751
751
|
|
|
@@ -756,55 +756,55 @@ export namespace DoorLock {
|
|
|
756
756
|
* UserUniqueID, UserStatus, UserType, CredentialRule, Credentials, CreatorFabricIndex, and LastModifiedFabricIndex
|
|
757
757
|
* shall all be null in the response.
|
|
758
758
|
*
|
|
759
|
-
* @see {@link MatterSpecification.
|
|
759
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34
|
|
760
760
|
*/
|
|
761
761
|
export const TlvGetUserResponse = TlvObject({
|
|
762
762
|
/**
|
|
763
763
|
* This field shall indicate the user ID.
|
|
764
764
|
*
|
|
765
|
-
* @see {@link MatterSpecification.
|
|
765
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.1
|
|
766
766
|
*/
|
|
767
767
|
userIndex: TlvField(0, TlvUInt16.bound({ min: 1 })),
|
|
768
768
|
|
|
769
769
|
/**
|
|
770
770
|
* This field shall contain a string to use as a human readable identifier for the user.
|
|
771
771
|
*
|
|
772
|
-
* @see {@link MatterSpecification.
|
|
772
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.2
|
|
773
773
|
*/
|
|
774
774
|
userName: TlvField(1, TlvNullable(TlvString.bound({ maxLength: 10 }))),
|
|
775
775
|
|
|
776
776
|
/**
|
|
777
777
|
* See UserUniqueID.
|
|
778
778
|
*
|
|
779
|
-
* @see {@link MatterSpecification.
|
|
779
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.3
|
|
780
780
|
*/
|
|
781
781
|
userUniqueId: TlvField(2, TlvNullable(TlvUInt32)),
|
|
782
782
|
|
|
783
783
|
/**
|
|
784
784
|
* This field shall indicate the UserStatus assigned to the user when created or modified.
|
|
785
785
|
*
|
|
786
|
-
* @see {@link MatterSpecification.
|
|
786
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.4
|
|
787
787
|
*/
|
|
788
788
|
userStatus: TlvField(3, TlvNullable(TlvEnum<UserStatus>())),
|
|
789
789
|
|
|
790
790
|
/**
|
|
791
791
|
* This field shall indicate the UserType assigned to this user when created or modified.
|
|
792
792
|
*
|
|
793
|
-
* @see {@link MatterSpecification.
|
|
793
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.5
|
|
794
794
|
*/
|
|
795
795
|
userType: TlvField(4, TlvNullable(TlvEnum<UserType>())),
|
|
796
796
|
|
|
797
797
|
/**
|
|
798
798
|
* This field shall indicate the CredentialRule set for this user.
|
|
799
799
|
*
|
|
800
|
-
* @see {@link MatterSpecification.
|
|
800
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.6
|
|
801
801
|
*/
|
|
802
802
|
credentialRule: TlvField(5, TlvNullable(TlvEnum<CredentialRule>())),
|
|
803
803
|
|
|
804
804
|
/**
|
|
805
805
|
* This field shall contain a list of credentials for this user.
|
|
806
806
|
*
|
|
807
|
-
* @see {@link MatterSpecification.
|
|
807
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.7
|
|
808
808
|
*/
|
|
809
809
|
credentials: TlvField(6, TlvNullable(TlvArray(TlvCredential, { minLength: 0 }))),
|
|
810
810
|
|
|
@@ -814,7 +814,7 @@ export namespace DoorLock {
|
|
|
814
814
|
* the Interaction Model) and shall NOT be null otherwise. This value shall be set to 0 if the original creator
|
|
815
815
|
* fabric was deleted.
|
|
816
816
|
*
|
|
817
|
-
* @see {@link MatterSpecification.
|
|
817
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.8
|
|
818
818
|
*/
|
|
819
819
|
creatorFabricIndex: TlvField(7, TlvNullable(TlvFabricIndex)),
|
|
820
820
|
|
|
@@ -824,7 +824,7 @@ export namespace DoorLock {
|
|
|
824
824
|
* modified outside the Interaction Model) and shall NOT be null otherwise. This value shall be set to 0 if the
|
|
825
825
|
* last modifier fabric was deleted.
|
|
826
826
|
*
|
|
827
|
-
* @see {@link MatterSpecification.
|
|
827
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.9
|
|
828
828
|
*/
|
|
829
829
|
lastModifiedFabricIndex: TlvField(8, TlvNullable(TlvFabricIndex)),
|
|
830
830
|
|
|
@@ -833,7 +833,7 @@ export namespace DoorLock {
|
|
|
833
833
|
* occupied user slots in the database. This shall NOT be null if there is at least one occupied entry after the
|
|
834
834
|
* requested UserIndex in the User database and shall be null if there are no more occupied entries.
|
|
835
835
|
*
|
|
836
|
-
* @see {@link MatterSpecification.
|
|
836
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.10
|
|
837
837
|
*/
|
|
838
838
|
nextUserIndex: TlvField(9, TlvNullable(TlvUInt16.bound({ min: 1 })))
|
|
839
839
|
});
|
|
@@ -845,20 +845,20 @@ export namespace DoorLock {
|
|
|
845
845
|
* UserUniqueID, UserStatus, UserType, CredentialRule, Credentials, CreatorFabricIndex, and LastModifiedFabricIndex
|
|
846
846
|
* shall all be null in the response.
|
|
847
847
|
*
|
|
848
|
-
* @see {@link MatterSpecification.
|
|
848
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34
|
|
849
849
|
*/
|
|
850
850
|
export interface GetUserResponse extends TypeFromSchema<typeof TlvGetUserResponse> {}
|
|
851
851
|
|
|
852
852
|
/**
|
|
853
853
|
* Input to the DoorLock clearUser command
|
|
854
854
|
*
|
|
855
|
-
* @see {@link MatterSpecification.
|
|
855
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.35
|
|
856
856
|
*/
|
|
857
857
|
export const TlvClearUserRequest = TlvObject({
|
|
858
858
|
/**
|
|
859
859
|
* This field shall specify a valid User index or 0xFFFE to indicate all user slots shall be cleared.
|
|
860
860
|
*
|
|
861
|
-
* @see {@link MatterSpecification.
|
|
861
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.35.1
|
|
862
862
|
*/
|
|
863
863
|
userIndex: TlvField(0, TlvUInt16)
|
|
864
864
|
});
|
|
@@ -866,20 +866,20 @@ export namespace DoorLock {
|
|
|
866
866
|
/**
|
|
867
867
|
* Input to the DoorLock clearUser command
|
|
868
868
|
*
|
|
869
|
-
* @see {@link MatterSpecification.
|
|
869
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.35
|
|
870
870
|
*/
|
|
871
871
|
export interface ClearUserRequest extends TypeFromSchema<typeof TlvClearUserRequest> {}
|
|
872
872
|
|
|
873
873
|
/**
|
|
874
874
|
* Input to the DoorLock setCredential command
|
|
875
875
|
*
|
|
876
|
-
* @see {@link MatterSpecification.
|
|
876
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36
|
|
877
877
|
*/
|
|
878
878
|
export const TlvSetCredentialRequest = TlvObject({
|
|
879
879
|
/**
|
|
880
880
|
* This field shall indicate the set credential operation type requested.
|
|
881
881
|
*
|
|
882
|
-
* @see {@link MatterSpecification.
|
|
882
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36.1
|
|
883
883
|
*/
|
|
884
884
|
operationType: TlvField(0, TlvEnum<DataOperationType>()),
|
|
885
885
|
|
|
@@ -887,7 +887,7 @@ export namespace DoorLock {
|
|
|
887
887
|
* This field shall contain a credential structure that contains the CredentialTypeEnum and the credential index
|
|
888
888
|
* (if applicable or 0 if not) to set.
|
|
889
889
|
*
|
|
890
|
-
* @see {@link MatterSpecification.
|
|
890
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36.2
|
|
891
891
|
*/
|
|
892
892
|
credential: TlvField(1, TlvCredential),
|
|
893
893
|
|
|
@@ -896,7 +896,7 @@ export namespace DoorLock {
|
|
|
896
896
|
* of the credential data shall conform to the limits of the CredentialType specified in the Credential
|
|
897
897
|
* structure otherwise an INVALID_COMMAND status shall be returned in the SetCredentialResponse command.
|
|
898
898
|
*
|
|
899
|
-
* @see {@link MatterSpecification.
|
|
899
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36.3
|
|
900
900
|
*/
|
|
901
901
|
credentialData: TlvField(2, TlvByteString),
|
|
902
902
|
|
|
@@ -905,7 +905,7 @@ export namespace DoorLock {
|
|
|
905
905
|
* modified. This shall be null if OperationType is add and a new credential and user is being added at the same
|
|
906
906
|
* time.
|
|
907
907
|
*
|
|
908
|
-
* @see {@link MatterSpecification.
|
|
908
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36.4
|
|
909
909
|
*/
|
|
910
910
|
userIndex: TlvField(3, TlvNullable(TlvUInt16.bound({ min: 1 }))),
|
|
911
911
|
|
|
@@ -913,7 +913,7 @@ export namespace DoorLock {
|
|
|
913
913
|
* This field shall indicate the user status to use in the new user record if a new user is being created. This
|
|
914
914
|
* shall be null if OperationType is Modify. This may be null when adding a new credential and user.
|
|
915
915
|
*
|
|
916
|
-
* @see {@link MatterSpecification.
|
|
916
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36.5
|
|
917
917
|
*/
|
|
918
918
|
userStatus: TlvField(4, TlvNullable(TlvEnum<UserStatus>())),
|
|
919
919
|
|
|
@@ -921,7 +921,7 @@ export namespace DoorLock {
|
|
|
921
921
|
* This field shall indicate the user type to use in the new user record if a new user is being created. This
|
|
922
922
|
* shall be null if OperationType is Modify. This may be null when adding a new credential and user.
|
|
923
923
|
*
|
|
924
|
-
* @see {@link MatterSpecification.
|
|
924
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36.6
|
|
925
925
|
*/
|
|
926
926
|
userType: TlvField(5, TlvNullable(TlvEnum<UserType>()))
|
|
927
927
|
});
|
|
@@ -929,14 +929,14 @@ export namespace DoorLock {
|
|
|
929
929
|
/**
|
|
930
930
|
* Input to the DoorLock setCredential command
|
|
931
931
|
*
|
|
932
|
-
* @see {@link MatterSpecification.
|
|
932
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36
|
|
933
933
|
*/
|
|
934
934
|
export interface SetCredentialRequest extends TypeFromSchema<typeof TlvSetCredentialRequest> {}
|
|
935
935
|
|
|
936
936
|
/**
|
|
937
937
|
* Returns the status for setting the specified credential.
|
|
938
938
|
*
|
|
939
|
-
* @see {@link MatterSpecification.
|
|
939
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.37
|
|
940
940
|
*/
|
|
941
941
|
export const TlvSetCredentialResponse = TlvObject({
|
|
942
942
|
/**
|
|
@@ -971,7 +971,7 @@ export namespace DoorLock {
|
|
|
971
971
|
*
|
|
972
972
|
* • INVALID_COMMAND, if OperationType is Modify and UserIndex points to an available slot.
|
|
973
973
|
*
|
|
974
|
-
* @see {@link MatterSpecification.
|
|
974
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.37.1
|
|
975
975
|
*/
|
|
976
976
|
status: TlvField(0, TlvEnum<Status>()),
|
|
977
977
|
|
|
@@ -982,7 +982,7 @@ export namespace DoorLock {
|
|
|
982
982
|
* created. If the OperationType was Add and an existing User was associated with the new credential then this
|
|
983
983
|
* shall be null.
|
|
984
984
|
*
|
|
985
|
-
* @see {@link MatterSpecification.
|
|
985
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.37.2
|
|
986
986
|
*/
|
|
987
987
|
userIndex: TlvField(1, TlvNullable(TlvUInt16.bound({ min: 1 }))),
|
|
988
988
|
|
|
@@ -993,7 +993,7 @@ export namespace DoorLock {
|
|
|
993
993
|
* null if there are no more available entries. The NextCredentialIndex reported shall NOT exceed the maximum
|
|
994
994
|
* number of credentials for a particular credential type.
|
|
995
995
|
*
|
|
996
|
-
* @see {@link MatterSpecification.
|
|
996
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.37.3
|
|
997
997
|
*/
|
|
998
998
|
nextCredentialIndex: TlvOptionalField(2, TlvNullable(TlvUInt16))
|
|
999
999
|
});
|
|
@@ -1001,21 +1001,21 @@ export namespace DoorLock {
|
|
|
1001
1001
|
/**
|
|
1002
1002
|
* Returns the status for setting the specified credential.
|
|
1003
1003
|
*
|
|
1004
|
-
* @see {@link MatterSpecification.
|
|
1004
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.37
|
|
1005
1005
|
*/
|
|
1006
1006
|
export interface SetCredentialResponse extends TypeFromSchema<typeof TlvSetCredentialResponse> {}
|
|
1007
1007
|
|
|
1008
1008
|
/**
|
|
1009
1009
|
* Input to the DoorLock getCredentialStatus command
|
|
1010
1010
|
*
|
|
1011
|
-
* @see {@link MatterSpecification.
|
|
1011
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.38
|
|
1012
1012
|
*/
|
|
1013
1013
|
export const TlvGetCredentialStatusRequest = TlvObject({
|
|
1014
1014
|
/**
|
|
1015
1015
|
* This field shall contain a credential structure that contains the CredentialTypeEnum and the credential index
|
|
1016
1016
|
* (if applicable or 0 if not) to retrieve the status for.
|
|
1017
1017
|
*
|
|
1018
|
-
* @see {@link MatterSpecification.
|
|
1018
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.38.1
|
|
1019
1019
|
*/
|
|
1020
1020
|
credential: TlvField(0, TlvCredential)
|
|
1021
1021
|
});
|
|
@@ -1023,21 +1023,21 @@ export namespace DoorLock {
|
|
|
1023
1023
|
/**
|
|
1024
1024
|
* Input to the DoorLock getCredentialStatus command
|
|
1025
1025
|
*
|
|
1026
|
-
* @see {@link MatterSpecification.
|
|
1026
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.38
|
|
1027
1027
|
*/
|
|
1028
1028
|
export interface GetCredentialStatusRequest extends TypeFromSchema<typeof TlvGetCredentialStatusRequest> {}
|
|
1029
1029
|
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Returns the status for the specified credential.
|
|
1032
1032
|
*
|
|
1033
|
-
* @see {@link MatterSpecification.
|
|
1033
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39
|
|
1034
1034
|
*/
|
|
1035
1035
|
export const TlvGetCredentialStatusResponse = TlvObject({
|
|
1036
1036
|
/**
|
|
1037
1037
|
* This field shall indicate if the requested credential type and index exists and is populated for the
|
|
1038
1038
|
* requested user index.
|
|
1039
1039
|
*
|
|
1040
|
-
* @see {@link MatterSpecification.
|
|
1040
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39.1
|
|
1041
1041
|
*/
|
|
1042
1042
|
credentialExists: TlvField(0, TlvBoolean),
|
|
1043
1043
|
|
|
@@ -1046,7 +1046,7 @@ export namespace DoorLock {
|
|
|
1046
1046
|
* CredentialType requested was ProgrammingPIN then UserIndex shall be null; otherwise, UserIndex shall be null
|
|
1047
1047
|
* if CredentialExists is set to False and shall NOT be null if CredentialExists is set to True.
|
|
1048
1048
|
*
|
|
1049
|
-
* @see {@link MatterSpecification.
|
|
1049
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39.2
|
|
1050
1050
|
*/
|
|
1051
1051
|
userIndex: TlvField(1, TlvNullable(TlvUInt16.bound({ min: 1 }))),
|
|
1052
1052
|
|
|
@@ -1056,7 +1056,7 @@ export namespace DoorLock {
|
|
|
1056
1056
|
* credential was created outside the Interaction Model) and shall NOT be null otherwise. This value shall be
|
|
1057
1057
|
* set to 0 if the original creator fabric was deleted.
|
|
1058
1058
|
*
|
|
1059
|
-
* @see {@link MatterSpecification.
|
|
1059
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39.3
|
|
1060
1060
|
*/
|
|
1061
1061
|
creatorFabricIndex: TlvField(2, TlvNullable(TlvFabricIndex)),
|
|
1062
1062
|
|
|
@@ -1066,7 +1066,7 @@ export namespace DoorLock {
|
|
|
1066
1066
|
* credential was modified outside the Interaction Model) and shall NOT be null otherwise. This value shall be
|
|
1067
1067
|
* set to 0 if the last modifier fabric was deleted.
|
|
1068
1068
|
*
|
|
1069
|
-
* @see {@link MatterSpecification.
|
|
1069
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39.4
|
|
1070
1070
|
*/
|
|
1071
1071
|
lastModifiedFabricIndex: TlvField(3, TlvNullable(TlvFabricIndex)),
|
|
1072
1072
|
|
|
@@ -1077,7 +1077,7 @@ export namespace DoorLock {
|
|
|
1077
1077
|
* null if there are no more occupied entries. The NextCredentialIndex reported shall NOT exceed the maximum
|
|
1078
1078
|
* number of credentials for a particular credential type.
|
|
1079
1079
|
*
|
|
1080
|
-
* @see {@link MatterSpecification.
|
|
1080
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39.5
|
|
1081
1081
|
*/
|
|
1082
1082
|
nextCredentialIndex: TlvOptionalField(4, TlvNullable(TlvUInt16)),
|
|
1083
1083
|
|
|
@@ -1097,7 +1097,7 @@ export namespace DoorLock {
|
|
|
1097
1097
|
* > Since the Aliro credentials are public keys, there is no security risk in allowing them to be read.
|
|
1098
1098
|
* Possession of the credential octet string does not allow operating the lock.
|
|
1099
1099
|
*
|
|
1100
|
-
* @see {@link MatterSpecification.
|
|
1100
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39.6
|
|
1101
1101
|
*/
|
|
1102
1102
|
credentialData: TlvOptionalField(5, TlvNullable(TlvByteString))
|
|
1103
1103
|
});
|
|
@@ -1105,14 +1105,14 @@ export namespace DoorLock {
|
|
|
1105
1105
|
/**
|
|
1106
1106
|
* Returns the status for the specified credential.
|
|
1107
1107
|
*
|
|
1108
|
-
* @see {@link MatterSpecification.
|
|
1108
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39
|
|
1109
1109
|
*/
|
|
1110
1110
|
export interface GetCredentialStatusResponse extends TypeFromSchema<typeof TlvGetCredentialStatusResponse> {}
|
|
1111
1111
|
|
|
1112
1112
|
/**
|
|
1113
1113
|
* Input to the DoorLock clearCredential command
|
|
1114
1114
|
*
|
|
1115
|
-
* @see {@link MatterSpecification.
|
|
1115
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.40
|
|
1116
1116
|
*/
|
|
1117
1117
|
export const TlvClearCredentialRequest = TlvObject({
|
|
1118
1118
|
/**
|
|
@@ -1120,7 +1120,7 @@ export namespace DoorLock {
|
|
|
1120
1120
|
* (0xFFFE for all credentials or 0 if not applicable) to clear. This shall be null if clearing all credential
|
|
1121
1121
|
* types otherwise it shall NOT be null.
|
|
1122
1122
|
*
|
|
1123
|
-
* @see {@link MatterSpecification.
|
|
1123
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.40.1
|
|
1124
1124
|
*/
|
|
1125
1125
|
credential: TlvField(0, TlvNullable(TlvCredential))
|
|
1126
1126
|
});
|
|
@@ -1128,14 +1128,14 @@ export namespace DoorLock {
|
|
|
1128
1128
|
/**
|
|
1129
1129
|
* Input to the DoorLock clearCredential command
|
|
1130
1130
|
*
|
|
1131
|
-
* @see {@link MatterSpecification.
|
|
1131
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.40
|
|
1132
1132
|
*/
|
|
1133
1133
|
export interface ClearCredentialRequest extends TypeFromSchema<typeof TlvClearCredentialRequest> {}
|
|
1134
1134
|
|
|
1135
1135
|
/**
|
|
1136
1136
|
* This enumeration shall indicate the data type that is being or has changed.
|
|
1137
1137
|
*
|
|
1138
|
-
* @see {@link MatterSpecification.
|
|
1138
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.12
|
|
1139
1139
|
*/
|
|
1140
1140
|
export enum LockDataType {
|
|
1141
1141
|
/**
|
|
@@ -1212,7 +1212,7 @@ export namespace DoorLock {
|
|
|
1212
1212
|
/**
|
|
1213
1213
|
* This enumeration shall indicate the source of the Lock/Unlock or user change operation performed.
|
|
1214
1214
|
*
|
|
1215
|
-
* @see {@link MatterSpecification.
|
|
1215
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.16
|
|
1216
1216
|
*/
|
|
1217
1217
|
export enum OperationSource {
|
|
1218
1218
|
/**
|
|
@@ -1275,27 +1275,27 @@ export namespace DoorLock {
|
|
|
1275
1275
|
/**
|
|
1276
1276
|
* Body of the DoorLock lockUserChange event
|
|
1277
1277
|
*
|
|
1278
|
-
* @see {@link MatterSpecification.
|
|
1278
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5
|
|
1279
1279
|
*/
|
|
1280
1280
|
export const TlvLockUserChangeEvent = TlvObject({
|
|
1281
1281
|
/**
|
|
1282
1282
|
* This field shall indicate the lock data type that was changed.
|
|
1283
1283
|
*
|
|
1284
|
-
* @see {@link MatterSpecification.
|
|
1284
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.1
|
|
1285
1285
|
*/
|
|
1286
1286
|
lockDataType: TlvField(0, TlvEnum<LockDataType>()),
|
|
1287
1287
|
|
|
1288
1288
|
/**
|
|
1289
1289
|
* This field shall indicate the data operation performed on the lock data type changed.
|
|
1290
1290
|
*
|
|
1291
|
-
* @see {@link MatterSpecification.
|
|
1291
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.2
|
|
1292
1292
|
*/
|
|
1293
1293
|
dataOperationType: TlvField(1, TlvEnum<DataOperationType>()),
|
|
1294
1294
|
|
|
1295
1295
|
/**
|
|
1296
1296
|
* This field shall indicate the source of the user data change.
|
|
1297
1297
|
*
|
|
1298
|
-
* @see {@link MatterSpecification.
|
|
1298
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.3
|
|
1299
1299
|
*/
|
|
1300
1300
|
operationSource: TlvField(2, TlvEnum<OperationSource>()),
|
|
1301
1301
|
|
|
@@ -1304,7 +1304,7 @@ export namespace DoorLock {
|
|
|
1304
1304
|
* is no specific user associated with the data operation. This shall be 0xFFFE if all users are affected (e.g.
|
|
1305
1305
|
* Clear Users).
|
|
1306
1306
|
*
|
|
1307
|
-
* @see {@link MatterSpecification.
|
|
1307
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.4
|
|
1308
1308
|
*/
|
|
1309
1309
|
userIndex: TlvField(3, TlvNullable(TlvUInt16)),
|
|
1310
1310
|
|
|
@@ -1313,7 +1313,7 @@ export namespace DoorLock {
|
|
|
1313
1313
|
* null if there is no fabric that can be determined to have caused the change. This shall NOT be null if the
|
|
1314
1314
|
* operation source is "Remote".
|
|
1315
1315
|
*
|
|
1316
|
-
* @see {@link MatterSpecification.
|
|
1316
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.5
|
|
1317
1317
|
*/
|
|
1318
1318
|
fabricIndex: TlvField(4, TlvNullable(TlvFabricIndex)),
|
|
1319
1319
|
|
|
@@ -1322,7 +1322,7 @@ export namespace DoorLock {
|
|
|
1322
1322
|
* performed the change. This shall be null if there was no Node involved in the change. This shall NOT be null
|
|
1323
1323
|
* if the operation source is "Remote".
|
|
1324
1324
|
*
|
|
1325
|
-
* @see {@link MatterSpecification.
|
|
1325
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.6
|
|
1326
1326
|
*/
|
|
1327
1327
|
sourceNode: TlvField(5, TlvNullable(TlvNodeId)),
|
|
1328
1328
|
|
|
@@ -1332,7 +1332,7 @@ export namespace DoorLock {
|
|
|
1332
1332
|
* list that can be indexed into (e.g. ProgrammingUser). This shall be 0xFFFE if all indices are affected (e.g.
|
|
1333
1333
|
* ClearPINCode, ClearRFIDCode, ClearWeekDaySchedule, ClearYearDaySchedule, etc.).
|
|
1334
1334
|
*
|
|
1335
|
-
* @see {@link MatterSpecification.
|
|
1335
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.7
|
|
1336
1336
|
*/
|
|
1337
1337
|
dataIndex: TlvField(6, TlvNullable(TlvUInt16))
|
|
1338
1338
|
});
|
|
@@ -1340,14 +1340,14 @@ export namespace DoorLock {
|
|
|
1340
1340
|
/**
|
|
1341
1341
|
* Body of the DoorLock lockUserChange event
|
|
1342
1342
|
*
|
|
1343
|
-
* @see {@link MatterSpecification.
|
|
1343
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5
|
|
1344
1344
|
*/
|
|
1345
1345
|
export interface LockUserChangeEvent extends TypeFromSchema<typeof TlvLockUserChangeEvent> {}
|
|
1346
1346
|
|
|
1347
1347
|
/**
|
|
1348
1348
|
* This bitmap shall indicate the days of the week the Week Day schedule applies for.
|
|
1349
1349
|
*
|
|
1350
|
-
* @see {@link MatterSpecification.
|
|
1350
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.1
|
|
1351
1351
|
*/
|
|
1352
1352
|
export const DaysMask = {
|
|
1353
1353
|
/**
|
|
@@ -1389,41 +1389,41 @@ export namespace DoorLock {
|
|
|
1389
1389
|
/**
|
|
1390
1390
|
* Input to the DoorLock setWeekDaySchedule command
|
|
1391
1391
|
*
|
|
1392
|
-
* @see {@link MatterSpecification.
|
|
1392
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12
|
|
1393
1393
|
*/
|
|
1394
1394
|
export const TlvSetWeekDayScheduleRequest = TlvObject({
|
|
1395
1395
|
/**
|
|
1396
1396
|
* This field shall indicate the index of the Week Day schedule.
|
|
1397
1397
|
*
|
|
1398
|
-
* @see {@link MatterSpecification.
|
|
1398
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.1
|
|
1399
1399
|
*/
|
|
1400
1400
|
weekDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
1401
1401
|
|
|
1402
1402
|
/**
|
|
1403
1403
|
* This field shall indicate the user ID.
|
|
1404
1404
|
*
|
|
1405
|
-
* @see {@link MatterSpecification.
|
|
1405
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.2
|
|
1406
1406
|
*/
|
|
1407
1407
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
1408
1408
|
|
|
1409
1409
|
/**
|
|
1410
1410
|
* This field shall indicate which week days the schedule is active.
|
|
1411
1411
|
*
|
|
1412
|
-
* @see {@link MatterSpecification.
|
|
1412
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.3
|
|
1413
1413
|
*/
|
|
1414
1414
|
daysMask: TlvField(2, TlvBitmap(TlvUInt8, DaysMask)),
|
|
1415
1415
|
|
|
1416
1416
|
/**
|
|
1417
1417
|
* This field shall indicate the starting hour for the Week Day schedule.
|
|
1418
1418
|
*
|
|
1419
|
-
* @see {@link MatterSpecification.
|
|
1419
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.4
|
|
1420
1420
|
*/
|
|
1421
1421
|
startHour: TlvField(3, TlvUInt8.bound({ max: 23 })),
|
|
1422
1422
|
|
|
1423
1423
|
/**
|
|
1424
1424
|
* This field shall indicate the starting minute for the Week Day schedule.
|
|
1425
1425
|
*
|
|
1426
|
-
* @see {@link MatterSpecification.
|
|
1426
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.5
|
|
1427
1427
|
*/
|
|
1428
1428
|
startMinute: TlvField(4, TlvUInt8.bound({ max: 59 })),
|
|
1429
1429
|
|
|
@@ -1431,7 +1431,7 @@ export namespace DoorLock {
|
|
|
1431
1431
|
* This field shall indicate the ending hour for the Week Day schedule. EndHour shall be equal to or greater
|
|
1432
1432
|
* than StartHour.
|
|
1433
1433
|
*
|
|
1434
|
-
* @see {@link MatterSpecification.
|
|
1434
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.6
|
|
1435
1435
|
*/
|
|
1436
1436
|
endHour: TlvField(5, TlvUInt8.bound({ max: 23 })),
|
|
1437
1437
|
|
|
@@ -1442,7 +1442,7 @@ export namespace DoorLock {
|
|
|
1442
1442
|
* If the EndHour is equal to 23 and the EndMinute is equal to 59 the Lock shall grant access to the user up
|
|
1443
1443
|
* until 23:59:59.
|
|
1444
1444
|
*
|
|
1445
|
-
* @see {@link MatterSpecification.
|
|
1445
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.7
|
|
1446
1446
|
*/
|
|
1447
1447
|
endMinute: TlvField(6, TlvUInt8.bound({ max: 59 }))
|
|
1448
1448
|
});
|
|
@@ -1450,14 +1450,14 @@ export namespace DoorLock {
|
|
|
1450
1450
|
/**
|
|
1451
1451
|
* Input to the DoorLock setWeekDaySchedule command
|
|
1452
1452
|
*
|
|
1453
|
-
* @see {@link MatterSpecification.
|
|
1453
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12
|
|
1454
1454
|
*/
|
|
1455
1455
|
export interface SetWeekDayScheduleRequest extends TypeFromSchema<typeof TlvSetWeekDayScheduleRequest> {}
|
|
1456
1456
|
|
|
1457
1457
|
/**
|
|
1458
1458
|
* Input to the DoorLock getWeekDaySchedule command
|
|
1459
1459
|
*
|
|
1460
|
-
* @see {@link MatterSpecification.
|
|
1460
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.13
|
|
1461
1461
|
*/
|
|
1462
1462
|
export const TlvGetWeekDayScheduleRequest = TlvObject({
|
|
1463
1463
|
weekDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
@@ -1467,27 +1467,27 @@ export namespace DoorLock {
|
|
|
1467
1467
|
/**
|
|
1468
1468
|
* Input to the DoorLock getWeekDaySchedule command
|
|
1469
1469
|
*
|
|
1470
|
-
* @see {@link MatterSpecification.
|
|
1470
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.13
|
|
1471
1471
|
*/
|
|
1472
1472
|
export interface GetWeekDayScheduleRequest extends TypeFromSchema<typeof TlvGetWeekDayScheduleRequest> {}
|
|
1473
1473
|
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Returns the weekly repeating schedule data for the specified schedule index.
|
|
1476
1476
|
*
|
|
1477
|
-
* @see {@link MatterSpecification.
|
|
1477
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14
|
|
1478
1478
|
*/
|
|
1479
1479
|
export const TlvGetWeekDayScheduleResponse = TlvObject({
|
|
1480
1480
|
/**
|
|
1481
1481
|
* This field shall indicate the index of the Week Day schedule.
|
|
1482
1482
|
*
|
|
1483
|
-
* @see {@link MatterSpecification.
|
|
1483
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.1
|
|
1484
1484
|
*/
|
|
1485
1485
|
weekDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
1486
1486
|
|
|
1487
1487
|
/**
|
|
1488
1488
|
* This field shall indicate the user ID.
|
|
1489
1489
|
*
|
|
1490
|
-
* @see {@link MatterSpecification.
|
|
1490
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.2
|
|
1491
1491
|
*/
|
|
1492
1492
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
1493
1493
|
|
|
@@ -1505,7 +1505,7 @@ export namespace DoorLock {
|
|
|
1505
1505
|
* If this field is SUCCESS, the optional fields for this command shall be present. For other (error) status
|
|
1506
1506
|
* values, only the fields up to the status field shall be present.
|
|
1507
1507
|
*
|
|
1508
|
-
* @see {@link MatterSpecification.
|
|
1508
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.3
|
|
1509
1509
|
*/
|
|
1510
1510
|
status: TlvField(2, TlvEnum<Status>()),
|
|
1511
1511
|
|
|
@@ -1514,14 +1514,14 @@ export namespace DoorLock {
|
|
|
1514
1514
|
/**
|
|
1515
1515
|
* This field shall indicate the starting hour for the Week Day schedule.
|
|
1516
1516
|
*
|
|
1517
|
-
* @see {@link MatterSpecification.
|
|
1517
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.4
|
|
1518
1518
|
*/
|
|
1519
1519
|
startHour: TlvOptionalField(4, TlvUInt8.bound({ max: 23 })),
|
|
1520
1520
|
|
|
1521
1521
|
/**
|
|
1522
1522
|
* This field shall indicate the starting minute for the Week Day schedule.
|
|
1523
1523
|
*
|
|
1524
|
-
* @see {@link MatterSpecification.
|
|
1524
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.5
|
|
1525
1525
|
*/
|
|
1526
1526
|
startMinute: TlvOptionalField(5, TlvUInt8.bound({ max: 59 })),
|
|
1527
1527
|
|
|
@@ -1529,7 +1529,7 @@ export namespace DoorLock {
|
|
|
1529
1529
|
* This field shall indicate the ending hour for the Week Day schedule. EndHour shall be equal to or greater
|
|
1530
1530
|
* than StartHour.
|
|
1531
1531
|
*
|
|
1532
|
-
* @see {@link MatterSpecification.
|
|
1532
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.6
|
|
1533
1533
|
*/
|
|
1534
1534
|
endHour: TlvOptionalField(6, TlvUInt8.bound({ max: 23 })),
|
|
1535
1535
|
|
|
@@ -1537,7 +1537,7 @@ export namespace DoorLock {
|
|
|
1537
1537
|
* This field shall indicate the ending minute for the Week Day schedule. If EndHour is equal to StartHour then
|
|
1538
1538
|
* EndMinute shall be greater than StartMinute.
|
|
1539
1539
|
*
|
|
1540
|
-
* @see {@link MatterSpecification.
|
|
1540
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.7
|
|
1541
1541
|
*/
|
|
1542
1542
|
endMinute: TlvOptionalField(7, TlvUInt8.bound({ max: 59 }))
|
|
1543
1543
|
});
|
|
@@ -1545,28 +1545,28 @@ export namespace DoorLock {
|
|
|
1545
1545
|
/**
|
|
1546
1546
|
* Returns the weekly repeating schedule data for the specified schedule index.
|
|
1547
1547
|
*
|
|
1548
|
-
* @see {@link MatterSpecification.
|
|
1548
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14
|
|
1549
1549
|
*/
|
|
1550
1550
|
export interface GetWeekDayScheduleResponse extends TypeFromSchema<typeof TlvGetWeekDayScheduleResponse> {}
|
|
1551
1551
|
|
|
1552
1552
|
/**
|
|
1553
1553
|
* Input to the DoorLock clearWeekDaySchedule command
|
|
1554
1554
|
*
|
|
1555
|
-
* @see {@link MatterSpecification.
|
|
1555
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.15
|
|
1556
1556
|
*/
|
|
1557
1557
|
export const TlvClearWeekDayScheduleRequest = TlvObject({
|
|
1558
1558
|
/**
|
|
1559
1559
|
* This field shall indicate the Week Day schedule index to clear or 0xFE to clear all Week Day schedules for
|
|
1560
1560
|
* the specified user.
|
|
1561
1561
|
*
|
|
1562
|
-
* @see {@link MatterSpecification.
|
|
1562
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.15.1
|
|
1563
1563
|
*/
|
|
1564
1564
|
weekDayIndex: TlvField(0, TlvUInt8),
|
|
1565
1565
|
|
|
1566
1566
|
/**
|
|
1567
1567
|
* This field shall indicate the user ID.
|
|
1568
1568
|
*
|
|
1569
|
-
* @see {@link MatterSpecification.
|
|
1569
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.15.2
|
|
1570
1570
|
*/
|
|
1571
1571
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 }))
|
|
1572
1572
|
});
|
|
@@ -1574,27 +1574,27 @@ export namespace DoorLock {
|
|
|
1574
1574
|
/**
|
|
1575
1575
|
* Input to the DoorLock clearWeekDaySchedule command
|
|
1576
1576
|
*
|
|
1577
|
-
* @see {@link MatterSpecification.
|
|
1577
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.15
|
|
1578
1578
|
*/
|
|
1579
1579
|
export interface ClearWeekDayScheduleRequest extends TypeFromSchema<typeof TlvClearWeekDayScheduleRequest> {}
|
|
1580
1580
|
|
|
1581
1581
|
/**
|
|
1582
1582
|
* Input to the DoorLock setYearDaySchedule command
|
|
1583
1583
|
*
|
|
1584
|
-
* @see {@link MatterSpecification.
|
|
1584
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.16
|
|
1585
1585
|
*/
|
|
1586
1586
|
export const TlvSetYearDayScheduleRequest = TlvObject({
|
|
1587
1587
|
/**
|
|
1588
1588
|
* This field shall indicate the index of the Year Day schedule.
|
|
1589
1589
|
*
|
|
1590
|
-
* @see {@link MatterSpecification.
|
|
1590
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.16.1
|
|
1591
1591
|
*/
|
|
1592
1592
|
yearDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
1593
1593
|
|
|
1594
1594
|
/**
|
|
1595
1595
|
* This field shall indicate the user ID.
|
|
1596
1596
|
*
|
|
1597
|
-
* @see {@link MatterSpecification.
|
|
1597
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.16.2
|
|
1598
1598
|
*/
|
|
1599
1599
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
1600
1600
|
|
|
@@ -1602,7 +1602,7 @@ export namespace DoorLock {
|
|
|
1602
1602
|
* This field shall indicate the starting time for the Year Day schedule in Epoch Time in Seconds with local
|
|
1603
1603
|
* time offset based on the local timezone and DST offset on the day represented by the value.
|
|
1604
1604
|
*
|
|
1605
|
-
* @see {@link MatterSpecification.
|
|
1605
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.16.3
|
|
1606
1606
|
*/
|
|
1607
1607
|
localStartTime: TlvField(2, TlvEpochS),
|
|
1608
1608
|
|
|
@@ -1611,7 +1611,7 @@ export namespace DoorLock {
|
|
|
1611
1611
|
* offset based on the local timezone and DST offset on the day represented by the value. LocalEndTime shall be
|
|
1612
1612
|
* greater than LocalStartTime.
|
|
1613
1613
|
*
|
|
1614
|
-
* @see {@link MatterSpecification.
|
|
1614
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.16.4
|
|
1615
1615
|
*/
|
|
1616
1616
|
localEndTime: TlvField(3, TlvEpochS)
|
|
1617
1617
|
});
|
|
@@ -1619,14 +1619,14 @@ export namespace DoorLock {
|
|
|
1619
1619
|
/**
|
|
1620
1620
|
* Input to the DoorLock setYearDaySchedule command
|
|
1621
1621
|
*
|
|
1622
|
-
* @see {@link MatterSpecification.
|
|
1622
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.16
|
|
1623
1623
|
*/
|
|
1624
1624
|
export interface SetYearDayScheduleRequest extends TypeFromSchema<typeof TlvSetYearDayScheduleRequest> {}
|
|
1625
1625
|
|
|
1626
1626
|
/**
|
|
1627
1627
|
* Input to the DoorLock getYearDaySchedule command
|
|
1628
1628
|
*
|
|
1629
|
-
* @see {@link MatterSpecification.
|
|
1629
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.17
|
|
1630
1630
|
*/
|
|
1631
1631
|
export const TlvGetYearDayScheduleRequest = TlvObject({
|
|
1632
1632
|
yearDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
@@ -1636,27 +1636,27 @@ export namespace DoorLock {
|
|
|
1636
1636
|
/**
|
|
1637
1637
|
* Input to the DoorLock getYearDaySchedule command
|
|
1638
1638
|
*
|
|
1639
|
-
* @see {@link MatterSpecification.
|
|
1639
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.17
|
|
1640
1640
|
*/
|
|
1641
1641
|
export interface GetYearDayScheduleRequest extends TypeFromSchema<typeof TlvGetYearDayScheduleRequest> {}
|
|
1642
1642
|
|
|
1643
1643
|
/**
|
|
1644
1644
|
* Returns the year day schedule data for the specified schedule and user indexes.
|
|
1645
1645
|
*
|
|
1646
|
-
* @see {@link MatterSpecification.
|
|
1646
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.18
|
|
1647
1647
|
*/
|
|
1648
1648
|
export const TlvGetYearDayScheduleResponse = TlvObject({
|
|
1649
1649
|
/**
|
|
1650
1650
|
* This field shall indicate the index of the Year Day schedule.
|
|
1651
1651
|
*
|
|
1652
|
-
* @see {@link MatterSpecification.
|
|
1652
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.18.1
|
|
1653
1653
|
*/
|
|
1654
1654
|
yearDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
1655
1655
|
|
|
1656
1656
|
/**
|
|
1657
1657
|
* This field shall indicate the user ID.
|
|
1658
1658
|
*
|
|
1659
|
-
* @see {@link MatterSpecification.
|
|
1659
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.18.2
|
|
1660
1660
|
*/
|
|
1661
1661
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
1662
1662
|
|
|
@@ -1674,7 +1674,7 @@ export namespace DoorLock {
|
|
|
1674
1674
|
* If this field is SUCCESS, the optional fields for this command shall be present. For other (error) status
|
|
1675
1675
|
* values, only the fields up to the status field shall be present.
|
|
1676
1676
|
*
|
|
1677
|
-
* @see {@link MatterSpecification.
|
|
1677
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.18.3
|
|
1678
1678
|
*/
|
|
1679
1679
|
status: TlvField(2, TlvEnum<Status>()),
|
|
1680
1680
|
|
|
@@ -1683,7 +1683,7 @@ export namespace DoorLock {
|
|
|
1683
1683
|
* time offset based on the local timezone and DST offset on the day represented by the value. This shall be
|
|
1684
1684
|
* null if the schedule is not set for the YearDayIndex and UserIndex provided.
|
|
1685
1685
|
*
|
|
1686
|
-
* @see {@link MatterSpecification.
|
|
1686
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.18.4
|
|
1687
1687
|
*/
|
|
1688
1688
|
localStartTime: TlvOptionalField(3, TlvEpochS),
|
|
1689
1689
|
|
|
@@ -1693,7 +1693,7 @@ export namespace DoorLock {
|
|
|
1693
1693
|
* greater than LocalStartTime. This shall be null if the schedule is not set for the YearDayIndex and UserIndex
|
|
1694
1694
|
* provided.
|
|
1695
1695
|
*
|
|
1696
|
-
* @see {@link MatterSpecification.
|
|
1696
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.18.5
|
|
1697
1697
|
*/
|
|
1698
1698
|
localEndTime: TlvOptionalField(4, TlvEpochS)
|
|
1699
1699
|
});
|
|
@@ -1701,28 +1701,28 @@ export namespace DoorLock {
|
|
|
1701
1701
|
/**
|
|
1702
1702
|
* Returns the year day schedule data for the specified schedule and user indexes.
|
|
1703
1703
|
*
|
|
1704
|
-
* @see {@link MatterSpecification.
|
|
1704
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.18
|
|
1705
1705
|
*/
|
|
1706
1706
|
export interface GetYearDayScheduleResponse extends TypeFromSchema<typeof TlvGetYearDayScheduleResponse> {}
|
|
1707
1707
|
|
|
1708
1708
|
/**
|
|
1709
1709
|
* Input to the DoorLock clearYearDaySchedule command
|
|
1710
1710
|
*
|
|
1711
|
-
* @see {@link MatterSpecification.
|
|
1711
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.19
|
|
1712
1712
|
*/
|
|
1713
1713
|
export const TlvClearYearDayScheduleRequest = TlvObject({
|
|
1714
1714
|
/**
|
|
1715
1715
|
* This field shall indicate the Year Day schedule index to clear or 0xFE to clear all Year Day schedules for
|
|
1716
1716
|
* the specified user.
|
|
1717
1717
|
*
|
|
1718
|
-
* @see {@link MatterSpecification.
|
|
1718
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.19.1
|
|
1719
1719
|
*/
|
|
1720
1720
|
yearDayIndex: TlvField(0, TlvUInt8),
|
|
1721
1721
|
|
|
1722
1722
|
/**
|
|
1723
1723
|
* This field shall indicate the user ID.
|
|
1724
1724
|
*
|
|
1725
|
-
* @see {@link MatterSpecification.
|
|
1725
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.19.2
|
|
1726
1726
|
*/
|
|
1727
1727
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 }))
|
|
1728
1728
|
});
|
|
@@ -1730,7 +1730,7 @@ export namespace DoorLock {
|
|
|
1730
1730
|
/**
|
|
1731
1731
|
* Input to the DoorLock clearYearDaySchedule command
|
|
1732
1732
|
*
|
|
1733
|
-
* @see {@link MatterSpecification.
|
|
1733
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.19
|
|
1734
1734
|
*/
|
|
1735
1735
|
export interface ClearYearDayScheduleRequest extends TypeFromSchema<typeof TlvClearYearDayScheduleRequest> {}
|
|
1736
1736
|
|
|
@@ -1748,20 +1748,20 @@ export namespace DoorLock {
|
|
|
1748
1748
|
* door lock shall NOT disable the radio or otherwise unbind or leave the network. It shall still respond to all
|
|
1749
1749
|
* other commands and requests.
|
|
1750
1750
|
*
|
|
1751
|
-
* @see {@link MatterSpecification.
|
|
1751
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.15
|
|
1752
1752
|
*/
|
|
1753
1753
|
export enum OperatingMode {
|
|
1754
1754
|
/**
|
|
1755
1755
|
* The lock operates normally. All interfaces are enabled.
|
|
1756
1756
|
*
|
|
1757
|
-
* @see {@link MatterSpecification.
|
|
1757
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.15.1
|
|
1758
1758
|
*/
|
|
1759
1759
|
Normal = 0,
|
|
1760
1760
|
|
|
1761
1761
|
/**
|
|
1762
1762
|
* Only remote interaction is enabled. The keypad shall only be operable by the master user.
|
|
1763
1763
|
*
|
|
1764
|
-
* @see {@link MatterSpecification.
|
|
1764
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.15.2
|
|
1765
1765
|
*/
|
|
1766
1766
|
Vacation = 1,
|
|
1767
1767
|
|
|
@@ -1770,7 +1770,7 @@ export namespace DoorLock {
|
|
|
1770
1770
|
* All external interaction with the door lock is disabled. This mode is intended to be used so that users,
|
|
1771
1771
|
* presumably inside the property, will have control over the entrance.
|
|
1772
1772
|
*
|
|
1773
|
-
* @see {@link MatterSpecification.
|
|
1773
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.15.3
|
|
1774
1774
|
*/
|
|
1775
1775
|
Privacy = 2,
|
|
1776
1776
|
|
|
@@ -1778,7 +1778,7 @@ export namespace DoorLock {
|
|
|
1778
1778
|
* This mode only disables remote interaction with the lock. This does not apply to any remote proprietary means
|
|
1779
1779
|
* of communication. It specifically applies to the Lock, Unlock, Toggle, and Unlock with Timeout Commands.
|
|
1780
1780
|
*
|
|
1781
|
-
* @see {@link MatterSpecification.
|
|
1781
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.15.4
|
|
1782
1782
|
*/
|
|
1783
1783
|
NoRemoteLockUnlock = 3,
|
|
1784
1784
|
|
|
@@ -1786,7 +1786,7 @@ export namespace DoorLock {
|
|
|
1786
1786
|
* The lock is open or can be opened or closed at will without the use of a Keypad or other means of user
|
|
1787
1787
|
* validation (e.g. a lock for a business during work hours).
|
|
1788
1788
|
*
|
|
1789
|
-
* @see {@link MatterSpecification.
|
|
1789
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.15.5
|
|
1790
1790
|
*/
|
|
1791
1791
|
Passage = 4
|
|
1792
1792
|
}
|
|
@@ -1794,13 +1794,13 @@ export namespace DoorLock {
|
|
|
1794
1794
|
/**
|
|
1795
1795
|
* Input to the DoorLock setHolidaySchedule command
|
|
1796
1796
|
*
|
|
1797
|
-
* @see {@link MatterSpecification.
|
|
1797
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.20
|
|
1798
1798
|
*/
|
|
1799
1799
|
export const TlvSetHolidayScheduleRequest = TlvObject({
|
|
1800
1800
|
/**
|
|
1801
1801
|
* This field shall indicate the index of the Holiday schedule.
|
|
1802
1802
|
*
|
|
1803
|
-
* @see {@link MatterSpecification.
|
|
1803
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.20.1
|
|
1804
1804
|
*/
|
|
1805
1805
|
holidayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
1806
1806
|
|
|
@@ -1808,7 +1808,7 @@ export namespace DoorLock {
|
|
|
1808
1808
|
* This field shall indicate the starting time for the Holiday Day schedule in Epoch Time in Seconds with local
|
|
1809
1809
|
* time offset based on the local timezone and DST offset on the day represented by the value.
|
|
1810
1810
|
*
|
|
1811
|
-
* @see {@link MatterSpecification.
|
|
1811
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.20.2
|
|
1812
1812
|
*/
|
|
1813
1813
|
localStartTime: TlvField(1, TlvEpochS),
|
|
1814
1814
|
|
|
@@ -1817,14 +1817,14 @@ export namespace DoorLock {
|
|
|
1817
1817
|
* time offset based on the local timezone and DST offset on the day represented by the value. LocalEndTime
|
|
1818
1818
|
* shall be greater than LocalStartTime.
|
|
1819
1819
|
*
|
|
1820
|
-
* @see {@link MatterSpecification.
|
|
1820
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.20.3
|
|
1821
1821
|
*/
|
|
1822
1822
|
localEndTime: TlvField(2, TlvEpochS),
|
|
1823
1823
|
|
|
1824
1824
|
/**
|
|
1825
1825
|
* This field shall indicate the operating mode to use during this Holiday schedule start/end time.
|
|
1826
1826
|
*
|
|
1827
|
-
* @see {@link MatterSpecification.
|
|
1827
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.20.4
|
|
1828
1828
|
*/
|
|
1829
1829
|
operatingMode: TlvField(3, TlvEnum<OperatingMode>())
|
|
1830
1830
|
});
|
|
@@ -1832,34 +1832,34 @@ export namespace DoorLock {
|
|
|
1832
1832
|
/**
|
|
1833
1833
|
* Input to the DoorLock setHolidaySchedule command
|
|
1834
1834
|
*
|
|
1835
|
-
* @see {@link MatterSpecification.
|
|
1835
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.20
|
|
1836
1836
|
*/
|
|
1837
1837
|
export interface SetHolidayScheduleRequest extends TypeFromSchema<typeof TlvSetHolidayScheduleRequest> {}
|
|
1838
1838
|
|
|
1839
1839
|
/**
|
|
1840
1840
|
* Input to the DoorLock getHolidaySchedule command
|
|
1841
1841
|
*
|
|
1842
|
-
* @see {@link MatterSpecification.
|
|
1842
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.21
|
|
1843
1843
|
*/
|
|
1844
1844
|
export const TlvGetHolidayScheduleRequest = TlvObject({ holidayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })) });
|
|
1845
1845
|
|
|
1846
1846
|
/**
|
|
1847
1847
|
* Input to the DoorLock getHolidaySchedule command
|
|
1848
1848
|
*
|
|
1849
|
-
* @see {@link MatterSpecification.
|
|
1849
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.21
|
|
1850
1850
|
*/
|
|
1851
1851
|
export interface GetHolidayScheduleRequest extends TypeFromSchema<typeof TlvGetHolidayScheduleRequest> {}
|
|
1852
1852
|
|
|
1853
1853
|
/**
|
|
1854
1854
|
* Returns the Holiday Schedule Entry for the specified Holiday ID.
|
|
1855
1855
|
*
|
|
1856
|
-
* @see {@link MatterSpecification.
|
|
1856
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.22
|
|
1857
1857
|
*/
|
|
1858
1858
|
export const TlvGetHolidayScheduleResponse = TlvObject({
|
|
1859
1859
|
/**
|
|
1860
1860
|
* This field shall indicate the index of the Holiday schedule.
|
|
1861
1861
|
*
|
|
1862
|
-
* @see {@link MatterSpecification.
|
|
1862
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.22.1
|
|
1863
1863
|
*/
|
|
1864
1864
|
holidayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
1865
1865
|
|
|
@@ -1878,7 +1878,7 @@ export namespace DoorLock {
|
|
|
1878
1878
|
* If this field is SUCCESS, the optional fields for this command shall be present. For other (error) status
|
|
1879
1879
|
* values, only the fields up to the status field shall be present.
|
|
1880
1880
|
*
|
|
1881
|
-
* @see {@link MatterSpecification.
|
|
1881
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.22.2
|
|
1882
1882
|
*/
|
|
1883
1883
|
status: TlvField(1, TlvEnum<Status>()),
|
|
1884
1884
|
|
|
@@ -1887,7 +1887,7 @@ export namespace DoorLock {
|
|
|
1887
1887
|
* offset based on the local timezone and DST offset on the day represented by the value. This shall be null if
|
|
1888
1888
|
* the schedule is not set for the HolidayIndex provided.
|
|
1889
1889
|
*
|
|
1890
|
-
* @see {@link MatterSpecification.
|
|
1890
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.22.3
|
|
1891
1891
|
*/
|
|
1892
1892
|
localStartTime: TlvOptionalField(2, TlvNullable(TlvEpochS)),
|
|
1893
1893
|
|
|
@@ -1896,7 +1896,7 @@ export namespace DoorLock {
|
|
|
1896
1896
|
* offset based on the local timezone and DST offset on the day represented by the value. LocalEndTime shall be
|
|
1897
1897
|
* greater than LocalStartTime. This shall be null if the schedule is not set for the HolidayIndex provided.
|
|
1898
1898
|
*
|
|
1899
|
-
* @see {@link MatterSpecification.
|
|
1899
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.22.4
|
|
1900
1900
|
*/
|
|
1901
1901
|
localEndTime: TlvOptionalField(3, TlvNullable(TlvEpochS)),
|
|
1902
1902
|
|
|
@@ -1904,7 +1904,7 @@ export namespace DoorLock {
|
|
|
1904
1904
|
* This field shall indicate the operating mode to use during this Holiday schedule start/end time. This shall
|
|
1905
1905
|
* be null if the schedule is not set for the HolidayIndex provided.
|
|
1906
1906
|
*
|
|
1907
|
-
* @see {@link MatterSpecification.
|
|
1907
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.22.5
|
|
1908
1908
|
*/
|
|
1909
1909
|
operatingMode: TlvOptionalField(4, TlvNullable(TlvEnum<OperatingMode>()))
|
|
1910
1910
|
});
|
|
@@ -1912,20 +1912,20 @@ export namespace DoorLock {
|
|
|
1912
1912
|
/**
|
|
1913
1913
|
* Returns the Holiday Schedule Entry for the specified Holiday ID.
|
|
1914
1914
|
*
|
|
1915
|
-
* @see {@link MatterSpecification.
|
|
1915
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.22
|
|
1916
1916
|
*/
|
|
1917
1917
|
export interface GetHolidayScheduleResponse extends TypeFromSchema<typeof TlvGetHolidayScheduleResponse> {}
|
|
1918
1918
|
|
|
1919
1919
|
/**
|
|
1920
1920
|
* Input to the DoorLock clearHolidaySchedule command
|
|
1921
1921
|
*
|
|
1922
|
-
* @see {@link MatterSpecification.
|
|
1922
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.23
|
|
1923
1923
|
*/
|
|
1924
1924
|
export const TlvClearHolidayScheduleRequest = TlvObject({
|
|
1925
1925
|
/**
|
|
1926
1926
|
* This field shall indicate the Holiday schedule index to clear or 0xFE to clear all Holiday schedules.
|
|
1927
1927
|
*
|
|
1928
|
-
* @see {@link MatterSpecification.
|
|
1928
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.23.1
|
|
1929
1929
|
*/
|
|
1930
1930
|
holidayIndex: TlvField(0, TlvUInt8)
|
|
1931
1931
|
});
|
|
@@ -1933,21 +1933,21 @@ export namespace DoorLock {
|
|
|
1933
1933
|
/**
|
|
1934
1934
|
* Input to the DoorLock clearHolidaySchedule command
|
|
1935
1935
|
*
|
|
1936
|
-
* @see {@link MatterSpecification.
|
|
1936
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.23
|
|
1937
1937
|
*/
|
|
1938
1938
|
export interface ClearHolidayScheduleRequest extends TypeFromSchema<typeof TlvClearHolidayScheduleRequest> {}
|
|
1939
1939
|
|
|
1940
1940
|
/**
|
|
1941
1941
|
* Input to the DoorLock setPinCode command
|
|
1942
1942
|
*
|
|
1943
|
-
* @see {@link MatterSpecification.
|
|
1943
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.4
|
|
1944
1944
|
*/
|
|
1945
1945
|
export const TlvSetPinCodeRequest = TlvObject({
|
|
1946
1946
|
/**
|
|
1947
1947
|
* This field shall indicate the user ID. The value of the UserID field shall be between 0 and the value of the
|
|
1948
1948
|
* NumberOfPINUsersSupported attribute.
|
|
1949
1949
|
*
|
|
1950
|
-
* @see {@link MatterSpecification.
|
|
1950
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.4.1
|
|
1951
1951
|
*/
|
|
1952
1952
|
userId: TlvField(0, TlvUInt16),
|
|
1953
1953
|
|
|
@@ -1955,7 +1955,7 @@ export namespace DoorLock {
|
|
|
1955
1955
|
* This field shall indicate the user status. Only the values 1 (Occupied/Enabled) and 3 (Occupied/Disabled) are
|
|
1956
1956
|
* allowed for UserStatus.
|
|
1957
1957
|
*
|
|
1958
|
-
* @see {@link MatterSpecification.
|
|
1958
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.4.2
|
|
1959
1959
|
*/
|
|
1960
1960
|
userStatus: TlvField(1, TlvNullable(TlvEnum<UserStatus>())),
|
|
1961
1961
|
|
|
@@ -1966,21 +1966,21 @@ export namespace DoorLock {
|
|
|
1966
1966
|
/**
|
|
1967
1967
|
* Input to the DoorLock setPinCode command
|
|
1968
1968
|
*
|
|
1969
|
-
* @see {@link MatterSpecification.
|
|
1969
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.4
|
|
1970
1970
|
*/
|
|
1971
1971
|
export interface SetPinCodeRequest extends TypeFromSchema<typeof TlvSetPinCodeRequest> {}
|
|
1972
1972
|
|
|
1973
1973
|
/**
|
|
1974
1974
|
* Input to the DoorLock getPinCode command
|
|
1975
1975
|
*
|
|
1976
|
-
* @see {@link MatterSpecification.
|
|
1976
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.5
|
|
1977
1977
|
*/
|
|
1978
1978
|
export const TlvGetPinCodeRequest = TlvObject({
|
|
1979
1979
|
/**
|
|
1980
1980
|
* This field shall indicate the user ID. The value of the UserID field shall be between 0 and the value of the
|
|
1981
1981
|
* NumberOfPINUsersSupported attribute.
|
|
1982
1982
|
*
|
|
1983
|
-
* @see {@link MatterSpecification.
|
|
1983
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.5.1
|
|
1984
1984
|
*/
|
|
1985
1985
|
userId: TlvField(0, TlvUInt16)
|
|
1986
1986
|
});
|
|
@@ -1988,7 +1988,7 @@ export namespace DoorLock {
|
|
|
1988
1988
|
/**
|
|
1989
1989
|
* Input to the DoorLock getPinCode command
|
|
1990
1990
|
*
|
|
1991
|
-
* @see {@link MatterSpecification.
|
|
1991
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.5
|
|
1992
1992
|
*/
|
|
1993
1993
|
export interface GetPinCodeRequest extends TypeFromSchema<typeof TlvGetPinCodeRequest> {}
|
|
1994
1994
|
|
|
@@ -2004,7 +2004,7 @@ export namespace DoorLock {
|
|
|
2004
2004
|
* to CONSTRAINT_ERROR when User_ID is less than the max number of users supported, and NOT_FOUND if greater than or
|
|
2005
2005
|
* equal to the max number of users supported.
|
|
2006
2006
|
*
|
|
2007
|
-
* @see {@link MatterSpecification.
|
|
2007
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.6
|
|
2008
2008
|
*/
|
|
2009
2009
|
export const TlvGetPinCodeResponse = TlvObject({
|
|
2010
2010
|
userId: TlvField(0, TlvUInt16),
|
|
@@ -2025,21 +2025,21 @@ export namespace DoorLock {
|
|
|
2025
2025
|
* to CONSTRAINT_ERROR when User_ID is less than the max number of users supported, and NOT_FOUND if greater than or
|
|
2026
2026
|
* equal to the max number of users supported.
|
|
2027
2027
|
*
|
|
2028
|
-
* @see {@link MatterSpecification.
|
|
2028
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.6
|
|
2029
2029
|
*/
|
|
2030
2030
|
export interface GetPinCodeResponse extends TypeFromSchema<typeof TlvGetPinCodeResponse> {}
|
|
2031
2031
|
|
|
2032
2032
|
/**
|
|
2033
2033
|
* Input to the DoorLock clearPinCode command
|
|
2034
2034
|
*
|
|
2035
|
-
* @see {@link MatterSpecification.
|
|
2035
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.7
|
|
2036
2036
|
*/
|
|
2037
2037
|
export const TlvClearPinCodeRequest = TlvObject({
|
|
2038
2038
|
/**
|
|
2039
2039
|
* This field shall specify a valid PIN code slot index or 0xFFFE to indicate all PIN code slots shall be
|
|
2040
2040
|
* cleared.
|
|
2041
2041
|
*
|
|
2042
|
-
* @see {@link MatterSpecification.
|
|
2042
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.7.1
|
|
2043
2043
|
*/
|
|
2044
2044
|
pinSlotIndex: TlvField(0, TlvUInt16)
|
|
2045
2045
|
});
|
|
@@ -2047,20 +2047,20 @@ export namespace DoorLock {
|
|
|
2047
2047
|
/**
|
|
2048
2048
|
* Input to the DoorLock clearPinCode command
|
|
2049
2049
|
*
|
|
2050
|
-
* @see {@link MatterSpecification.
|
|
2050
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.7
|
|
2051
2051
|
*/
|
|
2052
2052
|
export interface ClearPinCodeRequest extends TypeFromSchema<typeof TlvClearPinCodeRequest> {}
|
|
2053
2053
|
|
|
2054
2054
|
/**
|
|
2055
2055
|
* Input to the DoorLock setAliroReaderConfig command
|
|
2056
2056
|
*
|
|
2057
|
-
* @see {@link MatterSpecification.
|
|
2057
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.42
|
|
2058
2058
|
*/
|
|
2059
2059
|
export const TlvSetAliroReaderConfigRequest = TlvObject({
|
|
2060
2060
|
/**
|
|
2061
2061
|
* This field shall indicate the signing key component of the Reader’s key pair.
|
|
2062
2062
|
*
|
|
2063
|
-
* @see {@link MatterSpecification.
|
|
2063
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.42.1
|
|
2064
2064
|
*/
|
|
2065
2065
|
signingKey: TlvField(0, TlvByteString.bound({ length: 32 })),
|
|
2066
2066
|
|
|
@@ -2068,21 +2068,21 @@ export namespace DoorLock {
|
|
|
2068
2068
|
* This field shall indicate the verification key component of the Reader’s key pair. This shall be an
|
|
2069
2069
|
* uncompressed elliptic curve public key as defined in section 2.3.3 of SEC 1.
|
|
2070
2070
|
*
|
|
2071
|
-
* @see {@link MatterSpecification.
|
|
2071
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.42.2
|
|
2072
2072
|
*/
|
|
2073
2073
|
verificationKey: TlvField(1, TlvByteString.bound({ length: 65 })),
|
|
2074
2074
|
|
|
2075
2075
|
/**
|
|
2076
2076
|
* This field shall indicate the reader group identifier for the lock.
|
|
2077
2077
|
*
|
|
2078
|
-
* @see {@link MatterSpecification.
|
|
2078
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.42.3
|
|
2079
2079
|
*/
|
|
2080
2080
|
groupIdentifier: TlvField(2, TlvByteString.bound({ length: 16 })),
|
|
2081
2081
|
|
|
2082
2082
|
/**
|
|
2083
2083
|
* This field shall indicate the group resolving key for the lock.
|
|
2084
2084
|
*
|
|
2085
|
-
* @see {@link MatterSpecification.
|
|
2085
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.42.4
|
|
2086
2086
|
*/
|
|
2087
2087
|
groupResolvingKey: TlvOptionalField(3, TlvByteString.bound({ length: 16 }))
|
|
2088
2088
|
});
|
|
@@ -2090,21 +2090,21 @@ export namespace DoorLock {
|
|
|
2090
2090
|
/**
|
|
2091
2091
|
* Input to the DoorLock setAliroReaderConfig command
|
|
2092
2092
|
*
|
|
2093
|
-
* @see {@link MatterSpecification.
|
|
2093
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.42
|
|
2094
2094
|
*/
|
|
2095
2095
|
export interface SetAliroReaderConfigRequest extends TypeFromSchema<typeof TlvSetAliroReaderConfigRequest> {}
|
|
2096
2096
|
|
|
2097
2097
|
/**
|
|
2098
2098
|
* Input to the DoorLock setUserStatus command
|
|
2099
2099
|
*
|
|
2100
|
-
* @see {@link MatterSpecification.
|
|
2100
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.9
|
|
2101
2101
|
*/
|
|
2102
2102
|
export const TlvSetUserStatusRequest = TlvObject({
|
|
2103
2103
|
/**
|
|
2104
2104
|
* This field shall indicate the user ID. The value of the UserID field shall be between 0 and the value of the
|
|
2105
2105
|
* NumberOfPINUsersSupported attribute.
|
|
2106
2106
|
*
|
|
2107
|
-
* @see {@link MatterSpecification.
|
|
2107
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.9.1
|
|
2108
2108
|
*/
|
|
2109
2109
|
userId: TlvField(0, TlvUInt16),
|
|
2110
2110
|
|
|
@@ -2112,7 +2112,7 @@ export namespace DoorLock {
|
|
|
2112
2112
|
* UserStatus value of Available is not allowed. In order to clear a user id, the ClearUser Command shall be
|
|
2113
2113
|
* used. For user status value please refer to UserStatusEnum.
|
|
2114
2114
|
*
|
|
2115
|
-
* @see {@link MatterSpecification.
|
|
2115
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.9.2
|
|
2116
2116
|
*/
|
|
2117
2117
|
userStatus: TlvField(1, TlvEnum<UserStatus>())
|
|
2118
2118
|
});
|
|
@@ -2120,21 +2120,21 @@ export namespace DoorLock {
|
|
|
2120
2120
|
/**
|
|
2121
2121
|
* Input to the DoorLock setUserStatus command
|
|
2122
2122
|
*
|
|
2123
|
-
* @see {@link MatterSpecification.
|
|
2123
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.9
|
|
2124
2124
|
*/
|
|
2125
2125
|
export interface SetUserStatusRequest extends TypeFromSchema<typeof TlvSetUserStatusRequest> {}
|
|
2126
2126
|
|
|
2127
2127
|
/**
|
|
2128
2128
|
* Input to the DoorLock getUserStatus command
|
|
2129
2129
|
*
|
|
2130
|
-
* @see {@link MatterSpecification.
|
|
2130
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.10
|
|
2131
2131
|
*/
|
|
2132
2132
|
export const TlvGetUserStatusRequest = TlvObject({
|
|
2133
2133
|
/**
|
|
2134
2134
|
* This field shall indicate the user ID. The value of the UserID field shall be between 0 and the value of the
|
|
2135
2135
|
* NumberOfPINUsersSupported attribute.
|
|
2136
2136
|
*
|
|
2137
|
-
* @see {@link MatterSpecification.
|
|
2137
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.10.1
|
|
2138
2138
|
*/
|
|
2139
2139
|
userId: TlvField(0, TlvUInt16)
|
|
2140
2140
|
});
|
|
@@ -2142,27 +2142,27 @@ export namespace DoorLock {
|
|
|
2142
2142
|
/**
|
|
2143
2143
|
* Input to the DoorLock getUserStatus command
|
|
2144
2144
|
*
|
|
2145
|
-
* @see {@link MatterSpecification.
|
|
2145
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.10
|
|
2146
2146
|
*/
|
|
2147
2147
|
export interface GetUserStatusRequest extends TypeFromSchema<typeof TlvGetUserStatusRequest> {}
|
|
2148
2148
|
|
|
2149
2149
|
/**
|
|
2150
2150
|
* Returns the user status for the specified user ID.
|
|
2151
2151
|
*
|
|
2152
|
-
* @see {@link MatterSpecification.
|
|
2152
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.11
|
|
2153
2153
|
*/
|
|
2154
2154
|
export const TlvGetUserStatusResponse = TlvObject({
|
|
2155
2155
|
/**
|
|
2156
2156
|
* This field shall indicate the user ID provided in the request.
|
|
2157
2157
|
*
|
|
2158
|
-
* @see {@link MatterSpecification.
|
|
2158
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.11.1
|
|
2159
2159
|
*/
|
|
2160
2160
|
userId: TlvField(0, TlvUInt16),
|
|
2161
2161
|
|
|
2162
2162
|
/**
|
|
2163
2163
|
* This field shall indicate the current status of the requested user ID.
|
|
2164
2164
|
*
|
|
2165
|
-
* @see {@link MatterSpecification.
|
|
2165
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.11.2
|
|
2166
2166
|
*/
|
|
2167
2167
|
userStatus: TlvField(1, TlvEnum<UserStatus>())
|
|
2168
2168
|
});
|
|
@@ -2170,27 +2170,27 @@ export namespace DoorLock {
|
|
|
2170
2170
|
/**
|
|
2171
2171
|
* Returns the user status for the specified user ID.
|
|
2172
2172
|
*
|
|
2173
|
-
* @see {@link MatterSpecification.
|
|
2173
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.11
|
|
2174
2174
|
*/
|
|
2175
2175
|
export interface GetUserStatusResponse extends TypeFromSchema<typeof TlvGetUserStatusResponse> {}
|
|
2176
2176
|
|
|
2177
2177
|
/**
|
|
2178
2178
|
* Input to the DoorLock setUserType command
|
|
2179
2179
|
*
|
|
2180
|
-
* @see {@link MatterSpecification.
|
|
2180
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.24
|
|
2181
2181
|
*/
|
|
2182
2182
|
export const TlvSetUserTypeRequest = TlvObject({
|
|
2183
2183
|
/**
|
|
2184
2184
|
* This field shall indicate the user ID.
|
|
2185
2185
|
*
|
|
2186
|
-
* @see {@link MatterSpecification.
|
|
2186
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.24.1
|
|
2187
2187
|
*/
|
|
2188
2188
|
userId: TlvField(0, TlvUInt16),
|
|
2189
2189
|
|
|
2190
2190
|
/**
|
|
2191
2191
|
* This field shall indicate the user type.
|
|
2192
2192
|
*
|
|
2193
|
-
* @see {@link MatterSpecification.
|
|
2193
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.24.2
|
|
2194
2194
|
*/
|
|
2195
2195
|
userType: TlvField(1, TlvEnum<UserType>())
|
|
2196
2196
|
});
|
|
@@ -2198,21 +2198,21 @@ export namespace DoorLock {
|
|
|
2198
2198
|
/**
|
|
2199
2199
|
* Input to the DoorLock setUserType command
|
|
2200
2200
|
*
|
|
2201
|
-
* @see {@link MatterSpecification.
|
|
2201
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.24
|
|
2202
2202
|
*/
|
|
2203
2203
|
export interface SetUserTypeRequest extends TypeFromSchema<typeof TlvSetUserTypeRequest> {}
|
|
2204
2204
|
|
|
2205
2205
|
/**
|
|
2206
2206
|
* Input to the DoorLock getUserType command
|
|
2207
2207
|
*
|
|
2208
|
-
* @see {@link MatterSpecification.
|
|
2208
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.25
|
|
2209
2209
|
*/
|
|
2210
2210
|
export const TlvGetUserTypeRequest = TlvObject({ userId: TlvField(0, TlvUInt16) });
|
|
2211
2211
|
|
|
2212
2212
|
/**
|
|
2213
2213
|
* Input to the DoorLock getUserType command
|
|
2214
2214
|
*
|
|
2215
|
-
* @see {@link MatterSpecification.
|
|
2215
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.25
|
|
2216
2216
|
*/
|
|
2217
2217
|
export interface GetUserTypeRequest extends TypeFromSchema<typeof TlvGetUserTypeRequest> {}
|
|
2218
2218
|
|
|
@@ -2220,7 +2220,7 @@ export namespace DoorLock {
|
|
|
2220
2220
|
* Returns the user type for the specified user ID. If the requested User ID is invalid, send Default Response with
|
|
2221
2221
|
* an error status equal to FAILURE.
|
|
2222
2222
|
*
|
|
2223
|
-
* @see {@link MatterSpecification.
|
|
2223
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.26
|
|
2224
2224
|
*/
|
|
2225
2225
|
export const TlvGetUserTypeResponse = TlvObject({
|
|
2226
2226
|
userId: TlvField(0, TlvUInt16),
|
|
@@ -2231,14 +2231,14 @@ export namespace DoorLock {
|
|
|
2231
2231
|
* Returns the user type for the specified user ID. If the requested User ID is invalid, send Default Response with
|
|
2232
2232
|
* an error status equal to FAILURE.
|
|
2233
2233
|
*
|
|
2234
|
-
* @see {@link MatterSpecification.
|
|
2234
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.26
|
|
2235
2235
|
*/
|
|
2236
2236
|
export interface GetUserTypeResponse extends TypeFromSchema<typeof TlvGetUserTypeResponse> {}
|
|
2237
2237
|
|
|
2238
2238
|
/**
|
|
2239
2239
|
* Input to the DoorLock setRfidCode command
|
|
2240
2240
|
*
|
|
2241
|
-
* @see {@link MatterSpecification.
|
|
2241
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.27
|
|
2242
2242
|
*/
|
|
2243
2243
|
export const TlvSetRfidCodeRequest = TlvObject({
|
|
2244
2244
|
/**
|
|
@@ -2246,7 +2246,7 @@ export namespace DoorLock {
|
|
|
2246
2246
|
*
|
|
2247
2247
|
* The value of the UserID field shall be between 0 and the value of the NumberOfRFIDUsersSup ported attribute.
|
|
2248
2248
|
*
|
|
2249
|
-
* @see {@link MatterSpecification.
|
|
2249
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.27.1
|
|
2250
2250
|
*/
|
|
2251
2251
|
userId: TlvField(0, TlvUInt16),
|
|
2252
2252
|
|
|
@@ -2256,14 +2256,14 @@ export namespace DoorLock {
|
|
|
2256
2256
|
*
|
|
2257
2257
|
* Only the values 1 (Occupied/Enabled) and 3 (Occupied/Disabled) are allowed for UserStatus.
|
|
2258
2258
|
*
|
|
2259
|
-
* @see {@link MatterSpecification.
|
|
2259
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.27.2
|
|
2260
2260
|
*/
|
|
2261
2261
|
userStatus: TlvField(1, TlvNullable(TlvEnum<UserStatus>())),
|
|
2262
2262
|
|
|
2263
2263
|
/**
|
|
2264
2264
|
* The values are the same as used for SetPINCode command.
|
|
2265
2265
|
*
|
|
2266
|
-
* @see {@link MatterSpecification.
|
|
2266
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.27.3
|
|
2267
2267
|
*/
|
|
2268
2268
|
userType: TlvField(2, TlvNullable(TlvEnum<UserType>())),
|
|
2269
2269
|
|
|
@@ -2273,14 +2273,14 @@ export namespace DoorLock {
|
|
|
2273
2273
|
/**
|
|
2274
2274
|
* Input to the DoorLock setRfidCode command
|
|
2275
2275
|
*
|
|
2276
|
-
* @see {@link MatterSpecification.
|
|
2276
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.27
|
|
2277
2277
|
*/
|
|
2278
2278
|
export interface SetRfidCodeRequest extends TypeFromSchema<typeof TlvSetRfidCodeRequest> {}
|
|
2279
2279
|
|
|
2280
2280
|
/**
|
|
2281
2281
|
* Input to the DoorLock getRfidCode command
|
|
2282
2282
|
*
|
|
2283
|
-
* @see {@link MatterSpecification.
|
|
2283
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.28
|
|
2284
2284
|
*/
|
|
2285
2285
|
export const TlvGetRfidCodeRequest = TlvObject({
|
|
2286
2286
|
/**
|
|
@@ -2288,7 +2288,7 @@ export namespace DoorLock {
|
|
|
2288
2288
|
*
|
|
2289
2289
|
* The value of the UserID field shall be between 0 and the value of the NumberOfRFIDUsersSupported attribute.
|
|
2290
2290
|
*
|
|
2291
|
-
* @see {@link MatterSpecification.
|
|
2291
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.28.1
|
|
2292
2292
|
*/
|
|
2293
2293
|
userId: TlvField(0, TlvUInt16)
|
|
2294
2294
|
});
|
|
@@ -2296,7 +2296,7 @@ export namespace DoorLock {
|
|
|
2296
2296
|
/**
|
|
2297
2297
|
* Input to the DoorLock getRfidCode command
|
|
2298
2298
|
*
|
|
2299
|
-
* @see {@link MatterSpecification.
|
|
2299
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.28
|
|
2300
2300
|
*/
|
|
2301
2301
|
export interface GetRfidCodeRequest extends TypeFromSchema<typeof TlvGetRfidCodeRequest> {}
|
|
2302
2302
|
|
|
@@ -2314,7 +2314,7 @@ export namespace DoorLock {
|
|
|
2314
2314
|
* CONSTRAINT_ERROR when User_ID is less than the max number of users supported, and NOT_FOUND if greater than or
|
|
2315
2315
|
* equal to the max number of users supported.
|
|
2316
2316
|
*
|
|
2317
|
-
* @see {@link MatterSpecification.
|
|
2317
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.29
|
|
2318
2318
|
*/
|
|
2319
2319
|
export const TlvGetRfidCodeResponse = TlvObject({
|
|
2320
2320
|
userId: TlvField(0, TlvUInt16),
|
|
@@ -2337,21 +2337,21 @@ export namespace DoorLock {
|
|
|
2337
2337
|
* CONSTRAINT_ERROR when User_ID is less than the max number of users supported, and NOT_FOUND if greater than or
|
|
2338
2338
|
* equal to the max number of users supported.
|
|
2339
2339
|
*
|
|
2340
|
-
* @see {@link MatterSpecification.
|
|
2340
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.29
|
|
2341
2341
|
*/
|
|
2342
2342
|
export interface GetRfidCodeResponse extends TypeFromSchema<typeof TlvGetRfidCodeResponse> {}
|
|
2343
2343
|
|
|
2344
2344
|
/**
|
|
2345
2345
|
* Input to the DoorLock clearRfidCode command
|
|
2346
2346
|
*
|
|
2347
|
-
* @see {@link MatterSpecification.
|
|
2347
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.30
|
|
2348
2348
|
*/
|
|
2349
2349
|
export const TlvClearRfidCodeRequest = TlvObject({
|
|
2350
2350
|
/**
|
|
2351
2351
|
* This field shall indicate a valid RFID code slot index or 0xFFFE to indicate all RFID code slots shall be
|
|
2352
2352
|
* cleared.
|
|
2353
2353
|
*
|
|
2354
|
-
* @see {@link MatterSpecification.
|
|
2354
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.30.1
|
|
2355
2355
|
*/
|
|
2356
2356
|
rfidSlotIndex: TlvField(0, TlvUInt16)
|
|
2357
2357
|
});
|
|
@@ -2359,20 +2359,20 @@ export namespace DoorLock {
|
|
|
2359
2359
|
/**
|
|
2360
2360
|
* Input to the DoorLock clearRfidCode command
|
|
2361
2361
|
*
|
|
2362
|
-
* @see {@link MatterSpecification.
|
|
2362
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.30
|
|
2363
2363
|
*/
|
|
2364
2364
|
export interface ClearRfidCodeRequest extends TypeFromSchema<typeof TlvClearRfidCodeRequest> {}
|
|
2365
2365
|
|
|
2366
2366
|
/**
|
|
2367
2367
|
* Input to the DoorLock unboltDoor command
|
|
2368
2368
|
*
|
|
2369
|
-
* @see {@link MatterSpecification.
|
|
2369
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.41
|
|
2370
2370
|
*/
|
|
2371
2371
|
export const TlvUnboltDoorRequest = TlvObject({
|
|
2372
2372
|
/**
|
|
2373
2373
|
* See Section 5.2.10.1.1, “PINCode Field”.
|
|
2374
2374
|
*
|
|
2375
|
-
* @see {@link MatterSpecification.
|
|
2375
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.41.1
|
|
2376
2376
|
*/
|
|
2377
2377
|
pinCode: TlvOptionalField(0, TlvByteString)
|
|
2378
2378
|
});
|
|
@@ -2380,12 +2380,12 @@ export namespace DoorLock {
|
|
|
2380
2380
|
/**
|
|
2381
2381
|
* Input to the DoorLock unboltDoor command
|
|
2382
2382
|
*
|
|
2383
|
-
* @see {@link MatterSpecification.
|
|
2383
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.41
|
|
2384
2384
|
*/
|
|
2385
2385
|
export interface UnboltDoorRequest extends TypeFromSchema<typeof TlvUnboltDoorRequest> {}
|
|
2386
2386
|
|
|
2387
2387
|
/**
|
|
2388
|
-
* @see {@link MatterSpecification.
|
|
2388
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.19
|
|
2389
2389
|
*/
|
|
2390
2390
|
export enum LockState {
|
|
2391
2391
|
/**
|
|
@@ -2410,7 +2410,7 @@ export namespace DoorLock {
|
|
|
2410
2410
|
}
|
|
2411
2411
|
|
|
2412
2412
|
/**
|
|
2413
|
-
* @see {@link MatterSpecification.
|
|
2413
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.20
|
|
2414
2414
|
*/
|
|
2415
2415
|
export enum LockType {
|
|
2416
2416
|
/**
|
|
@@ -2475,7 +2475,7 @@ export namespace DoorLock {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
|
|
2477
2477
|
/**
|
|
2478
|
-
* @see {@link MatterSpecification.
|
|
2478
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.21
|
|
2479
2479
|
*/
|
|
2480
2480
|
export enum LedSetting {
|
|
2481
2481
|
/**
|
|
@@ -2495,7 +2495,7 @@ export namespace DoorLock {
|
|
|
2495
2495
|
}
|
|
2496
2496
|
|
|
2497
2497
|
/**
|
|
2498
|
-
* @see {@link MatterSpecification.
|
|
2498
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.22
|
|
2499
2499
|
*/
|
|
2500
2500
|
export enum SoundVolume {
|
|
2501
2501
|
/**
|
|
@@ -2530,7 +2530,7 @@ export namespace DoorLock {
|
|
|
2530
2530
|
* that the operating mode IS supported. This is the inverse of most bitmaps in this specification, and it is
|
|
2531
2531
|
* recommended that clients carefully take this into consideration. See SupportedOperatingModes.
|
|
2532
2532
|
*
|
|
2533
|
-
* @see {@link MatterSpecification.
|
|
2533
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.3
|
|
2534
2534
|
*/
|
|
2535
2535
|
export const OperatingModes = {
|
|
2536
2536
|
/**
|
|
@@ -2565,7 +2565,7 @@ export namespace DoorLock {
|
|
|
2565
2565
|
};
|
|
2566
2566
|
|
|
2567
2567
|
/**
|
|
2568
|
-
* @see {@link MatterSpecification.
|
|
2568
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4
|
|
2569
2569
|
*/
|
|
2570
2570
|
export const ConfigurationRegister = {
|
|
2571
2571
|
/**
|
|
@@ -2577,7 +2577,7 @@ export namespace DoorLock {
|
|
|
2577
2577
|
*
|
|
2578
2578
|
* • 1 = Local programming is enabled
|
|
2579
2579
|
*
|
|
2580
|
-
* @see {@link MatterSpecification.
|
|
2580
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4.1
|
|
2581
2581
|
*/
|
|
2582
2582
|
localProgramming: BitFlag(0),
|
|
2583
2583
|
|
|
@@ -2590,7 +2590,7 @@ export namespace DoorLock {
|
|
|
2590
2590
|
*
|
|
2591
2591
|
* • 1 = Keypad interface is enabled
|
|
2592
2592
|
*
|
|
2593
|
-
* @see {@link MatterSpecification.
|
|
2593
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4.2
|
|
2594
2594
|
*/
|
|
2595
2595
|
keypadInterface: BitFlag(1),
|
|
2596
2596
|
|
|
@@ -2603,7 +2603,7 @@ export namespace DoorLock {
|
|
|
2603
2603
|
*
|
|
2604
2604
|
* • 1 = Remote interface is enabled
|
|
2605
2605
|
*
|
|
2606
|
-
* @see {@link MatterSpecification.
|
|
2606
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4.3
|
|
2607
2607
|
*/
|
|
2608
2608
|
remoteInterface: BitFlag(2),
|
|
2609
2609
|
|
|
@@ -2616,7 +2616,7 @@ export namespace DoorLock {
|
|
|
2616
2616
|
*
|
|
2617
2617
|
* • 1 = Sound volume value is equal to something other than 0
|
|
2618
2618
|
*
|
|
2619
|
-
* @see {@link MatterSpecification.
|
|
2619
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4.4
|
|
2620
2620
|
*/
|
|
2621
2621
|
soundVolume: BitFlag(5),
|
|
2622
2622
|
|
|
@@ -2629,7 +2629,7 @@ export namespace DoorLock {
|
|
|
2629
2629
|
*
|
|
2630
2630
|
* • 1 = Auto relock time value is equal to something other than 0
|
|
2631
2631
|
*
|
|
2632
|
-
* @see {@link MatterSpecification.
|
|
2632
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4.5
|
|
2633
2633
|
*/
|
|
2634
2634
|
autoRelockTime: BitFlag(6),
|
|
2635
2635
|
|
|
@@ -2642,13 +2642,13 @@ export namespace DoorLock {
|
|
|
2642
2642
|
*
|
|
2643
2643
|
* • 1 = LED settings value is equal to something other than 0
|
|
2644
2644
|
*
|
|
2645
|
-
* @see {@link MatterSpecification.
|
|
2645
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4.6
|
|
2646
2646
|
*/
|
|
2647
2647
|
ledSettings: BitFlag(7)
|
|
2648
2648
|
};
|
|
2649
2649
|
|
|
2650
2650
|
/**
|
|
2651
|
-
* @see {@link MatterSpecification.
|
|
2651
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.5
|
|
2652
2652
|
*/
|
|
2653
2653
|
export const LocalProgrammingFeatures = {
|
|
2654
2654
|
/**
|
|
@@ -2660,7 +2660,7 @@ export namespace DoorLock {
|
|
|
2660
2660
|
*
|
|
2661
2661
|
* • 1 = This ability is enabled
|
|
2662
2662
|
*
|
|
2663
|
-
* @see {@link MatterSpecification.
|
|
2663
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.5.1
|
|
2664
2664
|
*/
|
|
2665
2665
|
addUsersCredentialsSchedules: BitFlag(0),
|
|
2666
2666
|
|
|
@@ -2673,7 +2673,7 @@ export namespace DoorLock {
|
|
|
2673
2673
|
*
|
|
2674
2674
|
* • 1 = This ability is enabled
|
|
2675
2675
|
*
|
|
2676
|
-
* @see {@link MatterSpecification.
|
|
2676
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.5.2
|
|
2677
2677
|
*/
|
|
2678
2678
|
modifyUsersCredentialsSchedules: BitFlag(1),
|
|
2679
2679
|
|
|
@@ -2686,7 +2686,7 @@ export namespace DoorLock {
|
|
|
2686
2686
|
*
|
|
2687
2687
|
* • 1 = This ability is enabled
|
|
2688
2688
|
*
|
|
2689
|
-
* @see {@link MatterSpecification.
|
|
2689
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.5.3
|
|
2690
2690
|
*/
|
|
2691
2691
|
clearUsersCredentialsSchedules: BitFlag(2),
|
|
2692
2692
|
|
|
@@ -2699,7 +2699,7 @@ export namespace DoorLock {
|
|
|
2699
2699
|
*
|
|
2700
2700
|
* • 1 = This ability is enabled
|
|
2701
2701
|
*
|
|
2702
|
-
* @see {@link MatterSpecification.
|
|
2702
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.5.4
|
|
2703
2703
|
*/
|
|
2704
2704
|
adjustSettings: BitFlag(3)
|
|
2705
2705
|
};
|
|
@@ -2707,7 +2707,7 @@ export namespace DoorLock {
|
|
|
2707
2707
|
/**
|
|
2708
2708
|
* Input to the DoorLock lockDoor command
|
|
2709
2709
|
*
|
|
2710
|
-
* @see {@link MatterSpecification.
|
|
2710
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.1
|
|
2711
2711
|
*/
|
|
2712
2712
|
export const TlvLockDoorRequest = TlvObject({
|
|
2713
2713
|
/**
|
|
@@ -2721,7 +2721,7 @@ export namespace DoorLock {
|
|
|
2721
2721
|
* UserCodeTemporaryDisableTime will be triggered if the WrongCodeEntryLimit is exceeded. The lock shall ignore
|
|
2722
2722
|
* any attempts to lock/unlock the door until the UserCodeTemporaryDisableTime expires.
|
|
2723
2723
|
*
|
|
2724
|
-
* @see {@link MatterSpecification.
|
|
2724
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.1.1
|
|
2725
2725
|
*/
|
|
2726
2726
|
pinCode: TlvOptionalField(0, TlvByteString)
|
|
2727
2727
|
});
|
|
@@ -2729,20 +2729,20 @@ export namespace DoorLock {
|
|
|
2729
2729
|
/**
|
|
2730
2730
|
* Input to the DoorLock lockDoor command
|
|
2731
2731
|
*
|
|
2732
|
-
* @see {@link MatterSpecification.
|
|
2732
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.1
|
|
2733
2733
|
*/
|
|
2734
2734
|
export interface LockDoorRequest extends TypeFromSchema<typeof TlvLockDoorRequest> {}
|
|
2735
2735
|
|
|
2736
2736
|
/**
|
|
2737
2737
|
* Input to the DoorLock unlockDoor command
|
|
2738
2738
|
*
|
|
2739
|
-
* @see {@link MatterSpecification.
|
|
2739
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.2
|
|
2740
2740
|
*/
|
|
2741
2741
|
export const TlvUnlockDoorRequest = TlvObject({
|
|
2742
2742
|
/**
|
|
2743
2743
|
* See Section 5.2.10.1.1, “PINCode Field”.
|
|
2744
2744
|
*
|
|
2745
|
-
* @see {@link MatterSpecification.
|
|
2745
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.2.1
|
|
2746
2746
|
*/
|
|
2747
2747
|
pinCode: TlvOptionalField(0, TlvByteString)
|
|
2748
2748
|
});
|
|
@@ -2750,28 +2750,28 @@ export namespace DoorLock {
|
|
|
2750
2750
|
/**
|
|
2751
2751
|
* Input to the DoorLock unlockDoor command
|
|
2752
2752
|
*
|
|
2753
|
-
* @see {@link MatterSpecification.
|
|
2753
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.2
|
|
2754
2754
|
*/
|
|
2755
2755
|
export interface UnlockDoorRequest extends TypeFromSchema<typeof TlvUnlockDoorRequest> {}
|
|
2756
2756
|
|
|
2757
2757
|
/**
|
|
2758
2758
|
* Input to the DoorLock unlockWithTimeout command
|
|
2759
2759
|
*
|
|
2760
|
-
* @see {@link MatterSpecification.
|
|
2760
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.3
|
|
2761
2761
|
*/
|
|
2762
2762
|
export const TlvUnlockWithTimeoutRequest = TlvObject({
|
|
2763
2763
|
/**
|
|
2764
2764
|
* This field shall indicate the timeout in seconds to wait before relocking the door lock. This value is
|
|
2765
2765
|
* independent of the AutoRelockTime attribute value.
|
|
2766
2766
|
*
|
|
2767
|
-
* @see {@link MatterSpecification.
|
|
2767
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.3.1
|
|
2768
2768
|
*/
|
|
2769
2769
|
timeout: TlvField(0, TlvUInt16),
|
|
2770
2770
|
|
|
2771
2771
|
/**
|
|
2772
2772
|
* See Section 5.2.10.1.1, “PINCode Field”.
|
|
2773
2773
|
*
|
|
2774
|
-
* @see {@link MatterSpecification.
|
|
2774
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.3.2
|
|
2775
2775
|
*/
|
|
2776
2776
|
pinCode: TlvOptionalField(1, TlvByteString)
|
|
2777
2777
|
});
|
|
@@ -2779,14 +2779,14 @@ export namespace DoorLock {
|
|
|
2779
2779
|
/**
|
|
2780
2780
|
* Input to the DoorLock unlockWithTimeout command
|
|
2781
2781
|
*
|
|
2782
|
-
* @see {@link MatterSpecification.
|
|
2782
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.3
|
|
2783
2783
|
*/
|
|
2784
2784
|
export interface UnlockWithTimeoutRequest extends TypeFromSchema<typeof TlvUnlockWithTimeoutRequest> {}
|
|
2785
2785
|
|
|
2786
2786
|
/**
|
|
2787
2787
|
* This enumeration shall indicate the alarm type.
|
|
2788
2788
|
*
|
|
2789
|
-
* @see {@link MatterSpecification.
|
|
2789
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.7
|
|
2790
2790
|
*/
|
|
2791
2791
|
export enum AlarmCode {
|
|
2792
2792
|
/**
|
|
@@ -2833,13 +2833,13 @@ export namespace DoorLock {
|
|
|
2833
2833
|
/**
|
|
2834
2834
|
* Body of the DoorLock doorLockAlarm event
|
|
2835
2835
|
*
|
|
2836
|
-
* @see {@link MatterSpecification.
|
|
2836
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.1
|
|
2837
2837
|
*/
|
|
2838
2838
|
export const TlvDoorLockAlarmEvent = TlvObject({
|
|
2839
2839
|
/**
|
|
2840
2840
|
* This field shall indicate the alarm code of the event that has happened.
|
|
2841
2841
|
*
|
|
2842
|
-
* @see {@link MatterSpecification.
|
|
2842
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.1.1
|
|
2843
2843
|
*/
|
|
2844
2844
|
alarmCode: TlvField(0, TlvEnum<AlarmCode>())
|
|
2845
2845
|
});
|
|
@@ -2847,14 +2847,14 @@ export namespace DoorLock {
|
|
|
2847
2847
|
/**
|
|
2848
2848
|
* Body of the DoorLock doorLockAlarm event
|
|
2849
2849
|
*
|
|
2850
|
-
* @see {@link MatterSpecification.
|
|
2850
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.1
|
|
2851
2851
|
*/
|
|
2852
2852
|
export interface DoorLockAlarmEvent extends TypeFromSchema<typeof TlvDoorLockAlarmEvent> {}
|
|
2853
2853
|
|
|
2854
2854
|
/**
|
|
2855
2855
|
* This enumeration shall indicate the type of Lock operation performed.
|
|
2856
2856
|
*
|
|
2857
|
-
* @see {@link MatterSpecification.
|
|
2857
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.13
|
|
2858
2858
|
*/
|
|
2859
2859
|
export enum LockOperationType {
|
|
2860
2860
|
/**
|
|
@@ -2886,20 +2886,20 @@ export namespace DoorLock {
|
|
|
2886
2886
|
/**
|
|
2887
2887
|
* Body of the DoorLock lockOperation event
|
|
2888
2888
|
*
|
|
2889
|
-
* @see {@link MatterSpecification.
|
|
2889
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3
|
|
2890
2890
|
*/
|
|
2891
2891
|
export const TlvLockOperationEvent = TlvObject({
|
|
2892
2892
|
/**
|
|
2893
2893
|
* This field shall indicate the type of the lock operation that was performed.
|
|
2894
2894
|
*
|
|
2895
|
-
* @see {@link MatterSpecification.
|
|
2895
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3.1
|
|
2896
2896
|
*/
|
|
2897
2897
|
lockOperationType: TlvField(0, TlvEnum<LockOperationType>()),
|
|
2898
2898
|
|
|
2899
2899
|
/**
|
|
2900
2900
|
* This field shall indicate the source of the lock operation that was performed.
|
|
2901
2901
|
*
|
|
2902
|
-
* @see {@link MatterSpecification.
|
|
2902
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3.2
|
|
2903
2903
|
*/
|
|
2904
2904
|
operationSource: TlvField(1, TlvEnum<OperationSource>()),
|
|
2905
2905
|
|
|
@@ -2908,7 +2908,7 @@ export namespace DoorLock {
|
|
|
2908
2908
|
* user index that can be determined for the given operation source. This shall NOT be null if a user index can
|
|
2909
2909
|
* be determined. In particular, this shall NOT be null if the operation was associated with a valid credential.
|
|
2910
2910
|
*
|
|
2911
|
-
* @see {@link MatterSpecification.
|
|
2911
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3.3
|
|
2912
2912
|
*/
|
|
2913
2913
|
userIndex: TlvField(2, TlvNullable(TlvUInt16)),
|
|
2914
2914
|
|
|
@@ -2917,7 +2917,7 @@ export namespace DoorLock {
|
|
|
2917
2917
|
* null if there is no fabric that can be determined for the given operation source. This shall NOT be null if
|
|
2918
2918
|
* the operation source is "Remote".
|
|
2919
2919
|
*
|
|
2920
|
-
* @see {@link MatterSpecification.
|
|
2920
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3.4
|
|
2921
2921
|
*/
|
|
2922
2922
|
fabricIndex: TlvField(3, TlvNullable(TlvFabricIndex)),
|
|
2923
2923
|
|
|
@@ -2926,7 +2926,7 @@ export namespace DoorLock {
|
|
|
2926
2926
|
* there is no Node associated with the given operation source. This shall NOT be null if the operation source
|
|
2927
2927
|
* is "Remote".
|
|
2928
2928
|
*
|
|
2929
|
-
* @see {@link MatterSpecification.
|
|
2929
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3.5
|
|
2930
2930
|
*/
|
|
2931
2931
|
sourceNode: TlvField(4, TlvNullable(TlvNodeId)),
|
|
2932
2932
|
|
|
@@ -2934,7 +2934,7 @@ export namespace DoorLock {
|
|
|
2934
2934
|
* This field shall indicate the list of credentials used in performing the lock operation. This shall be null
|
|
2935
2935
|
* if no credentials were involved.
|
|
2936
2936
|
*
|
|
2937
|
-
* @see {@link MatterSpecification.
|
|
2937
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3.6
|
|
2938
2938
|
*/
|
|
2939
2939
|
credentials: TlvOptionalField(5, TlvNullable(TlvArray(TlvCredential, { minLength: 1 })))
|
|
2940
2940
|
});
|
|
@@ -2942,14 +2942,14 @@ export namespace DoorLock {
|
|
|
2942
2942
|
/**
|
|
2943
2943
|
* Body of the DoorLock lockOperation event
|
|
2944
2944
|
*
|
|
2945
|
-
* @see {@link MatterSpecification.
|
|
2945
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3
|
|
2946
2946
|
*/
|
|
2947
2947
|
export interface LockOperationEvent extends TypeFromSchema<typeof TlvLockOperationEvent> {}
|
|
2948
2948
|
|
|
2949
2949
|
/**
|
|
2950
2950
|
* This enumeration shall indicate the error cause of the Lock/Unlock operation performed.
|
|
2951
2951
|
*
|
|
2952
|
-
* @see {@link MatterSpecification.
|
|
2952
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.14
|
|
2953
2953
|
*/
|
|
2954
2954
|
export enum OperationError {
|
|
2955
2955
|
/**
|
|
@@ -2981,27 +2981,27 @@ export namespace DoorLock {
|
|
|
2981
2981
|
/**
|
|
2982
2982
|
* Body of the DoorLock lockOperationError event
|
|
2983
2983
|
*
|
|
2984
|
-
* @see {@link MatterSpecification.
|
|
2984
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4
|
|
2985
2985
|
*/
|
|
2986
2986
|
export const TlvLockOperationErrorEvent = TlvObject({
|
|
2987
2987
|
/**
|
|
2988
2988
|
* This field shall indicate the type of the lock operation that was performed.
|
|
2989
2989
|
*
|
|
2990
|
-
* @see {@link MatterSpecification.
|
|
2990
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.1
|
|
2991
2991
|
*/
|
|
2992
2992
|
lockOperationType: TlvField(0, TlvEnum<LockOperationType>()),
|
|
2993
2993
|
|
|
2994
2994
|
/**
|
|
2995
2995
|
* This field shall indicate the source of the lock operation that was performed.
|
|
2996
2996
|
*
|
|
2997
|
-
* @see {@link MatterSpecification.
|
|
2997
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.2
|
|
2998
2998
|
*/
|
|
2999
2999
|
operationSource: TlvField(1, TlvEnum<OperationSource>()),
|
|
3000
3000
|
|
|
3001
3001
|
/**
|
|
3002
3002
|
* This field shall indicate the lock operation error triggered when the operation was performed.
|
|
3003
3003
|
*
|
|
3004
|
-
* @see {@link MatterSpecification.
|
|
3004
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.3
|
|
3005
3005
|
*/
|
|
3006
3006
|
operationError: TlvField(2, TlvEnum<OperationError>()),
|
|
3007
3007
|
|
|
@@ -3009,7 +3009,7 @@ export namespace DoorLock {
|
|
|
3009
3009
|
* This field shall indicate the lock UserIndex who performed the lock operation. This shall be null if there is
|
|
3010
3010
|
* no user id that can be determined for the given operation source.
|
|
3011
3011
|
*
|
|
3012
|
-
* @see {@link MatterSpecification.
|
|
3012
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.4
|
|
3013
3013
|
*/
|
|
3014
3014
|
userIndex: TlvField(3, TlvNullable(TlvUInt16)),
|
|
3015
3015
|
|
|
@@ -3018,7 +3018,7 @@ export namespace DoorLock {
|
|
|
3018
3018
|
* null if there is no fabric that can be determined for the given operation source. This shall NOT be null if
|
|
3019
3019
|
* the operation source is "Remote".
|
|
3020
3020
|
*
|
|
3021
|
-
* @see {@link MatterSpecification.
|
|
3021
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.5
|
|
3022
3022
|
*/
|
|
3023
3023
|
fabricIndex: TlvField(4, TlvNullable(TlvFabricIndex)),
|
|
3024
3024
|
|
|
@@ -3027,7 +3027,7 @@ export namespace DoorLock {
|
|
|
3027
3027
|
* there is no Node associated with the given operation source. This shall NOT be null if the operation source
|
|
3028
3028
|
* is "Remote".
|
|
3029
3029
|
*
|
|
3030
|
-
* @see {@link MatterSpecification.
|
|
3030
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.6
|
|
3031
3031
|
*/
|
|
3032
3032
|
sourceNode: TlvField(5, TlvNullable(TlvNodeId)),
|
|
3033
3033
|
|
|
@@ -3035,7 +3035,7 @@ export namespace DoorLock {
|
|
|
3035
3035
|
* This field shall indicate the list of credentials used in performing the lock operation. This shall be null
|
|
3036
3036
|
* if no credentials were involved.
|
|
3037
3037
|
*
|
|
3038
|
-
* @see {@link MatterSpecification.
|
|
3038
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.7
|
|
3039
3039
|
*/
|
|
3040
3040
|
credentials: TlvOptionalField(6, TlvNullable(TlvArray(TlvCredential, { minLength: 1 })))
|
|
3041
3041
|
});
|
|
@@ -3043,12 +3043,12 @@ export namespace DoorLock {
|
|
|
3043
3043
|
/**
|
|
3044
3044
|
* Body of the DoorLock lockOperationError event
|
|
3045
3045
|
*
|
|
3046
|
-
* @see {@link MatterSpecification.
|
|
3046
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4
|
|
3047
3047
|
*/
|
|
3048
3048
|
export interface LockOperationErrorEvent extends TypeFromSchema<typeof TlvLockOperationErrorEvent> {}
|
|
3049
3049
|
|
|
3050
3050
|
/**
|
|
3051
|
-
* @see {@link MatterSpecification.
|
|
3051
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.6
|
|
3052
3052
|
*/
|
|
3053
3053
|
export const AlarmMask = {
|
|
3054
3054
|
/**
|
|
@@ -3083,7 +3083,7 @@ export namespace DoorLock {
|
|
|
3083
3083
|
};
|
|
3084
3084
|
|
|
3085
3085
|
/**
|
|
3086
|
-
* @see {@link MatterSpecification.
|
|
3086
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.23
|
|
3087
3087
|
*/
|
|
3088
3088
|
export enum EventType {
|
|
3089
3089
|
/**
|
|
@@ -3103,7 +3103,7 @@ export namespace DoorLock {
|
|
|
3103
3103
|
}
|
|
3104
3104
|
|
|
3105
3105
|
/**
|
|
3106
|
-
* @see {@link MatterSpecification.
|
|
3106
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.7.1
|
|
3107
3107
|
*/
|
|
3108
3108
|
export enum StatusCode {
|
|
3109
3109
|
/**
|
|
@@ -3120,7 +3120,7 @@ export namespace DoorLock {
|
|
|
3120
3120
|
/**
|
|
3121
3121
|
* Thrown for cluster status code {@link StatusCode.Duplicate}.
|
|
3122
3122
|
*
|
|
3123
|
-
* @see {@link MatterSpecification.
|
|
3123
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.7.1
|
|
3124
3124
|
*/
|
|
3125
3125
|
export class DuplicateError extends StatusResponseError {
|
|
3126
3126
|
constructor(
|
|
@@ -3135,7 +3135,7 @@ export namespace DoorLock {
|
|
|
3135
3135
|
/**
|
|
3136
3136
|
* Thrown for cluster status code {@link StatusCode.Occupied}.
|
|
3137
3137
|
*
|
|
3138
|
-
* @see {@link MatterSpecification.
|
|
3138
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.7.1
|
|
3139
3139
|
*/
|
|
3140
3140
|
export class OccupiedError extends StatusResponseError {
|
|
3141
3141
|
constructor(
|
|
@@ -3157,21 +3157,21 @@ export namespace DoorLock {
|
|
|
3157
3157
|
*
|
|
3158
3158
|
* Null only if an internal error prevents the retrieval of the current door state.
|
|
3159
3159
|
*
|
|
3160
|
-
* @see {@link MatterSpecification.
|
|
3160
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.4
|
|
3161
3161
|
*/
|
|
3162
3162
|
doorState: Attribute(0x3, TlvNullable(TlvEnum<DoorState>())),
|
|
3163
3163
|
|
|
3164
3164
|
/**
|
|
3165
3165
|
* This attribute shall hold the number of door open events that have occurred since it was last zeroed.
|
|
3166
3166
|
*
|
|
3167
|
-
* @see {@link MatterSpecification.
|
|
3167
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.5
|
|
3168
3168
|
*/
|
|
3169
3169
|
doorOpenEvents: OptionalWritableAttribute(0x4, TlvUInt32, { writeAcl: AccessLevel.Manage }),
|
|
3170
3170
|
|
|
3171
3171
|
/**
|
|
3172
3172
|
* This attribute shall hold the number of door closed events that have occurred since it was last zeroed.
|
|
3173
3173
|
*
|
|
3174
|
-
* @see {@link MatterSpecification.
|
|
3174
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.6
|
|
3175
3175
|
*/
|
|
3176
3176
|
doorClosedEvents: OptionalWritableAttribute(0x5, TlvUInt32, { writeAcl: AccessLevel.Manage }),
|
|
3177
3177
|
|
|
@@ -3179,7 +3179,7 @@ export namespace DoorLock {
|
|
|
3179
3179
|
* This attribute shall hold the number of minutes the door has been open since the last time it
|
|
3180
3180
|
* transitioned from closed to open.
|
|
3181
3181
|
*
|
|
3182
|
-
* @see {@link MatterSpecification.
|
|
3182
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.7
|
|
3183
3183
|
*/
|
|
3184
3184
|
openPeriod: OptionalWritableAttribute(0x6, TlvUInt16, { writeAcl: AccessLevel.Manage })
|
|
3185
3185
|
},
|
|
@@ -3188,7 +3188,7 @@ export namespace DoorLock {
|
|
|
3188
3188
|
/**
|
|
3189
3189
|
* The door lock server sends out a DoorStateChange event when the door lock door state changes.
|
|
3190
3190
|
*
|
|
3191
|
-
* @see {@link MatterSpecification.
|
|
3191
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.2
|
|
3192
3192
|
*/
|
|
3193
3193
|
doorStateChange: Event(0x1, Priority.Critical, TlvDoorStateChangeEvent)
|
|
3194
3194
|
}
|
|
@@ -3202,7 +3202,7 @@ export namespace DoorLock {
|
|
|
3202
3202
|
/**
|
|
3203
3203
|
* Indicates the number of total users supported by the lock.
|
|
3204
3204
|
*
|
|
3205
|
-
* @see {@link MatterSpecification.
|
|
3205
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.8
|
|
3206
3206
|
*/
|
|
3207
3207
|
numberOfTotalUsersSupported: FixedAttribute(0x11, TlvUInt16),
|
|
3208
3208
|
|
|
@@ -3210,7 +3210,7 @@ export namespace DoorLock {
|
|
|
3210
3210
|
* This attribute shall contain a bitmap with the bits set for the values of CredentialRuleEnum supported on
|
|
3211
3211
|
* this device.
|
|
3212
3212
|
*
|
|
3213
|
-
* @see {@link MatterSpecification.
|
|
3213
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.18
|
|
3214
3214
|
*/
|
|
3215
3215
|
credentialRulesSupport: FixedAttribute(0x1b, TlvBitmap(TlvUInt8, CredentialRules)),
|
|
3216
3216
|
|
|
@@ -3225,7 +3225,7 @@ export namespace DoorLock {
|
|
|
3225
3225
|
* NumberOfRFIDUsersSupported is set to 3, it will not be possible to actually assign 10 credentials for a
|
|
3226
3226
|
* user because maximum number of credentials in the database is 8.
|
|
3227
3227
|
*
|
|
3228
|
-
* @see {@link MatterSpecification.
|
|
3228
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.19
|
|
3229
3229
|
*/
|
|
3230
3230
|
numberOfCredentialsSupportedPerUser: FixedAttribute(0x1c, TlvUInt8),
|
|
3231
3231
|
|
|
@@ -3234,7 +3234,7 @@ export namespace DoorLock {
|
|
|
3234
3234
|
* type ExpiringUser shall remain valid after its first use before expiring. When the credential expires the
|
|
3235
3235
|
* UserStatus for the corresponding user record shall be set to OccupiedDisabled.
|
|
3236
3236
|
*
|
|
3237
|
-
* @see {@link MatterSpecification.
|
|
3237
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.36
|
|
3238
3238
|
*/
|
|
3239
3239
|
expiringUserTimeout: OptionalWritableAttribute(
|
|
3240
3240
|
0x35,
|
|
@@ -3261,7 +3261,7 @@ export namespace DoorLock {
|
|
|
3261
3261
|
* • INVALID_COMMAND, if one or more fields violate constraints or are invalid or if OperationType is
|
|
3262
3262
|
* Modify and UserIndex points to an available slot.
|
|
3263
3263
|
*
|
|
3264
|
-
* @see {@link MatterSpecification.
|
|
3264
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32
|
|
3265
3265
|
*/
|
|
3266
3266
|
setUser: Command(
|
|
3267
3267
|
0x1a,
|
|
@@ -3277,7 +3277,7 @@ export namespace DoorLock {
|
|
|
3277
3277
|
* An InvokeResponse command shall be sent with an appropriate error (e.g. FAILURE, INVALID_ COMMAND, etc.)
|
|
3278
3278
|
* as needed otherwise the GetUserResponse Command shall be sent implying a status of SUCCESS.
|
|
3279
3279
|
*
|
|
3280
|
-
* @see {@link MatterSpecification.
|
|
3280
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.33
|
|
3281
3281
|
*/
|
|
3282
3282
|
getUser: Command(0x1b, TlvGetUserRequest, 0x1c, TlvGetUserResponse, { invokeAcl: AccessLevel.Administer }),
|
|
3283
3283
|
|
|
@@ -3290,7 +3290,7 @@ export namespace DoorLock {
|
|
|
3290
3290
|
*
|
|
3291
3291
|
* A LockUserChange event with the provided UserIndex shall be generated after successfully clearing users.
|
|
3292
3292
|
*
|
|
3293
|
-
* @see {@link MatterSpecification.
|
|
3293
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.35
|
|
3294
3294
|
*/
|
|
3295
3295
|
clearUser: Command(
|
|
3296
3296
|
0x1d,
|
|
@@ -3306,7 +3306,7 @@ export namespace DoorLock {
|
|
|
3306
3306
|
*
|
|
3307
3307
|
* Fields used for different use cases:
|
|
3308
3308
|
*
|
|
3309
|
-
* @see {@link MatterSpecification.
|
|
3309
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36
|
|
3310
3310
|
*/
|
|
3311
3311
|
setCredential: Command(
|
|
3312
3312
|
0x22,
|
|
@@ -3322,7 +3322,7 @@ export namespace DoorLock {
|
|
|
3322
3322
|
* An InvokeResponse command shall be sent with an appropriate error (e.g. FAILURE, INVALID_COMMAND, etc.)
|
|
3323
3323
|
* as needed otherwise the GetCredentialStatusResponse command shall be sent implying a status of SUCCESS.
|
|
3324
3324
|
*
|
|
3325
|
-
* @see {@link MatterSpecification.
|
|
3325
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.38
|
|
3326
3326
|
*/
|
|
3327
3327
|
getCredentialStatus: Command(
|
|
3328
3328
|
0x24,
|
|
@@ -3344,7 +3344,7 @@ export namespace DoorLock {
|
|
|
3344
3344
|
*
|
|
3345
3345
|
* Return status shall be one of the following values:
|
|
3346
3346
|
*
|
|
3347
|
-
* @see {@link MatterSpecification.
|
|
3347
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.40
|
|
3348
3348
|
*/
|
|
3349
3349
|
clearCredential: Command(
|
|
3350
3350
|
0x26,
|
|
@@ -3360,7 +3360,7 @@ export namespace DoorLock {
|
|
|
3360
3360
|
* The door lock server sends out a LockUserChange event when a lock user, schedule, or credential change
|
|
3361
3361
|
* has occurred.
|
|
3362
3362
|
*
|
|
3363
|
-
* @see {@link MatterSpecification.
|
|
3363
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5
|
|
3364
3364
|
*/
|
|
3365
3365
|
lockUserChange: Event(0x4, Priority.Info, TlvLockUserChangeEvent)
|
|
3366
3366
|
}
|
|
@@ -3374,21 +3374,21 @@ export namespace DoorLock {
|
|
|
3374
3374
|
/**
|
|
3375
3375
|
* Indicates the number of PIN users supported.
|
|
3376
3376
|
*
|
|
3377
|
-
* @see {@link MatterSpecification.
|
|
3377
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.9
|
|
3378
3378
|
*/
|
|
3379
3379
|
numberOfPinUsersSupported: FixedAttribute(0x12, TlvUInt16),
|
|
3380
3380
|
|
|
3381
3381
|
/**
|
|
3382
3382
|
* Indicates the maximum length in bytes of a PIN Code on this device.
|
|
3383
3383
|
*
|
|
3384
|
-
* @see {@link MatterSpecification.
|
|
3384
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.14
|
|
3385
3385
|
*/
|
|
3386
3386
|
maxPinCodeLength: FixedAttribute(0x17, TlvUInt8),
|
|
3387
3387
|
|
|
3388
3388
|
/**
|
|
3389
3389
|
* Indicates the minimum length in bytes of a PIN Code on this device.
|
|
3390
3390
|
*
|
|
3391
|
-
* @see {@link MatterSpecification.
|
|
3391
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.15
|
|
3392
3392
|
*/
|
|
3393
3393
|
minPinCodeLength: FixedAttribute(0x18, TlvUInt8)
|
|
3394
3394
|
}
|
|
@@ -3402,7 +3402,7 @@ export namespace DoorLock {
|
|
|
3402
3402
|
/**
|
|
3403
3403
|
* Indicates the number of RFID users supported.
|
|
3404
3404
|
*
|
|
3405
|
-
* @see {@link MatterSpecification.
|
|
3405
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.10
|
|
3406
3406
|
*/
|
|
3407
3407
|
numberOfRfidUsersSupported: FixedAttribute(0x13, TlvUInt16),
|
|
3408
3408
|
|
|
@@ -3411,7 +3411,7 @@ export namespace DoorLock {
|
|
|
3411
3411
|
* range specified by the manufacturer, if media anti-collision identifiers (UID) are used as RFID code, a
|
|
3412
3412
|
* value of 20 (equals 10 Byte ISO 14443A UID) is recommended.
|
|
3413
3413
|
*
|
|
3414
|
-
* @see {@link MatterSpecification.
|
|
3414
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.16
|
|
3415
3415
|
*/
|
|
3416
3416
|
maxRfidCodeLength: FixedAttribute(0x19, TlvUInt8),
|
|
3417
3417
|
|
|
@@ -3420,7 +3420,7 @@ export namespace DoorLock {
|
|
|
3420
3420
|
* range specified by the manufacturer, if media anti-collision identifiers (UID) are used as RFID code, a
|
|
3421
3421
|
* value of 8 (equals 4 Byte ISO 14443A UID) is recommended.
|
|
3422
3422
|
*
|
|
3423
|
-
* @see {@link MatterSpecification.
|
|
3423
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.17
|
|
3424
3424
|
*/
|
|
3425
3425
|
minRfidCodeLength: FixedAttribute(0x1a, TlvUInt8)
|
|
3426
3426
|
}
|
|
@@ -3434,7 +3434,7 @@ export namespace DoorLock {
|
|
|
3434
3434
|
/**
|
|
3435
3435
|
* Indicates the number of configurable week day schedule supported per user.
|
|
3436
3436
|
*
|
|
3437
|
-
* @see {@link MatterSpecification.
|
|
3437
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.11
|
|
3438
3438
|
*/
|
|
3439
3439
|
numberOfWeekDaySchedulesSupportedPerUser: FixedAttribute(0x14, TlvUInt8.bound({ max: 253 }))
|
|
3440
3440
|
},
|
|
@@ -3448,7 +3448,7 @@ export namespace DoorLock {
|
|
|
3448
3448
|
*
|
|
3449
3449
|
* Return status shall be one of the following values:
|
|
3450
3450
|
*
|
|
3451
|
-
* @see {@link MatterSpecification.
|
|
3451
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12
|
|
3452
3452
|
*/
|
|
3453
3453
|
setWeekDaySchedule: Command(
|
|
3454
3454
|
0xb,
|
|
@@ -3461,7 +3461,7 @@ export namespace DoorLock {
|
|
|
3461
3461
|
/**
|
|
3462
3462
|
* Retrieve the specific weekly schedule for the specific user.
|
|
3463
3463
|
*
|
|
3464
|
-
* @see {@link MatterSpecification.
|
|
3464
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.13
|
|
3465
3465
|
*/
|
|
3466
3466
|
getWeekDaySchedule: Command(
|
|
3467
3467
|
0xc,
|
|
@@ -3476,7 +3476,7 @@ export namespace DoorLock {
|
|
|
3476
3476
|
*
|
|
3477
3477
|
* Return status shall be one of the following values:
|
|
3478
3478
|
*
|
|
3479
|
-
* @see {@link MatterSpecification.
|
|
3479
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.15
|
|
3480
3480
|
*/
|
|
3481
3481
|
clearWeekDaySchedule: Command(
|
|
3482
3482
|
0xd,
|
|
@@ -3496,7 +3496,7 @@ export namespace DoorLock {
|
|
|
3496
3496
|
/**
|
|
3497
3497
|
* Indicates the number of configurable year day schedule supported per user.
|
|
3498
3498
|
*
|
|
3499
|
-
* @see {@link MatterSpecification.
|
|
3499
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.12
|
|
3500
3500
|
*/
|
|
3501
3501
|
numberOfYearDaySchedulesSupportedPerUser: FixedAttribute(0x15, TlvUInt8.bound({ max: 253 }))
|
|
3502
3502
|
},
|
|
@@ -3510,7 +3510,7 @@ export namespace DoorLock {
|
|
|
3510
3510
|
*
|
|
3511
3511
|
* Return status shall be one of the following values:
|
|
3512
3512
|
*
|
|
3513
|
-
* @see {@link MatterSpecification.
|
|
3513
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.16
|
|
3514
3514
|
*/
|
|
3515
3515
|
setYearDaySchedule: Command(
|
|
3516
3516
|
0xe,
|
|
@@ -3523,7 +3523,7 @@ export namespace DoorLock {
|
|
|
3523
3523
|
/**
|
|
3524
3524
|
* Retrieve the specific year day schedule for the specific schedule and user indexes.
|
|
3525
3525
|
*
|
|
3526
|
-
* @see {@link MatterSpecification.
|
|
3526
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.17
|
|
3527
3527
|
*/
|
|
3528
3528
|
getYearDaySchedule: Command(
|
|
3529
3529
|
0xf,
|
|
@@ -3538,7 +3538,7 @@ export namespace DoorLock {
|
|
|
3538
3538
|
*
|
|
3539
3539
|
* Return status shall be one of the following values:
|
|
3540
3540
|
*
|
|
3541
|
-
* @see {@link MatterSpecification.
|
|
3541
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.19
|
|
3542
3542
|
*/
|
|
3543
3543
|
clearYearDaySchedule: Command(
|
|
3544
3544
|
0x10,
|
|
@@ -3558,7 +3558,7 @@ export namespace DoorLock {
|
|
|
3558
3558
|
/**
|
|
3559
3559
|
* Indicates the number of holiday schedules supported for the entire door lock device.
|
|
3560
3560
|
*
|
|
3561
|
-
* @see {@link MatterSpecification.
|
|
3561
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.13
|
|
3562
3562
|
*/
|
|
3563
3563
|
numberOfHolidaySchedulesSupported: FixedAttribute(0x16, TlvUInt8.bound({ max: 253 }))
|
|
3564
3564
|
},
|
|
@@ -3570,7 +3570,7 @@ export namespace DoorLock {
|
|
|
3570
3570
|
*
|
|
3571
3571
|
* Return status shall be one of the following values:
|
|
3572
3572
|
*
|
|
3573
|
-
* @see {@link MatterSpecification.
|
|
3573
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.20
|
|
3574
3574
|
*/
|
|
3575
3575
|
setHolidaySchedule: Command(
|
|
3576
3576
|
0x11,
|
|
@@ -3583,7 +3583,7 @@ export namespace DoorLock {
|
|
|
3583
3583
|
/**
|
|
3584
3584
|
* Get the holiday schedule for the specified index.
|
|
3585
3585
|
*
|
|
3586
|
-
* @see {@link MatterSpecification.
|
|
3586
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.21
|
|
3587
3587
|
*/
|
|
3588
3588
|
getHolidaySchedule: Command(
|
|
3589
3589
|
0x12,
|
|
@@ -3596,7 +3596,7 @@ export namespace DoorLock {
|
|
|
3596
3596
|
/**
|
|
3597
3597
|
* Clears the holiday schedule or all holiday schedules.
|
|
3598
3598
|
*
|
|
3599
|
-
* @see {@link MatterSpecification.
|
|
3599
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.23
|
|
3600
3600
|
*/
|
|
3601
3601
|
clearHolidaySchedule: Command(
|
|
3602
3602
|
0x13,
|
|
@@ -3625,7 +3625,7 @@ export namespace DoorLock {
|
|
|
3625
3625
|
* logic, environmental events, or other reasons. The lock shall reset the counter if a valid credential is
|
|
3626
3626
|
* presented.
|
|
3627
3627
|
*
|
|
3628
|
-
* @see {@link MatterSpecification.
|
|
3628
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.32
|
|
3629
3629
|
*/
|
|
3630
3630
|
wrongCodeEntryLimit: WritableAttribute(
|
|
3631
3631
|
0x30,
|
|
@@ -3639,7 +3639,7 @@ export namespace DoorLock {
|
|
|
3639
3639
|
* and guess a PIN for the device.) If the attribute accepts writes and an attempt to write the attribute to
|
|
3640
3640
|
* 0 is made, the device shall respond with CONSTRAINT_ERROR.
|
|
3641
3641
|
*
|
|
3642
|
-
* @see {@link MatterSpecification.
|
|
3642
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.33
|
|
3643
3643
|
*/
|
|
3644
3644
|
userCodeTemporaryDisableTime: WritableAttribute(
|
|
3645
3645
|
0x31,
|
|
@@ -3665,7 +3665,7 @@ export namespace DoorLock {
|
|
|
3665
3665
|
* 0x32 0x33 0x34 shall be used in the PIN field in any door lock cluster message payload. If the attribute
|
|
3666
3666
|
* value is False, 0x04 0xFF 0xFF 0xFF 0xFF shall be used.
|
|
3667
3667
|
*
|
|
3668
|
-
* @see {@link MatterSpecification.
|
|
3668
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.34
|
|
3669
3669
|
*/
|
|
3670
3670
|
sendPinOverTheAir: OptionalWritableAttribute(
|
|
3671
3671
|
0x32,
|
|
@@ -3681,7 +3681,7 @@ export namespace DoorLock {
|
|
|
3681
3681
|
* Return status is a global status code or a cluster-specific status code from the Status Codes table and
|
|
3682
3682
|
* shall be one of the following values:
|
|
3683
3683
|
*
|
|
3684
|
-
* @see {@link MatterSpecification.
|
|
3684
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.4
|
|
3685
3685
|
*/
|
|
3686
3686
|
setPinCode: Command(
|
|
3687
3687
|
0x5,
|
|
@@ -3694,7 +3694,7 @@ export namespace DoorLock {
|
|
|
3694
3694
|
/**
|
|
3695
3695
|
* Retrieve a PIN Code.
|
|
3696
3696
|
*
|
|
3697
|
-
* @see {@link MatterSpecification.
|
|
3697
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.5
|
|
3698
3698
|
*/
|
|
3699
3699
|
getPinCode: Command(
|
|
3700
3700
|
0x6,
|
|
@@ -3711,7 +3711,7 @@ export namespace DoorLock {
|
|
|
3711
3711
|
* corresponding user record’s UserStatus value shall be set to Available, and UserType value shall be set
|
|
3712
3712
|
* to UnrestrictedUser and all schedules shall be cleared.
|
|
3713
3713
|
*
|
|
3714
|
-
* @see {@link MatterSpecification.
|
|
3714
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.7
|
|
3715
3715
|
*/
|
|
3716
3716
|
clearPinCode: Command(
|
|
3717
3717
|
0x7,
|
|
@@ -3729,7 +3729,7 @@ export namespace DoorLock {
|
|
|
3729
3729
|
* > On the server, the clear all PIN codes command SHOULD have the same effect as the ClearPINCode command
|
|
3730
3730
|
* with respect to the setting of user status, user type and schedules.
|
|
3731
3731
|
*
|
|
3732
|
-
* @see {@link MatterSpecification.
|
|
3732
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.8
|
|
3733
3733
|
*/
|
|
3734
3734
|
clearAllPinCodes: Command(
|
|
3735
3735
|
0x8,
|
|
@@ -3751,7 +3751,7 @@ export namespace DoorLock {
|
|
|
3751
3751
|
* server requires that an optional PINs be included in the payload of remote lock operation events like
|
|
3752
3752
|
* Lock, Unlock, Unlock with Timeout and Toggle in order to function.
|
|
3753
3753
|
*
|
|
3754
|
-
* @see {@link MatterSpecification.
|
|
3754
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.35
|
|
3755
3755
|
*/
|
|
3756
3756
|
requirePinForRemoteOperation: WritableAttribute(0x33, TlvBoolean, { writeAcl: AccessLevel.Administer })
|
|
3757
3757
|
}
|
|
@@ -3769,7 +3769,7 @@ export namespace DoorLock {
|
|
|
3769
3769
|
* Null if no Reader key pair has been configured on the lock. See Section 5.2.10.42, “SetAliroReaderConfig
|
|
3770
3770
|
* Command”.
|
|
3771
3771
|
*
|
|
3772
|
-
* @see {@link MatterSpecification.
|
|
3772
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.37
|
|
3773
3773
|
*/
|
|
3774
3774
|
aliroReaderVerificationKey: Attribute(
|
|
3775
3775
|
0x80,
|
|
@@ -3783,7 +3783,7 @@ export namespace DoorLock {
|
|
|
3783
3783
|
* Null if no reader_group_identifier has been configured on the lock. See Section 5.2.10.42,
|
|
3784
3784
|
* “SetAliroReaderConfig Command”.
|
|
3785
3785
|
*
|
|
3786
|
-
* @see {@link MatterSpecification.
|
|
3786
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.38
|
|
3787
3787
|
*/
|
|
3788
3788
|
aliroReaderGroupIdentifier: Attribute(
|
|
3789
3789
|
0x81,
|
|
@@ -3794,7 +3794,7 @@ export namespace DoorLock {
|
|
|
3794
3794
|
/**
|
|
3795
3795
|
* Indicates the reader_group_sub_identifier as defined in [Aliro].
|
|
3796
3796
|
*
|
|
3797
|
-
* @see {@link MatterSpecification.
|
|
3797
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.39
|
|
3798
3798
|
*/
|
|
3799
3799
|
aliroReaderGroupSubIdentifier: FixedAttribute(
|
|
3800
3800
|
0x82,
|
|
@@ -3805,7 +3805,7 @@ export namespace DoorLock {
|
|
|
3805
3805
|
/**
|
|
3806
3806
|
* Indicates the list of protocol versions supported for expedited transactions as defined in [Aliro].
|
|
3807
3807
|
*
|
|
3808
|
-
* @see {@link MatterSpecification.
|
|
3808
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.40
|
|
3809
3809
|
*/
|
|
3810
3810
|
aliroExpeditedTransactionSupportedProtocolVersions: FixedAttribute(
|
|
3811
3811
|
0x83,
|
|
@@ -3816,7 +3816,7 @@ export namespace DoorLock {
|
|
|
3816
3816
|
/**
|
|
3817
3817
|
* Indicates the maximum number of AliroCredentialIssuerKey credentials that can be stored on the lock.
|
|
3818
3818
|
*
|
|
3819
|
-
* @see {@link MatterSpecification.
|
|
3819
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.44
|
|
3820
3820
|
*/
|
|
3821
3821
|
numberOfAliroCredentialIssuerKeysSupported: FixedAttribute(0x87, TlvUInt16),
|
|
3822
3822
|
|
|
@@ -3833,7 +3833,7 @@ export namespace DoorLock {
|
|
|
3833
3833
|
* NumberOfAliroEndpointKeysSupported and also add a credential of type AliroNonEvictableEndpointKey at
|
|
3834
3834
|
* the same index, and both credentials would exist on the server.
|
|
3835
3835
|
*
|
|
3836
|
-
* @see {@link MatterSpecification.
|
|
3836
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.45
|
|
3837
3837
|
*/
|
|
3838
3838
|
numberOfAliroEndpointKeysSupported: FixedAttribute(0x88, TlvUInt16)
|
|
3839
3839
|
},
|
|
@@ -3842,7 +3842,7 @@ export namespace DoorLock {
|
|
|
3842
3842
|
/**
|
|
3843
3843
|
* This command allows communicating an Aliro Reader configuration, as defined in [Aliro], to the lock.
|
|
3844
3844
|
*
|
|
3845
|
-
* @see {@link MatterSpecification.
|
|
3845
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.42
|
|
3846
3846
|
*/
|
|
3847
3847
|
setAliroReaderConfig: Command(
|
|
3848
3848
|
0x28,
|
|
@@ -3862,7 +3862,7 @@ export namespace DoorLock {
|
|
|
3862
3862
|
* verification key to interact with the lock. This effect is not restricted to a single fabric or
|
|
3863
3863
|
* otherwise scoped in any way.
|
|
3864
3864
|
*
|
|
3865
|
-
* @see {@link MatterSpecification.
|
|
3865
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.43
|
|
3866
3866
|
*/
|
|
3867
3867
|
clearAliroReaderConfig: Command(
|
|
3868
3868
|
0x29,
|
|
@@ -3885,7 +3885,7 @@ export namespace DoorLock {
|
|
|
3885
3885
|
* Null if no group resolving key has been configured on the lock. See Section 5.2.10.42,
|
|
3886
3886
|
* “SetAliroReaderConfig Command”.
|
|
3887
3887
|
*
|
|
3888
|
-
* @see {@link MatterSpecification.
|
|
3888
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.41
|
|
3889
3889
|
*/
|
|
3890
3890
|
aliroGroupResolvingKey: Attribute(
|
|
3891
3891
|
0x84,
|
|
@@ -3897,7 +3897,7 @@ export namespace DoorLock {
|
|
|
3897
3897
|
* Indicates the list of protocol versions supported for the Bluetooth LE + UWB Access Control Flow as
|
|
3898
3898
|
* defined in [Aliro].
|
|
3899
3899
|
*
|
|
3900
|
-
* @see {@link MatterSpecification.
|
|
3900
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.42
|
|
3901
3901
|
*/
|
|
3902
3902
|
aliroSupportedBleuwbProtocolVersions: FixedAttribute(
|
|
3903
3903
|
0x85,
|
|
@@ -3908,7 +3908,7 @@ export namespace DoorLock {
|
|
|
3908
3908
|
/**
|
|
3909
3909
|
* Indicates the version of the Bluetooth LE advertisement as defined in [Aliro].
|
|
3910
3910
|
*
|
|
3911
|
-
* @see {@link MatterSpecification.
|
|
3911
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.43
|
|
3912
3912
|
*/
|
|
3913
3913
|
aliroBleAdvertisingVersion: FixedAttribute(
|
|
3914
3914
|
0x86,
|
|
@@ -3927,7 +3927,7 @@ export namespace DoorLock {
|
|
|
3927
3927
|
/**
|
|
3928
3928
|
* Set the status of a user ID.
|
|
3929
3929
|
*
|
|
3930
|
-
* @see {@link MatterSpecification.
|
|
3930
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.9
|
|
3931
3931
|
*/
|
|
3932
3932
|
setUserStatus: OptionalCommand(
|
|
3933
3933
|
0x9,
|
|
@@ -3940,7 +3940,7 @@ export namespace DoorLock {
|
|
|
3940
3940
|
/**
|
|
3941
3941
|
* Get the status of a user.
|
|
3942
3942
|
*
|
|
3943
|
-
* @see {@link MatterSpecification.
|
|
3943
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.10
|
|
3944
3944
|
*/
|
|
3945
3945
|
getUserStatus: OptionalCommand(
|
|
3946
3946
|
0xa,
|
|
@@ -3957,7 +3957,7 @@ export namespace DoorLock {
|
|
|
3957
3957
|
*
|
|
3958
3958
|
* Return status shall be one of the following values:
|
|
3959
3959
|
*
|
|
3960
|
-
* @see {@link MatterSpecification.
|
|
3960
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.24
|
|
3961
3961
|
*/
|
|
3962
3962
|
setUserType: OptionalCommand(
|
|
3963
3963
|
0x14,
|
|
@@ -3970,7 +3970,7 @@ export namespace DoorLock {
|
|
|
3970
3970
|
/**
|
|
3971
3971
|
* Retrieve the user type for a specific user.
|
|
3972
3972
|
*
|
|
3973
|
-
* @see {@link MatterSpecification.
|
|
3973
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.25
|
|
3974
3974
|
*/
|
|
3975
3975
|
getUserType: OptionalCommand(
|
|
3976
3976
|
0x15,
|
|
@@ -3999,7 +3999,7 @@ export namespace DoorLock {
|
|
|
3999
3999
|
* Return status is a global status code or a cluster-specific status code from the Status Codes table and
|
|
4000
4000
|
* shall be one of the following values:
|
|
4001
4001
|
*
|
|
4002
|
-
* @see {@link MatterSpecification.
|
|
4002
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.27
|
|
4003
4003
|
*/
|
|
4004
4004
|
setRfidCode: Command(
|
|
4005
4005
|
0x16,
|
|
@@ -4012,7 +4012,7 @@ export namespace DoorLock {
|
|
|
4012
4012
|
/**
|
|
4013
4013
|
* Retrieve an RFID code.
|
|
4014
4014
|
*
|
|
4015
|
-
* @see {@link MatterSpecification.
|
|
4015
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.28
|
|
4016
4016
|
*/
|
|
4017
4017
|
getRfidCode: Command(
|
|
4018
4018
|
0x17,
|
|
@@ -4029,7 +4029,7 @@ export namespace DoorLock {
|
|
|
4029
4029
|
* corresponding user record’s UserStatus value shall be set to Available, and UserType value shall be set
|
|
4030
4030
|
* to UnrestrictedUser and all schedules shall be cleared.
|
|
4031
4031
|
*
|
|
4032
|
-
* @see {@link MatterSpecification.
|
|
4032
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.30
|
|
4033
4033
|
*/
|
|
4034
4034
|
clearRfidCode: Command(
|
|
4035
4035
|
0x18,
|
|
@@ -4044,7 +4044,7 @@ export namespace DoorLock {
|
|
|
4044
4044
|
* user status has to be set to "0 Available", the user type has to be set to the default value, and all
|
|
4045
4045
|
* schedules which are supported have to be set to the default values.
|
|
4046
4046
|
*
|
|
4047
|
-
* @see {@link MatterSpecification.
|
|
4047
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.31
|
|
4048
4048
|
*/
|
|
4049
4049
|
clearAllRfidCodes: Command(
|
|
4050
4050
|
0x19,
|
|
@@ -4071,7 +4071,7 @@ export namespace DoorLock {
|
|
|
4071
4071
|
* > If the attribute AutoRelockTime is supported, the lock will transition to the locked state when the
|
|
4072
4072
|
* auto relock time has expired.
|
|
4073
4073
|
*
|
|
4074
|
-
* @see {@link MatterSpecification.
|
|
4074
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.41
|
|
4075
4075
|
*/
|
|
4076
4076
|
unboltDoor: Command(0x27, TlvUnboltDoorRequest, 0x27, TlvNoResponse, { timed: true })
|
|
4077
4077
|
}
|
|
@@ -4094,7 +4094,7 @@ export namespace DoorLock {
|
|
|
4094
4094
|
* and Schedules are all associated with a User index and not directly with a PIN index. A User index may
|
|
4095
4095
|
* have several credentials associated with it.
|
|
4096
4096
|
*
|
|
4097
|
-
* @see {@link MatterSpecification.
|
|
4097
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.1
|
|
4098
4098
|
*/
|
|
4099
4099
|
pinCredential: BitFlag(0),
|
|
4100
4100
|
|
|
@@ -4106,7 +4106,7 @@ export namespace DoorLock {
|
|
|
4106
4106
|
* and Schedules are all associated with a User index and not directly with a RFID index. A User Index may
|
|
4107
4107
|
* have several credentials associated with it.
|
|
4108
4108
|
*
|
|
4109
|
-
* @see {@link MatterSpecification.
|
|
4109
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.2
|
|
4110
4110
|
*/
|
|
4111
4111
|
rfidCredential: BitFlag(1),
|
|
4112
4112
|
|
|
@@ -4120,7 +4120,7 @@ export namespace DoorLock {
|
|
|
4120
4120
|
* and Schedules are all associated with a User index and not directly with a Finger index. A User Index may
|
|
4121
4121
|
* have several credentials associated with it.
|
|
4122
4122
|
*
|
|
4123
|
-
* @see {@link MatterSpecification.
|
|
4123
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.3
|
|
4124
4124
|
*/
|
|
4125
4125
|
fingerCredentials: BitFlag(2),
|
|
4126
4126
|
|
|
@@ -4135,7 +4135,7 @@ export namespace DoorLock {
|
|
|
4135
4135
|
* Support for WeekDayAccessSchedules requires that the lock has the capability of keeping track of local
|
|
4136
4136
|
* time.
|
|
4137
4137
|
*
|
|
4138
|
-
* @see {@link MatterSpecification.
|
|
4138
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.4
|
|
4139
4139
|
*/
|
|
4140
4140
|
weekDayAccessSchedules: BitFlag(4),
|
|
4141
4141
|
|
|
@@ -4143,7 +4143,7 @@ export namespace DoorLock {
|
|
|
4143
4143
|
* If this feature is supported this indicates that the lock has the ability to determine the position of
|
|
4144
4144
|
* the door which is separate from the state of the lock.
|
|
4145
4145
|
*
|
|
4146
|
-
* @see {@link MatterSpecification.
|
|
4146
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.5
|
|
4147
4147
|
*/
|
|
4148
4148
|
doorPositionSensor: BitFlag(5),
|
|
4149
4149
|
|
|
@@ -4157,7 +4157,7 @@ export namespace DoorLock {
|
|
|
4157
4157
|
* A lock may support multiple credential types so if the User feature is supported the UserType, UserStatus
|
|
4158
4158
|
* and Schedules are all associated with a User and not directly with a credential.
|
|
4159
4159
|
*
|
|
4160
|
-
* @see {@link MatterSpecification.
|
|
4160
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.6
|
|
4161
4161
|
*/
|
|
4162
4162
|
faceCredentials: BitFlag(6),
|
|
4163
4163
|
|
|
@@ -4166,7 +4166,7 @@ export namespace DoorLock {
|
|
|
4166
4166
|
* lock/unlock command. Currently the cluster only supports providing the PIN credential to the lock/unlock
|
|
4167
4167
|
* commands. If this feature is supported then the PIN Credential feature shall also be supported.
|
|
4168
4168
|
*
|
|
4169
|
-
* @see {@link MatterSpecification.
|
|
4169
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.7
|
|
4170
4170
|
*/
|
|
4171
4171
|
credentialOverTheAirAccess: BitFlag(7),
|
|
4172
4172
|
|
|
@@ -4175,7 +4175,7 @@ export namespace DoorLock {
|
|
|
4175
4175
|
* used to associate credentials and schedules to single user record within the lock. This also means the
|
|
4176
4176
|
* UserType and UserStatus fields are associated with a User and not a credential.
|
|
4177
4177
|
*
|
|
4178
|
-
* @see {@link MatterSpecification.
|
|
4178
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.8
|
|
4179
4179
|
*/
|
|
4180
4180
|
user: BitFlag(8),
|
|
4181
4181
|
|
|
@@ -4188,7 +4188,7 @@ export namespace DoorLock {
|
|
|
4188
4188
|
* Support for YearDayAccessSchedules requires that the lock has the capability of keeping track of local
|
|
4189
4189
|
* time.
|
|
4190
4190
|
*
|
|
4191
|
-
* @see {@link MatterSpecification.
|
|
4191
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.9
|
|
4192
4192
|
*/
|
|
4193
4193
|
yearDayAccessSchedules: BitFlag(10),
|
|
4194
4194
|
|
|
@@ -4198,7 +4198,7 @@ export namespace DoorLock {
|
|
|
4198
4198
|
*
|
|
4199
4199
|
* Support for HolidaySchedules requires that the lock has the capability of keeping track of local time.
|
|
4200
4200
|
*
|
|
4201
|
-
* @see {@link MatterSpecification.
|
|
4201
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.10
|
|
4202
4202
|
*/
|
|
4203
4203
|
holidaySchedules: BitFlag(11),
|
|
4204
4204
|
|
|
@@ -4209,7 +4209,7 @@ export namespace DoorLock {
|
|
|
4209
4209
|
* Locks without unbolting support don’t differentiate between unbolting and unlocking and perform the same
|
|
4210
4210
|
* operation for both commands.
|
|
4211
4211
|
*
|
|
4212
|
-
* @see {@link MatterSpecification.
|
|
4212
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.11
|
|
4213
4213
|
*/
|
|
4214
4214
|
unbolting: BitFlag(12),
|
|
4215
4215
|
|
|
@@ -4217,7 +4217,7 @@ export namespace DoorLock {
|
|
|
4217
4217
|
* Locks that support this feature implement the Aliro specification as defined in [Aliro] and support
|
|
4218
4218
|
* Matter as a method for provisioning Aliro credentials.
|
|
4219
4219
|
*
|
|
4220
|
-
* @see {@link MatterSpecification.
|
|
4220
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.12
|
|
4221
4221
|
*/
|
|
4222
4222
|
aliroProvisioning: BitFlag(13),
|
|
4223
4223
|
|
|
@@ -4225,7 +4225,7 @@ export namespace DoorLock {
|
|
|
4225
4225
|
* Locks that support this feature implement the Bluetooth LE + UWB Access Control Flow as defined in
|
|
4226
4226
|
* [Aliro].
|
|
4227
4227
|
*
|
|
4228
|
-
* @see {@link MatterSpecification.
|
|
4228
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.13
|
|
4229
4229
|
*/
|
|
4230
4230
|
aliroBleuwb: BitFlag(14)
|
|
4231
4231
|
},
|
|
@@ -4240,14 +4240,14 @@ export namespace DoorLock {
|
|
|
4240
4240
|
* Locked and Unlocked so it is only partially secured. For example, a deadbolt could be partially extended
|
|
4241
4241
|
* and not in a dead latched state.
|
|
4242
4242
|
*
|
|
4243
|
-
* @see {@link MatterSpecification.
|
|
4243
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.1
|
|
4244
4244
|
*/
|
|
4245
4245
|
lockState: Attribute(0x0, TlvNullable(TlvEnum<LockState>())),
|
|
4246
4246
|
|
|
4247
4247
|
/**
|
|
4248
4248
|
* Indicates the type of door lock as defined in LockTypeEnum.
|
|
4249
4249
|
*
|
|
4250
|
-
* @see {@link MatterSpecification.
|
|
4250
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.2
|
|
4251
4251
|
*/
|
|
4252
4252
|
lockType: Attribute(0x1, TlvEnum<LockType>()),
|
|
4253
4253
|
|
|
@@ -4255,7 +4255,7 @@ export namespace DoorLock {
|
|
|
4255
4255
|
* Indicates if the lock is currently able to (Enabled) or not able to (Disabled) process remote Lock,
|
|
4256
4256
|
* Unlock, or Unlock with Timeout commands.
|
|
4257
4257
|
*
|
|
4258
|
-
* @see {@link MatterSpecification.
|
|
4258
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.3
|
|
4259
4259
|
*/
|
|
4260
4260
|
actuatorEnabled: Attribute(0x2, TlvBoolean),
|
|
4261
4261
|
|
|
@@ -4263,7 +4263,7 @@ export namespace DoorLock {
|
|
|
4263
4263
|
* Indicates the language for the on-screen or audible user interface using a 2- byte language code from
|
|
4264
4264
|
* ISO-639-1.
|
|
4265
4265
|
*
|
|
4266
|
-
* @see {@link MatterSpecification.
|
|
4266
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.20
|
|
4267
4267
|
*/
|
|
4268
4268
|
language: OptionalWritableAttribute(
|
|
4269
4269
|
0x21,
|
|
@@ -4274,7 +4274,7 @@ export namespace DoorLock {
|
|
|
4274
4274
|
/**
|
|
4275
4275
|
* Indicates the settings for the LED support, as defined by LEDSettingEnum.
|
|
4276
4276
|
*
|
|
4277
|
-
* @see {@link MatterSpecification.
|
|
4277
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.21
|
|
4278
4278
|
*/
|
|
4279
4279
|
ledSettings: OptionalWritableAttribute(
|
|
4280
4280
|
0x22,
|
|
@@ -4287,14 +4287,14 @@ export namespace DoorLock {
|
|
|
4287
4287
|
* 0=disabled. If set, unlock operations from any source will be timed. For one time unlock with timeout use
|
|
4288
4288
|
* the specific command.
|
|
4289
4289
|
*
|
|
4290
|
-
* @see {@link MatterSpecification.
|
|
4290
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.22
|
|
4291
4291
|
*/
|
|
4292
4292
|
autoRelockTime: OptionalWritableAttribute(0x23, TlvUInt32, { writeAcl: AccessLevel.Manage }),
|
|
4293
4293
|
|
|
4294
4294
|
/**
|
|
4295
4295
|
* Indicates the sound volume on a door lock as defined by SoundVolumeEnum.
|
|
4296
4296
|
*
|
|
4297
|
-
* @see {@link MatterSpecification.
|
|
4297
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.23
|
|
4298
4298
|
*/
|
|
4299
4299
|
soundVolume: OptionalWritableAttribute(
|
|
4300
4300
|
0x24,
|
|
@@ -4305,7 +4305,7 @@ export namespace DoorLock {
|
|
|
4305
4305
|
/**
|
|
4306
4306
|
* Indicates the current operating mode of the lock as defined in OperatingModeEnum.
|
|
4307
4307
|
*
|
|
4308
|
-
* @see {@link MatterSpecification.
|
|
4308
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.24
|
|
4309
4309
|
*/
|
|
4310
4310
|
operatingMode: WritableAttribute(0x25, TlvEnum<OperatingMode>(), { writeAcl: AccessLevel.Manage }),
|
|
4311
4311
|
|
|
@@ -4323,7 +4323,7 @@ export namespace DoorLock {
|
|
|
4323
4323
|
* this attribute. WARNING: This is the opposite of most other semantically similar bitmaps in this
|
|
4324
4324
|
* specification.
|
|
4325
4325
|
*
|
|
4326
|
-
* @see {@link MatterSpecification.
|
|
4326
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.25
|
|
4327
4327
|
*/
|
|
4328
4328
|
supportedOperatingModes: FixedAttribute(0x26, TlvBitmap(TlvUInt16, OperatingModes)),
|
|
4329
4329
|
|
|
@@ -4344,7 +4344,7 @@ export namespace DoorLock {
|
|
|
4344
4344
|
* current Sound Volume is High Volume. Therefore, if the client wants to query/modify the current Sound
|
|
4345
4345
|
* Volume setting on the server, the client SHOULD read/write to the Sound Volume attribute.
|
|
4346
4346
|
*
|
|
4347
|
-
* @see {@link MatterSpecification.
|
|
4347
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.26
|
|
4348
4348
|
*/
|
|
4349
4349
|
defaultConfigurationRegister: OptionalAttribute(0x27, TlvBitmap(TlvUInt16, ConfigurationRegister)),
|
|
4350
4350
|
|
|
@@ -4355,7 +4355,7 @@ export namespace DoorLock {
|
|
|
4355
4355
|
* for those features whose bit is set to 0 in the LocalProgrammingFeatures attribute. Local programming
|
|
4356
4356
|
* shall be enabled by default.
|
|
4357
4357
|
*
|
|
4358
|
-
* @see {@link MatterSpecification.
|
|
4358
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.27
|
|
4359
4359
|
*/
|
|
4360
4360
|
enableLocalProgramming: OptionalWritableAttribute(
|
|
4361
4361
|
0x28,
|
|
@@ -4367,7 +4367,7 @@ export namespace DoorLock {
|
|
|
4367
4367
|
* This attribute shall enable/disable the ability to lock the door lock with a single touch on the door
|
|
4368
4368
|
* lock.
|
|
4369
4369
|
*
|
|
4370
|
-
* @see {@link MatterSpecification.
|
|
4370
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.28
|
|
4371
4371
|
*/
|
|
4372
4372
|
enableOneTouchLocking: OptionalWritableAttribute(
|
|
4373
4373
|
0x29,
|
|
@@ -4379,7 +4379,7 @@ export namespace DoorLock {
|
|
|
4379
4379
|
* This attribute shall enable/disable an inside LED that allows the user to see at a glance if the door is
|
|
4380
4380
|
* locked.
|
|
4381
4381
|
*
|
|
4382
|
-
* @see {@link MatterSpecification.
|
|
4382
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.29
|
|
4383
4383
|
*/
|
|
4384
4384
|
enableInsideStatusLed: OptionalWritableAttribute(
|
|
4385
4385
|
0x2a,
|
|
@@ -4391,7 +4391,7 @@ export namespace DoorLock {
|
|
|
4391
4391
|
* This attribute shall enable/disable a button inside the door that is used to put the lock into privacy
|
|
4392
4392
|
* mode. When the lock is in privacy mode it cannot be manipulated from the outside.
|
|
4393
4393
|
*
|
|
4394
|
-
* @see {@link MatterSpecification.
|
|
4394
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.30
|
|
4395
4395
|
*/
|
|
4396
4396
|
enablePrivacyModeButton: OptionalWritableAttribute(
|
|
4397
4397
|
0x2b,
|
|
@@ -4408,7 +4408,7 @@ export namespace DoorLock {
|
|
|
4408
4408
|
*
|
|
4409
4409
|
* The features that can be disabled from local programming are defined in LocalProgrammingFeaturesBitmap.
|
|
4410
4410
|
*
|
|
4411
|
-
* @see {@link MatterSpecification.
|
|
4411
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.31
|
|
4412
4412
|
*/
|
|
4413
4413
|
localProgrammingFeatures: OptionalWritableAttribute(
|
|
4414
4414
|
0x2c,
|
|
@@ -4423,7 +4423,7 @@ export namespace DoorLock {
|
|
|
4423
4423
|
* lock. The door lock may require a PIN depending on the value of the RequirePINForRemoteOperation
|
|
4424
4424
|
* attribute.
|
|
4425
4425
|
*
|
|
4426
|
-
* @see {@link MatterSpecification.
|
|
4426
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.1
|
|
4427
4427
|
*/
|
|
4428
4428
|
lockDoor: Command(0x0, TlvLockDoorRequest, 0x0, TlvNoResponse, { timed: true }),
|
|
4429
4429
|
|
|
@@ -4437,7 +4437,7 @@ export namespace DoorLock {
|
|
|
4437
4437
|
* > If the attribute AutoRelockTime is supported the lock will transition to the locked state when the auto
|
|
4438
4438
|
* relock time has expired.
|
|
4439
4439
|
*
|
|
4440
|
-
* @see {@link MatterSpecification.
|
|
4440
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.2
|
|
4441
4441
|
*/
|
|
4442
4442
|
unlockDoor: Command(0x1, TlvUnlockDoorRequest, 0x1, TlvNoResponse, { timed: true }),
|
|
4443
4443
|
|
|
@@ -4448,7 +4448,7 @@ export namespace DoorLock {
|
|
|
4448
4448
|
* specified in the AutoRelockTime attribute. If the door lock device is not capable of or does not want to
|
|
4449
4449
|
* support temporary Relock Timeout, it SHOULD NOT support this optional command.
|
|
4450
4450
|
*
|
|
4451
|
-
* @see {@link MatterSpecification.
|
|
4451
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.3
|
|
4452
4452
|
*/
|
|
4453
4453
|
unlockWithTimeout: OptionalCommand(0x3, TlvUnlockWithTimeoutRequest, 0x3, TlvNoResponse, { timed: true })
|
|
4454
4454
|
},
|
|
@@ -4458,7 +4458,7 @@ export namespace DoorLock {
|
|
|
4458
4458
|
* The door lock server provides several alarms which can be sent when there is a critical state on the door
|
|
4459
4459
|
* lock. The alarms available for the door lock server are listed in AlarmCodeEnum.
|
|
4460
4460
|
*
|
|
4461
|
-
* @see {@link MatterSpecification.
|
|
4461
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.1
|
|
4462
4462
|
*/
|
|
4463
4463
|
doorLockAlarm: Event(0x0, Priority.Critical, TlvDoorLockAlarmEvent),
|
|
4464
4464
|
|
|
@@ -4490,7 +4490,7 @@ export namespace DoorLock {
|
|
|
4490
4490
|
*
|
|
4491
4491
|
* from the inside.
|
|
4492
4492
|
*
|
|
4493
|
-
* @see {@link MatterSpecification.
|
|
4493
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3
|
|
4494
4494
|
*/
|
|
4495
4495
|
lockOperation: Event(0x2, Priority.Critical, TlvLockOperationEvent),
|
|
4496
4496
|
|
|
@@ -4498,7 +4498,7 @@ export namespace DoorLock {
|
|
|
4498
4498
|
* The door lock server sends out a LockOperationError event when a lock operation fails for various
|
|
4499
4499
|
* reasons.
|
|
4500
4500
|
*
|
|
4501
|
-
* @see {@link MatterSpecification.
|
|
4501
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4
|
|
4502
4502
|
*/
|
|
4503
4503
|
lockOperationError: Event(0x3, Priority.Critical, TlvLockOperationErrorEvent)
|
|
4504
4504
|
},
|
|
@@ -4561,7 +4561,7 @@ export namespace DoorLock {
|
|
|
4561
4561
|
*
|
|
4562
4562
|
* DoorLockCluster supports optional features that you can enable with the DoorLockCluster.with() factory method.
|
|
4563
4563
|
*
|
|
4564
|
-
* @see {@link MatterSpecification.
|
|
4564
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2
|
|
4565
4565
|
*/
|
|
4566
4566
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
4567
4567
|
|