@matter/types 0.16.0-alpha.0-20251104-8c3166ea3 → 0.16.0-alpha.0-20251107-6bcb5baf4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clusters/access-control.d.ts +250 -250
- package/dist/cjs/clusters/access-control.js +39 -39
- package/dist/cjs/clusters/account-login.d.ts +29 -29
- package/dist/cjs/clusters/account-login.js +11 -11
- package/dist/cjs/clusters/actions.d.ts +108 -108
- package/dist/cjs/clusters/actions.js +39 -39
- package/dist/cjs/clusters/administrator-commissioning.d.ts +54 -54
- package/dist/cjs/clusters/administrator-commissioning.js +12 -12
- package/dist/cjs/clusters/air-quality.d.ts +5 -5
- package/dist/cjs/clusters/air-quality.js +1 -1
- package/dist/cjs/clusters/alarm-base.d.ts +43 -43
- package/dist/cjs/clusters/alarm-base.js +14 -14
- package/dist/cjs/clusters/application-basic.d.ts +16 -16
- package/dist/cjs/clusters/application-basic.js +10 -10
- package/dist/cjs/clusters/application-launcher.d.ts +104 -104
- package/dist/cjs/clusters/application-launcher.js +13 -13
- package/dist/cjs/clusters/audio-output.d.ts +37 -37
- package/dist/cjs/clusters/audio-output.js +8 -8
- package/dist/cjs/clusters/basic-information.d.ts +55 -55
- package/dist/cjs/clusters/basic-information.js +35 -35
- package/dist/cjs/clusters/binding.d.ts +12 -12
- package/dist/cjs/clusters/binding.js +5 -5
- package/dist/cjs/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/cjs/clusters/boolean-state-configuration.js +18 -18
- package/dist/cjs/clusters/boolean-state.d.ts +7 -7
- package/dist/cjs/clusters/boolean-state.js +3 -3
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +105 -105
- package/dist/cjs/clusters/bridged-device-basic-information.js +29 -29
- package/dist/cjs/clusters/channel.d.ts +561 -561
- package/dist/cjs/clusters/channel.js +73 -73
- package/dist/cjs/clusters/color-control.d.ts +658 -658
- package/dist/cjs/clusters/color-control.js +116 -116
- package/dist/cjs/clusters/commissioner-control.d.ts +16 -16
- package/dist/cjs/clusters/commissioner-control.js +5 -5
- package/dist/cjs/clusters/concentration-measurement.d.ts +26 -26
- package/dist/cjs/clusters/concentration-measurement.js +11 -11
- package/dist/cjs/clusters/content-app-observer.d.ts +18 -18
- package/dist/cjs/clusters/content-app-observer.js +6 -6
- package/dist/cjs/clusters/content-control.d.ts +366 -366
- package/dist/cjs/clusters/content-control.js +58 -58
- package/dist/cjs/clusters/content-launcher.d.ts +479 -479
- package/dist/cjs/clusters/content-launcher.js +39 -39
- package/dist/cjs/clusters/descriptor.d.ts +30 -30
- package/dist/cjs/clusters/descriptor.js +9 -9
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/cjs/clusters/device-energy-management-mode.js +8 -8
- package/dist/cjs/clusters/device-energy-management.d.ts +544 -544
- package/dist/cjs/clusters/device-energy-management.js +87 -87
- package/dist/cjs/clusters/diagnostic-logs.d.ts +37 -37
- package/dist/cjs/clusters/diagnostic-logs.js +8 -8
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/cjs/clusters/dishwasher-alarm.js +14 -14
- package/dist/cjs/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/cjs/clusters/dishwasher-mode.js +8 -8
- package/dist/cjs/clusters/door-lock.d.ts +1349 -1349
- package/dist/cjs/clusters/door-lock.js +227 -227
- package/dist/cjs/clusters/ecosystem-information.d.ts +35 -35
- package/dist/cjs/clusters/ecosystem-information.js +14 -14
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +276 -276
- package/dist/cjs/clusters/electrical-energy-measurement.js +25 -25
- package/dist/cjs/clusters/electrical-power-measurement.d.ts +200 -200
- package/dist/cjs/clusters/electrical-power-measurement.js +39 -39
- package/dist/cjs/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/cjs/clusters/energy-evse-mode.js +8 -8
- package/dist/cjs/clusters/energy-evse.d.ts +323 -323
- package/dist/cjs/clusters/energy-evse.js +73 -73
- package/dist/cjs/clusters/energy-preference.d.ts +49 -49
- package/dist/cjs/clusters/energy-preference.js +9 -9
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/cjs/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/cjs/clusters/fan-control.d.ts +83 -83
- package/dist/cjs/clusters/fan-control.js +19 -19
- package/dist/cjs/clusters/fixed-label.d.ts +2 -2
- package/dist/cjs/clusters/fixed-label.js +1 -1
- package/dist/cjs/clusters/flow-measurement.d.ts +5 -5
- package/dist/cjs/clusters/flow-measurement.js +4 -4
- package/dist/cjs/clusters/general-commissioning.d.ts +104 -104
- package/dist/cjs/clusters/general-commissioning.js +25 -25
- package/dist/cjs/clusters/general-diagnostics.d.ts +174 -174
- package/dist/cjs/clusters/general-diagnostics.js +40 -40
- package/dist/cjs/clusters/group-key-management.d.ts +119 -119
- package/dist/cjs/clusters/group-key-management.js +23 -23
- package/dist/cjs/clusters/groups.d.ts +78 -78
- package/dist/cjs/clusters/groups.js +21 -21
- package/dist/cjs/clusters/icd-management.d.ts +131 -131
- package/dist/cjs/clusters/icd-management.js +29 -29
- package/dist/cjs/clusters/identify.d.ts +16 -16
- package/dist/cjs/clusters/identify.js +6 -6
- package/dist/cjs/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/cjs/clusters/illuminance-measurement.js +5 -5
- package/dist/cjs/clusters/joint-fabric-administrator.d.ts +34 -34
- package/dist/cjs/clusters/joint-fabric-administrator.js +10 -10
- package/dist/cjs/clusters/joint-fabric-datastore.d.ts +232 -232
- package/dist/cjs/clusters/joint-fabric-datastore.js +73 -73
- package/dist/cjs/clusters/keypad-input.d.ts +18 -18
- package/dist/cjs/clusters/keypad-input.js +3 -3
- package/dist/cjs/clusters/label.d.ts +10 -10
- package/dist/cjs/clusters/label.js +3 -3
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/cjs/clusters/laundry-dryer-controls.js +2 -2
- package/dist/cjs/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/cjs/clusters/laundry-washer-controls.js +6 -6
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/cjs/clusters/laundry-washer-mode.js +5 -5
- package/dist/cjs/clusters/level-control.d.ts +303 -303
- package/dist/cjs/clusters/level-control.js +32 -32
- package/dist/cjs/clusters/localization-configuration.d.ts +3 -3
- package/dist/cjs/clusters/localization-configuration.js +2 -2
- package/dist/cjs/clusters/low-power.d.ts +2 -2
- package/dist/cjs/clusters/low-power.js +1 -1
- package/dist/cjs/clusters/media-input.d.ts +47 -47
- package/dist/cjs/clusters/media-input.js +11 -11
- package/dist/cjs/clusters/media-playback.d.ts +390 -390
- package/dist/cjs/clusters/media-playback.js +57 -57
- package/dist/cjs/clusters/messages.d.ts +154 -154
- package/dist/cjs/clusters/messages.js +38 -38
- package/dist/cjs/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/cjs/clusters/microwave-oven-control.js +17 -17
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/cjs/clusters/microwave-oven-mode.js +7 -7
- package/dist/cjs/clusters/mode-base.d.ts +59 -59
- package/dist/cjs/clusters/mode-base.js +13 -13
- package/dist/cjs/clusters/mode-select.d.ts +51 -51
- package/dist/cjs/clusters/mode-select.js +13 -13
- package/dist/cjs/clusters/network-commissioning.d.ts +325 -325
- package/dist/cjs/clusters/network-commissioning.js +46 -46
- package/dist/cjs/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/cjs/clusters/occupancy-sensing.js +20 -20
- package/dist/cjs/clusters/on-off.d.ts +103 -103
- package/dist/cjs/clusters/on-off.js +19 -19
- package/dist/cjs/clusters/operational-credentials.d.ts +106 -106
- package/dist/cjs/clusters/operational-credentials.js +38 -38
- package/dist/cjs/clusters/operational-state.d.ts +67 -67
- package/dist/cjs/clusters/operational-state.js +21 -21
- package/dist/cjs/clusters/ota-software-update-provider.d.ts +65 -65
- package/dist/cjs/clusters/ota-software-update-provider.js +25 -25
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/cjs/clusters/ota-software-update-requestor.js +25 -25
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/cjs/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/cjs/clusters/oven-mode.d.ts +49 -49
- package/dist/cjs/clusters/oven-mode.js +8 -8
- package/dist/cjs/clusters/power-source-configuration.d.ts +2 -2
- package/dist/cjs/clusters/power-source-configuration.js +1 -1
- package/dist/cjs/clusters/power-source.d.ts +155 -155
- package/dist/cjs/clusters/power-source.js +41 -41
- package/dist/cjs/clusters/power-topology.d.ts +8 -8
- package/dist/cjs/clusters/power-topology.js +2 -2
- package/dist/cjs/clusters/pressure-measurement.d.ts +25 -25
- package/dist/cjs/clusters/pressure-measurement.js +9 -9
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/cjs/clusters/pump-configuration-and-control.js +57 -57
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/cjs/clusters/refrigerator-alarm.js +11 -11
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/cjs/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/cjs/clusters/relative-humidity-measurement.js +4 -4
- package/dist/cjs/clusters/resource-monitoring.d.ts +20 -20
- package/dist/cjs/clusters/resource-monitoring.js +7 -7
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +49 -49
- package/dist/cjs/clusters/rvc-clean-mode.js +9 -9
- package/dist/cjs/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/cjs/clusters/rvc-operational-state.js +17 -17
- package/dist/cjs/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/cjs/clusters/rvc-run-mode.js +9 -9
- package/dist/cjs/clusters/scenes-management.d.ts +244 -244
- package/dist/cjs/clusters/scenes-management.js +69 -69
- package/dist/cjs/clusters/service-area.d.ts +128 -128
- package/dist/cjs/clusters/service-area.js +26 -26
- package/dist/cjs/clusters/smoke-co-alarm.d.ts +135 -135
- package/dist/cjs/clusters/smoke-co-alarm.js +30 -30
- package/dist/cjs/clusters/software-diagnostics.d.ts +53 -53
- package/dist/cjs/clusters/software-diagnostics.js +14 -14
- package/dist/cjs/clusters/switch.d.ts +105 -105
- package/dist/cjs/clusters/switch.js +23 -23
- package/dist/cjs/clusters/target-navigator.d.ts +32 -32
- package/dist/cjs/clusters/target-navigator.js +10 -10
- package/dist/cjs/clusters/temperature-control.d.ts +45 -45
- package/dist/cjs/clusters/temperature-control.js +12 -12
- package/dist/cjs/clusters/temperature-measurement.d.ts +5 -5
- package/dist/cjs/clusters/temperature-measurement.js +4 -4
- package/dist/cjs/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/cjs/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/cjs/clusters/thermostat.d.ts +514 -514
- package/dist/cjs/clusters/thermostat.js +114 -114
- package/dist/cjs/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/cjs/clusters/thread-border-router-management.js +14 -14
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/cjs/clusters/thread-network-diagnostics.js +108 -108
- package/dist/cjs/clusters/thread-network-directory.d.ts +27 -27
- package/dist/cjs/clusters/thread-network-directory.js +11 -11
- package/dist/cjs/clusters/time-format-localization.d.ts +12 -12
- package/dist/cjs/clusters/time-format-localization.js +3 -3
- package/dist/cjs/clusters/time-synchronization.d.ts +246 -246
- package/dist/cjs/clusters/time-synchronization.js +47 -47
- package/dist/cjs/clusters/unit-localization.d.ts +9 -9
- package/dist/cjs/clusters/unit-localization.js +2 -2
- package/dist/cjs/clusters/user-label.d.ts +2 -2
- package/dist/cjs/clusters/user-label.js +1 -1
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts +81 -81
- package/dist/cjs/clusters/valve-configuration-and-control.js +22 -22
- package/dist/cjs/clusters/wake-on-lan.d.ts +3 -3
- package/dist/cjs/clusters/wake-on-lan.js +2 -2
- package/dist/cjs/clusters/water-heater-management.d.ts +91 -91
- package/dist/cjs/clusters/water-heater-management.js +16 -16
- package/dist/cjs/clusters/water-heater-mode.d.ts +42 -42
- package/dist/cjs/clusters/water-heater-mode.js +8 -8
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/cjs/clusters/wi-fi-network-management.d.ts +8 -8
- package/dist/cjs/clusters/wi-fi-network-management.js +4 -4
- package/dist/cjs/clusters/window-covering.d.ts +183 -183
- package/dist/cjs/clusters/window-covering.js +49 -49
- package/dist/cjs/dcl/operational-certificate.d.ts +8 -1
- package/dist/cjs/dcl/operational-certificate.d.ts.map +1 -1
- package/dist/cjs/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/cjs/globals/AtomicAttributeStatus.js +2 -2
- package/dist/cjs/globals/AtomicRequestType.d.ts +1 -1
- package/dist/cjs/globals/Currency.d.ts +2 -2
- package/dist/cjs/globals/Locationdesc.d.ts +5 -5
- package/dist/cjs/globals/Locationdesc.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/cjs/globals/MeasurementAccuracy.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/cjs/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/cjs/globals/MeasurementType.d.ts +1 -1
- package/dist/cjs/globals/Namespace.d.ts +1 -1
- package/dist/cjs/globals/Price.d.ts +2 -2
- package/dist/cjs/globals/Priority.d.ts +1 -1
- package/dist/cjs/globals/Semtag.d.ts +6 -6
- package/dist/cjs/globals/Semtag.js +4 -4
- package/dist/cjs/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/cjs/globals/Status.d.ts +36 -36
- package/dist/cjs/globals/ThreeLevelAuto.d.ts +1 -1
- package/dist/cjs/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/cjs/protocol/definitions/secure-channel.d.ts +2 -0
- package/dist/cjs/protocol/definitions/secure-channel.d.ts.map +1 -1
- package/dist/cjs/protocol/definitions/secure-channel.js +1 -0
- package/dist/cjs/protocol/definitions/secure-channel.js.map +1 -1
- package/dist/cjs/schema/PairingCodeSchema.d.ts +4 -0
- package/dist/cjs/schema/PairingCodeSchema.d.ts.map +1 -1
- package/dist/cjs/schema/PairingCodeSchema.js +18 -2
- package/dist/cjs/schema/PairingCodeSchema.js.map +2 -2
- package/dist/esm/clusters/access-control.d.ts +250 -250
- package/dist/esm/clusters/access-control.js +39 -39
- package/dist/esm/clusters/account-login.d.ts +29 -29
- package/dist/esm/clusters/account-login.js +11 -11
- package/dist/esm/clusters/actions.d.ts +108 -108
- package/dist/esm/clusters/actions.js +39 -39
- package/dist/esm/clusters/administrator-commissioning.d.ts +54 -54
- package/dist/esm/clusters/administrator-commissioning.js +12 -12
- package/dist/esm/clusters/air-quality.d.ts +5 -5
- package/dist/esm/clusters/air-quality.js +1 -1
- package/dist/esm/clusters/alarm-base.d.ts +43 -43
- package/dist/esm/clusters/alarm-base.js +14 -14
- package/dist/esm/clusters/application-basic.d.ts +16 -16
- package/dist/esm/clusters/application-basic.js +10 -10
- package/dist/esm/clusters/application-launcher.d.ts +104 -104
- package/dist/esm/clusters/application-launcher.js +13 -13
- package/dist/esm/clusters/audio-output.d.ts +37 -37
- package/dist/esm/clusters/audio-output.js +8 -8
- package/dist/esm/clusters/basic-information.d.ts +55 -55
- package/dist/esm/clusters/basic-information.js +35 -35
- package/dist/esm/clusters/binding.d.ts +12 -12
- package/dist/esm/clusters/binding.js +5 -5
- package/dist/esm/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/esm/clusters/boolean-state-configuration.js +18 -18
- package/dist/esm/clusters/boolean-state.d.ts +7 -7
- package/dist/esm/clusters/boolean-state.js +3 -3
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +105 -105
- package/dist/esm/clusters/bridged-device-basic-information.js +29 -29
- package/dist/esm/clusters/channel.d.ts +561 -561
- package/dist/esm/clusters/channel.js +73 -73
- package/dist/esm/clusters/color-control.d.ts +658 -658
- package/dist/esm/clusters/color-control.js +116 -116
- package/dist/esm/clusters/commissioner-control.d.ts +16 -16
- package/dist/esm/clusters/commissioner-control.js +5 -5
- package/dist/esm/clusters/concentration-measurement.d.ts +26 -26
- package/dist/esm/clusters/concentration-measurement.js +11 -11
- package/dist/esm/clusters/content-app-observer.d.ts +18 -18
- package/dist/esm/clusters/content-app-observer.js +6 -6
- package/dist/esm/clusters/content-control.d.ts +366 -366
- package/dist/esm/clusters/content-control.js +58 -58
- package/dist/esm/clusters/content-launcher.d.ts +479 -479
- package/dist/esm/clusters/content-launcher.js +39 -39
- package/dist/esm/clusters/descriptor.d.ts +30 -30
- package/dist/esm/clusters/descriptor.js +9 -9
- package/dist/esm/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/esm/clusters/device-energy-management-mode.js +8 -8
- package/dist/esm/clusters/device-energy-management.d.ts +544 -544
- package/dist/esm/clusters/device-energy-management.js +87 -87
- package/dist/esm/clusters/diagnostic-logs.d.ts +37 -37
- package/dist/esm/clusters/diagnostic-logs.js +8 -8
- package/dist/esm/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/esm/clusters/dishwasher-alarm.js +14 -14
- package/dist/esm/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/esm/clusters/dishwasher-mode.js +8 -8
- package/dist/esm/clusters/door-lock.d.ts +1349 -1349
- package/dist/esm/clusters/door-lock.js +227 -227
- package/dist/esm/clusters/ecosystem-information.d.ts +35 -35
- package/dist/esm/clusters/ecosystem-information.js +14 -14
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +276 -276
- package/dist/esm/clusters/electrical-energy-measurement.js +25 -25
- package/dist/esm/clusters/electrical-power-measurement.d.ts +200 -200
- package/dist/esm/clusters/electrical-power-measurement.js +39 -39
- package/dist/esm/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/esm/clusters/energy-evse-mode.js +8 -8
- package/dist/esm/clusters/energy-evse.d.ts +323 -323
- package/dist/esm/clusters/energy-evse.js +73 -73
- package/dist/esm/clusters/energy-preference.d.ts +49 -49
- package/dist/esm/clusters/energy-preference.js +9 -9
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/esm/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/esm/clusters/fan-control.d.ts +83 -83
- package/dist/esm/clusters/fan-control.js +19 -19
- package/dist/esm/clusters/fixed-label.d.ts +2 -2
- package/dist/esm/clusters/fixed-label.js +1 -1
- package/dist/esm/clusters/flow-measurement.d.ts +5 -5
- package/dist/esm/clusters/flow-measurement.js +4 -4
- package/dist/esm/clusters/general-commissioning.d.ts +104 -104
- package/dist/esm/clusters/general-commissioning.js +25 -25
- package/dist/esm/clusters/general-diagnostics.d.ts +174 -174
- package/dist/esm/clusters/general-diagnostics.js +40 -40
- package/dist/esm/clusters/group-key-management.d.ts +119 -119
- package/dist/esm/clusters/group-key-management.js +23 -23
- package/dist/esm/clusters/groups.d.ts +78 -78
- package/dist/esm/clusters/groups.js +21 -21
- package/dist/esm/clusters/icd-management.d.ts +131 -131
- package/dist/esm/clusters/icd-management.js +29 -29
- package/dist/esm/clusters/identify.d.ts +16 -16
- package/dist/esm/clusters/identify.js +6 -6
- package/dist/esm/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/esm/clusters/illuminance-measurement.js +5 -5
- package/dist/esm/clusters/joint-fabric-administrator.d.ts +34 -34
- package/dist/esm/clusters/joint-fabric-administrator.js +10 -10
- package/dist/esm/clusters/joint-fabric-datastore.d.ts +232 -232
- package/dist/esm/clusters/joint-fabric-datastore.js +73 -73
- package/dist/esm/clusters/keypad-input.d.ts +18 -18
- package/dist/esm/clusters/keypad-input.js +3 -3
- package/dist/esm/clusters/label.d.ts +10 -10
- package/dist/esm/clusters/label.js +3 -3
- package/dist/esm/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/esm/clusters/laundry-dryer-controls.js +2 -2
- package/dist/esm/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/esm/clusters/laundry-washer-controls.js +6 -6
- package/dist/esm/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/esm/clusters/laundry-washer-mode.js +5 -5
- package/dist/esm/clusters/level-control.d.ts +303 -303
- package/dist/esm/clusters/level-control.js +32 -32
- package/dist/esm/clusters/localization-configuration.d.ts +3 -3
- package/dist/esm/clusters/localization-configuration.js +2 -2
- package/dist/esm/clusters/low-power.d.ts +2 -2
- package/dist/esm/clusters/low-power.js +1 -1
- package/dist/esm/clusters/media-input.d.ts +47 -47
- package/dist/esm/clusters/media-input.js +11 -11
- package/dist/esm/clusters/media-playback.d.ts +390 -390
- package/dist/esm/clusters/media-playback.js +57 -57
- package/dist/esm/clusters/messages.d.ts +154 -154
- package/dist/esm/clusters/messages.js +38 -38
- package/dist/esm/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/esm/clusters/microwave-oven-control.js +17 -17
- package/dist/esm/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/esm/clusters/microwave-oven-mode.js +7 -7
- package/dist/esm/clusters/mode-base.d.ts +59 -59
- package/dist/esm/clusters/mode-base.js +13 -13
- package/dist/esm/clusters/mode-select.d.ts +51 -51
- package/dist/esm/clusters/mode-select.js +13 -13
- package/dist/esm/clusters/network-commissioning.d.ts +325 -325
- package/dist/esm/clusters/network-commissioning.js +46 -46
- package/dist/esm/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/esm/clusters/occupancy-sensing.js +20 -20
- package/dist/esm/clusters/on-off.d.ts +103 -103
- package/dist/esm/clusters/on-off.js +19 -19
- package/dist/esm/clusters/operational-credentials.d.ts +106 -106
- package/dist/esm/clusters/operational-credentials.js +38 -38
- package/dist/esm/clusters/operational-state.d.ts +67 -67
- package/dist/esm/clusters/operational-state.js +21 -21
- package/dist/esm/clusters/ota-software-update-provider.d.ts +65 -65
- package/dist/esm/clusters/ota-software-update-provider.js +25 -25
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/esm/clusters/ota-software-update-requestor.js +25 -25
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/esm/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/esm/clusters/oven-mode.d.ts +49 -49
- package/dist/esm/clusters/oven-mode.js +8 -8
- package/dist/esm/clusters/power-source-configuration.d.ts +2 -2
- package/dist/esm/clusters/power-source-configuration.js +1 -1
- package/dist/esm/clusters/power-source.d.ts +155 -155
- package/dist/esm/clusters/power-source.js +41 -41
- package/dist/esm/clusters/power-topology.d.ts +8 -8
- package/dist/esm/clusters/power-topology.js +2 -2
- package/dist/esm/clusters/pressure-measurement.d.ts +25 -25
- package/dist/esm/clusters/pressure-measurement.js +9 -9
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/esm/clusters/pump-configuration-and-control.js +57 -57
- package/dist/esm/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/esm/clusters/refrigerator-alarm.js +11 -11
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/esm/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/esm/clusters/relative-humidity-measurement.js +4 -4
- package/dist/esm/clusters/resource-monitoring.d.ts +20 -20
- package/dist/esm/clusters/resource-monitoring.js +7 -7
- package/dist/esm/clusters/rvc-clean-mode.d.ts +49 -49
- package/dist/esm/clusters/rvc-clean-mode.js +9 -9
- package/dist/esm/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/esm/clusters/rvc-operational-state.js +17 -17
- package/dist/esm/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/esm/clusters/rvc-run-mode.js +9 -9
- package/dist/esm/clusters/scenes-management.d.ts +244 -244
- package/dist/esm/clusters/scenes-management.js +69 -69
- package/dist/esm/clusters/service-area.d.ts +128 -128
- package/dist/esm/clusters/service-area.js +26 -26
- package/dist/esm/clusters/smoke-co-alarm.d.ts +135 -135
- package/dist/esm/clusters/smoke-co-alarm.js +30 -30
- package/dist/esm/clusters/software-diagnostics.d.ts +53 -53
- package/dist/esm/clusters/software-diagnostics.js +14 -14
- package/dist/esm/clusters/switch.d.ts +105 -105
- package/dist/esm/clusters/switch.js +23 -23
- package/dist/esm/clusters/target-navigator.d.ts +32 -32
- package/dist/esm/clusters/target-navigator.js +10 -10
- package/dist/esm/clusters/temperature-control.d.ts +45 -45
- package/dist/esm/clusters/temperature-control.js +12 -12
- package/dist/esm/clusters/temperature-measurement.d.ts +5 -5
- package/dist/esm/clusters/temperature-measurement.js +4 -4
- package/dist/esm/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/esm/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/esm/clusters/thermostat.d.ts +514 -514
- package/dist/esm/clusters/thermostat.js +114 -114
- package/dist/esm/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/esm/clusters/thread-border-router-management.js +14 -14
- package/dist/esm/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/esm/clusters/thread-network-diagnostics.js +108 -108
- package/dist/esm/clusters/thread-network-directory.d.ts +27 -27
- package/dist/esm/clusters/thread-network-directory.js +11 -11
- package/dist/esm/clusters/time-format-localization.d.ts +12 -12
- package/dist/esm/clusters/time-format-localization.js +3 -3
- package/dist/esm/clusters/time-synchronization.d.ts +246 -246
- package/dist/esm/clusters/time-synchronization.js +47 -47
- package/dist/esm/clusters/unit-localization.d.ts +9 -9
- package/dist/esm/clusters/unit-localization.js +2 -2
- package/dist/esm/clusters/user-label.d.ts +2 -2
- package/dist/esm/clusters/user-label.js +1 -1
- package/dist/esm/clusters/valve-configuration-and-control.d.ts +81 -81
- package/dist/esm/clusters/valve-configuration-and-control.js +22 -22
- package/dist/esm/clusters/wake-on-lan.d.ts +3 -3
- package/dist/esm/clusters/wake-on-lan.js +2 -2
- package/dist/esm/clusters/water-heater-management.d.ts +91 -91
- package/dist/esm/clusters/water-heater-management.js +16 -16
- package/dist/esm/clusters/water-heater-mode.d.ts +42 -42
- package/dist/esm/clusters/water-heater-mode.js +8 -8
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/esm/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/esm/clusters/wi-fi-network-management.d.ts +8 -8
- package/dist/esm/clusters/wi-fi-network-management.js +4 -4
- package/dist/esm/clusters/window-covering.d.ts +183 -183
- package/dist/esm/clusters/window-covering.js +49 -49
- package/dist/esm/dcl/operational-certificate.d.ts +8 -1
- package/dist/esm/dcl/operational-certificate.d.ts.map +1 -1
- package/dist/esm/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/esm/globals/AtomicAttributeStatus.js +2 -2
- package/dist/esm/globals/AtomicRequestType.d.ts +1 -1
- package/dist/esm/globals/Currency.d.ts +2 -2
- package/dist/esm/globals/Locationdesc.d.ts +5 -5
- package/dist/esm/globals/Locationdesc.js +3 -3
- package/dist/esm/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/esm/globals/MeasurementAccuracy.js +3 -3
- package/dist/esm/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/esm/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/esm/globals/MeasurementType.d.ts +1 -1
- package/dist/esm/globals/Namespace.d.ts +1 -1
- package/dist/esm/globals/Price.d.ts +2 -2
- package/dist/esm/globals/Priority.d.ts +1 -1
- package/dist/esm/globals/Semtag.d.ts +6 -6
- package/dist/esm/globals/Semtag.js +4 -4
- package/dist/esm/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/esm/globals/Status.d.ts +36 -36
- package/dist/esm/globals/ThreeLevelAuto.d.ts +1 -1
- package/dist/esm/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/esm/protocol/definitions/secure-channel.d.ts +2 -0
- package/dist/esm/protocol/definitions/secure-channel.d.ts.map +1 -1
- package/dist/esm/protocol/definitions/secure-channel.js +1 -0
- package/dist/esm/protocol/definitions/secure-channel.js.map +1 -1
- package/dist/esm/schema/PairingCodeSchema.d.ts +4 -0
- package/dist/esm/schema/PairingCodeSchema.d.ts.map +1 -1
- package/dist/esm/schema/PairingCodeSchema.js +18 -2
- package/dist/esm/schema/PairingCodeSchema.js.map +2 -2
- package/package.json +5 -5
- package/src/clusters/access-control.ts +72 -72
- package/src/clusters/account-login.ts +22 -22
- package/src/clusters/actions.ts +86 -86
- package/src/clusters/administrator-commissioning.ts +23 -23
- package/src/clusters/air-quality.ts +4 -4
- package/src/clusters/alarm-base.ts +22 -22
- package/src/clusters/application-basic.ts +14 -14
- package/src/clusters/application-launcher.ts +33 -33
- package/src/clusters/audio-output.ts +17 -17
- package/src/clusters/basic-information.ts +48 -48
- package/src/clusters/binding.ts +8 -8
- package/src/clusters/boolean-state-configuration.ts +31 -31
- package/src/clusters/boolean-state.ts +6 -6
- package/src/clusters/bridged-device-basic-information.ts +39 -39
- package/src/clusters/channel.ts +113 -113
- package/src/clusters/color-control.ts +168 -168
- package/src/clusters/commissioner-control.ts +15 -15
- package/src/clusters/concentration-measurement.ts +15 -15
- package/src/clusters/content-app-observer.ts +13 -13
- package/src/clusters/content-control.ts +106 -106
- package/src/clusters/content-launcher.ts +73 -73
- package/src/clusters/descriptor.ts +14 -14
- package/src/clusters/device-energy-management-mode.ts +28 -28
- package/src/clusters/device-energy-management.ts +136 -136
- package/src/clusters/diagnostic-logs.ts +30 -30
- package/src/clusters/dishwasher-alarm.ts +24 -24
- package/src/clusters/dishwasher-mode.ts +27 -27
- package/src/clusters/door-lock.ts +378 -378
- package/src/clusters/ecosystem-information.ts +21 -21
- package/src/clusters/electrical-energy-measurement.ts +40 -40
- package/src/clusters/electrical-power-measurement.ts +54 -54
- package/src/clusters/energy-evse-mode.ts +28 -28
- package/src/clusters/energy-evse.ts +109 -109
- package/src/clusters/energy-preference.ts +19 -19
- package/src/clusters/ethernet-network-diagnostics.ts +13 -13
- package/src/clusters/fan-control.ts +30 -30
- package/src/clusters/fixed-label.ts +2 -2
- package/src/clusters/flow-measurement.ts +5 -5
- package/src/clusters/general-commissioning.ts +45 -45
- package/src/clusters/general-diagnostics.ts +66 -66
- package/src/clusters/group-key-management.ts +45 -45
- package/src/clusters/groups.ts +44 -44
- package/src/clusters/icd-management.ts +50 -50
- package/src/clusters/identify.ts +14 -14
- package/src/clusters/illuminance-measurement.ts +7 -7
- package/src/clusters/joint-fabric-administrator.ts +31 -31
- package/src/clusters/joint-fabric-datastore.ts +145 -145
- package/src/clusters/keypad-input.ts +13 -13
- package/src/clusters/label.ts +5 -5
- package/src/clusters/laundry-dryer-controls.ts +4 -4
- package/src/clusters/laundry-washer-controls.ts +11 -11
- package/src/clusters/laundry-washer-mode.ts +25 -25
- package/src/clusters/level-control.ts +49 -49
- package/src/clusters/localization-configuration.ts +3 -3
- package/src/clusters/low-power.ts +2 -2
- package/src/clusters/media-input.ts +20 -20
- package/src/clusters/media-playback.ts +96 -96
- package/src/clusters/messages.ts +61 -61
- package/src/clusters/microwave-oven-control.ts +23 -23
- package/src/clusters/microwave-oven-mode.ts +25 -25
- package/src/clusters/mode-base.ts +37 -37
- package/src/clusters/mode-select.ts +22 -22
- package/src/clusters/network-commissioning.ts +76 -76
- package/src/clusters/occupancy-sensing.ts +29 -29
- package/src/clusters/on-off.ts +33 -33
- package/src/clusters/operational-credentials.ts +75 -75
- package/src/clusters/operational-state.ts +34 -34
- package/src/clusters/ota-software-update-provider.ts +43 -43
- package/src/clusters/ota-software-update-requestor.ts +55 -55
- package/src/clusters/oven-cavity-operational-state.ts +14 -14
- package/src/clusters/oven-mode.ts +34 -34
- package/src/clusters/power-source-configuration.ts +2 -2
- package/src/clusters/power-source.ts +59 -59
- package/src/clusters/power-topology.ts +4 -4
- package/src/clusters/pressure-measurement.ts +11 -11
- package/src/clusters/pump-configuration-and-control.ts +69 -69
- package/src/clusters/refrigerator-alarm.ts +18 -18
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +26 -26
- package/src/clusters/relative-humidity-measurement.ts +5 -5
- package/src/clusters/resource-monitoring.ts +13 -13
- package/src/clusters/rvc-clean-mode.ts +32 -32
- package/src/clusters/rvc-operational-state.ts +28 -28
- package/src/clusters/rvc-run-mode.ts +38 -38
- package/src/clusters/scenes-management.ts +111 -111
- package/src/clusters/service-area.ts +50 -50
- package/src/clusters/smoke-co-alarm.ts +66 -66
- package/src/clusters/software-diagnostics.ts +20 -20
- package/src/clusters/switch.ts +45 -45
- package/src/clusters/target-navigator.ts +22 -22
- package/src/clusters/temperature-control.ts +19 -19
- package/src/clusters/temperature-measurement.ts +5 -5
- package/src/clusters/thermostat-user-interface-configuration.ts +7 -7
- package/src/clusters/thermostat.ts +172 -172
- package/src/clusters/thread-border-router-management.ts +23 -23
- package/src/clusters/thread-network-diagnostics.ts +125 -125
- package/src/clusters/thread-network-directory.ts +22 -22
- package/src/clusters/time-format-localization.ts +7 -7
- package/src/clusters/time-synchronization.ts +82 -82
- package/src/clusters/unit-localization.ts +5 -5
- package/src/clusters/user-label.ts +2 -2
- package/src/clusters/valve-configuration-and-control.ts +36 -36
- package/src/clusters/wake-on-lan.ts +3 -3
- package/src/clusters/water-heater-management.ts +26 -26
- package/src/clusters/water-heater-mode.ts +27 -27
- package/src/clusters/wi-fi-network-diagnostics.ts +32 -32
- package/src/clusters/wi-fi-network-management.ts +7 -7
- package/src/clusters/window-covering.ts +68 -68
- package/src/dcl/operational-certificate.ts +9 -1
- package/src/globals/AtomicAttributeStatus.ts +4 -4
- package/src/globals/AtomicRequestType.ts +1 -1
- package/src/globals/Currency.ts +2 -2
- package/src/globals/Locationdesc.ts +5 -5
- package/src/globals/MeasurementAccuracy.ts +5 -5
- package/src/globals/MeasurementAccuracyRange.ts +10 -10
- package/src/globals/MeasurementType.ts +1 -1
- package/src/globals/Namespace.ts +1 -1
- package/src/globals/Price.ts +2 -2
- package/src/globals/Priority.ts +1 -1
- package/src/globals/Semtag.ts +6 -6
- package/src/globals/SoftwareVersionCertificationStatus.ts +1 -1
- package/src/globals/Status.ts +36 -36
- package/src/globals/ThreeLevelAuto.ts +1 -1
- package/src/globals/WildcardPathFlags.ts +1 -1
- package/src/protocol/definitions/secure-channel.ts +3 -0
- package/src/schema/PairingCodeSchema.ts +21 -4
|
@@ -62,7 +62,7 @@ var DoorLock;
|
|
|
62
62
|
/**
|
|
63
63
|
* This field shall indicate the new door state for this door event.
|
|
64
64
|
*
|
|
65
|
-
* @see {@link MatterSpecification.
|
|
65
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.2.1
|
|
66
66
|
*/
|
|
67
67
|
doorState: TlvField(0, TlvEnum())
|
|
68
68
|
});
|
|
@@ -115,13 +115,13 @@ var DoorLock;
|
|
|
115
115
|
/**
|
|
116
116
|
* This field shall indicate the type of operation.
|
|
117
117
|
*
|
|
118
|
-
* @see {@link MatterSpecification.
|
|
118
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.1
|
|
119
119
|
*/
|
|
120
120
|
operationType: TlvField(0, TlvEnum()),
|
|
121
121
|
/**
|
|
122
122
|
* This field shall indicate the user ID.
|
|
123
123
|
*
|
|
124
|
-
* @see {@link MatterSpecification.
|
|
124
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.2
|
|
125
125
|
*/
|
|
126
126
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
127
127
|
/**
|
|
@@ -135,7 +135,7 @@ var DoorLock;
|
|
|
135
135
|
*
|
|
136
136
|
* If UserName is not null, the UserName in the user record shall be set to the provided value.
|
|
137
137
|
*
|
|
138
|
-
* @see {@link MatterSpecification.
|
|
138
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.3
|
|
139
139
|
*/
|
|
140
140
|
userName: TlvField(2, TlvNullable(TlvString.bound({ maxLength: 10 }))),
|
|
141
141
|
/**
|
|
@@ -152,7 +152,7 @@ var DoorLock;
|
|
|
152
152
|
*
|
|
153
153
|
* If UserUniqueID is not null, the UserUniqueID in the user record shall be set to the provided value.
|
|
154
154
|
*
|
|
155
|
-
* @see {@link MatterSpecification.
|
|
155
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.4
|
|
156
156
|
*/
|
|
157
157
|
userUniqueId: TlvField(3, TlvNullable(TlvUInt32)),
|
|
158
158
|
/**
|
|
@@ -167,7 +167,7 @@ var DoorLock;
|
|
|
167
167
|
*
|
|
168
168
|
* If UserStatus is not null, the UserStatus in the user record shall be set to the provided value.
|
|
169
169
|
*
|
|
170
|
-
* @see {@link MatterSpecification.
|
|
170
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.5
|
|
171
171
|
*/
|
|
172
172
|
userStatus: TlvField(4, TlvNullable(TlvEnum())),
|
|
173
173
|
/**
|
|
@@ -182,7 +182,7 @@ var DoorLock;
|
|
|
182
182
|
*
|
|
183
183
|
* If UserType is not null, the UserType in the user record shall be set to the provided value.
|
|
184
184
|
*
|
|
185
|
-
* @see {@link MatterSpecification.
|
|
185
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.6
|
|
186
186
|
*/
|
|
187
187
|
userType: TlvField(5, TlvNullable(TlvEnum())),
|
|
188
188
|
/**
|
|
@@ -201,7 +201,7 @@ var DoorLock;
|
|
|
201
201
|
*
|
|
202
202
|
* If CredentialRule is not null, the CredentialRule in the user record shall be set to the provided value.
|
|
203
203
|
*
|
|
204
|
-
* @see {@link MatterSpecification.
|
|
204
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32.7
|
|
205
205
|
*/
|
|
206
206
|
credentialRule: TlvField(6, TlvNullable(TlvEnum()))
|
|
207
207
|
});
|
|
@@ -222,7 +222,7 @@ var DoorLock;
|
|
|
222
222
|
/**
|
|
223
223
|
* This field shall indicate the credential field used to authorize the lock operation.
|
|
224
224
|
*
|
|
225
|
-
* @see {@link MatterSpecification.
|
|
225
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.24.1
|
|
226
226
|
*/
|
|
227
227
|
credentialType: TlvField(0, TlvEnum()),
|
|
228
228
|
/**
|
|
@@ -230,7 +230,7 @@ var DoorLock;
|
|
|
230
230
|
* list of credentials identified by CredentialType (e.g. PIN, RFID, etc.). This field shall be set to 0 if
|
|
231
231
|
* CredentialType is ProgrammingPIN or does not correspond to a list that can be indexed into.
|
|
232
232
|
*
|
|
233
|
-
* @see {@link MatterSpecification.
|
|
233
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.24.2
|
|
234
234
|
*/
|
|
235
235
|
credentialIndex: TlvField(1, TlvUInt16)
|
|
236
236
|
});
|
|
@@ -238,43 +238,43 @@ var DoorLock;
|
|
|
238
238
|
/**
|
|
239
239
|
* This field shall indicate the user ID.
|
|
240
240
|
*
|
|
241
|
-
* @see {@link MatterSpecification.
|
|
241
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.1
|
|
242
242
|
*/
|
|
243
243
|
userIndex: TlvField(0, TlvUInt16.bound({ min: 1 })),
|
|
244
244
|
/**
|
|
245
245
|
* This field shall contain a string to use as a human readable identifier for the user.
|
|
246
246
|
*
|
|
247
|
-
* @see {@link MatterSpecification.
|
|
247
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.2
|
|
248
248
|
*/
|
|
249
249
|
userName: TlvField(1, TlvNullable(TlvString.bound({ maxLength: 10 }))),
|
|
250
250
|
/**
|
|
251
251
|
* See UserUniqueID.
|
|
252
252
|
*
|
|
253
|
-
* @see {@link MatterSpecification.
|
|
253
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.3
|
|
254
254
|
*/
|
|
255
255
|
userUniqueId: TlvField(2, TlvNullable(TlvUInt32)),
|
|
256
256
|
/**
|
|
257
257
|
* This field shall indicate the UserStatus assigned to the user when created or modified.
|
|
258
258
|
*
|
|
259
|
-
* @see {@link MatterSpecification.
|
|
259
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.4
|
|
260
260
|
*/
|
|
261
261
|
userStatus: TlvField(3, TlvNullable(TlvEnum())),
|
|
262
262
|
/**
|
|
263
263
|
* This field shall indicate the UserType assigned to this user when created or modified.
|
|
264
264
|
*
|
|
265
|
-
* @see {@link MatterSpecification.
|
|
265
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.5
|
|
266
266
|
*/
|
|
267
267
|
userType: TlvField(4, TlvNullable(TlvEnum())),
|
|
268
268
|
/**
|
|
269
269
|
* This field shall indicate the CredentialRule set for this user.
|
|
270
270
|
*
|
|
271
|
-
* @see {@link MatterSpecification.
|
|
271
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.6
|
|
272
272
|
*/
|
|
273
273
|
credentialRule: TlvField(5, TlvNullable(TlvEnum())),
|
|
274
274
|
/**
|
|
275
275
|
* This field shall contain a list of credentials for this user.
|
|
276
276
|
*
|
|
277
|
-
* @see {@link MatterSpecification.
|
|
277
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.7
|
|
278
278
|
*/
|
|
279
279
|
credentials: TlvField(6, TlvNullable(TlvArray(DoorLock2.TlvCredential, { minLength: 0 }))),
|
|
280
280
|
/**
|
|
@@ -283,7 +283,7 @@ var DoorLock;
|
|
|
283
283
|
* the Interaction Model) and shall NOT be null otherwise. This value shall be set to 0 if the original creator
|
|
284
284
|
* fabric was deleted.
|
|
285
285
|
*
|
|
286
|
-
* @see {@link MatterSpecification.
|
|
286
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.8
|
|
287
287
|
*/
|
|
288
288
|
creatorFabricIndex: TlvField(7, TlvNullable(TlvFabricIndex)),
|
|
289
289
|
/**
|
|
@@ -292,7 +292,7 @@ var DoorLock;
|
|
|
292
292
|
* modified outside the Interaction Model) and shall NOT be null otherwise. This value shall be set to 0 if the
|
|
293
293
|
* last modifier fabric was deleted.
|
|
294
294
|
*
|
|
295
|
-
* @see {@link MatterSpecification.
|
|
295
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.9
|
|
296
296
|
*/
|
|
297
297
|
lastModifiedFabricIndex: TlvField(8, TlvNullable(TlvFabricIndex)),
|
|
298
298
|
/**
|
|
@@ -300,7 +300,7 @@ var DoorLock;
|
|
|
300
300
|
* occupied user slots in the database. This shall NOT be null if there is at least one occupied entry after the
|
|
301
301
|
* requested UserIndex in the User database and shall be null if there are no more occupied entries.
|
|
302
302
|
*
|
|
303
|
-
* @see {@link MatterSpecification.
|
|
303
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.34.10
|
|
304
304
|
*/
|
|
305
305
|
nextUserIndex: TlvField(9, TlvNullable(TlvUInt16.bound({ min: 1 })))
|
|
306
306
|
});
|
|
@@ -308,7 +308,7 @@ var DoorLock;
|
|
|
308
308
|
/**
|
|
309
309
|
* This field shall specify a valid User index or 0xFFFE to indicate all user slots shall be cleared.
|
|
310
310
|
*
|
|
311
|
-
* @see {@link MatterSpecification.
|
|
311
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.35.1
|
|
312
312
|
*/
|
|
313
313
|
userIndex: TlvField(0, TlvUInt16)
|
|
314
314
|
});
|
|
@@ -316,14 +316,14 @@ var DoorLock;
|
|
|
316
316
|
/**
|
|
317
317
|
* This field shall indicate the set credential operation type requested.
|
|
318
318
|
*
|
|
319
|
-
* @see {@link MatterSpecification.
|
|
319
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36.1
|
|
320
320
|
*/
|
|
321
321
|
operationType: TlvField(0, TlvEnum()),
|
|
322
322
|
/**
|
|
323
323
|
* This field shall contain a credential structure that contains the CredentialTypeEnum and the credential index
|
|
324
324
|
* (if applicable or 0 if not) to set.
|
|
325
325
|
*
|
|
326
|
-
* @see {@link MatterSpecification.
|
|
326
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36.2
|
|
327
327
|
*/
|
|
328
328
|
credential: TlvField(1, DoorLock2.TlvCredential),
|
|
329
329
|
/**
|
|
@@ -331,7 +331,7 @@ var DoorLock;
|
|
|
331
331
|
* of the credential data shall conform to the limits of the CredentialType specified in the Credential
|
|
332
332
|
* structure otherwise an INVALID_COMMAND status shall be returned in the SetCredentialResponse command.
|
|
333
333
|
*
|
|
334
|
-
* @see {@link MatterSpecification.
|
|
334
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36.3
|
|
335
335
|
*/
|
|
336
336
|
credentialData: TlvField(2, TlvByteString),
|
|
337
337
|
/**
|
|
@@ -339,21 +339,21 @@ var DoorLock;
|
|
|
339
339
|
* modified. This shall be null if OperationType is add and a new credential and user is being added at the same
|
|
340
340
|
* time.
|
|
341
341
|
*
|
|
342
|
-
* @see {@link MatterSpecification.
|
|
342
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36.4
|
|
343
343
|
*/
|
|
344
344
|
userIndex: TlvField(3, TlvNullable(TlvUInt16.bound({ min: 1 }))),
|
|
345
345
|
/**
|
|
346
346
|
* This field shall indicate the user status to use in the new user record if a new user is being created. This
|
|
347
347
|
* shall be null if OperationType is Modify. This may be null when adding a new credential and user.
|
|
348
348
|
*
|
|
349
|
-
* @see {@link MatterSpecification.
|
|
349
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36.5
|
|
350
350
|
*/
|
|
351
351
|
userStatus: TlvField(4, TlvNullable(TlvEnum())),
|
|
352
352
|
/**
|
|
353
353
|
* This field shall indicate the user type to use in the new user record if a new user is being created. This
|
|
354
354
|
* shall be null if OperationType is Modify. This may be null when adding a new credential and user.
|
|
355
355
|
*
|
|
356
|
-
* @see {@link MatterSpecification.
|
|
356
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36.6
|
|
357
357
|
*/
|
|
358
358
|
userType: TlvField(5, TlvNullable(TlvEnum()))
|
|
359
359
|
});
|
|
@@ -390,7 +390,7 @@ var DoorLock;
|
|
|
390
390
|
*
|
|
391
391
|
* • INVALID_COMMAND, if OperationType is Modify and UserIndex points to an available slot.
|
|
392
392
|
*
|
|
393
|
-
* @see {@link MatterSpecification.
|
|
393
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.37.1
|
|
394
394
|
*/
|
|
395
395
|
status: TlvField(0, TlvEnum()),
|
|
396
396
|
/**
|
|
@@ -400,7 +400,7 @@ var DoorLock;
|
|
|
400
400
|
* created. If the OperationType was Add and an existing User was associated with the new credential then this
|
|
401
401
|
* shall be null.
|
|
402
402
|
*
|
|
403
|
-
* @see {@link MatterSpecification.
|
|
403
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.37.2
|
|
404
404
|
*/
|
|
405
405
|
userIndex: TlvField(1, TlvNullable(TlvUInt16.bound({ min: 1 }))),
|
|
406
406
|
/**
|
|
@@ -410,7 +410,7 @@ var DoorLock;
|
|
|
410
410
|
* null if there are no more available entries. The NextCredentialIndex reported shall NOT exceed the maximum
|
|
411
411
|
* number of credentials for a particular credential type.
|
|
412
412
|
*
|
|
413
|
-
* @see {@link MatterSpecification.
|
|
413
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.37.3
|
|
414
414
|
*/
|
|
415
415
|
nextCredentialIndex: TlvOptionalField(2, TlvNullable(TlvUInt16))
|
|
416
416
|
});
|
|
@@ -419,7 +419,7 @@ var DoorLock;
|
|
|
419
419
|
* This field shall contain a credential structure that contains the CredentialTypeEnum and the credential index
|
|
420
420
|
* (if applicable or 0 if not) to retrieve the status for.
|
|
421
421
|
*
|
|
422
|
-
* @see {@link MatterSpecification.
|
|
422
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.38.1
|
|
423
423
|
*/
|
|
424
424
|
credential: TlvField(0, DoorLock2.TlvCredential)
|
|
425
425
|
});
|
|
@@ -428,7 +428,7 @@ var DoorLock;
|
|
|
428
428
|
* This field shall indicate if the requested credential type and index exists and is populated for the
|
|
429
429
|
* requested user index.
|
|
430
430
|
*
|
|
431
|
-
* @see {@link MatterSpecification.
|
|
431
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39.1
|
|
432
432
|
*/
|
|
433
433
|
credentialExists: TlvField(0, TlvBoolean),
|
|
434
434
|
/**
|
|
@@ -436,7 +436,7 @@ var DoorLock;
|
|
|
436
436
|
* CredentialType requested was ProgrammingPIN then UserIndex shall be null; otherwise, UserIndex shall be null
|
|
437
437
|
* if CredentialExists is set to False and shall NOT be null if CredentialExists is set to True.
|
|
438
438
|
*
|
|
439
|
-
* @see {@link MatterSpecification.
|
|
439
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39.2
|
|
440
440
|
*/
|
|
441
441
|
userIndex: TlvField(1, TlvNullable(TlvUInt16.bound({ min: 1 }))),
|
|
442
442
|
/**
|
|
@@ -445,7 +445,7 @@ var DoorLock;
|
|
|
445
445
|
* credential was created outside the Interaction Model) and shall NOT be null otherwise. This value shall be
|
|
446
446
|
* set to 0 if the original creator fabric was deleted.
|
|
447
447
|
*
|
|
448
|
-
* @see {@link MatterSpecification.
|
|
448
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39.3
|
|
449
449
|
*/
|
|
450
450
|
creatorFabricIndex: TlvField(2, TlvNullable(TlvFabricIndex)),
|
|
451
451
|
/**
|
|
@@ -454,7 +454,7 @@ var DoorLock;
|
|
|
454
454
|
* credential was modified outside the Interaction Model) and shall NOT be null otherwise. This value shall be
|
|
455
455
|
* set to 0 if the last modifier fabric was deleted.
|
|
456
456
|
*
|
|
457
|
-
* @see {@link MatterSpecification.
|
|
457
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39.4
|
|
458
458
|
*/
|
|
459
459
|
lastModifiedFabricIndex: TlvField(3, TlvNullable(TlvFabricIndex)),
|
|
460
460
|
/**
|
|
@@ -464,7 +464,7 @@ var DoorLock;
|
|
|
464
464
|
* null if there are no more occupied entries. The NextCredentialIndex reported shall NOT exceed the maximum
|
|
465
465
|
* number of credentials for a particular credential type.
|
|
466
466
|
*
|
|
467
|
-
* @see {@link MatterSpecification.
|
|
467
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39.5
|
|
468
468
|
*/
|
|
469
469
|
nextCredentialIndex: TlvOptionalField(4, TlvNullable(TlvUInt16)),
|
|
470
470
|
/**
|
|
@@ -483,7 +483,7 @@ var DoorLock;
|
|
|
483
483
|
* > Since the Aliro credentials are public keys, there is no security risk in allowing them to be read.
|
|
484
484
|
* Possession of the credential octet string does not allow operating the lock.
|
|
485
485
|
*
|
|
486
|
-
* @see {@link MatterSpecification.
|
|
486
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.39.6
|
|
487
487
|
*/
|
|
488
488
|
credentialData: TlvOptionalField(5, TlvNullable(TlvByteString))
|
|
489
489
|
});
|
|
@@ -493,7 +493,7 @@ var DoorLock;
|
|
|
493
493
|
* (0xFFFE for all credentials or 0 if not applicable) to clear. This shall be null if clearing all credential
|
|
494
494
|
* types otherwise it shall NOT be null.
|
|
495
495
|
*
|
|
496
|
-
* @see {@link MatterSpecification.
|
|
496
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.40.1
|
|
497
497
|
*/
|
|
498
498
|
credential: TlvField(0, TlvNullable(DoorLock2.TlvCredential))
|
|
499
499
|
});
|
|
@@ -532,19 +532,19 @@ var DoorLock;
|
|
|
532
532
|
/**
|
|
533
533
|
* This field shall indicate the lock data type that was changed.
|
|
534
534
|
*
|
|
535
|
-
* @see {@link MatterSpecification.
|
|
535
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.1
|
|
536
536
|
*/
|
|
537
537
|
lockDataType: TlvField(0, TlvEnum()),
|
|
538
538
|
/**
|
|
539
539
|
* This field shall indicate the data operation performed on the lock data type changed.
|
|
540
540
|
*
|
|
541
|
-
* @see {@link MatterSpecification.
|
|
541
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.2
|
|
542
542
|
*/
|
|
543
543
|
dataOperationType: TlvField(1, TlvEnum()),
|
|
544
544
|
/**
|
|
545
545
|
* This field shall indicate the source of the user data change.
|
|
546
546
|
*
|
|
547
|
-
* @see {@link MatterSpecification.
|
|
547
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.3
|
|
548
548
|
*/
|
|
549
549
|
operationSource: TlvField(2, TlvEnum()),
|
|
550
550
|
/**
|
|
@@ -552,7 +552,7 @@ var DoorLock;
|
|
|
552
552
|
* is no specific user associated with the data operation. This shall be 0xFFFE if all users are affected (e.g.
|
|
553
553
|
* Clear Users).
|
|
554
554
|
*
|
|
555
|
-
* @see {@link MatterSpecification.
|
|
555
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.4
|
|
556
556
|
*/
|
|
557
557
|
userIndex: TlvField(3, TlvNullable(TlvUInt16)),
|
|
558
558
|
/**
|
|
@@ -560,7 +560,7 @@ var DoorLock;
|
|
|
560
560
|
* null if there is no fabric that can be determined to have caused the change. This shall NOT be null if the
|
|
561
561
|
* operation source is "Remote".
|
|
562
562
|
*
|
|
563
|
-
* @see {@link MatterSpecification.
|
|
563
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.5
|
|
564
564
|
*/
|
|
565
565
|
fabricIndex: TlvField(4, TlvNullable(TlvFabricIndex)),
|
|
566
566
|
/**
|
|
@@ -568,7 +568,7 @@ var DoorLock;
|
|
|
568
568
|
* performed the change. This shall be null if there was no Node involved in the change. This shall NOT be null
|
|
569
569
|
* if the operation source is "Remote".
|
|
570
570
|
*
|
|
571
|
-
* @see {@link MatterSpecification.
|
|
571
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.6
|
|
572
572
|
*/
|
|
573
573
|
sourceNode: TlvField(5, TlvNullable(TlvNodeId)),
|
|
574
574
|
/**
|
|
@@ -577,7 +577,7 @@ var DoorLock;
|
|
|
577
577
|
* list that can be indexed into (e.g. ProgrammingUser). This shall be 0xFFFE if all indices are affected (e.g.
|
|
578
578
|
* ClearPINCode, ClearRFIDCode, ClearWeekDaySchedule, ClearYearDaySchedule, etc.).
|
|
579
579
|
*
|
|
580
|
-
* @see {@link MatterSpecification.
|
|
580
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5.7
|
|
581
581
|
*/
|
|
582
582
|
dataIndex: TlvField(6, TlvNullable(TlvUInt16))
|
|
583
583
|
});
|
|
@@ -615,38 +615,38 @@ var DoorLock;
|
|
|
615
615
|
/**
|
|
616
616
|
* This field shall indicate the index of the Week Day schedule.
|
|
617
617
|
*
|
|
618
|
-
* @see {@link MatterSpecification.
|
|
618
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.1
|
|
619
619
|
*/
|
|
620
620
|
weekDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
621
621
|
/**
|
|
622
622
|
* This field shall indicate the user ID.
|
|
623
623
|
*
|
|
624
|
-
* @see {@link MatterSpecification.
|
|
624
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.2
|
|
625
625
|
*/
|
|
626
626
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
627
627
|
/**
|
|
628
628
|
* This field shall indicate which week days the schedule is active.
|
|
629
629
|
*
|
|
630
|
-
* @see {@link MatterSpecification.
|
|
630
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.3
|
|
631
631
|
*/
|
|
632
632
|
daysMask: TlvField(2, TlvBitmap(TlvUInt8, DoorLock2.DaysMask)),
|
|
633
633
|
/**
|
|
634
634
|
* This field shall indicate the starting hour for the Week Day schedule.
|
|
635
635
|
*
|
|
636
|
-
* @see {@link MatterSpecification.
|
|
636
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.4
|
|
637
637
|
*/
|
|
638
638
|
startHour: TlvField(3, TlvUInt8.bound({ max: 23 })),
|
|
639
639
|
/**
|
|
640
640
|
* This field shall indicate the starting minute for the Week Day schedule.
|
|
641
641
|
*
|
|
642
|
-
* @see {@link MatterSpecification.
|
|
642
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.5
|
|
643
643
|
*/
|
|
644
644
|
startMinute: TlvField(4, TlvUInt8.bound({ max: 59 })),
|
|
645
645
|
/**
|
|
646
646
|
* This field shall indicate the ending hour for the Week Day schedule. EndHour shall be equal to or greater
|
|
647
647
|
* than StartHour.
|
|
648
648
|
*
|
|
649
|
-
* @see {@link MatterSpecification.
|
|
649
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.6
|
|
650
650
|
*/
|
|
651
651
|
endHour: TlvField(5, TlvUInt8.bound({ max: 23 })),
|
|
652
652
|
/**
|
|
@@ -656,7 +656,7 @@ var DoorLock;
|
|
|
656
656
|
* If the EndHour is equal to 23 and the EndMinute is equal to 59 the Lock shall grant access to the user up
|
|
657
657
|
* until 23:59:59.
|
|
658
658
|
*
|
|
659
|
-
* @see {@link MatterSpecification.
|
|
659
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12.7
|
|
660
660
|
*/
|
|
661
661
|
endMinute: TlvField(6, TlvUInt8.bound({ max: 59 }))
|
|
662
662
|
});
|
|
@@ -668,13 +668,13 @@ var DoorLock;
|
|
|
668
668
|
/**
|
|
669
669
|
* This field shall indicate the index of the Week Day schedule.
|
|
670
670
|
*
|
|
671
|
-
* @see {@link MatterSpecification.
|
|
671
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.1
|
|
672
672
|
*/
|
|
673
673
|
weekDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
674
674
|
/**
|
|
675
675
|
* This field shall indicate the user ID.
|
|
676
676
|
*
|
|
677
|
-
* @see {@link MatterSpecification.
|
|
677
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.2
|
|
678
678
|
*/
|
|
679
679
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
680
680
|
/**
|
|
@@ -691,34 +691,34 @@ var DoorLock;
|
|
|
691
691
|
* If this field is SUCCESS, the optional fields for this command shall be present. For other (error) status
|
|
692
692
|
* values, only the fields up to the status field shall be present.
|
|
693
693
|
*
|
|
694
|
-
* @see {@link MatterSpecification.
|
|
694
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.3
|
|
695
695
|
*/
|
|
696
696
|
status: TlvField(2, TlvEnum()),
|
|
697
697
|
daysMask: TlvOptionalField(3, TlvBitmap(TlvUInt8, DoorLock2.DaysMask)),
|
|
698
698
|
/**
|
|
699
699
|
* This field shall indicate the starting hour for the Week Day schedule.
|
|
700
700
|
*
|
|
701
|
-
* @see {@link MatterSpecification.
|
|
701
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.4
|
|
702
702
|
*/
|
|
703
703
|
startHour: TlvOptionalField(4, TlvUInt8.bound({ max: 23 })),
|
|
704
704
|
/**
|
|
705
705
|
* This field shall indicate the starting minute for the Week Day schedule.
|
|
706
706
|
*
|
|
707
|
-
* @see {@link MatterSpecification.
|
|
707
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.5
|
|
708
708
|
*/
|
|
709
709
|
startMinute: TlvOptionalField(5, TlvUInt8.bound({ max: 59 })),
|
|
710
710
|
/**
|
|
711
711
|
* This field shall indicate the ending hour for the Week Day schedule. EndHour shall be equal to or greater
|
|
712
712
|
* than StartHour.
|
|
713
713
|
*
|
|
714
|
-
* @see {@link MatterSpecification.
|
|
714
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.6
|
|
715
715
|
*/
|
|
716
716
|
endHour: TlvOptionalField(6, TlvUInt8.bound({ max: 23 })),
|
|
717
717
|
/**
|
|
718
718
|
* This field shall indicate the ending minute for the Week Day schedule. If EndHour is equal to StartHour then
|
|
719
719
|
* EndMinute shall be greater than StartMinute.
|
|
720
720
|
*
|
|
721
|
-
* @see {@link MatterSpecification.
|
|
721
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.14.7
|
|
722
722
|
*/
|
|
723
723
|
endMinute: TlvOptionalField(7, TlvUInt8.bound({ max: 59 }))
|
|
724
724
|
});
|
|
@@ -727,13 +727,13 @@ var DoorLock;
|
|
|
727
727
|
* This field shall indicate the Week Day schedule index to clear or 0xFE to clear all Week Day schedules for
|
|
728
728
|
* the specified user.
|
|
729
729
|
*
|
|
730
|
-
* @see {@link MatterSpecification.
|
|
730
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.15.1
|
|
731
731
|
*/
|
|
732
732
|
weekDayIndex: TlvField(0, TlvUInt8),
|
|
733
733
|
/**
|
|
734
734
|
* This field shall indicate the user ID.
|
|
735
735
|
*
|
|
736
|
-
* @see {@link MatterSpecification.
|
|
736
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.15.2
|
|
737
737
|
*/
|
|
738
738
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 }))
|
|
739
739
|
});
|
|
@@ -741,20 +741,20 @@ var DoorLock;
|
|
|
741
741
|
/**
|
|
742
742
|
* This field shall indicate the index of the Year Day schedule.
|
|
743
743
|
*
|
|
744
|
-
* @see {@link MatterSpecification.
|
|
744
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.16.1
|
|
745
745
|
*/
|
|
746
746
|
yearDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
747
747
|
/**
|
|
748
748
|
* This field shall indicate the user ID.
|
|
749
749
|
*
|
|
750
|
-
* @see {@link MatterSpecification.
|
|
750
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.16.2
|
|
751
751
|
*/
|
|
752
752
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
753
753
|
/**
|
|
754
754
|
* This field shall indicate the starting time for the Year Day schedule in Epoch Time in Seconds with local
|
|
755
755
|
* time offset based on the local timezone and DST offset on the day represented by the value.
|
|
756
756
|
*
|
|
757
|
-
* @see {@link MatterSpecification.
|
|
757
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.16.3
|
|
758
758
|
*/
|
|
759
759
|
localStartTime: TlvField(2, TlvEpochS),
|
|
760
760
|
/**
|
|
@@ -762,7 +762,7 @@ var DoorLock;
|
|
|
762
762
|
* offset based on the local timezone and DST offset on the day represented by the value. LocalEndTime shall be
|
|
763
763
|
* greater than LocalStartTime.
|
|
764
764
|
*
|
|
765
|
-
* @see {@link MatterSpecification.
|
|
765
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.16.4
|
|
766
766
|
*/
|
|
767
767
|
localEndTime: TlvField(3, TlvEpochS)
|
|
768
768
|
});
|
|
@@ -774,13 +774,13 @@ var DoorLock;
|
|
|
774
774
|
/**
|
|
775
775
|
* This field shall indicate the index of the Year Day schedule.
|
|
776
776
|
*
|
|
777
|
-
* @see {@link MatterSpecification.
|
|
777
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.18.1
|
|
778
778
|
*/
|
|
779
779
|
yearDayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
780
780
|
/**
|
|
781
781
|
* This field shall indicate the user ID.
|
|
782
782
|
*
|
|
783
|
-
* @see {@link MatterSpecification.
|
|
783
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.18.2
|
|
784
784
|
*/
|
|
785
785
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 })),
|
|
786
786
|
/**
|
|
@@ -797,7 +797,7 @@ var DoorLock;
|
|
|
797
797
|
* If this field is SUCCESS, the optional fields for this command shall be present. For other (error) status
|
|
798
798
|
* values, only the fields up to the status field shall be present.
|
|
799
799
|
*
|
|
800
|
-
* @see {@link MatterSpecification.
|
|
800
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.18.3
|
|
801
801
|
*/
|
|
802
802
|
status: TlvField(2, TlvEnum()),
|
|
803
803
|
/**
|
|
@@ -805,7 +805,7 @@ var DoorLock;
|
|
|
805
805
|
* time offset based on the local timezone and DST offset on the day represented by the value. This shall be
|
|
806
806
|
* null if the schedule is not set for the YearDayIndex and UserIndex provided.
|
|
807
807
|
*
|
|
808
|
-
* @see {@link MatterSpecification.
|
|
808
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.18.4
|
|
809
809
|
*/
|
|
810
810
|
localStartTime: TlvOptionalField(3, TlvEpochS),
|
|
811
811
|
/**
|
|
@@ -814,7 +814,7 @@ var DoorLock;
|
|
|
814
814
|
* greater than LocalStartTime. This shall be null if the schedule is not set for the YearDayIndex and UserIndex
|
|
815
815
|
* provided.
|
|
816
816
|
*
|
|
817
|
-
* @see {@link MatterSpecification.
|
|
817
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.18.5
|
|
818
818
|
*/
|
|
819
819
|
localEndTime: TlvOptionalField(4, TlvEpochS)
|
|
820
820
|
});
|
|
@@ -823,13 +823,13 @@ var DoorLock;
|
|
|
823
823
|
* This field shall indicate the Year Day schedule index to clear or 0xFE to clear all Year Day schedules for
|
|
824
824
|
* the specified user.
|
|
825
825
|
*
|
|
826
|
-
* @see {@link MatterSpecification.
|
|
826
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.19.1
|
|
827
827
|
*/
|
|
828
828
|
yearDayIndex: TlvField(0, TlvUInt8),
|
|
829
829
|
/**
|
|
830
830
|
* This field shall indicate the user ID.
|
|
831
831
|
*
|
|
832
|
-
* @see {@link MatterSpecification.
|
|
832
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.19.2
|
|
833
833
|
*/
|
|
834
834
|
userIndex: TlvField(1, TlvUInt16.bound({ min: 1 }))
|
|
835
835
|
});
|
|
@@ -845,14 +845,14 @@ var DoorLock;
|
|
|
845
845
|
/**
|
|
846
846
|
* This field shall indicate the index of the Holiday schedule.
|
|
847
847
|
*
|
|
848
|
-
* @see {@link MatterSpecification.
|
|
848
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.20.1
|
|
849
849
|
*/
|
|
850
850
|
holidayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
851
851
|
/**
|
|
852
852
|
* This field shall indicate the starting time for the Holiday Day schedule in Epoch Time in Seconds with local
|
|
853
853
|
* time offset based on the local timezone and DST offset on the day represented by the value.
|
|
854
854
|
*
|
|
855
|
-
* @see {@link MatterSpecification.
|
|
855
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.20.2
|
|
856
856
|
*/
|
|
857
857
|
localStartTime: TlvField(1, TlvEpochS),
|
|
858
858
|
/**
|
|
@@ -860,13 +860,13 @@ var DoorLock;
|
|
|
860
860
|
* time offset based on the local timezone and DST offset on the day represented by the value. LocalEndTime
|
|
861
861
|
* shall be greater than LocalStartTime.
|
|
862
862
|
*
|
|
863
|
-
* @see {@link MatterSpecification.
|
|
863
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.20.3
|
|
864
864
|
*/
|
|
865
865
|
localEndTime: TlvField(2, TlvEpochS),
|
|
866
866
|
/**
|
|
867
867
|
* This field shall indicate the operating mode to use during this Holiday schedule start/end time.
|
|
868
868
|
*
|
|
869
|
-
* @see {@link MatterSpecification.
|
|
869
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.20.4
|
|
870
870
|
*/
|
|
871
871
|
operatingMode: TlvField(3, TlvEnum())
|
|
872
872
|
});
|
|
@@ -875,7 +875,7 @@ var DoorLock;
|
|
|
875
875
|
/**
|
|
876
876
|
* This field shall indicate the index of the Holiday schedule.
|
|
877
877
|
*
|
|
878
|
-
* @see {@link MatterSpecification.
|
|
878
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.22.1
|
|
879
879
|
*/
|
|
880
880
|
holidayIndex: TlvField(0, TlvUInt8.bound({ min: 1 })),
|
|
881
881
|
/**
|
|
@@ -893,7 +893,7 @@ var DoorLock;
|
|
|
893
893
|
* If this field is SUCCESS, the optional fields for this command shall be present. For other (error) status
|
|
894
894
|
* values, only the fields up to the status field shall be present.
|
|
895
895
|
*
|
|
896
|
-
* @see {@link MatterSpecification.
|
|
896
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.22.2
|
|
897
897
|
*/
|
|
898
898
|
status: TlvField(1, TlvEnum()),
|
|
899
899
|
/**
|
|
@@ -901,7 +901,7 @@ var DoorLock;
|
|
|
901
901
|
* offset based on the local timezone and DST offset on the day represented by the value. This shall be null if
|
|
902
902
|
* the schedule is not set for the HolidayIndex provided.
|
|
903
903
|
*
|
|
904
|
-
* @see {@link MatterSpecification.
|
|
904
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.22.3
|
|
905
905
|
*/
|
|
906
906
|
localStartTime: TlvOptionalField(2, TlvNullable(TlvEpochS)),
|
|
907
907
|
/**
|
|
@@ -909,14 +909,14 @@ var DoorLock;
|
|
|
909
909
|
* offset based on the local timezone and DST offset on the day represented by the value. LocalEndTime shall be
|
|
910
910
|
* greater than LocalStartTime. This shall be null if the schedule is not set for the HolidayIndex provided.
|
|
911
911
|
*
|
|
912
|
-
* @see {@link MatterSpecification.
|
|
912
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.22.4
|
|
913
913
|
*/
|
|
914
914
|
localEndTime: TlvOptionalField(3, TlvNullable(TlvEpochS)),
|
|
915
915
|
/**
|
|
916
916
|
* This field shall indicate the operating mode to use during this Holiday schedule start/end time. This shall
|
|
917
917
|
* be null if the schedule is not set for the HolidayIndex provided.
|
|
918
918
|
*
|
|
919
|
-
* @see {@link MatterSpecification.
|
|
919
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.22.5
|
|
920
920
|
*/
|
|
921
921
|
operatingMode: TlvOptionalField(4, TlvNullable(TlvEnum()))
|
|
922
922
|
});
|
|
@@ -924,7 +924,7 @@ var DoorLock;
|
|
|
924
924
|
/**
|
|
925
925
|
* This field shall indicate the Holiday schedule index to clear or 0xFE to clear all Holiday schedules.
|
|
926
926
|
*
|
|
927
|
-
* @see {@link MatterSpecification.
|
|
927
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.23.1
|
|
928
928
|
*/
|
|
929
929
|
holidayIndex: TlvField(0, TlvUInt8)
|
|
930
930
|
});
|
|
@@ -933,14 +933,14 @@ var DoorLock;
|
|
|
933
933
|
* This field shall indicate the user ID. The value of the UserID field shall be between 0 and the value of the
|
|
934
934
|
* NumberOfPINUsersSupported attribute.
|
|
935
935
|
*
|
|
936
|
-
* @see {@link MatterSpecification.
|
|
936
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.4.1
|
|
937
937
|
*/
|
|
938
938
|
userId: TlvField(0, TlvUInt16),
|
|
939
939
|
/**
|
|
940
940
|
* This field shall indicate the user status. Only the values 1 (Occupied/Enabled) and 3 (Occupied/Disabled) are
|
|
941
941
|
* allowed for UserStatus.
|
|
942
942
|
*
|
|
943
|
-
* @see {@link MatterSpecification.
|
|
943
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.4.2
|
|
944
944
|
*/
|
|
945
945
|
userStatus: TlvField(1, TlvNullable(TlvEnum())),
|
|
946
946
|
userType: TlvField(2, TlvNullable(TlvEnum())),
|
|
@@ -951,7 +951,7 @@ var DoorLock;
|
|
|
951
951
|
* This field shall indicate the user ID. The value of the UserID field shall be between 0 and the value of the
|
|
952
952
|
* NumberOfPINUsersSupported attribute.
|
|
953
953
|
*
|
|
954
|
-
* @see {@link MatterSpecification.
|
|
954
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.5.1
|
|
955
955
|
*/
|
|
956
956
|
userId: TlvField(0, TlvUInt16)
|
|
957
957
|
});
|
|
@@ -966,7 +966,7 @@ var DoorLock;
|
|
|
966
966
|
* This field shall specify a valid PIN code slot index or 0xFFFE to indicate all PIN code slots shall be
|
|
967
967
|
* cleared.
|
|
968
968
|
*
|
|
969
|
-
* @see {@link MatterSpecification.
|
|
969
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.7.1
|
|
970
970
|
*/
|
|
971
971
|
pinSlotIndex: TlvField(0, TlvUInt16)
|
|
972
972
|
});
|
|
@@ -974,26 +974,26 @@ var DoorLock;
|
|
|
974
974
|
/**
|
|
975
975
|
* This field shall indicate the signing key component of the Reader’s key pair.
|
|
976
976
|
*
|
|
977
|
-
* @see {@link MatterSpecification.
|
|
977
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.42.1
|
|
978
978
|
*/
|
|
979
979
|
signingKey: TlvField(0, TlvByteString.bound({ length: 32 })),
|
|
980
980
|
/**
|
|
981
981
|
* This field shall indicate the verification key component of the Reader’s key pair. This shall be an
|
|
982
982
|
* uncompressed elliptic curve public key as defined in section 2.3.3 of SEC 1.
|
|
983
983
|
*
|
|
984
|
-
* @see {@link MatterSpecification.
|
|
984
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.42.2
|
|
985
985
|
*/
|
|
986
986
|
verificationKey: TlvField(1, TlvByteString.bound({ length: 65 })),
|
|
987
987
|
/**
|
|
988
988
|
* This field shall indicate the reader group identifier for the lock.
|
|
989
989
|
*
|
|
990
|
-
* @see {@link MatterSpecification.
|
|
990
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.42.3
|
|
991
991
|
*/
|
|
992
992
|
groupIdentifier: TlvField(2, TlvByteString.bound({ length: 16 })),
|
|
993
993
|
/**
|
|
994
994
|
* This field shall indicate the group resolving key for the lock.
|
|
995
995
|
*
|
|
996
|
-
* @see {@link MatterSpecification.
|
|
996
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.42.4
|
|
997
997
|
*/
|
|
998
998
|
groupResolvingKey: TlvOptionalField(3, TlvByteString.bound({ length: 16 }))
|
|
999
999
|
});
|
|
@@ -1002,14 +1002,14 @@ var DoorLock;
|
|
|
1002
1002
|
* This field shall indicate the user ID. The value of the UserID field shall be between 0 and the value of the
|
|
1003
1003
|
* NumberOfPINUsersSupported attribute.
|
|
1004
1004
|
*
|
|
1005
|
-
* @see {@link MatterSpecification.
|
|
1005
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.9.1
|
|
1006
1006
|
*/
|
|
1007
1007
|
userId: TlvField(0, TlvUInt16),
|
|
1008
1008
|
/**
|
|
1009
1009
|
* UserStatus value of Available is not allowed. In order to clear a user id, the ClearUser Command shall be
|
|
1010
1010
|
* used. For user status value please refer to UserStatusEnum.
|
|
1011
1011
|
*
|
|
1012
|
-
* @see {@link MatterSpecification.
|
|
1012
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.9.2
|
|
1013
1013
|
*/
|
|
1014
1014
|
userStatus: TlvField(1, TlvEnum())
|
|
1015
1015
|
});
|
|
@@ -1018,7 +1018,7 @@ var DoorLock;
|
|
|
1018
1018
|
* This field shall indicate the user ID. The value of the UserID field shall be between 0 and the value of the
|
|
1019
1019
|
* NumberOfPINUsersSupported attribute.
|
|
1020
1020
|
*
|
|
1021
|
-
* @see {@link MatterSpecification.
|
|
1021
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.10.1
|
|
1022
1022
|
*/
|
|
1023
1023
|
userId: TlvField(0, TlvUInt16)
|
|
1024
1024
|
});
|
|
@@ -1026,13 +1026,13 @@ var DoorLock;
|
|
|
1026
1026
|
/**
|
|
1027
1027
|
* This field shall indicate the user ID provided in the request.
|
|
1028
1028
|
*
|
|
1029
|
-
* @see {@link MatterSpecification.
|
|
1029
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.11.1
|
|
1030
1030
|
*/
|
|
1031
1031
|
userId: TlvField(0, TlvUInt16),
|
|
1032
1032
|
/**
|
|
1033
1033
|
* This field shall indicate the current status of the requested user ID.
|
|
1034
1034
|
*
|
|
1035
|
-
* @see {@link MatterSpecification.
|
|
1035
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.11.2
|
|
1036
1036
|
*/
|
|
1037
1037
|
userStatus: TlvField(1, TlvEnum())
|
|
1038
1038
|
});
|
|
@@ -1040,13 +1040,13 @@ var DoorLock;
|
|
|
1040
1040
|
/**
|
|
1041
1041
|
* This field shall indicate the user ID.
|
|
1042
1042
|
*
|
|
1043
|
-
* @see {@link MatterSpecification.
|
|
1043
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.24.1
|
|
1044
1044
|
*/
|
|
1045
1045
|
userId: TlvField(0, TlvUInt16),
|
|
1046
1046
|
/**
|
|
1047
1047
|
* This field shall indicate the user type.
|
|
1048
1048
|
*
|
|
1049
|
-
* @see {@link MatterSpecification.
|
|
1049
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.24.2
|
|
1050
1050
|
*/
|
|
1051
1051
|
userType: TlvField(1, TlvEnum())
|
|
1052
1052
|
});
|
|
@@ -1061,7 +1061,7 @@ var DoorLock;
|
|
|
1061
1061
|
*
|
|
1062
1062
|
* The value of the UserID field shall be between 0 and the value of the NumberOfRFIDUsersSup ported attribute.
|
|
1063
1063
|
*
|
|
1064
|
-
* @see {@link MatterSpecification.
|
|
1064
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.27.1
|
|
1065
1065
|
*/
|
|
1066
1066
|
userId: TlvField(0, TlvUInt16),
|
|
1067
1067
|
/**
|
|
@@ -1070,13 +1070,13 @@ var DoorLock;
|
|
|
1070
1070
|
*
|
|
1071
1071
|
* Only the values 1 (Occupied/Enabled) and 3 (Occupied/Disabled) are allowed for UserStatus.
|
|
1072
1072
|
*
|
|
1073
|
-
* @see {@link MatterSpecification.
|
|
1073
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.27.2
|
|
1074
1074
|
*/
|
|
1075
1075
|
userStatus: TlvField(1, TlvNullable(TlvEnum())),
|
|
1076
1076
|
/**
|
|
1077
1077
|
* The values are the same as used for SetPINCode command.
|
|
1078
1078
|
*
|
|
1079
|
-
* @see {@link MatterSpecification.
|
|
1079
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.27.3
|
|
1080
1080
|
*/
|
|
1081
1081
|
userType: TlvField(2, TlvNullable(TlvEnum())),
|
|
1082
1082
|
rfidCode: TlvField(3, TlvByteString)
|
|
@@ -1087,7 +1087,7 @@ var DoorLock;
|
|
|
1087
1087
|
*
|
|
1088
1088
|
* The value of the UserID field shall be between 0 and the value of the NumberOfRFIDUsersSupported attribute.
|
|
1089
1089
|
*
|
|
1090
|
-
* @see {@link MatterSpecification.
|
|
1090
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.28.1
|
|
1091
1091
|
*/
|
|
1092
1092
|
userId: TlvField(0, TlvUInt16)
|
|
1093
1093
|
});
|
|
@@ -1102,7 +1102,7 @@ var DoorLock;
|
|
|
1102
1102
|
* This field shall indicate a valid RFID code slot index or 0xFFFE to indicate all RFID code slots shall be
|
|
1103
1103
|
* cleared.
|
|
1104
1104
|
*
|
|
1105
|
-
* @see {@link MatterSpecification.
|
|
1105
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.30.1
|
|
1106
1106
|
*/
|
|
1107
1107
|
rfidSlotIndex: TlvField(0, TlvUInt16)
|
|
1108
1108
|
});
|
|
@@ -1110,7 +1110,7 @@ var DoorLock;
|
|
|
1110
1110
|
/**
|
|
1111
1111
|
* See Section 5.2.10.1.1, “PINCode Field”.
|
|
1112
1112
|
*
|
|
1113
|
-
* @see {@link MatterSpecification.
|
|
1113
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.41.1
|
|
1114
1114
|
*/
|
|
1115
1115
|
pinCode: TlvOptionalField(0, TlvByteString)
|
|
1116
1116
|
});
|
|
@@ -1185,7 +1185,7 @@ var DoorLock;
|
|
|
1185
1185
|
*
|
|
1186
1186
|
* • 1 = Local programming is enabled
|
|
1187
1187
|
*
|
|
1188
|
-
* @see {@link MatterSpecification.
|
|
1188
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4.1
|
|
1189
1189
|
*/
|
|
1190
1190
|
localProgramming: BitFlag(0),
|
|
1191
1191
|
/**
|
|
@@ -1197,7 +1197,7 @@ var DoorLock;
|
|
|
1197
1197
|
*
|
|
1198
1198
|
* • 1 = Keypad interface is enabled
|
|
1199
1199
|
*
|
|
1200
|
-
* @see {@link MatterSpecification.
|
|
1200
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4.2
|
|
1201
1201
|
*/
|
|
1202
1202
|
keypadInterface: BitFlag(1),
|
|
1203
1203
|
/**
|
|
@@ -1209,7 +1209,7 @@ var DoorLock;
|
|
|
1209
1209
|
*
|
|
1210
1210
|
* • 1 = Remote interface is enabled
|
|
1211
1211
|
*
|
|
1212
|
-
* @see {@link MatterSpecification.
|
|
1212
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4.3
|
|
1213
1213
|
*/
|
|
1214
1214
|
remoteInterface: BitFlag(2),
|
|
1215
1215
|
/**
|
|
@@ -1221,7 +1221,7 @@ var DoorLock;
|
|
|
1221
1221
|
*
|
|
1222
1222
|
* • 1 = Sound volume value is equal to something other than 0
|
|
1223
1223
|
*
|
|
1224
|
-
* @see {@link MatterSpecification.
|
|
1224
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4.4
|
|
1225
1225
|
*/
|
|
1226
1226
|
soundVolume: BitFlag(5),
|
|
1227
1227
|
/**
|
|
@@ -1233,7 +1233,7 @@ var DoorLock;
|
|
|
1233
1233
|
*
|
|
1234
1234
|
* • 1 = Auto relock time value is equal to something other than 0
|
|
1235
1235
|
*
|
|
1236
|
-
* @see {@link MatterSpecification.
|
|
1236
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4.5
|
|
1237
1237
|
*/
|
|
1238
1238
|
autoRelockTime: BitFlag(6),
|
|
1239
1239
|
/**
|
|
@@ -1245,7 +1245,7 @@ var DoorLock;
|
|
|
1245
1245
|
*
|
|
1246
1246
|
* • 1 = LED settings value is equal to something other than 0
|
|
1247
1247
|
*
|
|
1248
|
-
* @see {@link MatterSpecification.
|
|
1248
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.4.6
|
|
1249
1249
|
*/
|
|
1250
1250
|
ledSettings: BitFlag(7)
|
|
1251
1251
|
};
|
|
@@ -1259,7 +1259,7 @@ var DoorLock;
|
|
|
1259
1259
|
*
|
|
1260
1260
|
* • 1 = This ability is enabled
|
|
1261
1261
|
*
|
|
1262
|
-
* @see {@link MatterSpecification.
|
|
1262
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.5.1
|
|
1263
1263
|
*/
|
|
1264
1264
|
addUsersCredentialsSchedules: BitFlag(0),
|
|
1265
1265
|
/**
|
|
@@ -1271,7 +1271,7 @@ var DoorLock;
|
|
|
1271
1271
|
*
|
|
1272
1272
|
* • 1 = This ability is enabled
|
|
1273
1273
|
*
|
|
1274
|
-
* @see {@link MatterSpecification.
|
|
1274
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.5.2
|
|
1275
1275
|
*/
|
|
1276
1276
|
modifyUsersCredentialsSchedules: BitFlag(1),
|
|
1277
1277
|
/**
|
|
@@ -1283,7 +1283,7 @@ var DoorLock;
|
|
|
1283
1283
|
*
|
|
1284
1284
|
* • 1 = This ability is enabled
|
|
1285
1285
|
*
|
|
1286
|
-
* @see {@link MatterSpecification.
|
|
1286
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.5.3
|
|
1287
1287
|
*/
|
|
1288
1288
|
clearUsersCredentialsSchedules: BitFlag(2),
|
|
1289
1289
|
/**
|
|
@@ -1295,7 +1295,7 @@ var DoorLock;
|
|
|
1295
1295
|
*
|
|
1296
1296
|
* • 1 = This ability is enabled
|
|
1297
1297
|
*
|
|
1298
|
-
* @see {@link MatterSpecification.
|
|
1298
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.6.5.4
|
|
1299
1299
|
*/
|
|
1300
1300
|
adjustSettings: BitFlag(3)
|
|
1301
1301
|
};
|
|
@@ -1311,7 +1311,7 @@ var DoorLock;
|
|
|
1311
1311
|
* UserCodeTemporaryDisableTime will be triggered if the WrongCodeEntryLimit is exceeded. The lock shall ignore
|
|
1312
1312
|
* any attempts to lock/unlock the door until the UserCodeTemporaryDisableTime expires.
|
|
1313
1313
|
*
|
|
1314
|
-
* @see {@link MatterSpecification.
|
|
1314
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.1.1
|
|
1315
1315
|
*/
|
|
1316
1316
|
pinCode: TlvOptionalField(0, TlvByteString)
|
|
1317
1317
|
});
|
|
@@ -1319,7 +1319,7 @@ var DoorLock;
|
|
|
1319
1319
|
/**
|
|
1320
1320
|
* See Section 5.2.10.1.1, “PINCode Field”.
|
|
1321
1321
|
*
|
|
1322
|
-
* @see {@link MatterSpecification.
|
|
1322
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.2.1
|
|
1323
1323
|
*/
|
|
1324
1324
|
pinCode: TlvOptionalField(0, TlvByteString)
|
|
1325
1325
|
});
|
|
@@ -1328,13 +1328,13 @@ var DoorLock;
|
|
|
1328
1328
|
* This field shall indicate the timeout in seconds to wait before relocking the door lock. This value is
|
|
1329
1329
|
* independent of the AutoRelockTime attribute value.
|
|
1330
1330
|
*
|
|
1331
|
-
* @see {@link MatterSpecification.
|
|
1331
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.3.1
|
|
1332
1332
|
*/
|
|
1333
1333
|
timeout: TlvField(0, TlvUInt16),
|
|
1334
1334
|
/**
|
|
1335
1335
|
* See Section 5.2.10.1.1, “PINCode Field”.
|
|
1336
1336
|
*
|
|
1337
|
-
* @see {@link MatterSpecification.
|
|
1337
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.3.2
|
|
1338
1338
|
*/
|
|
1339
1339
|
pinCode: TlvOptionalField(1, TlvByteString)
|
|
1340
1340
|
});
|
|
@@ -1353,7 +1353,7 @@ var DoorLock;
|
|
|
1353
1353
|
/**
|
|
1354
1354
|
* This field shall indicate the alarm code of the event that has happened.
|
|
1355
1355
|
*
|
|
1356
|
-
* @see {@link MatterSpecification.
|
|
1356
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.1.1
|
|
1357
1357
|
*/
|
|
1358
1358
|
alarmCode: TlvField(0, TlvEnum())
|
|
1359
1359
|
});
|
|
@@ -1369,13 +1369,13 @@ var DoorLock;
|
|
|
1369
1369
|
/**
|
|
1370
1370
|
* This field shall indicate the type of the lock operation that was performed.
|
|
1371
1371
|
*
|
|
1372
|
-
* @see {@link MatterSpecification.
|
|
1372
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3.1
|
|
1373
1373
|
*/
|
|
1374
1374
|
lockOperationType: TlvField(0, TlvEnum()),
|
|
1375
1375
|
/**
|
|
1376
1376
|
* This field shall indicate the source of the lock operation that was performed.
|
|
1377
1377
|
*
|
|
1378
|
-
* @see {@link MatterSpecification.
|
|
1378
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3.2
|
|
1379
1379
|
*/
|
|
1380
1380
|
operationSource: TlvField(1, TlvEnum()),
|
|
1381
1381
|
/**
|
|
@@ -1383,7 +1383,7 @@ var DoorLock;
|
|
|
1383
1383
|
* user index that can be determined for the given operation source. This shall NOT be null if a user index can
|
|
1384
1384
|
* be determined. In particular, this shall NOT be null if the operation was associated with a valid credential.
|
|
1385
1385
|
*
|
|
1386
|
-
* @see {@link MatterSpecification.
|
|
1386
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3.3
|
|
1387
1387
|
*/
|
|
1388
1388
|
userIndex: TlvField(2, TlvNullable(TlvUInt16)),
|
|
1389
1389
|
/**
|
|
@@ -1391,7 +1391,7 @@ var DoorLock;
|
|
|
1391
1391
|
* null if there is no fabric that can be determined for the given operation source. This shall NOT be null if
|
|
1392
1392
|
* the operation source is "Remote".
|
|
1393
1393
|
*
|
|
1394
|
-
* @see {@link MatterSpecification.
|
|
1394
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3.4
|
|
1395
1395
|
*/
|
|
1396
1396
|
fabricIndex: TlvField(3, TlvNullable(TlvFabricIndex)),
|
|
1397
1397
|
/**
|
|
@@ -1399,14 +1399,14 @@ var DoorLock;
|
|
|
1399
1399
|
* there is no Node associated with the given operation source. This shall NOT be null if the operation source
|
|
1400
1400
|
* is "Remote".
|
|
1401
1401
|
*
|
|
1402
|
-
* @see {@link MatterSpecification.
|
|
1402
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3.5
|
|
1403
1403
|
*/
|
|
1404
1404
|
sourceNode: TlvField(4, TlvNullable(TlvNodeId)),
|
|
1405
1405
|
/**
|
|
1406
1406
|
* This field shall indicate the list of credentials used in performing the lock operation. This shall be null
|
|
1407
1407
|
* if no credentials were involved.
|
|
1408
1408
|
*
|
|
1409
|
-
* @see {@link MatterSpecification.
|
|
1409
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3.6
|
|
1410
1410
|
*/
|
|
1411
1411
|
credentials: TlvOptionalField(5, TlvNullable(TlvArray(DoorLock2.TlvCredential, { minLength: 1 })))
|
|
1412
1412
|
});
|
|
@@ -1422,26 +1422,26 @@ var DoorLock;
|
|
|
1422
1422
|
/**
|
|
1423
1423
|
* This field shall indicate the type of the lock operation that was performed.
|
|
1424
1424
|
*
|
|
1425
|
-
* @see {@link MatterSpecification.
|
|
1425
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.1
|
|
1426
1426
|
*/
|
|
1427
1427
|
lockOperationType: TlvField(0, TlvEnum()),
|
|
1428
1428
|
/**
|
|
1429
1429
|
* This field shall indicate the source of the lock operation that was performed.
|
|
1430
1430
|
*
|
|
1431
|
-
* @see {@link MatterSpecification.
|
|
1431
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.2
|
|
1432
1432
|
*/
|
|
1433
1433
|
operationSource: TlvField(1, TlvEnum()),
|
|
1434
1434
|
/**
|
|
1435
1435
|
* This field shall indicate the lock operation error triggered when the operation was performed.
|
|
1436
1436
|
*
|
|
1437
|
-
* @see {@link MatterSpecification.
|
|
1437
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.3
|
|
1438
1438
|
*/
|
|
1439
1439
|
operationError: TlvField(2, TlvEnum()),
|
|
1440
1440
|
/**
|
|
1441
1441
|
* This field shall indicate the lock UserIndex who performed the lock operation. This shall be null if there is
|
|
1442
1442
|
* no user id that can be determined for the given operation source.
|
|
1443
1443
|
*
|
|
1444
|
-
* @see {@link MatterSpecification.
|
|
1444
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.4
|
|
1445
1445
|
*/
|
|
1446
1446
|
userIndex: TlvField(3, TlvNullable(TlvUInt16)),
|
|
1447
1447
|
/**
|
|
@@ -1449,7 +1449,7 @@ var DoorLock;
|
|
|
1449
1449
|
* null if there is no fabric that can be determined for the given operation source. This shall NOT be null if
|
|
1450
1450
|
* the operation source is "Remote".
|
|
1451
1451
|
*
|
|
1452
|
-
* @see {@link MatterSpecification.
|
|
1452
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.5
|
|
1453
1453
|
*/
|
|
1454
1454
|
fabricIndex: TlvField(4, TlvNullable(TlvFabricIndex)),
|
|
1455
1455
|
/**
|
|
@@ -1457,14 +1457,14 @@ var DoorLock;
|
|
|
1457
1457
|
* there is no Node associated with the given operation source. This shall NOT be null if the operation source
|
|
1458
1458
|
* is "Remote".
|
|
1459
1459
|
*
|
|
1460
|
-
* @see {@link MatterSpecification.
|
|
1460
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.6
|
|
1461
1461
|
*/
|
|
1462
1462
|
sourceNode: TlvField(5, TlvNullable(TlvNodeId)),
|
|
1463
1463
|
/**
|
|
1464
1464
|
* This field shall indicate the list of credentials used in performing the lock operation. This shall be null
|
|
1465
1465
|
* if no credentials were involved.
|
|
1466
1466
|
*
|
|
1467
|
-
* @see {@link MatterSpecification.
|
|
1467
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4.7
|
|
1468
1468
|
*/
|
|
1469
1469
|
credentials: TlvOptionalField(6, TlvNullable(TlvArray(DoorLock2.TlvCredential, { minLength: 1 })))
|
|
1470
1470
|
});
|
|
@@ -1524,26 +1524,26 @@ var DoorLock;
|
|
|
1524
1524
|
*
|
|
1525
1525
|
* Null only if an internal error prevents the retrieval of the current door state.
|
|
1526
1526
|
*
|
|
1527
|
-
* @see {@link MatterSpecification.
|
|
1527
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.4
|
|
1528
1528
|
*/
|
|
1529
1529
|
doorState: Attribute(3, TlvNullable(TlvEnum())),
|
|
1530
1530
|
/**
|
|
1531
1531
|
* This attribute shall hold the number of door open events that have occurred since it was last zeroed.
|
|
1532
1532
|
*
|
|
1533
|
-
* @see {@link MatterSpecification.
|
|
1533
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.5
|
|
1534
1534
|
*/
|
|
1535
1535
|
doorOpenEvents: OptionalWritableAttribute(4, TlvUInt32, { writeAcl: AccessLevel.Manage }),
|
|
1536
1536
|
/**
|
|
1537
1537
|
* This attribute shall hold the number of door closed events that have occurred since it was last zeroed.
|
|
1538
1538
|
*
|
|
1539
|
-
* @see {@link MatterSpecification.
|
|
1539
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.6
|
|
1540
1540
|
*/
|
|
1541
1541
|
doorClosedEvents: OptionalWritableAttribute(5, TlvUInt32, { writeAcl: AccessLevel.Manage }),
|
|
1542
1542
|
/**
|
|
1543
1543
|
* This attribute shall hold the number of minutes the door has been open since the last time it
|
|
1544
1544
|
* transitioned from closed to open.
|
|
1545
1545
|
*
|
|
1546
|
-
* @see {@link MatterSpecification.
|
|
1546
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.7
|
|
1547
1547
|
*/
|
|
1548
1548
|
openPeriod: OptionalWritableAttribute(6, TlvUInt16, { writeAcl: AccessLevel.Manage })
|
|
1549
1549
|
},
|
|
@@ -1551,7 +1551,7 @@ var DoorLock;
|
|
|
1551
1551
|
/**
|
|
1552
1552
|
* The door lock server sends out a DoorStateChange event when the door lock door state changes.
|
|
1553
1553
|
*
|
|
1554
|
-
* @see {@link MatterSpecification.
|
|
1554
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.2
|
|
1555
1555
|
*/
|
|
1556
1556
|
doorStateChange: Event(1, Priority.Critical, DoorLock2.TlvDoorStateChangeEvent)
|
|
1557
1557
|
}
|
|
@@ -1561,14 +1561,14 @@ var DoorLock;
|
|
|
1561
1561
|
/**
|
|
1562
1562
|
* Indicates the number of total users supported by the lock.
|
|
1563
1563
|
*
|
|
1564
|
-
* @see {@link MatterSpecification.
|
|
1564
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.8
|
|
1565
1565
|
*/
|
|
1566
1566
|
numberOfTotalUsersSupported: FixedAttribute(17, TlvUInt16),
|
|
1567
1567
|
/**
|
|
1568
1568
|
* This attribute shall contain a bitmap with the bits set for the values of CredentialRuleEnum supported on
|
|
1569
1569
|
* this device.
|
|
1570
1570
|
*
|
|
1571
|
-
* @see {@link MatterSpecification.
|
|
1571
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.18
|
|
1572
1572
|
*/
|
|
1573
1573
|
credentialRulesSupport: FixedAttribute(27, TlvBitmap(TlvUInt8, DoorLock2.CredentialRules)),
|
|
1574
1574
|
/**
|
|
@@ -1582,7 +1582,7 @@ var DoorLock;
|
|
|
1582
1582
|
* NumberOfRFIDUsersSupported is set to 3, it will not be possible to actually assign 10 credentials for a
|
|
1583
1583
|
* user because maximum number of credentials in the database is 8.
|
|
1584
1584
|
*
|
|
1585
|
-
* @see {@link MatterSpecification.
|
|
1585
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.19
|
|
1586
1586
|
*/
|
|
1587
1587
|
numberOfCredentialsSupportedPerUser: FixedAttribute(28, TlvUInt8),
|
|
1588
1588
|
/**
|
|
@@ -1590,7 +1590,7 @@ var DoorLock;
|
|
|
1590
1590
|
* type ExpiringUser shall remain valid after its first use before expiring. When the credential expires the
|
|
1591
1591
|
* UserStatus for the corresponding user record shall be set to OccupiedDisabled.
|
|
1592
1592
|
*
|
|
1593
|
-
* @see {@link MatterSpecification.
|
|
1593
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.36
|
|
1594
1594
|
*/
|
|
1595
1595
|
expiringUserTimeout: OptionalWritableAttribute(
|
|
1596
1596
|
53,
|
|
@@ -1616,7 +1616,7 @@ var DoorLock;
|
|
|
1616
1616
|
* • INVALID_COMMAND, if one or more fields violate constraints or are invalid or if OperationType is
|
|
1617
1617
|
* Modify and UserIndex points to an available slot.
|
|
1618
1618
|
*
|
|
1619
|
-
* @see {@link MatterSpecification.
|
|
1619
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.32
|
|
1620
1620
|
*/
|
|
1621
1621
|
setUser: Command(
|
|
1622
1622
|
26,
|
|
@@ -1631,7 +1631,7 @@ var DoorLock;
|
|
|
1631
1631
|
* An InvokeResponse command shall be sent with an appropriate error (e.g. FAILURE, INVALID_ COMMAND, etc.)
|
|
1632
1632
|
* as needed otherwise the GetUserResponse Command shall be sent implying a status of SUCCESS.
|
|
1633
1633
|
*
|
|
1634
|
-
* @see {@link MatterSpecification.
|
|
1634
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.33
|
|
1635
1635
|
*/
|
|
1636
1636
|
getUser: Command(27, DoorLock2.TlvGetUserRequest, 28, DoorLock2.TlvGetUserResponse, { invokeAcl: AccessLevel.Administer }),
|
|
1637
1637
|
/**
|
|
@@ -1643,7 +1643,7 @@ var DoorLock;
|
|
|
1643
1643
|
*
|
|
1644
1644
|
* A LockUserChange event with the provided UserIndex shall be generated after successfully clearing users.
|
|
1645
1645
|
*
|
|
1646
|
-
* @see {@link MatterSpecification.
|
|
1646
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.35
|
|
1647
1647
|
*/
|
|
1648
1648
|
clearUser: Command(
|
|
1649
1649
|
29,
|
|
@@ -1658,7 +1658,7 @@ var DoorLock;
|
|
|
1658
1658
|
*
|
|
1659
1659
|
* Fields used for different use cases:
|
|
1660
1660
|
*
|
|
1661
|
-
* @see {@link MatterSpecification.
|
|
1661
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.36
|
|
1662
1662
|
*/
|
|
1663
1663
|
setCredential: Command(
|
|
1664
1664
|
34,
|
|
@@ -1673,7 +1673,7 @@ var DoorLock;
|
|
|
1673
1673
|
* An InvokeResponse command shall be sent with an appropriate error (e.g. FAILURE, INVALID_COMMAND, etc.)
|
|
1674
1674
|
* as needed otherwise the GetCredentialStatusResponse command shall be sent implying a status of SUCCESS.
|
|
1675
1675
|
*
|
|
1676
|
-
* @see {@link MatterSpecification.
|
|
1676
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.38
|
|
1677
1677
|
*/
|
|
1678
1678
|
getCredentialStatus: Command(
|
|
1679
1679
|
36,
|
|
@@ -1694,7 +1694,7 @@ var DoorLock;
|
|
|
1694
1694
|
*
|
|
1695
1695
|
* Return status shall be one of the following values:
|
|
1696
1696
|
*
|
|
1697
|
-
* @see {@link MatterSpecification.
|
|
1697
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.40
|
|
1698
1698
|
*/
|
|
1699
1699
|
clearCredential: Command(
|
|
1700
1700
|
38,
|
|
@@ -1709,7 +1709,7 @@ var DoorLock;
|
|
|
1709
1709
|
* The door lock server sends out a LockUserChange event when a lock user, schedule, or credential change
|
|
1710
1710
|
* has occurred.
|
|
1711
1711
|
*
|
|
1712
|
-
* @see {@link MatterSpecification.
|
|
1712
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.5
|
|
1713
1713
|
*/
|
|
1714
1714
|
lockUserChange: Event(4, Priority.Info, DoorLock2.TlvLockUserChangeEvent)
|
|
1715
1715
|
}
|
|
@@ -1719,19 +1719,19 @@ var DoorLock;
|
|
|
1719
1719
|
/**
|
|
1720
1720
|
* Indicates the number of PIN users supported.
|
|
1721
1721
|
*
|
|
1722
|
-
* @see {@link MatterSpecification.
|
|
1722
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.9
|
|
1723
1723
|
*/
|
|
1724
1724
|
numberOfPinUsersSupported: FixedAttribute(18, TlvUInt16),
|
|
1725
1725
|
/**
|
|
1726
1726
|
* Indicates the maximum length in bytes of a PIN Code on this device.
|
|
1727
1727
|
*
|
|
1728
|
-
* @see {@link MatterSpecification.
|
|
1728
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.14
|
|
1729
1729
|
*/
|
|
1730
1730
|
maxPinCodeLength: FixedAttribute(23, TlvUInt8),
|
|
1731
1731
|
/**
|
|
1732
1732
|
* Indicates the minimum length in bytes of a PIN Code on this device.
|
|
1733
1733
|
*
|
|
1734
|
-
* @see {@link MatterSpecification.
|
|
1734
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.15
|
|
1735
1735
|
*/
|
|
1736
1736
|
minPinCodeLength: FixedAttribute(24, TlvUInt8)
|
|
1737
1737
|
}
|
|
@@ -1741,7 +1741,7 @@ var DoorLock;
|
|
|
1741
1741
|
/**
|
|
1742
1742
|
* Indicates the number of RFID users supported.
|
|
1743
1743
|
*
|
|
1744
|
-
* @see {@link MatterSpecification.
|
|
1744
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.10
|
|
1745
1745
|
*/
|
|
1746
1746
|
numberOfRfidUsersSupported: FixedAttribute(19, TlvUInt16),
|
|
1747
1747
|
/**
|
|
@@ -1749,7 +1749,7 @@ var DoorLock;
|
|
|
1749
1749
|
* range specified by the manufacturer, if media anti-collision identifiers (UID) are used as RFID code, a
|
|
1750
1750
|
* value of 20 (equals 10 Byte ISO 14443A UID) is recommended.
|
|
1751
1751
|
*
|
|
1752
|
-
* @see {@link MatterSpecification.
|
|
1752
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.16
|
|
1753
1753
|
*/
|
|
1754
1754
|
maxRfidCodeLength: FixedAttribute(25, TlvUInt8),
|
|
1755
1755
|
/**
|
|
@@ -1757,7 +1757,7 @@ var DoorLock;
|
|
|
1757
1757
|
* range specified by the manufacturer, if media anti-collision identifiers (UID) are used as RFID code, a
|
|
1758
1758
|
* value of 8 (equals 4 Byte ISO 14443A UID) is recommended.
|
|
1759
1759
|
*
|
|
1760
|
-
* @see {@link MatterSpecification.
|
|
1760
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.17
|
|
1761
1761
|
*/
|
|
1762
1762
|
minRfidCodeLength: FixedAttribute(26, TlvUInt8)
|
|
1763
1763
|
}
|
|
@@ -1767,7 +1767,7 @@ var DoorLock;
|
|
|
1767
1767
|
/**
|
|
1768
1768
|
* Indicates the number of configurable week day schedule supported per user.
|
|
1769
1769
|
*
|
|
1770
|
-
* @see {@link MatterSpecification.
|
|
1770
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.11
|
|
1771
1771
|
*/
|
|
1772
1772
|
numberOfWeekDaySchedulesSupportedPerUser: FixedAttribute(20, TlvUInt8.bound({ max: 253 }))
|
|
1773
1773
|
},
|
|
@@ -1780,7 +1780,7 @@ var DoorLock;
|
|
|
1780
1780
|
*
|
|
1781
1781
|
* Return status shall be one of the following values:
|
|
1782
1782
|
*
|
|
1783
|
-
* @see {@link MatterSpecification.
|
|
1783
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.12
|
|
1784
1784
|
*/
|
|
1785
1785
|
setWeekDaySchedule: Command(
|
|
1786
1786
|
11,
|
|
@@ -1792,7 +1792,7 @@ var DoorLock;
|
|
|
1792
1792
|
/**
|
|
1793
1793
|
* Retrieve the specific weekly schedule for the specific user.
|
|
1794
1794
|
*
|
|
1795
|
-
* @see {@link MatterSpecification.
|
|
1795
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.13
|
|
1796
1796
|
*/
|
|
1797
1797
|
getWeekDaySchedule: Command(
|
|
1798
1798
|
12,
|
|
@@ -1806,7 +1806,7 @@ var DoorLock;
|
|
|
1806
1806
|
*
|
|
1807
1807
|
* Return status shall be one of the following values:
|
|
1808
1808
|
*
|
|
1809
|
-
* @see {@link MatterSpecification.
|
|
1809
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.15
|
|
1810
1810
|
*/
|
|
1811
1811
|
clearWeekDaySchedule: Command(
|
|
1812
1812
|
13,
|
|
@@ -1822,7 +1822,7 @@ var DoorLock;
|
|
|
1822
1822
|
/**
|
|
1823
1823
|
* Indicates the number of configurable year day schedule supported per user.
|
|
1824
1824
|
*
|
|
1825
|
-
* @see {@link MatterSpecification.
|
|
1825
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.12
|
|
1826
1826
|
*/
|
|
1827
1827
|
numberOfYearDaySchedulesSupportedPerUser: FixedAttribute(21, TlvUInt8.bound({ max: 253 }))
|
|
1828
1828
|
},
|
|
@@ -1835,7 +1835,7 @@ var DoorLock;
|
|
|
1835
1835
|
*
|
|
1836
1836
|
* Return status shall be one of the following values:
|
|
1837
1837
|
*
|
|
1838
|
-
* @see {@link MatterSpecification.
|
|
1838
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.16
|
|
1839
1839
|
*/
|
|
1840
1840
|
setYearDaySchedule: Command(
|
|
1841
1841
|
14,
|
|
@@ -1847,7 +1847,7 @@ var DoorLock;
|
|
|
1847
1847
|
/**
|
|
1848
1848
|
* Retrieve the specific year day schedule for the specific schedule and user indexes.
|
|
1849
1849
|
*
|
|
1850
|
-
* @see {@link MatterSpecification.
|
|
1850
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.17
|
|
1851
1851
|
*/
|
|
1852
1852
|
getYearDaySchedule: Command(
|
|
1853
1853
|
15,
|
|
@@ -1861,7 +1861,7 @@ var DoorLock;
|
|
|
1861
1861
|
*
|
|
1862
1862
|
* Return status shall be one of the following values:
|
|
1863
1863
|
*
|
|
1864
|
-
* @see {@link MatterSpecification.
|
|
1864
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.19
|
|
1865
1865
|
*/
|
|
1866
1866
|
clearYearDaySchedule: Command(
|
|
1867
1867
|
16,
|
|
@@ -1877,7 +1877,7 @@ var DoorLock;
|
|
|
1877
1877
|
/**
|
|
1878
1878
|
* Indicates the number of holiday schedules supported for the entire door lock device.
|
|
1879
1879
|
*
|
|
1880
|
-
* @see {@link MatterSpecification.
|
|
1880
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.13
|
|
1881
1881
|
*/
|
|
1882
1882
|
numberOfHolidaySchedulesSupported: FixedAttribute(22, TlvUInt8.bound({ max: 253 }))
|
|
1883
1883
|
},
|
|
@@ -1888,7 +1888,7 @@ var DoorLock;
|
|
|
1888
1888
|
*
|
|
1889
1889
|
* Return status shall be one of the following values:
|
|
1890
1890
|
*
|
|
1891
|
-
* @see {@link MatterSpecification.
|
|
1891
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.20
|
|
1892
1892
|
*/
|
|
1893
1893
|
setHolidaySchedule: Command(
|
|
1894
1894
|
17,
|
|
@@ -1900,7 +1900,7 @@ var DoorLock;
|
|
|
1900
1900
|
/**
|
|
1901
1901
|
* Get the holiday schedule for the specified index.
|
|
1902
1902
|
*
|
|
1903
|
-
* @see {@link MatterSpecification.
|
|
1903
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.21
|
|
1904
1904
|
*/
|
|
1905
1905
|
getHolidaySchedule: Command(
|
|
1906
1906
|
18,
|
|
@@ -1912,7 +1912,7 @@ var DoorLock;
|
|
|
1912
1912
|
/**
|
|
1913
1913
|
* Clears the holiday schedule or all holiday schedules.
|
|
1914
1914
|
*
|
|
1915
|
-
* @see {@link MatterSpecification.
|
|
1915
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.23
|
|
1916
1916
|
*/
|
|
1917
1917
|
clearHolidaySchedule: Command(
|
|
1918
1918
|
19,
|
|
@@ -1937,7 +1937,7 @@ var DoorLock;
|
|
|
1937
1937
|
* logic, environmental events, or other reasons. The lock shall reset the counter if a valid credential is
|
|
1938
1938
|
* presented.
|
|
1939
1939
|
*
|
|
1940
|
-
* @see {@link MatterSpecification.
|
|
1940
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.32
|
|
1941
1941
|
*/
|
|
1942
1942
|
wrongCodeEntryLimit: WritableAttribute(
|
|
1943
1943
|
48,
|
|
@@ -1950,7 +1950,7 @@ var DoorLock;
|
|
|
1950
1950
|
* and guess a PIN for the device.) If the attribute accepts writes and an attempt to write the attribute to
|
|
1951
1951
|
* 0 is made, the device shall respond with CONSTRAINT_ERROR.
|
|
1952
1952
|
*
|
|
1953
|
-
* @see {@link MatterSpecification.
|
|
1953
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.33
|
|
1954
1954
|
*/
|
|
1955
1955
|
userCodeTemporaryDisableTime: WritableAttribute(
|
|
1956
1956
|
49,
|
|
@@ -1971,7 +1971,7 @@ var DoorLock;
|
|
|
1971
1971
|
* 0x32 0x33 0x34 shall be used in the PIN field in any door lock cluster message payload. If the attribute
|
|
1972
1972
|
* value is False, 0x04 0xFF 0xFF 0xFF 0xFF shall be used.
|
|
1973
1973
|
*
|
|
1974
|
-
* @see {@link MatterSpecification.
|
|
1974
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.34
|
|
1975
1975
|
*/
|
|
1976
1976
|
sendPinOverTheAir: OptionalWritableAttribute(
|
|
1977
1977
|
50,
|
|
@@ -1986,7 +1986,7 @@ var DoorLock;
|
|
|
1986
1986
|
* Return status is a global status code or a cluster-specific status code from the Status Codes table and
|
|
1987
1987
|
* shall be one of the following values:
|
|
1988
1988
|
*
|
|
1989
|
-
* @see {@link MatterSpecification.
|
|
1989
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.4
|
|
1990
1990
|
*/
|
|
1991
1991
|
setPinCode: Command(
|
|
1992
1992
|
5,
|
|
@@ -1998,7 +1998,7 @@ var DoorLock;
|
|
|
1998
1998
|
/**
|
|
1999
1999
|
* Retrieve a PIN Code.
|
|
2000
2000
|
*
|
|
2001
|
-
* @see {@link MatterSpecification.
|
|
2001
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.5
|
|
2002
2002
|
*/
|
|
2003
2003
|
getPinCode: Command(
|
|
2004
2004
|
6,
|
|
@@ -2014,7 +2014,7 @@ var DoorLock;
|
|
|
2014
2014
|
* corresponding user record’s UserStatus value shall be set to Available, and UserType value shall be set
|
|
2015
2015
|
* to UnrestrictedUser and all schedules shall be cleared.
|
|
2016
2016
|
*
|
|
2017
|
-
* @see {@link MatterSpecification.
|
|
2017
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.7
|
|
2018
2018
|
*/
|
|
2019
2019
|
clearPinCode: Command(
|
|
2020
2020
|
7,
|
|
@@ -2031,7 +2031,7 @@ var DoorLock;
|
|
|
2031
2031
|
* > On the server, the clear all PIN codes command SHOULD have the same effect as the ClearPINCode command
|
|
2032
2032
|
* with respect to the setting of user status, user type and schedules.
|
|
2033
2033
|
*
|
|
2034
|
-
* @see {@link MatterSpecification.
|
|
2034
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.8
|
|
2035
2035
|
*/
|
|
2036
2036
|
clearAllPinCodes: Command(
|
|
2037
2037
|
8,
|
|
@@ -2049,7 +2049,7 @@ var DoorLock;
|
|
|
2049
2049
|
* server requires that an optional PINs be included in the payload of remote lock operation events like
|
|
2050
2050
|
* Lock, Unlock, Unlock with Timeout and Toggle in order to function.
|
|
2051
2051
|
*
|
|
2052
|
-
* @see {@link MatterSpecification.
|
|
2052
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.35
|
|
2053
2053
|
*/
|
|
2054
2054
|
requirePinForRemoteOperation: WritableAttribute(51, TlvBoolean, { writeAcl: AccessLevel.Administer })
|
|
2055
2055
|
}
|
|
@@ -2063,7 +2063,7 @@ var DoorLock;
|
|
|
2063
2063
|
* Null if no Reader key pair has been configured on the lock. See Section 5.2.10.42, “SetAliroReaderConfig
|
|
2064
2064
|
* Command”.
|
|
2065
2065
|
*
|
|
2066
|
-
* @see {@link MatterSpecification.
|
|
2066
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.37
|
|
2067
2067
|
*/
|
|
2068
2068
|
aliroReaderVerificationKey: Attribute(
|
|
2069
2069
|
128,
|
|
@@ -2076,7 +2076,7 @@ var DoorLock;
|
|
|
2076
2076
|
* Null if no reader_group_identifier has been configured on the lock. See Section 5.2.10.42,
|
|
2077
2077
|
* “SetAliroReaderConfig Command”.
|
|
2078
2078
|
*
|
|
2079
|
-
* @see {@link MatterSpecification.
|
|
2079
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.38
|
|
2080
2080
|
*/
|
|
2081
2081
|
aliroReaderGroupIdentifier: Attribute(
|
|
2082
2082
|
129,
|
|
@@ -2086,7 +2086,7 @@ var DoorLock;
|
|
|
2086
2086
|
/**
|
|
2087
2087
|
* Indicates the reader_group_sub_identifier as defined in [Aliro].
|
|
2088
2088
|
*
|
|
2089
|
-
* @see {@link MatterSpecification.
|
|
2089
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.39
|
|
2090
2090
|
*/
|
|
2091
2091
|
aliroReaderGroupSubIdentifier: FixedAttribute(
|
|
2092
2092
|
130,
|
|
@@ -2096,7 +2096,7 @@ var DoorLock;
|
|
|
2096
2096
|
/**
|
|
2097
2097
|
* Indicates the list of protocol versions supported for expedited transactions as defined in [Aliro].
|
|
2098
2098
|
*
|
|
2099
|
-
* @see {@link MatterSpecification.
|
|
2099
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.40
|
|
2100
2100
|
*/
|
|
2101
2101
|
aliroExpeditedTransactionSupportedProtocolVersions: FixedAttribute(
|
|
2102
2102
|
131,
|
|
@@ -2106,7 +2106,7 @@ var DoorLock;
|
|
|
2106
2106
|
/**
|
|
2107
2107
|
* Indicates the maximum number of AliroCredentialIssuerKey credentials that can be stored on the lock.
|
|
2108
2108
|
*
|
|
2109
|
-
* @see {@link MatterSpecification.
|
|
2109
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.44
|
|
2110
2110
|
*/
|
|
2111
2111
|
numberOfAliroCredentialIssuerKeysSupported: FixedAttribute(135, TlvUInt16),
|
|
2112
2112
|
/**
|
|
@@ -2122,7 +2122,7 @@ var DoorLock;
|
|
|
2122
2122
|
* NumberOfAliroEndpointKeysSupported and also add a credential of type AliroNonEvictableEndpointKey at
|
|
2123
2123
|
* the same index, and both credentials would exist on the server.
|
|
2124
2124
|
*
|
|
2125
|
-
* @see {@link MatterSpecification.
|
|
2125
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.45
|
|
2126
2126
|
*/
|
|
2127
2127
|
numberOfAliroEndpointKeysSupported: FixedAttribute(136, TlvUInt16)
|
|
2128
2128
|
},
|
|
@@ -2130,7 +2130,7 @@ var DoorLock;
|
|
|
2130
2130
|
/**
|
|
2131
2131
|
* This command allows communicating an Aliro Reader configuration, as defined in [Aliro], to the lock.
|
|
2132
2132
|
*
|
|
2133
|
-
* @see {@link MatterSpecification.
|
|
2133
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.42
|
|
2134
2134
|
*/
|
|
2135
2135
|
setAliroReaderConfig: Command(
|
|
2136
2136
|
40,
|
|
@@ -2149,7 +2149,7 @@ var DoorLock;
|
|
|
2149
2149
|
* verification key to interact with the lock. This effect is not restricted to a single fabric or
|
|
2150
2150
|
* otherwise scoped in any way.
|
|
2151
2151
|
*
|
|
2152
|
-
* @see {@link MatterSpecification.
|
|
2152
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.43
|
|
2153
2153
|
*/
|
|
2154
2154
|
clearAliroReaderConfig: Command(
|
|
2155
2155
|
41,
|
|
@@ -2168,7 +2168,7 @@ var DoorLock;
|
|
|
2168
2168
|
* Null if no group resolving key has been configured on the lock. See Section 5.2.10.42,
|
|
2169
2169
|
* “SetAliroReaderConfig Command”.
|
|
2170
2170
|
*
|
|
2171
|
-
* @see {@link MatterSpecification.
|
|
2171
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.41
|
|
2172
2172
|
*/
|
|
2173
2173
|
aliroGroupResolvingKey: Attribute(
|
|
2174
2174
|
132,
|
|
@@ -2179,7 +2179,7 @@ var DoorLock;
|
|
|
2179
2179
|
* Indicates the list of protocol versions supported for the Bluetooth LE + UWB Access Control Flow as
|
|
2180
2180
|
* defined in [Aliro].
|
|
2181
2181
|
*
|
|
2182
|
-
* @see {@link MatterSpecification.
|
|
2182
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.42
|
|
2183
2183
|
*/
|
|
2184
2184
|
aliroSupportedBleuwbProtocolVersions: FixedAttribute(
|
|
2185
2185
|
133,
|
|
@@ -2189,7 +2189,7 @@ var DoorLock;
|
|
|
2189
2189
|
/**
|
|
2190
2190
|
* Indicates the version of the Bluetooth LE advertisement as defined in [Aliro].
|
|
2191
2191
|
*
|
|
2192
|
-
* @see {@link MatterSpecification.
|
|
2192
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.43
|
|
2193
2193
|
*/
|
|
2194
2194
|
aliroBleAdvertisingVersion: FixedAttribute(
|
|
2195
2195
|
134,
|
|
@@ -2203,7 +2203,7 @@ var DoorLock;
|
|
|
2203
2203
|
/**
|
|
2204
2204
|
* Set the status of a user ID.
|
|
2205
2205
|
*
|
|
2206
|
-
* @see {@link MatterSpecification.
|
|
2206
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.9
|
|
2207
2207
|
*/
|
|
2208
2208
|
setUserStatus: OptionalCommand(
|
|
2209
2209
|
9,
|
|
@@ -2215,7 +2215,7 @@ var DoorLock;
|
|
|
2215
2215
|
/**
|
|
2216
2216
|
* Get the status of a user.
|
|
2217
2217
|
*
|
|
2218
|
-
* @see {@link MatterSpecification.
|
|
2218
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.10
|
|
2219
2219
|
*/
|
|
2220
2220
|
getUserStatus: OptionalCommand(
|
|
2221
2221
|
10,
|
|
@@ -2231,7 +2231,7 @@ var DoorLock;
|
|
|
2231
2231
|
*
|
|
2232
2232
|
* Return status shall be one of the following values:
|
|
2233
2233
|
*
|
|
2234
|
-
* @see {@link MatterSpecification.
|
|
2234
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.24
|
|
2235
2235
|
*/
|
|
2236
2236
|
setUserType: OptionalCommand(
|
|
2237
2237
|
20,
|
|
@@ -2243,7 +2243,7 @@ var DoorLock;
|
|
|
2243
2243
|
/**
|
|
2244
2244
|
* Retrieve the user type for a specific user.
|
|
2245
2245
|
*
|
|
2246
|
-
* @see {@link MatterSpecification.
|
|
2246
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.25
|
|
2247
2247
|
*/
|
|
2248
2248
|
getUserType: OptionalCommand(
|
|
2249
2249
|
21,
|
|
@@ -2263,7 +2263,7 @@ var DoorLock;
|
|
|
2263
2263
|
* Return status is a global status code or a cluster-specific status code from the Status Codes table and
|
|
2264
2264
|
* shall be one of the following values:
|
|
2265
2265
|
*
|
|
2266
|
-
* @see {@link MatterSpecification.
|
|
2266
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.27
|
|
2267
2267
|
*/
|
|
2268
2268
|
setRfidCode: Command(
|
|
2269
2269
|
22,
|
|
@@ -2275,7 +2275,7 @@ var DoorLock;
|
|
|
2275
2275
|
/**
|
|
2276
2276
|
* Retrieve an RFID code.
|
|
2277
2277
|
*
|
|
2278
|
-
* @see {@link MatterSpecification.
|
|
2278
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.28
|
|
2279
2279
|
*/
|
|
2280
2280
|
getRfidCode: Command(
|
|
2281
2281
|
23,
|
|
@@ -2291,7 +2291,7 @@ var DoorLock;
|
|
|
2291
2291
|
* corresponding user record’s UserStatus value shall be set to Available, and UserType value shall be set
|
|
2292
2292
|
* to UnrestrictedUser and all schedules shall be cleared.
|
|
2293
2293
|
*
|
|
2294
|
-
* @see {@link MatterSpecification.
|
|
2294
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.30
|
|
2295
2295
|
*/
|
|
2296
2296
|
clearRfidCode: Command(
|
|
2297
2297
|
24,
|
|
@@ -2305,7 +2305,7 @@ var DoorLock;
|
|
|
2305
2305
|
* user status has to be set to "0 Available", the user type has to be set to the default value, and all
|
|
2306
2306
|
* schedules which are supported have to be set to the default values.
|
|
2307
2307
|
*
|
|
2308
|
-
* @see {@link MatterSpecification.
|
|
2308
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.31
|
|
2309
2309
|
*/
|
|
2310
2310
|
clearAllRfidCodes: Command(
|
|
2311
2311
|
25,
|
|
@@ -2328,7 +2328,7 @@ var DoorLock;
|
|
|
2328
2328
|
* > If the attribute AutoRelockTime is supported, the lock will transition to the locked state when the
|
|
2329
2329
|
* auto relock time has expired.
|
|
2330
2330
|
*
|
|
2331
|
-
* @see {@link MatterSpecification.
|
|
2331
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.41
|
|
2332
2332
|
*/
|
|
2333
2333
|
unboltDoor: Command(39, DoorLock2.TlvUnboltDoorRequest, 39, TlvNoResponse, { timed: true })
|
|
2334
2334
|
}
|
|
@@ -2346,7 +2346,7 @@ var DoorLock;
|
|
|
2346
2346
|
* and Schedules are all associated with a User index and not directly with a PIN index. A User index may
|
|
2347
2347
|
* have several credentials associated with it.
|
|
2348
2348
|
*
|
|
2349
|
-
* @see {@link MatterSpecification.
|
|
2349
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.1
|
|
2350
2350
|
*/
|
|
2351
2351
|
pinCredential: BitFlag(0),
|
|
2352
2352
|
/**
|
|
@@ -2357,7 +2357,7 @@ var DoorLock;
|
|
|
2357
2357
|
* and Schedules are all associated with a User index and not directly with a RFID index. A User Index may
|
|
2358
2358
|
* have several credentials associated with it.
|
|
2359
2359
|
*
|
|
2360
|
-
* @see {@link MatterSpecification.
|
|
2360
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.2
|
|
2361
2361
|
*/
|
|
2362
2362
|
rfidCredential: BitFlag(1),
|
|
2363
2363
|
/**
|
|
@@ -2370,7 +2370,7 @@ var DoorLock;
|
|
|
2370
2370
|
* and Schedules are all associated with a User index and not directly with a Finger index. A User Index may
|
|
2371
2371
|
* have several credentials associated with it.
|
|
2372
2372
|
*
|
|
2373
|
-
* @see {@link MatterSpecification.
|
|
2373
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.3
|
|
2374
2374
|
*/
|
|
2375
2375
|
fingerCredentials: BitFlag(2),
|
|
2376
2376
|
/**
|
|
@@ -2384,14 +2384,14 @@ var DoorLock;
|
|
|
2384
2384
|
* Support for WeekDayAccessSchedules requires that the lock has the capability of keeping track of local
|
|
2385
2385
|
* time.
|
|
2386
2386
|
*
|
|
2387
|
-
* @see {@link MatterSpecification.
|
|
2387
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.4
|
|
2388
2388
|
*/
|
|
2389
2389
|
weekDayAccessSchedules: BitFlag(4),
|
|
2390
2390
|
/**
|
|
2391
2391
|
* If this feature is supported this indicates that the lock has the ability to determine the position of
|
|
2392
2392
|
* the door which is separate from the state of the lock.
|
|
2393
2393
|
*
|
|
2394
|
-
* @see {@link MatterSpecification.
|
|
2394
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.5
|
|
2395
2395
|
*/
|
|
2396
2396
|
doorPositionSensor: BitFlag(5),
|
|
2397
2397
|
/**
|
|
@@ -2404,7 +2404,7 @@ var DoorLock;
|
|
|
2404
2404
|
* A lock may support multiple credential types so if the User feature is supported the UserType, UserStatus
|
|
2405
2405
|
* and Schedules are all associated with a User and not directly with a credential.
|
|
2406
2406
|
*
|
|
2407
|
-
* @see {@link MatterSpecification.
|
|
2407
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.6
|
|
2408
2408
|
*/
|
|
2409
2409
|
faceCredentials: BitFlag(6),
|
|
2410
2410
|
/**
|
|
@@ -2412,7 +2412,7 @@ var DoorLock;
|
|
|
2412
2412
|
* lock/unlock command. Currently the cluster only supports providing the PIN credential to the lock/unlock
|
|
2413
2413
|
* commands. If this feature is supported then the PIN Credential feature shall also be supported.
|
|
2414
2414
|
*
|
|
2415
|
-
* @see {@link MatterSpecification.
|
|
2415
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.7
|
|
2416
2416
|
*/
|
|
2417
2417
|
credentialOverTheAirAccess: BitFlag(7),
|
|
2418
2418
|
/**
|
|
@@ -2420,7 +2420,7 @@ var DoorLock;
|
|
|
2420
2420
|
* used to associate credentials and schedules to single user record within the lock. This also means the
|
|
2421
2421
|
* UserType and UserStatus fields are associated with a User and not a credential.
|
|
2422
2422
|
*
|
|
2423
|
-
* @see {@link MatterSpecification.
|
|
2423
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.8
|
|
2424
2424
|
*/
|
|
2425
2425
|
user: BitFlag(8),
|
|
2426
2426
|
/**
|
|
@@ -2432,7 +2432,7 @@ var DoorLock;
|
|
|
2432
2432
|
* Support for YearDayAccessSchedules requires that the lock has the capability of keeping track of local
|
|
2433
2433
|
* time.
|
|
2434
2434
|
*
|
|
2435
|
-
* @see {@link MatterSpecification.
|
|
2435
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.9
|
|
2436
2436
|
*/
|
|
2437
2437
|
yearDayAccessSchedules: BitFlag(10),
|
|
2438
2438
|
/**
|
|
@@ -2441,7 +2441,7 @@ var DoorLock;
|
|
|
2441
2441
|
*
|
|
2442
2442
|
* Support for HolidaySchedules requires that the lock has the capability of keeping track of local time.
|
|
2443
2443
|
*
|
|
2444
|
-
* @see {@link MatterSpecification.
|
|
2444
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.10
|
|
2445
2445
|
*/
|
|
2446
2446
|
holidaySchedules: BitFlag(11),
|
|
2447
2447
|
/**
|
|
@@ -2451,21 +2451,21 @@ var DoorLock;
|
|
|
2451
2451
|
* Locks without unbolting support don’t differentiate between unbolting and unlocking and perform the same
|
|
2452
2452
|
* operation for both commands.
|
|
2453
2453
|
*
|
|
2454
|
-
* @see {@link MatterSpecification.
|
|
2454
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.11
|
|
2455
2455
|
*/
|
|
2456
2456
|
unbolting: BitFlag(12),
|
|
2457
2457
|
/**
|
|
2458
2458
|
* Locks that support this feature implement the Aliro specification as defined in [Aliro] and support
|
|
2459
2459
|
* Matter as a method for provisioning Aliro credentials.
|
|
2460
2460
|
*
|
|
2461
|
-
* @see {@link MatterSpecification.
|
|
2461
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.12
|
|
2462
2462
|
*/
|
|
2463
2463
|
aliroProvisioning: BitFlag(13),
|
|
2464
2464
|
/**
|
|
2465
2465
|
* Locks that support this feature implement the Bluetooth LE + UWB Access Control Flow as defined in
|
|
2466
2466
|
* [Aliro].
|
|
2467
2467
|
*
|
|
2468
|
-
* @see {@link MatterSpecification.
|
|
2468
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.4.13
|
|
2469
2469
|
*/
|
|
2470
2470
|
aliroBleuwb: BitFlag(14)
|
|
2471
2471
|
},
|
|
@@ -2479,27 +2479,27 @@ var DoorLock;
|
|
|
2479
2479
|
* Locked and Unlocked so it is only partially secured. For example, a deadbolt could be partially extended
|
|
2480
2480
|
* and not in a dead latched state.
|
|
2481
2481
|
*
|
|
2482
|
-
* @see {@link MatterSpecification.
|
|
2482
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.1
|
|
2483
2483
|
*/
|
|
2484
2484
|
lockState: Attribute(0, TlvNullable(TlvEnum())),
|
|
2485
2485
|
/**
|
|
2486
2486
|
* Indicates the type of door lock as defined in LockTypeEnum.
|
|
2487
2487
|
*
|
|
2488
|
-
* @see {@link MatterSpecification.
|
|
2488
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.2
|
|
2489
2489
|
*/
|
|
2490
2490
|
lockType: Attribute(1, TlvEnum()),
|
|
2491
2491
|
/**
|
|
2492
2492
|
* Indicates if the lock is currently able to (Enabled) or not able to (Disabled) process remote Lock,
|
|
2493
2493
|
* Unlock, or Unlock with Timeout commands.
|
|
2494
2494
|
*
|
|
2495
|
-
* @see {@link MatterSpecification.
|
|
2495
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.3
|
|
2496
2496
|
*/
|
|
2497
2497
|
actuatorEnabled: Attribute(2, TlvBoolean),
|
|
2498
2498
|
/**
|
|
2499
2499
|
* Indicates the language for the on-screen or audible user interface using a 2- byte language code from
|
|
2500
2500
|
* ISO-639-1.
|
|
2501
2501
|
*
|
|
2502
|
-
* @see {@link MatterSpecification.
|
|
2502
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.20
|
|
2503
2503
|
*/
|
|
2504
2504
|
language: OptionalWritableAttribute(
|
|
2505
2505
|
33,
|
|
@@ -2509,7 +2509,7 @@ var DoorLock;
|
|
|
2509
2509
|
/**
|
|
2510
2510
|
* Indicates the settings for the LED support, as defined by LEDSettingEnum.
|
|
2511
2511
|
*
|
|
2512
|
-
* @see {@link MatterSpecification.
|
|
2512
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.21
|
|
2513
2513
|
*/
|
|
2514
2514
|
ledSettings: OptionalWritableAttribute(
|
|
2515
2515
|
34,
|
|
@@ -2521,13 +2521,13 @@ var DoorLock;
|
|
|
2521
2521
|
* 0=disabled. If set, unlock operations from any source will be timed. For one time unlock with timeout use
|
|
2522
2522
|
* the specific command.
|
|
2523
2523
|
*
|
|
2524
|
-
* @see {@link MatterSpecification.
|
|
2524
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.22
|
|
2525
2525
|
*/
|
|
2526
2526
|
autoRelockTime: OptionalWritableAttribute(35, TlvUInt32, { writeAcl: AccessLevel.Manage }),
|
|
2527
2527
|
/**
|
|
2528
2528
|
* Indicates the sound volume on a door lock as defined by SoundVolumeEnum.
|
|
2529
2529
|
*
|
|
2530
|
-
* @see {@link MatterSpecification.
|
|
2530
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.23
|
|
2531
2531
|
*/
|
|
2532
2532
|
soundVolume: OptionalWritableAttribute(
|
|
2533
2533
|
36,
|
|
@@ -2537,7 +2537,7 @@ var DoorLock;
|
|
|
2537
2537
|
/**
|
|
2538
2538
|
* Indicates the current operating mode of the lock as defined in OperatingModeEnum.
|
|
2539
2539
|
*
|
|
2540
|
-
* @see {@link MatterSpecification.
|
|
2540
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.24
|
|
2541
2541
|
*/
|
|
2542
2542
|
operatingMode: WritableAttribute(37, TlvEnum(), { writeAcl: AccessLevel.Manage }),
|
|
2543
2543
|
/**
|
|
@@ -2554,7 +2554,7 @@ var DoorLock;
|
|
|
2554
2554
|
* this attribute. WARNING: This is the opposite of most other semantically similar bitmaps in this
|
|
2555
2555
|
* specification.
|
|
2556
2556
|
*
|
|
2557
|
-
* @see {@link MatterSpecification.
|
|
2557
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.25
|
|
2558
2558
|
*/
|
|
2559
2559
|
supportedOperatingModes: FixedAttribute(38, TlvBitmap(TlvUInt16, DoorLock2.OperatingModes)),
|
|
2560
2560
|
/**
|
|
@@ -2574,7 +2574,7 @@ var DoorLock;
|
|
|
2574
2574
|
* current Sound Volume is High Volume. Therefore, if the client wants to query/modify the current Sound
|
|
2575
2575
|
* Volume setting on the server, the client SHOULD read/write to the Sound Volume attribute.
|
|
2576
2576
|
*
|
|
2577
|
-
* @see {@link MatterSpecification.
|
|
2577
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.26
|
|
2578
2578
|
*/
|
|
2579
2579
|
defaultConfigurationRegister: OptionalAttribute(39, TlvBitmap(TlvUInt16, DoorLock2.ConfigurationRegister)),
|
|
2580
2580
|
/**
|
|
@@ -2584,7 +2584,7 @@ var DoorLock;
|
|
|
2584
2584
|
* for those features whose bit is set to 0 in the LocalProgrammingFeatures attribute. Local programming
|
|
2585
2585
|
* shall be enabled by default.
|
|
2586
2586
|
*
|
|
2587
|
-
* @see {@link MatterSpecification.
|
|
2587
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.27
|
|
2588
2588
|
*/
|
|
2589
2589
|
enableLocalProgramming: OptionalWritableAttribute(
|
|
2590
2590
|
40,
|
|
@@ -2595,7 +2595,7 @@ var DoorLock;
|
|
|
2595
2595
|
* This attribute shall enable/disable the ability to lock the door lock with a single touch on the door
|
|
2596
2596
|
* lock.
|
|
2597
2597
|
*
|
|
2598
|
-
* @see {@link MatterSpecification.
|
|
2598
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.28
|
|
2599
2599
|
*/
|
|
2600
2600
|
enableOneTouchLocking: OptionalWritableAttribute(
|
|
2601
2601
|
41,
|
|
@@ -2606,7 +2606,7 @@ var DoorLock;
|
|
|
2606
2606
|
* This attribute shall enable/disable an inside LED that allows the user to see at a glance if the door is
|
|
2607
2607
|
* locked.
|
|
2608
2608
|
*
|
|
2609
|
-
* @see {@link MatterSpecification.
|
|
2609
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.29
|
|
2610
2610
|
*/
|
|
2611
2611
|
enableInsideStatusLed: OptionalWritableAttribute(
|
|
2612
2612
|
42,
|
|
@@ -2617,7 +2617,7 @@ var DoorLock;
|
|
|
2617
2617
|
* This attribute shall enable/disable a button inside the door that is used to put the lock into privacy
|
|
2618
2618
|
* mode. When the lock is in privacy mode it cannot be manipulated from the outside.
|
|
2619
2619
|
*
|
|
2620
|
-
* @see {@link MatterSpecification.
|
|
2620
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.30
|
|
2621
2621
|
*/
|
|
2622
2622
|
enablePrivacyModeButton: OptionalWritableAttribute(
|
|
2623
2623
|
43,
|
|
@@ -2633,7 +2633,7 @@ var DoorLock;
|
|
|
2633
2633
|
*
|
|
2634
2634
|
* The features that can be disabled from local programming are defined in LocalProgrammingFeaturesBitmap.
|
|
2635
2635
|
*
|
|
2636
|
-
* @see {@link MatterSpecification.
|
|
2636
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.9.31
|
|
2637
2637
|
*/
|
|
2638
2638
|
localProgrammingFeatures: OptionalWritableAttribute(
|
|
2639
2639
|
44,
|
|
@@ -2647,7 +2647,7 @@ var DoorLock;
|
|
|
2647
2647
|
* lock. The door lock may require a PIN depending on the value of the RequirePINForRemoteOperation
|
|
2648
2648
|
* attribute.
|
|
2649
2649
|
*
|
|
2650
|
-
* @see {@link MatterSpecification.
|
|
2650
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.1
|
|
2651
2651
|
*/
|
|
2652
2652
|
lockDoor: Command(0, DoorLock2.TlvLockDoorRequest, 0, TlvNoResponse, { timed: true }),
|
|
2653
2653
|
/**
|
|
@@ -2660,7 +2660,7 @@ var DoorLock;
|
|
|
2660
2660
|
* > If the attribute AutoRelockTime is supported the lock will transition to the locked state when the auto
|
|
2661
2661
|
* relock time has expired.
|
|
2662
2662
|
*
|
|
2663
|
-
* @see {@link MatterSpecification.
|
|
2663
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.2
|
|
2664
2664
|
*/
|
|
2665
2665
|
unlockDoor: Command(1, DoorLock2.TlvUnlockDoorRequest, 1, TlvNoResponse, { timed: true }),
|
|
2666
2666
|
/**
|
|
@@ -2670,7 +2670,7 @@ var DoorLock;
|
|
|
2670
2670
|
* specified in the AutoRelockTime attribute. If the door lock device is not capable of or does not want to
|
|
2671
2671
|
* support temporary Relock Timeout, it SHOULD NOT support this optional command.
|
|
2672
2672
|
*
|
|
2673
|
-
* @see {@link MatterSpecification.
|
|
2673
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.10.3
|
|
2674
2674
|
*/
|
|
2675
2675
|
unlockWithTimeout: OptionalCommand(3, DoorLock2.TlvUnlockWithTimeoutRequest, 3, TlvNoResponse, { timed: true })
|
|
2676
2676
|
},
|
|
@@ -2679,7 +2679,7 @@ var DoorLock;
|
|
|
2679
2679
|
* The door lock server provides several alarms which can be sent when there is a critical state on the door
|
|
2680
2680
|
* lock. The alarms available for the door lock server are listed in AlarmCodeEnum.
|
|
2681
2681
|
*
|
|
2682
|
-
* @see {@link MatterSpecification.
|
|
2682
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.1
|
|
2683
2683
|
*/
|
|
2684
2684
|
doorLockAlarm: Event(0, Priority.Critical, DoorLock2.TlvDoorLockAlarmEvent),
|
|
2685
2685
|
/**
|
|
@@ -2710,14 +2710,14 @@ var DoorLock;
|
|
|
2710
2710
|
*
|
|
2711
2711
|
* from the inside.
|
|
2712
2712
|
*
|
|
2713
|
-
* @see {@link MatterSpecification.
|
|
2713
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.3
|
|
2714
2714
|
*/
|
|
2715
2715
|
lockOperation: Event(2, Priority.Critical, DoorLock2.TlvLockOperationEvent),
|
|
2716
2716
|
/**
|
|
2717
2717
|
* The door lock server sends out a LockOperationError event when a lock operation fails for various
|
|
2718
2718
|
* reasons.
|
|
2719
2719
|
*
|
|
2720
|
-
* @see {@link MatterSpecification.
|
|
2720
|
+
* @see {@link MatterSpecification.v142.Cluster} § 5.2.11.4
|
|
2721
2721
|
*/
|
|
2722
2722
|
lockOperationError: Event(3, Priority.Critical, DoorLock2.TlvLockOperationErrorEvent)
|
|
2723
2723
|
},
|