@matter/types 0.11.9-alpha.0-20241203-06077d82e → 0.11.9-alpha.0-20241206-22f233334
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 +4 -4
- package/dist/cjs/clusters/administrator-commissioning.d.ts +8 -8
- package/dist/cjs/clusters/application-launcher.d.ts +14 -14
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +58 -7
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts.map +1 -1
- package/dist/cjs/clusters/bridged-device-basic-information.js +19 -2
- package/dist/cjs/clusters/bridged-device-basic-information.js.map +1 -1
- package/dist/cjs/clusters/channel.d.ts +15 -15
- package/dist/cjs/clusters/color-control.d.ts.map +1 -1
- package/dist/cjs/clusters/color-control.js +1 -5
- package/dist/cjs/clusters/color-control.js.map +1 -1
- package/dist/cjs/clusters/content-launcher.d.ts +10 -10
- package/dist/cjs/clusters/content-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/content-launcher.js +22 -22
- package/dist/cjs/clusters/content-launcher.js.map +2 -2
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +411 -25
- package/dist/cjs/clusters/device-energy-management-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/device-energy-management-mode.js +90 -1
- package/dist/cjs/clusters/device-energy-management-mode.js.map +1 -1
- package/dist/cjs/clusters/diagnostic-logs.d.ts +2 -2
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +1253 -42
- package/dist/cjs/clusters/dishwasher-alarm.d.ts.map +1 -1
- package/dist/cjs/clusters/dishwasher-alarm.js +72 -9
- package/dist/cjs/clusters/dishwasher-alarm.js.map +1 -1
- package/dist/cjs/clusters/dishwasher-mode.d.ts +340 -17
- package/dist/cjs/clusters/dishwasher-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/dishwasher-mode.js +91 -2
- package/dist/cjs/clusters/dishwasher-mode.js.map +1 -1
- package/dist/cjs/clusters/door-lock.d.ts +1344 -192
- package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
- package/dist/cjs/clusters/door-lock.js +199 -3
- package/dist/cjs/clusters/door-lock.js.map +1 -1
- package/dist/cjs/clusters/energy-evse-mode.d.ts +409 -25
- package/dist/cjs/clusters/energy-evse-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/energy-evse-mode.js +90 -1
- package/dist/cjs/clusters/energy-evse-mode.js.map +1 -1
- package/dist/cjs/clusters/energy-evse.d.ts +5 -5
- package/dist/cjs/clusters/fan-control.d.ts +5 -0
- package/dist/cjs/clusters/fan-control.d.ts.map +1 -1
- package/dist/cjs/clusters/fan-control.js.map +1 -1
- package/dist/cjs/clusters/general-diagnostics.d.ts +26 -26
- package/dist/cjs/clusters/group-key-management.d.ts +21 -21
- package/dist/cjs/clusters/groups.d.ts +12 -0
- package/dist/cjs/clusters/groups.d.ts.map +1 -1
- package/dist/cjs/clusters/groups.js +7 -1
- package/dist/cjs/clusters/groups.js.map +1 -1
- package/dist/cjs/clusters/icd-management.d.ts +15 -15
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +340 -17
- package/dist/cjs/clusters/laundry-washer-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/laundry-washer-mode.js +91 -2
- package/dist/cjs/clusters/laundry-washer-mode.js.map +1 -1
- package/dist/cjs/clusters/media-playback.d.ts +4 -4
- package/dist/cjs/clusters/messages.d.ts +20 -20
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +330 -13
- package/dist/cjs/clusters/microwave-oven-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/microwave-oven-mode.js +90 -2
- package/dist/cjs/clusters/microwave-oven-mode.js.map +1 -1
- package/dist/cjs/clusters/mode-base.d.ts +68 -68
- package/dist/cjs/clusters/mode-base.d.ts.map +1 -1
- package/dist/cjs/clusters/mode-base.js +16 -16
- package/dist/cjs/clusters/mode-base.js.map +2 -2
- package/dist/cjs/clusters/network-commissioning.d.ts +74 -74
- package/dist/cjs/clusters/operational-credentials.d.ts +33 -33
- package/dist/cjs/clusters/ota-software-update-provider.d.ts +10 -10
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +2 -2
- package/dist/cjs/clusters/oven-mode.d.ts +409 -25
- package/dist/cjs/clusters/oven-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/oven-mode.js +90 -1
- package/dist/cjs/clusters/oven-mode.js.map +1 -1
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +15 -0
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts.map +1 -1
- package/dist/cjs/clusters/pump-configuration-and-control.js +6 -1
- package/dist/cjs/clusters/pump-configuration-and-control.js.map +1 -1
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +364 -36
- package/dist/cjs/clusters/refrigerator-alarm.d.ts.map +1 -1
- package/dist/cjs/clusters/refrigerator-alarm.js +46 -8
- package/dist/cjs/clusters/refrigerator-alarm.js.map +1 -1
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +340 -17
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +91 -2
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +374 -23
- package/dist/cjs/clusters/rvc-clean-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-clean-mode.js +99 -6
- package/dist/cjs/clusters/rvc-clean-mode.js.map +2 -2
- package/dist/cjs/clusters/rvc-operational-state.d.ts +248 -22
- package/dist/cjs/clusters/rvc-operational-state.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-operational-state.js +59 -10
- package/dist/cjs/clusters/rvc-operational-state.js.map +1 -1
- package/dist/cjs/clusters/rvc-run-mode.d.ts +401 -40
- package/dist/cjs/clusters/rvc-run-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-run-mode.js +101 -8
- package/dist/cjs/clusters/rvc-run-mode.js.map +2 -2
- package/dist/cjs/clusters/software-diagnostics.d.ts +4 -4
- package/dist/cjs/clusters/target-navigator.d.ts +2 -2
- package/dist/cjs/clusters/thermostat.d.ts +262 -61
- package/dist/cjs/clusters/thermostat.d.ts.map +1 -1
- package/dist/cjs/clusters/thermostat.js +72 -58
- package/dist/cjs/clusters/thermostat.js.map +1 -1
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts +6 -6
- package/dist/cjs/clusters/wake-on-lan.d.ts +1 -1
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +3 -3
- package/dist/cjs/schema/BitmapSchema.d.ts +1 -1
- package/dist/cjs/schema/PairingCodeSchema.d.ts +2 -2
- package/dist/cjs/tlv/TlvSchema.d.ts +1 -1
- package/dist/esm/clusters/access-control.d.ts +4 -4
- package/dist/esm/clusters/administrator-commissioning.d.ts +8 -8
- package/dist/esm/clusters/application-launcher.d.ts +14 -14
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +58 -7
- package/dist/esm/clusters/bridged-device-basic-information.d.ts.map +1 -1
- package/dist/esm/clusters/bridged-device-basic-information.js +19 -2
- package/dist/esm/clusters/bridged-device-basic-information.js.map +1 -1
- package/dist/esm/clusters/channel.d.ts +15 -15
- package/dist/esm/clusters/color-control.d.ts.map +1 -1
- package/dist/esm/clusters/color-control.js +1 -5
- package/dist/esm/clusters/color-control.js.map +1 -1
- package/dist/esm/clusters/content-launcher.d.ts +10 -10
- package/dist/esm/clusters/content-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/content-launcher.js +22 -22
- package/dist/esm/clusters/content-launcher.js.map +2 -2
- package/dist/esm/clusters/device-energy-management-mode.d.ts +411 -25
- package/dist/esm/clusters/device-energy-management-mode.d.ts.map +1 -1
- package/dist/esm/clusters/device-energy-management-mode.js +91 -2
- package/dist/esm/clusters/device-energy-management-mode.js.map +1 -1
- package/dist/esm/clusters/diagnostic-logs.d.ts +2 -2
- package/dist/esm/clusters/dishwasher-alarm.d.ts +1253 -42
- package/dist/esm/clusters/dishwasher-alarm.d.ts.map +1 -1
- package/dist/esm/clusters/dishwasher-alarm.js +72 -9
- package/dist/esm/clusters/dishwasher-alarm.js.map +1 -1
- package/dist/esm/clusters/dishwasher-mode.d.ts +340 -17
- package/dist/esm/clusters/dishwasher-mode.d.ts.map +1 -1
- package/dist/esm/clusters/dishwasher-mode.js +91 -2
- package/dist/esm/clusters/dishwasher-mode.js.map +1 -1
- package/dist/esm/clusters/door-lock.d.ts +1344 -192
- package/dist/esm/clusters/door-lock.d.ts.map +1 -1
- package/dist/esm/clusters/door-lock.js +199 -3
- package/dist/esm/clusters/door-lock.js.map +1 -1
- package/dist/esm/clusters/energy-evse-mode.d.ts +409 -25
- package/dist/esm/clusters/energy-evse-mode.d.ts.map +1 -1
- package/dist/esm/clusters/energy-evse-mode.js +91 -2
- package/dist/esm/clusters/energy-evse-mode.js.map +1 -1
- package/dist/esm/clusters/energy-evse.d.ts +5 -5
- package/dist/esm/clusters/fan-control.d.ts +5 -0
- package/dist/esm/clusters/fan-control.d.ts.map +1 -1
- package/dist/esm/clusters/fan-control.js.map +1 -1
- package/dist/esm/clusters/general-diagnostics.d.ts +26 -26
- package/dist/esm/clusters/group-key-management.d.ts +21 -21
- package/dist/esm/clusters/groups.d.ts +12 -0
- package/dist/esm/clusters/groups.d.ts.map +1 -1
- package/dist/esm/clusters/groups.js +7 -1
- package/dist/esm/clusters/groups.js.map +1 -1
- package/dist/esm/clusters/icd-management.d.ts +15 -15
- package/dist/esm/clusters/laundry-washer-mode.d.ts +340 -17
- package/dist/esm/clusters/laundry-washer-mode.d.ts.map +1 -1
- package/dist/esm/clusters/laundry-washer-mode.js +91 -2
- package/dist/esm/clusters/laundry-washer-mode.js.map +1 -1
- package/dist/esm/clusters/media-playback.d.ts +4 -4
- package/dist/esm/clusters/messages.d.ts +20 -20
- package/dist/esm/clusters/microwave-oven-mode.d.ts +330 -13
- package/dist/esm/clusters/microwave-oven-mode.d.ts.map +1 -1
- package/dist/esm/clusters/microwave-oven-mode.js +91 -3
- package/dist/esm/clusters/microwave-oven-mode.js.map +1 -1
- package/dist/esm/clusters/mode-base.d.ts +68 -68
- package/dist/esm/clusters/mode-base.d.ts.map +1 -1
- package/dist/esm/clusters/mode-base.js +17 -17
- package/dist/esm/clusters/mode-base.js.map +2 -2
- package/dist/esm/clusters/network-commissioning.d.ts +74 -74
- package/dist/esm/clusters/operational-credentials.d.ts +33 -33
- package/dist/esm/clusters/ota-software-update-provider.d.ts +10 -10
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +2 -2
- package/dist/esm/clusters/oven-mode.d.ts +409 -25
- package/dist/esm/clusters/oven-mode.d.ts.map +1 -1
- package/dist/esm/clusters/oven-mode.js +91 -2
- package/dist/esm/clusters/oven-mode.js.map +1 -1
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +15 -0
- package/dist/esm/clusters/pump-configuration-and-control.d.ts.map +1 -1
- package/dist/esm/clusters/pump-configuration-and-control.js +6 -1
- package/dist/esm/clusters/pump-configuration-and-control.js.map +1 -1
- package/dist/esm/clusters/refrigerator-alarm.d.ts +364 -36
- package/dist/esm/clusters/refrigerator-alarm.d.ts.map +1 -1
- package/dist/esm/clusters/refrigerator-alarm.js +46 -8
- package/dist/esm/clusters/refrigerator-alarm.js.map +1 -1
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +340 -17
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +91 -2
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
- package/dist/esm/clusters/rvc-clean-mode.d.ts +374 -23
- package/dist/esm/clusters/rvc-clean-mode.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-clean-mode.js +99 -6
- package/dist/esm/clusters/rvc-clean-mode.js.map +2 -2
- package/dist/esm/clusters/rvc-operational-state.d.ts +248 -22
- package/dist/esm/clusters/rvc-operational-state.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-operational-state.js +60 -11
- package/dist/esm/clusters/rvc-operational-state.js.map +1 -1
- package/dist/esm/clusters/rvc-run-mode.d.ts +401 -40
- package/dist/esm/clusters/rvc-run-mode.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-run-mode.js +101 -8
- package/dist/esm/clusters/rvc-run-mode.js.map +2 -2
- package/dist/esm/clusters/software-diagnostics.d.ts +4 -4
- package/dist/esm/clusters/target-navigator.d.ts +2 -2
- package/dist/esm/clusters/thermostat.d.ts +262 -61
- package/dist/esm/clusters/thermostat.d.ts.map +1 -1
- package/dist/esm/clusters/thermostat.js +72 -58
- package/dist/esm/clusters/thermostat.js.map +1 -1
- package/dist/esm/clusters/thread-network-diagnostics.d.ts +6 -6
- package/dist/esm/clusters/wake-on-lan.d.ts +1 -1
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +3 -3
- package/dist/esm/schema/BitmapSchema.d.ts +1 -1
- package/dist/esm/schema/PairingCodeSchema.d.ts +2 -2
- package/dist/esm/tlv/TlvSchema.d.ts +1 -1
- package/package.json +5 -5
- package/src/clusters/bridged-device-basic-information.ts +46 -2
- package/src/clusters/color-control.ts +1 -5
- package/src/clusters/content-launcher.ts +5 -5
- package/src/clusters/device-energy-management-mode.ts +184 -3
- package/src/clusters/dishwasher-alarm.ts +115 -9
- package/src/clusters/dishwasher-mode.ts +188 -3
- package/src/clusters/door-lock.ts +247 -3
- package/src/clusters/energy-evse-mode.ts +182 -3
- package/src/clusters/fan-control.ts +5 -0
- package/src/clusters/groups.ts +8 -1
- package/src/clusters/laundry-washer-mode.ts +188 -3
- package/src/clusters/microwave-oven-mode.ts +182 -4
- package/src/clusters/mode-base.ts +77 -77
- package/src/clusters/oven-mode.ts +182 -3
- package/src/clusters/pump-configuration-and-control.ts +7 -1
- package/src/clusters/refrigerator-alarm.ts +76 -8
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +188 -3
- package/src/clusters/rvc-clean-mode.ts +227 -10
- package/src/clusters/rvc-operational-state.ts +112 -11
- package/src/clusters/rvc-run-mode.ts +253 -26
- package/src/clusters/thermostat.ts +80 -65
- package/src/globals/WildcardPathFlags.ts +1 -1
|
@@ -109,7 +109,7 @@ export declare namespace IcdManagement {
|
|
|
109
109
|
*
|
|
110
110
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.1.3
|
|
111
111
|
*/
|
|
112
|
-
key: import("../tlv/TlvObject.js").FieldType<Uint8Array
|
|
112
|
+
key: import("../tlv/TlvObject.js").FieldType<Uint8Array<ArrayBufferLike>>;
|
|
113
113
|
/**
|
|
114
114
|
* This field shall provide the verification key. The verification key represents the key already stored on the
|
|
115
115
|
* server. The verification key provided in this field shall be used by the server to guarantee that a client
|
|
@@ -120,7 +120,7 @@ export declare namespace IcdManagement {
|
|
|
120
120
|
*
|
|
121
121
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.1.4
|
|
122
122
|
*/
|
|
123
|
-
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array
|
|
123
|
+
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array<ArrayBufferLike>>;
|
|
124
124
|
}>;
|
|
125
125
|
/**
|
|
126
126
|
* Input to the IcdManagement registerClient command
|
|
@@ -169,7 +169,7 @@ export declare namespace IcdManagement {
|
|
|
169
169
|
*
|
|
170
170
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.3.2
|
|
171
171
|
*/
|
|
172
|
-
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array
|
|
172
|
+
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array<ArrayBufferLike>>;
|
|
173
173
|
}>;
|
|
174
174
|
/**
|
|
175
175
|
* Input to the IcdManagement unregisterClient command
|
|
@@ -395,7 +395,7 @@ export declare namespace IcdManagement {
|
|
|
395
395
|
*
|
|
396
396
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.1.3
|
|
397
397
|
*/
|
|
398
|
-
key: import("../tlv/TlvObject.js").FieldType<Uint8Array
|
|
398
|
+
key: import("../tlv/TlvObject.js").FieldType<Uint8Array<ArrayBufferLike>>;
|
|
399
399
|
/**
|
|
400
400
|
* This field shall provide the verification key. The verification key represents the key already stored on the
|
|
401
401
|
* server. The verification key provided in this field shall be used by the server to guarantee that a client
|
|
@@ -406,7 +406,7 @@ export declare namespace IcdManagement {
|
|
|
406
406
|
*
|
|
407
407
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.1.4
|
|
408
408
|
*/
|
|
409
|
-
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array
|
|
409
|
+
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array<ArrayBufferLike>>;
|
|
410
410
|
}>, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
411
411
|
icdCounter: import("../tlv/TlvObject.js").FieldType<number>;
|
|
412
412
|
}>, any>;
|
|
@@ -436,7 +436,7 @@ export declare namespace IcdManagement {
|
|
|
436
436
|
*
|
|
437
437
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.3.2
|
|
438
438
|
*/
|
|
439
|
-
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array
|
|
439
|
+
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array<ArrayBufferLike>>;
|
|
440
440
|
}>, void, any>;
|
|
441
441
|
};
|
|
442
442
|
};
|
|
@@ -790,7 +790,7 @@ export declare namespace IcdManagement {
|
|
|
790
790
|
*
|
|
791
791
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.1.3
|
|
792
792
|
*/
|
|
793
|
-
key: import("../tlv/TlvObject.js").FieldType<Uint8Array
|
|
793
|
+
key: import("../tlv/TlvObject.js").FieldType<Uint8Array<ArrayBufferLike>>;
|
|
794
794
|
/**
|
|
795
795
|
* This field shall provide the verification key. The verification key represents the key already stored on the
|
|
796
796
|
* server. The verification key provided in this field shall be used by the server to guarantee that a client
|
|
@@ -801,7 +801,7 @@ export declare namespace IcdManagement {
|
|
|
801
801
|
*
|
|
802
802
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.1.4
|
|
803
803
|
*/
|
|
804
|
-
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array
|
|
804
|
+
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array<ArrayBufferLike>>;
|
|
805
805
|
}>, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
806
806
|
icdCounter: import("../tlv/TlvObject.js").FieldType<number>;
|
|
807
807
|
}>, any>;
|
|
@@ -831,7 +831,7 @@ export declare namespace IcdManagement {
|
|
|
831
831
|
*
|
|
832
832
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.3.2
|
|
833
833
|
*/
|
|
834
|
-
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array
|
|
834
|
+
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array<ArrayBufferLike>>;
|
|
835
835
|
}>, void, any>;
|
|
836
836
|
};
|
|
837
837
|
};
|
|
@@ -1201,7 +1201,7 @@ export declare namespace IcdManagement {
|
|
|
1201
1201
|
*
|
|
1202
1202
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.1.3
|
|
1203
1203
|
*/
|
|
1204
|
-
key: import("../tlv/TlvObject.js").FieldType<Uint8Array
|
|
1204
|
+
key: import("../tlv/TlvObject.js").FieldType<Uint8Array<ArrayBufferLike>>;
|
|
1205
1205
|
/**
|
|
1206
1206
|
* This field shall provide the verification key. The verification key represents the key already stored on the
|
|
1207
1207
|
* server. The verification key provided in this field shall be used by the server to guarantee that a client
|
|
@@ -1212,7 +1212,7 @@ export declare namespace IcdManagement {
|
|
|
1212
1212
|
*
|
|
1213
1213
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.1.4
|
|
1214
1214
|
*/
|
|
1215
|
-
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array
|
|
1215
|
+
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array<ArrayBufferLike>>;
|
|
1216
1216
|
}>, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1217
1217
|
icdCounter: import("../tlv/TlvObject.js").FieldType<number>;
|
|
1218
1218
|
}>, any>;
|
|
@@ -1242,7 +1242,7 @@ export declare namespace IcdManagement {
|
|
|
1242
1242
|
*
|
|
1243
1243
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.3.2
|
|
1244
1244
|
*/
|
|
1245
|
-
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array
|
|
1245
|
+
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array<ArrayBufferLike>>;
|
|
1246
1246
|
}>, void, any>;
|
|
1247
1247
|
};
|
|
1248
1248
|
};
|
|
@@ -1654,7 +1654,7 @@ export declare namespace IcdManagement {
|
|
|
1654
1654
|
*
|
|
1655
1655
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.1.3
|
|
1656
1656
|
*/
|
|
1657
|
-
key: import("../tlv/TlvObject.js").FieldType<Uint8Array
|
|
1657
|
+
key: import("../tlv/TlvObject.js").FieldType<Uint8Array<ArrayBufferLike>>;
|
|
1658
1658
|
/**
|
|
1659
1659
|
* This field shall provide the verification key. The verification key represents the key already stored on the
|
|
1660
1660
|
* server. The verification key provided in this field shall be used by the server to guarantee that a client
|
|
@@ -1665,7 +1665,7 @@ export declare namespace IcdManagement {
|
|
|
1665
1665
|
*
|
|
1666
1666
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.1.4
|
|
1667
1667
|
*/
|
|
1668
|
-
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array
|
|
1668
|
+
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array<ArrayBufferLike>>;
|
|
1669
1669
|
}>, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
1670
1670
|
icdCounter: import("../tlv/TlvObject.js").FieldType<number>;
|
|
1671
1671
|
}>, any> & {
|
|
@@ -1694,7 +1694,7 @@ export declare namespace IcdManagement {
|
|
|
1694
1694
|
*
|
|
1695
1695
|
* @see {@link MatterSpecification.v13.Core} § 9.17.7.3.2
|
|
1696
1696
|
*/
|
|
1697
|
-
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array
|
|
1697
|
+
verificationKey: import("../tlv/TlvObject.js").OptionalFieldType<Uint8Array<ArrayBufferLike>>;
|
|
1698
1698
|
}>, void, any> & {
|
|
1699
1699
|
readonly optional: true;
|
|
1700
1700
|
readonly isConditional: true;
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
8
8
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
9
9
|
import { FixedAttribute, Attribute, WritableAttribute, Command } from "../cluster/Cluster.js";
|
|
10
|
+
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
10
11
|
import { Identity } from "#general";
|
|
11
12
|
export declare namespace LaundryWasherMode {
|
|
12
13
|
/**
|
|
@@ -49,7 +50,195 @@ export declare namespace LaundryWasherMode {
|
|
|
49
50
|
*
|
|
50
51
|
* @see {@link MatterSpecification.v13.Cluster} § 8.5.6.1.4
|
|
51
52
|
*/
|
|
52
|
-
Whites = 16387
|
|
53
|
+
Whites = 16387,
|
|
54
|
+
/**
|
|
55
|
+
* The device decides which options, features and setting values to use.
|
|
56
|
+
*
|
|
57
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
58
|
+
*/
|
|
59
|
+
Auto = 0,
|
|
60
|
+
/**
|
|
61
|
+
* The mode of the device is optimizing for faster completion.
|
|
62
|
+
*
|
|
63
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
64
|
+
*/
|
|
65
|
+
Quick = 1,
|
|
66
|
+
/**
|
|
67
|
+
* The device is silent or barely audible while in this mode.
|
|
68
|
+
*
|
|
69
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
70
|
+
*/
|
|
71
|
+
Quiet = 2,
|
|
72
|
+
/**
|
|
73
|
+
* Either the mode is inherently low noise or the device optimizes for that.
|
|
74
|
+
*
|
|
75
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
76
|
+
*/
|
|
77
|
+
LowNoise = 3,
|
|
78
|
+
/**
|
|
79
|
+
* The device is optimizing for lower energy usage in this mode. Sometimes called "Eco mode".
|
|
80
|
+
*
|
|
81
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
82
|
+
*/
|
|
83
|
+
LowEnergy = 4,
|
|
84
|
+
/**
|
|
85
|
+
* A mode suitable for use during vacations or other extended absences.
|
|
86
|
+
*
|
|
87
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
88
|
+
*/
|
|
89
|
+
Vacation = 5,
|
|
90
|
+
/**
|
|
91
|
+
* The mode uses the lowest available setting value.
|
|
92
|
+
*
|
|
93
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
94
|
+
*/
|
|
95
|
+
Min = 6,
|
|
96
|
+
/**
|
|
97
|
+
* The mode uses the highest available setting value.
|
|
98
|
+
*
|
|
99
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
100
|
+
*/
|
|
101
|
+
Max = 7,
|
|
102
|
+
/**
|
|
103
|
+
* The mode is recommended or suitable for use during night time.
|
|
104
|
+
*
|
|
105
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
106
|
+
*/
|
|
107
|
+
Night = 8,
|
|
108
|
+
/**
|
|
109
|
+
* The mode is recommended or suitable for use during day time.
|
|
110
|
+
*
|
|
111
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
112
|
+
*/
|
|
113
|
+
Day = 9
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* A Mode Tag is meant to be interpreted by the client for the purpose the cluster serves.
|
|
117
|
+
*
|
|
118
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1
|
|
119
|
+
*/
|
|
120
|
+
const TlvModeTagStruct: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
121
|
+
/**
|
|
122
|
+
* If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
|
|
123
|
+
* 1.10.8, “Mode Namespace”).
|
|
124
|
+
*
|
|
125
|
+
* This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
|
|
126
|
+
*
|
|
127
|
+
* The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
|
|
128
|
+
* and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
|
|
129
|
+
* whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
|
|
130
|
+
* salt.
|
|
131
|
+
*
|
|
132
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
|
|
133
|
+
*/
|
|
134
|
+
mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
|
|
135
|
+
/**
|
|
136
|
+
* This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
|
|
137
|
+
* standard.
|
|
138
|
+
*
|
|
139
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
|
|
140
|
+
*/
|
|
141
|
+
value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
|
|
142
|
+
}>;
|
|
143
|
+
/**
|
|
144
|
+
* A Mode Tag is meant to be interpreted by the client for the purpose the cluster serves.
|
|
145
|
+
*
|
|
146
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1
|
|
147
|
+
*/
|
|
148
|
+
interface ModeTagStruct extends TypeFromSchema<typeof TlvModeTagStruct> {
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* The table below lists the changes relative to the Mode Base cluster for the fields of the ModeOptionStruct type.
|
|
152
|
+
* A blank field indicates no change.
|
|
153
|
+
*
|
|
154
|
+
* At least one entry in the SupportedModes attribute shall include the Normal mode tag in the ModeTags field list.
|
|
155
|
+
*
|
|
156
|
+
* @see {@link MatterSpecification.v13.Cluster} § 8.5.4.1
|
|
157
|
+
*/
|
|
158
|
+
const TlvModeOption: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
159
|
+
/**
|
|
160
|
+
* This field shall indicate readable text that describes the mode option, so that a client can provide it to
|
|
161
|
+
* the user to indicate what this option means. This field is meant to be readable and understandable by the
|
|
162
|
+
* user.
|
|
163
|
+
*
|
|
164
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
|
|
165
|
+
*/
|
|
166
|
+
label: import("../tlv/TlvObject.js").FieldType<string>;
|
|
167
|
+
/**
|
|
168
|
+
* This field is used to identify the mode option.
|
|
169
|
+
*
|
|
170
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
|
|
171
|
+
*/
|
|
172
|
+
mode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
173
|
+
/**
|
|
174
|
+
* This field shall contain a list of tags that are associated with the mode option. This may be used by
|
|
175
|
+
* clients to determine the full or the partial semantics of a certain mode, depending on which tags they
|
|
176
|
+
* understand, using standard definitions and/or manufacturer specific namespace definitions.
|
|
177
|
+
*
|
|
178
|
+
* The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
|
|
179
|
+
* specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
|
|
180
|
+
* mode tag values from that namespace.
|
|
181
|
+
*
|
|
182
|
+
* Mode tags can help clients look for options that meet certain criteria, render the user interface, use
|
|
183
|
+
*
|
|
184
|
+
* the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
|
|
185
|
+
* standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
|
|
186
|
+
*
|
|
187
|
+
* A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
|
|
188
|
+
* and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
|
|
189
|
+
*
|
|
190
|
+
* A few examples are provided below.
|
|
191
|
+
*
|
|
192
|
+
* • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
|
|
193
|
+
* seeking the mode for either High or Max will find the same mode in this case.
|
|
194
|
+
*
|
|
195
|
+
* • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
|
|
196
|
+
* green leaf.
|
|
197
|
+
*
|
|
198
|
+
* • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
|
|
199
|
+
* audible sound, less likely to disturb the household’s activities.
|
|
200
|
+
*
|
|
201
|
+
* • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
|
|
202
|
+
* Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
|
|
203
|
+
*
|
|
204
|
+
* • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
|
|
205
|
+
* RVC Clean cluster that is a derivation of this cluster).
|
|
206
|
+
*
|
|
207
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
|
|
208
|
+
*/
|
|
209
|
+
modeTags: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
210
|
+
/**
|
|
211
|
+
* If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
|
|
212
|
+
* 1.10.8, “Mode Namespace”).
|
|
213
|
+
*
|
|
214
|
+
* This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
|
|
215
|
+
*
|
|
216
|
+
* The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
|
|
217
|
+
* and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
|
|
218
|
+
* whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
|
|
219
|
+
* salt.
|
|
220
|
+
*
|
|
221
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
|
|
222
|
+
*/
|
|
223
|
+
mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
|
|
224
|
+
/**
|
|
225
|
+
* This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
|
|
226
|
+
* standard.
|
|
227
|
+
*
|
|
228
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
|
|
229
|
+
*/
|
|
230
|
+
value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
|
|
231
|
+
}>[]>;
|
|
232
|
+
}>;
|
|
233
|
+
/**
|
|
234
|
+
* The table below lists the changes relative to the Mode Base cluster for the fields of the ModeOptionStruct type.
|
|
235
|
+
* A blank field indicates no change.
|
|
236
|
+
*
|
|
237
|
+
* At least one entry in the SupportedModes attribute shall include the Normal mode tag in the ModeTags field list.
|
|
238
|
+
*
|
|
239
|
+
* @see {@link MatterSpecification.v13.Cluster} § 8.5.4.1
|
|
240
|
+
*/
|
|
241
|
+
interface ModeOption extends TypeFromSchema<typeof TlvModeOption> {
|
|
53
242
|
}
|
|
54
243
|
/**
|
|
55
244
|
* These elements and properties are present in all LaundryWasherMode clusters.
|
|
@@ -73,12 +262,79 @@ export declare namespace LaundryWasherMode {
|
|
|
73
262
|
/**
|
|
74
263
|
* @see {@link MatterSpecification.v13.Cluster} § 8.5.5
|
|
75
264
|
*/
|
|
76
|
-
readonly supportedModes: FixedAttribute<import("../
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
265
|
+
readonly supportedModes: FixedAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
266
|
+
/**
|
|
267
|
+
* This field shall indicate readable text that describes the mode option, so that a client can provide it to
|
|
268
|
+
* the user to indicate what this option means. This field is meant to be readable and understandable by the
|
|
269
|
+
* user.
|
|
270
|
+
*
|
|
271
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
|
|
272
|
+
*/
|
|
273
|
+
label: import("../tlv/TlvObject.js").FieldType<string>;
|
|
274
|
+
/**
|
|
275
|
+
* This field is used to identify the mode option.
|
|
276
|
+
*
|
|
277
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
|
|
278
|
+
*/
|
|
279
|
+
mode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
280
|
+
/**
|
|
281
|
+
* This field shall contain a list of tags that are associated with the mode option. This may be used by
|
|
282
|
+
* clients to determine the full or the partial semantics of a certain mode, depending on which tags they
|
|
283
|
+
* understand, using standard definitions and/or manufacturer specific namespace definitions.
|
|
284
|
+
*
|
|
285
|
+
* The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
|
|
286
|
+
* specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
|
|
287
|
+
* mode tag values from that namespace.
|
|
288
|
+
*
|
|
289
|
+
* Mode tags can help clients look for options that meet certain criteria, render the user interface, use
|
|
290
|
+
*
|
|
291
|
+
* the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
|
|
292
|
+
* standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
|
|
293
|
+
*
|
|
294
|
+
* A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
|
|
295
|
+
* and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
|
|
296
|
+
*
|
|
297
|
+
* A few examples are provided below.
|
|
298
|
+
*
|
|
299
|
+
* • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
|
|
300
|
+
* seeking the mode for either High or Max will find the same mode in this case.
|
|
301
|
+
*
|
|
302
|
+
* • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
|
|
303
|
+
* green leaf.
|
|
304
|
+
*
|
|
305
|
+
* • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
|
|
306
|
+
* audible sound, less likely to disturb the household’s activities.
|
|
307
|
+
*
|
|
308
|
+
* • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
|
|
309
|
+
* Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
|
|
310
|
+
*
|
|
311
|
+
* • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
|
|
312
|
+
* RVC Clean cluster that is a derivation of this cluster).
|
|
313
|
+
*
|
|
314
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
|
|
315
|
+
*/
|
|
316
|
+
modeTags: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
317
|
+
/**
|
|
318
|
+
* If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
|
|
319
|
+
* 1.10.8, “Mode Namespace”).
|
|
320
|
+
*
|
|
321
|
+
* This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
|
|
322
|
+
*
|
|
323
|
+
* The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
|
|
324
|
+
* and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
|
|
325
|
+
* whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
|
|
326
|
+
* salt.
|
|
327
|
+
*
|
|
328
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
|
|
329
|
+
*/
|
|
330
|
+
mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
|
|
331
|
+
/**
|
|
332
|
+
* This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
|
|
333
|
+
* standard.
|
|
334
|
+
*
|
|
335
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
|
|
336
|
+
*/
|
|
337
|
+
value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
|
|
82
338
|
}>[]>;
|
|
83
339
|
}>[], any>;
|
|
84
340
|
/**
|
|
@@ -106,8 +362,8 @@ export declare namespace LaundryWasherMode {
|
|
|
106
362
|
*
|
|
107
363
|
* @see {@link MatterSpecification.v13.Cluster} § 1.10.7.1
|
|
108
364
|
*/
|
|
109
|
-
readonly changeToMode: Command<import("../
|
|
110
|
-
newMode: import("../
|
|
365
|
+
readonly changeToMode: Command<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
366
|
+
newMode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
111
367
|
}>, void, any>;
|
|
112
368
|
};
|
|
113
369
|
/**
|
|
@@ -138,12 +394,79 @@ export declare namespace LaundryWasherMode {
|
|
|
138
394
|
/**
|
|
139
395
|
* @see {@link MatterSpecification.v13.Cluster} § 8.5.5
|
|
140
396
|
*/
|
|
141
|
-
readonly supportedModes: FixedAttribute<import("../
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
397
|
+
readonly supportedModes: FixedAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
398
|
+
/**
|
|
399
|
+
* This field shall indicate readable text that describes the mode option, so that a client can provide it to
|
|
400
|
+
* the user to indicate what this option means. This field is meant to be readable and understandable by the
|
|
401
|
+
* user.
|
|
402
|
+
*
|
|
403
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
|
|
404
|
+
*/
|
|
405
|
+
label: import("../tlv/TlvObject.js").FieldType<string>;
|
|
406
|
+
/**
|
|
407
|
+
* This field is used to identify the mode option.
|
|
408
|
+
*
|
|
409
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
|
|
410
|
+
*/
|
|
411
|
+
mode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
412
|
+
/**
|
|
413
|
+
* This field shall contain a list of tags that are associated with the mode option. This may be used by
|
|
414
|
+
* clients to determine the full or the partial semantics of a certain mode, depending on which tags they
|
|
415
|
+
* understand, using standard definitions and/or manufacturer specific namespace definitions.
|
|
416
|
+
*
|
|
417
|
+
* The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
|
|
418
|
+
* specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
|
|
419
|
+
* mode tag values from that namespace.
|
|
420
|
+
*
|
|
421
|
+
* Mode tags can help clients look for options that meet certain criteria, render the user interface, use
|
|
422
|
+
*
|
|
423
|
+
* the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
|
|
424
|
+
* standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
|
|
425
|
+
*
|
|
426
|
+
* A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
|
|
427
|
+
* and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
|
|
428
|
+
*
|
|
429
|
+
* A few examples are provided below.
|
|
430
|
+
*
|
|
431
|
+
* • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
|
|
432
|
+
* seeking the mode for either High or Max will find the same mode in this case.
|
|
433
|
+
*
|
|
434
|
+
* • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
|
|
435
|
+
* green leaf.
|
|
436
|
+
*
|
|
437
|
+
* • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
|
|
438
|
+
* audible sound, less likely to disturb the household’s activities.
|
|
439
|
+
*
|
|
440
|
+
* • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
|
|
441
|
+
* Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
|
|
442
|
+
*
|
|
443
|
+
* • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
|
|
444
|
+
* RVC Clean cluster that is a derivation of this cluster).
|
|
445
|
+
*
|
|
446
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
|
|
447
|
+
*/
|
|
448
|
+
modeTags: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
449
|
+
/**
|
|
450
|
+
* If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
|
|
451
|
+
* 1.10.8, “Mode Namespace”).
|
|
452
|
+
*
|
|
453
|
+
* This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
|
|
454
|
+
*
|
|
455
|
+
* The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
|
|
456
|
+
* and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
|
|
457
|
+
* whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
|
|
458
|
+
* salt.
|
|
459
|
+
*
|
|
460
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
|
|
461
|
+
*/
|
|
462
|
+
mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
|
|
463
|
+
/**
|
|
464
|
+
* This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
|
|
465
|
+
* standard.
|
|
466
|
+
*
|
|
467
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
|
|
468
|
+
*/
|
|
469
|
+
value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
|
|
147
470
|
}>[]>;
|
|
148
471
|
}>[], any>;
|
|
149
472
|
/**
|
|
@@ -171,8 +494,8 @@ export declare namespace LaundryWasherMode {
|
|
|
171
494
|
*
|
|
172
495
|
* @see {@link MatterSpecification.v13.Cluster} § 1.10.7.1
|
|
173
496
|
*/
|
|
174
|
-
readonly changeToMode: Command<import("../
|
|
175
|
-
newMode: import("../
|
|
497
|
+
readonly changeToMode: Command<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
498
|
+
newMode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
176
499
|
}>, void, any>;
|
|
177
500
|
};
|
|
178
501
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"laundry-washer-mode.d.ts","sourceRoot":"","sources":["../../../src/clusters/laundry-washer-mode.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAiB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"laundry-washer-mode.d.ts","sourceRoot":"","sources":["../../../src/clusters/laundry-washer-mode.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAiB,MAAM,uBAAuB,CAAC;AAM7G,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,yBAAiB,iBAAiB,CAAC;IAC/B;;;;OAIG;IACH,KAAY,OAAO;QACf;;;;;;;WAOG;QACH,KAAK,UAAU;KAClB;IAED,KAAY,OAAO;QACf;;;;WAIG;QACH,MAAM,QAAQ;QAEd;;;;WAIG;QACH,QAAQ,QAAQ;QAEhB;;;;WAIG;QACH,KAAK,QAAQ;QAEb;;;;WAIG;QACH,MAAM,QAAQ;QAEd;;;;WAIG;QACH,IAAI,IAAI;QAER;;;;WAIG;QACH,KAAK,IAAI;QAET;;;;WAIG;QACH,KAAK,IAAI;QAET;;;;WAIG;QACH,QAAQ,IAAI;QAEZ;;;;WAIG;QACH,SAAS,IAAI;QAEb;;;;WAIG;QACH,QAAQ,IAAI;QAEZ;;;;WAIG;QACH,GAAG,IAAI;QAEP;;;;WAIG;QACH,GAAG,IAAI;QAEP;;;;WAIG;QACH,KAAK,IAAI;QAET;;;;WAIG;QACH,GAAG,IAAI;KACV;IAED;;;;OAIG;IACI,MAAM,gBAAgB;QACzB;;;;;;;;;;;;WAYG;;QAGH;;;;;WAKG;;MAEL,CAAC;IAEH;;;;OAIG;IACH,UAAiB,aAAc,SAAQ,cAAc,CAAC,OAAO,gBAAgB,CAAC;KAAG;IAEjF;;;;;;;OAOG;IACI,MAAM,aAAa;QACtB;;;;;;WAMG;;QAGH;;;;WAIG;;QAGH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAmCG;;YA3FH;;;;;;;;;;;;eAYG;;YAGH;;;;;eAKG;;;MAyEL,CAAC;IAEH;;;;;;;OAOG;IACH,UAAiB,UAAW,SAAQ,cAAc,CAAC,OAAO,aAAa,CAAC;KAAG;IAE3E;;OAEG;IACI,MAAM,IAAI;;;;;YAMT;;;;;;;eAOG;;;;YAKH;;eAEG;;gBAxFP;;;;;;mBAMG;;gBAGH;;;;mBAIG;;gBAGH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAmCG;;oBA3FH;;;;;;;;;;;;uBAYG;;oBAGH;;;;;uBAKG;;;;YAmHC;;eAEG;;YAGH;;;;;;eAMG;;YAGH;;eAEG;;;;YAKH;;;;;;eAMG;;;;;QAIP;;;WAGG;;KAEL,CAAC;IAEH;;OAEG;IACI,MAAM,eAAe;;;;;YA9DpB;;;;;;;eAOG;;;;YAKH;;eAEG;;gBAxFP;;;;;;mBAMG;;gBAGH;;;;mBAIG;;gBAGH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAmCG;;oBA3FH;;;;;;;;;;;;uBAYG;;oBAGH;;;;;uBAKG;;;;YAmHC;;eAEG;;YAGH;;;;;;eAMG;;YAGH;;eAEG;;;;YAKH;;;;;;eAMG;;;;;QAIP;;;WAGG;;UAO4C,CAAC;IAEpD;;;;;;;;OAQG;IACH,UAAiB,OAAQ,SAAQ,QAAQ,CAAC,OAAO,eAAe,CAAC;KAAG;IAE7D,MAAM,OAAO,EAAE,OAAyB,CAAC;IACzC,MAAM,QAAQ,SAAU,CAAC;CACnC;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC,OAAO,CAAC;AACjE,eAAO,MAAM,wBAAwB,2BAA4B,CAAC"}
|
|
@@ -7,8 +7,11 @@ import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
|
7
7
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
8
8
|
import { FixedAttribute, Attribute, WritableAttribute, Command, TlvNoResponse } from "../cluster/Cluster.js";
|
|
9
9
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
10
|
+
import { TlvField, TlvOptionalField, TlvObject } from "../tlv/TlvObject.js";
|
|
11
|
+
import { TlvString } from "../tlv/TlvString.js";
|
|
12
|
+
import { TlvUInt8, TlvEnum } from "../tlv/TlvNumber.js";
|
|
13
|
+
import { TlvVendorId } from "../datatype/VendorId.js";
|
|
10
14
|
import { ModeBase } from "./mode-base.js";
|
|
11
|
-
import { TlvUInt8 } from "../tlv/TlvNumber.js";
|
|
12
15
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
13
16
|
var LaundryWasherMode;
|
|
14
17
|
((LaundryWasherMode2) => {
|
|
@@ -22,7 +25,93 @@ var LaundryWasherMode;
|
|
|
22
25
|
ModeTag2[ModeTag2["Delicate"] = 16385] = "Delicate";
|
|
23
26
|
ModeTag2[ModeTag2["Heavy"] = 16386] = "Heavy";
|
|
24
27
|
ModeTag2[ModeTag2["Whites"] = 16387] = "Whites";
|
|
28
|
+
ModeTag2[ModeTag2["Auto"] = 0] = "Auto";
|
|
29
|
+
ModeTag2[ModeTag2["Quick"] = 1] = "Quick";
|
|
30
|
+
ModeTag2[ModeTag2["Quiet"] = 2] = "Quiet";
|
|
31
|
+
ModeTag2[ModeTag2["LowNoise"] = 3] = "LowNoise";
|
|
32
|
+
ModeTag2[ModeTag2["LowEnergy"] = 4] = "LowEnergy";
|
|
33
|
+
ModeTag2[ModeTag2["Vacation"] = 5] = "Vacation";
|
|
34
|
+
ModeTag2[ModeTag2["Min"] = 6] = "Min";
|
|
35
|
+
ModeTag2[ModeTag2["Max"] = 7] = "Max";
|
|
36
|
+
ModeTag2[ModeTag2["Night"] = 8] = "Night";
|
|
37
|
+
ModeTag2[ModeTag2["Day"] = 9] = "Day";
|
|
25
38
|
})(ModeTag = LaundryWasherMode2.ModeTag || (LaundryWasherMode2.ModeTag = {}));
|
|
39
|
+
LaundryWasherMode2.TlvModeTagStruct = TlvObject({
|
|
40
|
+
/**
|
|
41
|
+
* If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
|
|
42
|
+
* 1.10.8, “Mode Namespace”).
|
|
43
|
+
*
|
|
44
|
+
* This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
|
|
45
|
+
*
|
|
46
|
+
* The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
|
|
47
|
+
* and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
|
|
48
|
+
* whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
|
|
49
|
+
* salt.
|
|
50
|
+
*
|
|
51
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
|
|
52
|
+
*/
|
|
53
|
+
mfgCode: TlvOptionalField(0, TlvVendorId),
|
|
54
|
+
/**
|
|
55
|
+
* This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
|
|
56
|
+
* standard.
|
|
57
|
+
*
|
|
58
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
|
|
59
|
+
*/
|
|
60
|
+
value: TlvField(1, TlvEnum())
|
|
61
|
+
});
|
|
62
|
+
LaundryWasherMode2.TlvModeOption = TlvObject({
|
|
63
|
+
/**
|
|
64
|
+
* This field shall indicate readable text that describes the mode option, so that a client can provide it to
|
|
65
|
+
* the user to indicate what this option means. This field is meant to be readable and understandable by the
|
|
66
|
+
* user.
|
|
67
|
+
*
|
|
68
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
|
|
69
|
+
*/
|
|
70
|
+
label: TlvField(0, TlvString.bound({ maxLength: 64 })),
|
|
71
|
+
/**
|
|
72
|
+
* This field is used to identify the mode option.
|
|
73
|
+
*
|
|
74
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
|
|
75
|
+
*/
|
|
76
|
+
mode: TlvField(1, TlvUInt8),
|
|
77
|
+
/**
|
|
78
|
+
* This field shall contain a list of tags that are associated with the mode option. This may be used by
|
|
79
|
+
* clients to determine the full or the partial semantics of a certain mode, depending on which tags they
|
|
80
|
+
* understand, using standard definitions and/or manufacturer specific namespace definitions.
|
|
81
|
+
*
|
|
82
|
+
* The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
|
|
83
|
+
* specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
|
|
84
|
+
* mode tag values from that namespace.
|
|
85
|
+
*
|
|
86
|
+
* Mode tags can help clients look for options that meet certain criteria, render the user interface, use
|
|
87
|
+
*
|
|
88
|
+
* the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
|
|
89
|
+
* standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
|
|
90
|
+
*
|
|
91
|
+
* A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
|
|
92
|
+
* and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
|
|
93
|
+
*
|
|
94
|
+
* A few examples are provided below.
|
|
95
|
+
*
|
|
96
|
+
* • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
|
|
97
|
+
* seeking the mode for either High or Max will find the same mode in this case.
|
|
98
|
+
*
|
|
99
|
+
* • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
|
|
100
|
+
* green leaf.
|
|
101
|
+
*
|
|
102
|
+
* • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
|
|
103
|
+
* audible sound, less likely to disturb the household’s activities.
|
|
104
|
+
*
|
|
105
|
+
* • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
|
|
106
|
+
* Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
|
|
107
|
+
*
|
|
108
|
+
* • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
|
|
109
|
+
* RVC Clean cluster that is a derivation of this cluster).
|
|
110
|
+
*
|
|
111
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
|
|
112
|
+
*/
|
|
113
|
+
modeTags: TlvField(2, TlvArray(LaundryWasherMode2.TlvModeTagStruct, { maxLength: 8 }))
|
|
114
|
+
});
|
|
26
115
|
LaundryWasherMode2.Base = MutableCluster.Component({
|
|
27
116
|
id: 81,
|
|
28
117
|
name: "LaundryWasherMode",
|
|
@@ -44,7 +133,7 @@ var LaundryWasherMode;
|
|
|
44
133
|
*/
|
|
45
134
|
supportedModes: FixedAttribute(
|
|
46
135
|
0,
|
|
47
|
-
TlvArray(
|
|
136
|
+
TlvArray(LaundryWasherMode2.TlvModeOption, { minLength: 2, maxLength: 255 }),
|
|
48
137
|
{ default: [] }
|
|
49
138
|
),
|
|
50
139
|
/**
|