@matter/types 0.13.0-alpha.0-20250408-c916c7e8 → 0.13.0-alpha.0-20250413-d5a27700d
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/oven-cavity-operational-state.d.ts +76 -17
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts.map +1 -1
- package/dist/cjs/clusters/oven-cavity-operational-state.js +22 -0
- package/dist/cjs/clusters/oven-cavity-operational-state.js.map +1 -1
- package/dist/cjs/clusters/rvc-operational-state.d.ts +75 -5
- package/dist/cjs/clusters/rvc-operational-state.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-operational-state.js +8 -0
- package/dist/cjs/clusters/rvc-operational-state.js.map +1 -1
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +76 -17
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts.map +1 -1
- package/dist/esm/clusters/oven-cavity-operational-state.js +23 -1
- package/dist/esm/clusters/oven-cavity-operational-state.js.map +1 -1
- package/dist/esm/clusters/rvc-operational-state.d.ts +75 -5
- package/dist/esm/clusters/rvc-operational-state.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-operational-state.js +9 -0
- package/dist/esm/clusters/rvc-operational-state.js.map +1 -1
- package/package.json +5 -5
- package/src/clusters/oven-cavity-operational-state.ts +35 -1
- package/src/clusters/rvc-operational-state.ts +11 -4
|
@@ -5,10 +5,33 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
7
7
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
8
|
-
import { Attribute, OptionalAttribute, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
8
|
+
import { Attribute, OptionalAttribute, Command, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
9
9
|
import { OperationalState } from "./operational-state.js";
|
|
10
|
+
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
10
11
|
import { Identity } from "#general";
|
|
11
12
|
export declare namespace OvenCavityOperationalState {
|
|
13
|
+
/**
|
|
14
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
15
|
+
*/
|
|
16
|
+
const TlvOperationalCommandResponse: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
17
|
+
/**
|
|
18
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
19
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
20
|
+
* sections for additional specific requirements on population.
|
|
21
|
+
*
|
|
22
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
23
|
+
*/
|
|
24
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
25
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalState.ErrorState>;
|
|
26
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
27
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
28
|
+
}>>;
|
|
29
|
+
}>;
|
|
30
|
+
/**
|
|
31
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
32
|
+
*/
|
|
33
|
+
interface OperationalCommandResponse extends TypeFromSchema<typeof TlvOperationalCommandResponse> {
|
|
34
|
+
}
|
|
12
35
|
/**
|
|
13
36
|
* @see {@link Cluster}
|
|
14
37
|
*/
|
|
@@ -85,9 +108,9 @@ export declare namespace OvenCavityOperationalState {
|
|
|
85
108
|
*
|
|
86
109
|
* @see {@link MatterSpecification.v14.Cluster} § 1.14.5.4
|
|
87
110
|
*/
|
|
88
|
-
readonly operationalStateList: Attribute<import("../
|
|
89
|
-
operationalStateId: import("../
|
|
90
|
-
operationalStateLabel: import("../
|
|
111
|
+
readonly operationalStateList: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
112
|
+
operationalStateId: import("../tlv/TlvObject.js").FieldType<OperationalState.OperationalStateEnum>;
|
|
113
|
+
operationalStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
91
114
|
}>[], any>;
|
|
92
115
|
/**
|
|
93
116
|
* This attribute specifies the current operational state of a device. This shall be populated with a valid
|
|
@@ -105,10 +128,46 @@ export declare namespace OvenCavityOperationalState {
|
|
|
105
128
|
*
|
|
106
129
|
* @see {@link MatterSpecification.v14.Cluster} § 1.14.5.6
|
|
107
130
|
*/
|
|
108
|
-
readonly operationalError: Attribute<import("../
|
|
109
|
-
errorStateId: import("../
|
|
110
|
-
errorStateLabel: import("../
|
|
111
|
-
errorStateDetails: import("../
|
|
131
|
+
readonly operationalError: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
132
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalState.ErrorState>;
|
|
133
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
134
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
135
|
+
}>, any>;
|
|
136
|
+
};
|
|
137
|
+
readonly commands: {
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
140
|
+
*/
|
|
141
|
+
readonly stop: Command<void, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
142
|
+
/**
|
|
143
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
144
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
145
|
+
* sections for additional specific requirements on population.
|
|
146
|
+
*
|
|
147
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
148
|
+
*/
|
|
149
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
150
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalState.ErrorState>;
|
|
151
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
152
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
153
|
+
}>>;
|
|
154
|
+
}>, any>;
|
|
155
|
+
/**
|
|
156
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
157
|
+
*/
|
|
158
|
+
readonly start: Command<void, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
159
|
+
/**
|
|
160
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
161
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
162
|
+
* sections for additional specific requirements on population.
|
|
163
|
+
*
|
|
164
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
165
|
+
*/
|
|
166
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
167
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalState.ErrorState>;
|
|
168
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
169
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
170
|
+
}>>;
|
|
112
171
|
}>, any>;
|
|
113
172
|
};
|
|
114
173
|
readonly events: {
|
|
@@ -120,11 +179,11 @@ export declare namespace OvenCavityOperationalState {
|
|
|
120
179
|
*
|
|
121
180
|
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.1
|
|
122
181
|
*/
|
|
123
|
-
readonly operationalError: Event<import("../
|
|
124
|
-
errorState: import("../
|
|
125
|
-
errorStateId: import("../
|
|
126
|
-
errorStateLabel: import("../
|
|
127
|
-
errorStateDetails: import("../
|
|
182
|
+
readonly operationalError: Event<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
183
|
+
errorState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
184
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalState.ErrorState>;
|
|
185
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
186
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
128
187
|
}>>;
|
|
129
188
|
}>, any>;
|
|
130
189
|
/**
|
|
@@ -140,10 +199,10 @@ export declare namespace OvenCavityOperationalState {
|
|
|
140
199
|
*
|
|
141
200
|
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.2
|
|
142
201
|
*/
|
|
143
|
-
readonly operationCompletion: OptionalEvent<import("../
|
|
144
|
-
completionErrorCode: import("../
|
|
145
|
-
totalOperationalTime: import("../
|
|
146
|
-
pausedTime: import("../
|
|
202
|
+
readonly operationCompletion: OptionalEvent<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
203
|
+
completionErrorCode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
204
|
+
totalOperationalTime: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
205
|
+
pausedTime: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
147
206
|
}>, any>;
|
|
148
207
|
};
|
|
149
208
|
}, []>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oven-cavity-operational-state.d.ts","sourceRoot":"","sources":["../../../src/clusters/oven-cavity-operational-state.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,KAAK,EAAiB,aAAa,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"oven-cavity-operational-state.d.ts","sourceRoot":"","sources":["../../../src/clusters/oven-cavity-operational-state.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,KAAK,EAAiB,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAKnH,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG1D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,yBAAiB,0BAA0B,CAAC;IACxC;;OAEG;IACI,MAAM,6BAA6B;QACtC;;;;;;WAMG;;;;;;MAEL,CAAC;IAEH;;OAEG;IACH,UAAiB,0BAA2B,SAAQ,cAAc,CAAC,OAAO,6BAA6B,CAAC;KAAG;IAE3G;;OAEG;IACI,MAAM,eAAe;;;;;YAMpB;;;;;;;;;;eAUG;;YAGH;;;;;;;;;;eAUG;;YAGH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA8BG;;YAGH;;;;;;;;;;;eAWG;;;;;YAGH;;;;;eAKG;;YAGH;;;;;;;;eAQG;;;;;;;;YAKH;;eAEG;;gBAxHP;;;;;;mBAMG;;;;;;;YAqHC;;eAEG;;gBA7HP;;;;;;mBAMG;;;;;;;;;YA4HC;;;;;;;eAOG;;;;;;;;YAGH;;;;;;;;;;;;eAYG;;;;;;;UAGT,CAAC;IAEH;;;;;OAKG;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,iCAAiC,GAAG,0BAA0B,CAAC,OAAO,CAAC;AACnF,eAAO,MAAM,iCAAiC,oCAAqC,CAAC"}
|
|
@@ -29,6 +29,8 @@ var import_TlvString = require("../tlv/TlvString.js");
|
|
|
29
29
|
var import_TlvNullable = require("../tlv/TlvNullable.js");
|
|
30
30
|
var import_TlvNumber = require("../tlv/TlvNumber.js");
|
|
31
31
|
var import_operational_state = require("./operational-state.js");
|
|
32
|
+
var import_TlvNoArguments = require("../tlv/TlvNoArguments.js");
|
|
33
|
+
var import_TlvObject = require("../tlv/TlvObject.js");
|
|
32
34
|
var import_ClusterRegistry = require("../cluster/ClusterRegistry.js");
|
|
33
35
|
/**
|
|
34
36
|
* @license
|
|
@@ -37,6 +39,16 @@ var import_ClusterRegistry = require("../cluster/ClusterRegistry.js");
|
|
|
37
39
|
*/
|
|
38
40
|
var OvenCavityOperationalState;
|
|
39
41
|
((OvenCavityOperationalState2) => {
|
|
42
|
+
OvenCavityOperationalState2.TlvOperationalCommandResponse = (0, import_TlvObject.TlvObject)({
|
|
43
|
+
/**
|
|
44
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
45
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
46
|
+
* sections for additional specific requirements on population.
|
|
47
|
+
*
|
|
48
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
49
|
+
*/
|
|
50
|
+
commandResponseState: (0, import_TlvObject.TlvField)(0, import_operational_state.OperationalState.TlvErrorStateStruct)
|
|
51
|
+
});
|
|
40
52
|
OvenCavityOperationalState2.ClusterInstance = (0, import_MutableCluster.MutableCluster)({
|
|
41
53
|
id: 72,
|
|
42
54
|
name: "OvenCavityOperationalState",
|
|
@@ -129,6 +141,16 @@ var OvenCavityOperationalState;
|
|
|
129
141
|
*/
|
|
130
142
|
operationalError: (0, import_Cluster.Attribute)(5, import_operational_state.OperationalState.TlvErrorStateStruct)
|
|
131
143
|
},
|
|
144
|
+
commands: {
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
147
|
+
*/
|
|
148
|
+
stop: (0, import_Cluster.Command)(1, import_TlvNoArguments.TlvNoArguments, 4, OvenCavityOperationalState2.TlvOperationalCommandResponse),
|
|
149
|
+
/**
|
|
150
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
151
|
+
*/
|
|
152
|
+
start: (0, import_Cluster.Command)(2, import_TlvNoArguments.TlvNoArguments, 4, OvenCavityOperationalState2.TlvOperationalCommandResponse)
|
|
153
|
+
},
|
|
132
154
|
events: {
|
|
133
155
|
/**
|
|
134
156
|
* This event is generated when a reportable error condition is detected. A device that generates this event
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/clusters/oven-cavity-operational-state.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,4BAA+B;AAC/B,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,4BAA+B;AAC/B,qBAA2F;AAC3F,sBAAyB;AACzB,uBAA0B;AAC1B,yBAA4B;AAC5B,uBAA6C;AAC7C,+BAAiC;AACjC,4BAA+B;AAC/B,uBAAoC;AAGpC,6BAAgC;AAnBhC;AAAA;AAAA;AAAA;AAAA;AAqBO,IAAU;AAAA,CAAV,CAAUA,gCAAV;AAII,EAAMA,4BAAA,oCAAgC,4BAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQnD,0BAAsB,2BAAS,GAAG,0CAAiB,mBAAmB;AAAA,EAC1E,CAAC;AAUM,EAAMA,4BAAA,sBAAkB,sCAAe;AAAA,IAC1C,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IAEV,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAYR,eAAW,0BAAU,OAAK,oCAAY,0BAAS,4BAAW,EAAE,WAAW,GAAG,CAAC,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAa7E,kBAAc,0BAAU,OAAK,gCAAY,yBAAQ,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AA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MAAM,oCAAoC,2BAA2B;AAC5E,uCAAgB,SAAS,2BAA2B,QAAQ;",
|
|
5
5
|
"names": ["OvenCavityOperationalState"]
|
|
6
6
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
7
7
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
8
|
-
import { Attribute, OptionalAttribute, OptionalCommand, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
8
|
+
import { Attribute, OptionalAttribute, Command, OptionalCommand, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
9
9
|
import { OperationalState as OperationalStateNamespace } from "./operational-state.js";
|
|
10
10
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
11
11
|
import { Identity } from "#general";
|
|
@@ -178,8 +178,6 @@ export declare namespace RvcOperationalState {
|
|
|
178
178
|
interface ErrorStateStruct extends TypeFromSchema<typeof TlvErrorStateStruct> {
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
|
-
* Input to the RvcOperationalState operationalCommandResponse command
|
|
182
|
-
*
|
|
183
181
|
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
184
182
|
*/
|
|
185
183
|
const TlvOperationalCommandResponse: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
@@ -217,8 +215,6 @@ export declare namespace RvcOperationalState {
|
|
|
217
215
|
}>>;
|
|
218
216
|
}>;
|
|
219
217
|
/**
|
|
220
|
-
* Input to the RvcOperationalState operationalCommandResponse command
|
|
221
|
-
*
|
|
222
218
|
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
223
219
|
*/
|
|
224
220
|
interface OperationalCommandResponse extends TypeFromSchema<typeof TlvOperationalCommandResponse> {
|
|
@@ -397,6 +393,80 @@ export declare namespace RvcOperationalState {
|
|
|
397
393
|
}>, any>;
|
|
398
394
|
};
|
|
399
395
|
readonly commands: {
|
|
396
|
+
/**
|
|
397
|
+
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
398
|
+
*/
|
|
399
|
+
readonly pause: Command<void, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
400
|
+
/**
|
|
401
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
402
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
403
|
+
* sections for additional specific requirements on population.
|
|
404
|
+
*
|
|
405
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
406
|
+
*/
|
|
407
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
408
|
+
/**
|
|
409
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
410
|
+
*
|
|
411
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.1
|
|
412
|
+
*/
|
|
413
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalStateNamespace.ErrorState | ErrorState>;
|
|
414
|
+
/**
|
|
415
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
416
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
417
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
418
|
+
* special error".
|
|
419
|
+
*
|
|
420
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.2
|
|
421
|
+
*/
|
|
422
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
423
|
+
/**
|
|
424
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
425
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
426
|
+
* "left wheel blocked".
|
|
427
|
+
*
|
|
428
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.3
|
|
429
|
+
*/
|
|
430
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
431
|
+
}>>;
|
|
432
|
+
}>, any>;
|
|
433
|
+
/**
|
|
434
|
+
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
435
|
+
*/
|
|
436
|
+
readonly resume: Command<void, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
437
|
+
/**
|
|
438
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
439
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
440
|
+
* sections for additional specific requirements on population.
|
|
441
|
+
*
|
|
442
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
443
|
+
*/
|
|
444
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
445
|
+
/**
|
|
446
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
447
|
+
*
|
|
448
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.1
|
|
449
|
+
*/
|
|
450
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalStateNamespace.ErrorState | ErrorState>;
|
|
451
|
+
/**
|
|
452
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
453
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
454
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
455
|
+
* special error".
|
|
456
|
+
*
|
|
457
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.2
|
|
458
|
+
*/
|
|
459
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
460
|
+
/**
|
|
461
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
462
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
463
|
+
* "left wheel blocked".
|
|
464
|
+
*
|
|
465
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.3
|
|
466
|
+
*/
|
|
467
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
468
|
+
}>>;
|
|
469
|
+
}>, any>;
|
|
400
470
|
/**
|
|
401
471
|
* On receipt of this command, the device shall start seeking the charging dock, if possible in the current
|
|
402
472
|
* state of the device.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rvc-operational-state.d.ts","sourceRoot":"","sources":["../../../src/clusters/rvc-operational-state.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EACH,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,KAAK,EAEL,aAAa,EAChB,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EAAE,gBAAgB,IAAI,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,yBAAiB,mBAAmB,CAAC;IACjC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAY,gBAAgB;QACxB;;WAEG;QACH,OAAO,IAAI;QAEX;;WAEG;QACH,OAAO,IAAI;QAEX;;WAEG;QACH,MAAM,IAAI;QAEV;;WAEG;QACH,KAAK,IAAI;QAET;;WAEG;QACH,cAAc,KAAK;QAEnB;;WAEG;QACH,QAAQ,KAAK;QAEb;;WAEG;QACH,MAAM,KAAK;KACd;IAED;;;;OAIG;IACI,MAAM,yBAAyB;QAClC;;;;WAIG;;QAGH;;;;;;WAMG;;MAEL,CAAC;IAEH;;;;OAIG;IACH,UAAiB,sBAAuB,SAAQ,cAAc,CAAC,OAAO,yBAAyB,CAAC;KAAG;IAEnG;;;;;OAKG;IACH,KAAY,UAAU;QAClB;;WAEG;QACH,OAAO,IAAI;QAEX;;WAEG;QACH,qBAAqB,IAAI;QAEzB;;WAEG;QACH,yBAAyB,IAAI;QAE7B;;WAEG;QACH,qBAAqB,IAAI;QAEzB;;WAEG;QACH,wBAAwB,KAAK;QAE7B;;WAEG;QACH,KAAK,KAAK;QAEV;;WAEG;QACH,cAAc,KAAK;QAEnB;;WAEG;QACH,WAAW,KAAK;QAEhB;;WAEG;QACH,cAAc,KAAK;QAEnB;;WAEG;QACH,gBAAgB,KAAK;QAErB;;WAEG;QACH,gBAAgB,KAAK;QAErB;;WAEG;QACH,qBAAqB,KAAK;KAC7B;IAED;;OAEG;IACI,MAAM,mBAAmB;QAC5B;;;;WAIG;;QAGH;;;;;;;WAOG;;QAGH;;;;;;WAMG;;MAEL,CAAC;IAEH;;OAEG;IACH,UAAiB,gBAAiB,SAAQ,cAAc,CAAC,OAAO,mBAAmB,CAAC;KAAG;IAEvF
|
|
1
|
+
{"version":3,"file":"rvc-operational-state.d.ts","sourceRoot":"","sources":["../../../src/clusters/rvc-operational-state.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EACH,SAAS,EACT,iBAAiB,EACjB,OAAO,EACP,eAAe,EACf,KAAK,EAEL,aAAa,EAChB,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EAAE,gBAAgB,IAAI,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,yBAAiB,mBAAmB,CAAC;IACjC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAY,gBAAgB;QACxB;;WAEG;QACH,OAAO,IAAI;QAEX;;WAEG;QACH,OAAO,IAAI;QAEX;;WAEG;QACH,MAAM,IAAI;QAEV;;WAEG;QACH,K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|
|
215
|
+
/**
|
|
216
|
+
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
217
|
+
*/
|
|
218
|
+
pause: (0, import_Cluster.Command)(0, import_TlvNoArguments.TlvNoArguments, 4, RvcOperationalState2.TlvOperationalCommandResponse),
|
|
219
|
+
/**
|
|
220
|
+
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
221
|
+
*/
|
|
222
|
+
resume: (0, import_Cluster.Command)(3, import_TlvNoArguments.TlvNoArguments, 4, RvcOperationalState2.TlvOperationalCommandResponse),
|
|
215
223
|
/**
|
|
216
224
|
* On receipt of this command, the device shall start seeking the charging dock, if possible in the current
|
|
217
225
|
* state of the device.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/clusters/rvc-operational-state.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,4BAA+B;AAC/B,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,4BAA+B;AAC/B,qBAQO;AACP,sBAAyB;AACzB,uBAA0B;AAC1B,yBAA4B;AAC5B,uBAA6C;AAC7C,uBAAsD;AACtD,+BAA8D;AAE9D,4BAA+B;AAE/B,6BAAgC;AA3BhC;AAAA;AAAA;AAAA;AAAA;AA6BO,IAAU;AAAA,CAAV,CAAUA,yBAAV;AAqBI,MAAK;AAAL,IAAKC,sBAAL;AAIH,IAAAA,oCAAA,aAAU,KAAV;AAKA,IAAAA,oCAAA,aAAU,KAAV;AAKA,IAAAA,oCAAA,YAAS,KAAT;AAKA,IAAAA,oCAAA,WAAQ,KAAR;AAKA,IAAAA,oCAAA,oBAAiB,MAAjB;AAKA,IAAAA,oCAAA,cAAW,MAAX;AAKA,IAAAA,oCAAA,YAAS,MAAT;AAAA,KAlCQ,mBAAAD,qBAAA,q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AAA,IAEA,UAAU;AAAA;AAAA;AAAA;AAAA,MAIN,WAAO,wBAAQ,GAAK,sCAAgB,GAAKA,qBAAA,6BAA6B;AAAA;AAAA;AAAA;AAAA,MAKtE,YAAQ,wBAAQ,GAAK,sCAAgB,GAAKA,qBAAA,6BAA6B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAsBvE,YAAQ,gCAAgB,KAAM,sCAAgB,GAAKA,qBAAA,6BAA6B;AAAA,IACpF;AAAA,IAEA,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MASJ,sBAAkB,sBAAM,GAAK,6BAAc,UAAUA,qBAAA,wBAAwB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAe7E,yBAAqB;AAAA,QACjB;AAAA,QACA,6BAAc;AAAA,QACd,yBAAAG,iBAA0B;AAAA,MAC9B;AAAA,IACJ;AAAA,EACJ,CAAC;AAUM,EAAMH,qBAAA,UAAmBA,qBAAA;AACzB,EAAMA,qBAAA,WAAWA,qBAAA;AAAA,GArZX;AAyZV,MAAM,6BAA6B,oBAAoB;AAC9D,uCAAgB,SAAS,oBAAoB,QAAQ;",
|
|
5
5
|
"names": ["RvcOperationalState", "OperationalState", "ErrorState", "OperationalStateNamespace"]
|
|
6
6
|
}
|
|
@@ -5,10 +5,33 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
7
7
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
8
|
-
import { Attribute, OptionalAttribute, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
8
|
+
import { Attribute, OptionalAttribute, Command, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
9
9
|
import { OperationalState } from "./operational-state.js";
|
|
10
|
+
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
10
11
|
import { Identity } from "#general";
|
|
11
12
|
export declare namespace OvenCavityOperationalState {
|
|
13
|
+
/**
|
|
14
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
15
|
+
*/
|
|
16
|
+
const TlvOperationalCommandResponse: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
17
|
+
/**
|
|
18
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
19
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
20
|
+
* sections for additional specific requirements on population.
|
|
21
|
+
*
|
|
22
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
23
|
+
*/
|
|
24
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
25
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalState.ErrorState>;
|
|
26
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
27
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
28
|
+
}>>;
|
|
29
|
+
}>;
|
|
30
|
+
/**
|
|
31
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
32
|
+
*/
|
|
33
|
+
interface OperationalCommandResponse extends TypeFromSchema<typeof TlvOperationalCommandResponse> {
|
|
34
|
+
}
|
|
12
35
|
/**
|
|
13
36
|
* @see {@link Cluster}
|
|
14
37
|
*/
|
|
@@ -85,9 +108,9 @@ export declare namespace OvenCavityOperationalState {
|
|
|
85
108
|
*
|
|
86
109
|
* @see {@link MatterSpecification.v14.Cluster} § 1.14.5.4
|
|
87
110
|
*/
|
|
88
|
-
readonly operationalStateList: Attribute<import("../
|
|
89
|
-
operationalStateId: import("../
|
|
90
|
-
operationalStateLabel: import("../
|
|
111
|
+
readonly operationalStateList: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
112
|
+
operationalStateId: import("../tlv/TlvObject.js").FieldType<OperationalState.OperationalStateEnum>;
|
|
113
|
+
operationalStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
91
114
|
}>[], any>;
|
|
92
115
|
/**
|
|
93
116
|
* This attribute specifies the current operational state of a device. This shall be populated with a valid
|
|
@@ -105,10 +128,46 @@ export declare namespace OvenCavityOperationalState {
|
|
|
105
128
|
*
|
|
106
129
|
* @see {@link MatterSpecification.v14.Cluster} § 1.14.5.6
|
|
107
130
|
*/
|
|
108
|
-
readonly operationalError: Attribute<import("../
|
|
109
|
-
errorStateId: import("../
|
|
110
|
-
errorStateLabel: import("../
|
|
111
|
-
errorStateDetails: import("../
|
|
131
|
+
readonly operationalError: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
132
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalState.ErrorState>;
|
|
133
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
134
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
135
|
+
}>, any>;
|
|
136
|
+
};
|
|
137
|
+
readonly commands: {
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
140
|
+
*/
|
|
141
|
+
readonly stop: Command<void, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
142
|
+
/**
|
|
143
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
144
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
145
|
+
* sections for additional specific requirements on population.
|
|
146
|
+
*
|
|
147
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
148
|
+
*/
|
|
149
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
150
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalState.ErrorState>;
|
|
151
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
152
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
153
|
+
}>>;
|
|
154
|
+
}>, any>;
|
|
155
|
+
/**
|
|
156
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
157
|
+
*/
|
|
158
|
+
readonly start: Command<void, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
159
|
+
/**
|
|
160
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
161
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
162
|
+
* sections for additional specific requirements on population.
|
|
163
|
+
*
|
|
164
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
165
|
+
*/
|
|
166
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
167
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalState.ErrorState>;
|
|
168
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
169
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
170
|
+
}>>;
|
|
112
171
|
}>, any>;
|
|
113
172
|
};
|
|
114
173
|
readonly events: {
|
|
@@ -120,11 +179,11 @@ export declare namespace OvenCavityOperationalState {
|
|
|
120
179
|
*
|
|
121
180
|
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.1
|
|
122
181
|
*/
|
|
123
|
-
readonly operationalError: Event<import("../
|
|
124
|
-
errorState: import("../
|
|
125
|
-
errorStateId: import("../
|
|
126
|
-
errorStateLabel: import("../
|
|
127
|
-
errorStateDetails: import("../
|
|
182
|
+
readonly operationalError: Event<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
183
|
+
errorState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
184
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalState.ErrorState>;
|
|
185
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
186
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
128
187
|
}>>;
|
|
129
188
|
}>, any>;
|
|
130
189
|
/**
|
|
@@ -140,10 +199,10 @@ export declare namespace OvenCavityOperationalState {
|
|
|
140
199
|
*
|
|
141
200
|
* @see {@link MatterSpecification.v14.Cluster} § 1.14.7.2
|
|
142
201
|
*/
|
|
143
|
-
readonly operationCompletion: OptionalEvent<import("../
|
|
144
|
-
completionErrorCode: import("../
|
|
145
|
-
totalOperationalTime: import("../
|
|
146
|
-
pausedTime: import("../
|
|
202
|
+
readonly operationCompletion: OptionalEvent<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
203
|
+
completionErrorCode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
204
|
+
totalOperationalTime: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
205
|
+
pausedTime: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
147
206
|
}>, any>;
|
|
148
207
|
};
|
|
149
208
|
}, []>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oven-cavity-operational-state.d.ts","sourceRoot":"","sources":["../../../src/clusters/oven-cavity-operational-state.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,KAAK,EAAiB,aAAa,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"oven-cavity-operational-state.d.ts","sourceRoot":"","sources":["../../../src/clusters/oven-cavity-operational-state.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,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
import { Attribute, OptionalAttribute, Event, EventPriority, OptionalEvent } from "../cluster/Cluster.js";
|
|
7
|
+
import { Attribute, OptionalAttribute, Command, Event, EventPriority, OptionalEvent } from "../cluster/Cluster.js";
|
|
8
8
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
9
9
|
import { TlvString } from "../tlv/TlvString.js";
|
|
10
10
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
11
11
|
import { TlvUInt8, TlvUInt32, TlvEnum } from "../tlv/TlvNumber.js";
|
|
12
12
|
import { OperationalState } from "./operational-state.js";
|
|
13
|
+
import { TlvNoArguments } from "../tlv/TlvNoArguments.js";
|
|
14
|
+
import { TlvField, TlvObject } from "../tlv/TlvObject.js";
|
|
13
15
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
14
16
|
var OvenCavityOperationalState;
|
|
15
17
|
((OvenCavityOperationalState2) => {
|
|
18
|
+
OvenCavityOperationalState2.TlvOperationalCommandResponse = TlvObject({
|
|
19
|
+
/**
|
|
20
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
21
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
22
|
+
* sections for additional specific requirements on population.
|
|
23
|
+
*
|
|
24
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
25
|
+
*/
|
|
26
|
+
commandResponseState: TlvField(0, OperationalState.TlvErrorStateStruct)
|
|
27
|
+
});
|
|
16
28
|
OvenCavityOperationalState2.ClusterInstance = MutableCluster({
|
|
17
29
|
id: 72,
|
|
18
30
|
name: "OvenCavityOperationalState",
|
|
@@ -105,6 +117,16 @@ var OvenCavityOperationalState;
|
|
|
105
117
|
*/
|
|
106
118
|
operationalError: Attribute(5, OperationalState.TlvErrorStateStruct)
|
|
107
119
|
},
|
|
120
|
+
commands: {
|
|
121
|
+
/**
|
|
122
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
123
|
+
*/
|
|
124
|
+
stop: Command(1, TlvNoArguments, 4, OvenCavityOperationalState2.TlvOperationalCommandResponse),
|
|
125
|
+
/**
|
|
126
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
127
|
+
*/
|
|
128
|
+
start: Command(2, TlvNoArguments, 4, OvenCavityOperationalState2.TlvOperationalCommandResponse)
|
|
129
|
+
},
|
|
108
130
|
events: {
|
|
109
131
|
/**
|
|
110
132
|
* This event is generated when a reportable error condition is detected. A device that generates this event
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/clusters/oven-cavity-operational-state.ts"],
|
|
4
|
-
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,SAAS,sBAAsB;AAC/B,SAAS,WAAW,mBAAmB,OAAO,eAAe,qBAAqB;
|
|
4
|
+
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,SAAS,sBAAsB;AAC/B,SAAS,WAAW,mBAAmB,SAAS,OAAO,eAAe,qBAAqB;AAC3F,SAAS,gBAAgB;AACzB,SAAS,iBAAiB;AAC1B,SAAS,mBAAmB;AAC5B,SAAS,UAAU,WAAW,eAAe;AAC7C,SAAS,wBAAwB;AACjC,SAAS,sBAAsB;AAC/B,SAAS,UAAU,iBAAiB;AAGpC,SAAS,uBAAuB;AAEzB,IAAU;AAAA,CAAV,CAAUA,gCAAV;AAII,EAAMA,4BAAA,gCAAgC,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQnD,sBAAsB,SAAS,GAAG,iBAAiB,mBAAmB;AAAA,EAC1E,CAAC;AAUM,EAAMA,4BAAA,kBAAkB,eAAe;AAAA,IAC1C,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IAEV,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAYR,WAAW,UAAU,GAAK,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;AAAA,MAe9F,qBAAqB,cAAc,GAAK,cAAc,MAAM,iBAAiB,2BAA2B;AAAA,IAC5G;AAAA,EACJ,CAAC;AAUM,EAAMA,4BAAA,UAAmBA,4BAAA;AACzB,EAAMA,4BAAA,WAAWA,4BAAA;AAAA,GA3KX;AA+KV,MAAM,oCAAoC,2BAA2B;AAC5E,gBAAgB,SAAS,2BAA2B,QAAQ;",
|
|
5
5
|
"names": ["OvenCavityOperationalState"]
|
|
6
6
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
7
7
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
8
|
-
import { Attribute, OptionalAttribute, OptionalCommand, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
8
|
+
import { Attribute, OptionalAttribute, Command, OptionalCommand, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
9
9
|
import { OperationalState as OperationalStateNamespace } from "./operational-state.js";
|
|
10
10
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
11
11
|
import { Identity } from "#general";
|
|
@@ -178,8 +178,6 @@ export declare namespace RvcOperationalState {
|
|
|
178
178
|
interface ErrorStateStruct extends TypeFromSchema<typeof TlvErrorStateStruct> {
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
|
-
* Input to the RvcOperationalState operationalCommandResponse command
|
|
182
|
-
*
|
|
183
181
|
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
184
182
|
*/
|
|
185
183
|
const TlvOperationalCommandResponse: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
@@ -217,8 +215,6 @@ export declare namespace RvcOperationalState {
|
|
|
217
215
|
}>>;
|
|
218
216
|
}>;
|
|
219
217
|
/**
|
|
220
|
-
* Input to the RvcOperationalState operationalCommandResponse command
|
|
221
|
-
*
|
|
222
218
|
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
223
219
|
*/
|
|
224
220
|
interface OperationalCommandResponse extends TypeFromSchema<typeof TlvOperationalCommandResponse> {
|
|
@@ -397,6 +393,80 @@ export declare namespace RvcOperationalState {
|
|
|
397
393
|
}>, any>;
|
|
398
394
|
};
|
|
399
395
|
readonly commands: {
|
|
396
|
+
/**
|
|
397
|
+
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
398
|
+
*/
|
|
399
|
+
readonly pause: Command<void, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
400
|
+
/**
|
|
401
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
402
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
403
|
+
* sections for additional specific requirements on population.
|
|
404
|
+
*
|
|
405
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
406
|
+
*/
|
|
407
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
408
|
+
/**
|
|
409
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
410
|
+
*
|
|
411
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.1
|
|
412
|
+
*/
|
|
413
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalStateNamespace.ErrorState | ErrorState>;
|
|
414
|
+
/**
|
|
415
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
416
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
417
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
418
|
+
* special error".
|
|
419
|
+
*
|
|
420
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.2
|
|
421
|
+
*/
|
|
422
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
423
|
+
/**
|
|
424
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
425
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
426
|
+
* "left wheel blocked".
|
|
427
|
+
*
|
|
428
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.3
|
|
429
|
+
*/
|
|
430
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
431
|
+
}>>;
|
|
432
|
+
}>, any>;
|
|
433
|
+
/**
|
|
434
|
+
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
435
|
+
*/
|
|
436
|
+
readonly resume: Command<void, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
437
|
+
/**
|
|
438
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
439
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
440
|
+
* sections for additional specific requirements on population.
|
|
441
|
+
*
|
|
442
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
443
|
+
*/
|
|
444
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
445
|
+
/**
|
|
446
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
447
|
+
*
|
|
448
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.1
|
|
449
|
+
*/
|
|
450
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<OperationalStateNamespace.ErrorState | ErrorState>;
|
|
451
|
+
/**
|
|
452
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
453
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
454
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
455
|
+
* special error".
|
|
456
|
+
*
|
|
457
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.2
|
|
458
|
+
*/
|
|
459
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
460
|
+
/**
|
|
461
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
462
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
463
|
+
* "left wheel blocked".
|
|
464
|
+
*
|
|
465
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.4.4.3
|
|
466
|
+
*/
|
|
467
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
468
|
+
}>>;
|
|
469
|
+
}>, any>;
|
|
400
470
|
/**
|
|
401
471
|
* On receipt of this command, the device shall start seeking the charging dock, if possible in the current
|
|
402
472
|
* state of the device.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rvc-operational-state.d.ts","sourceRoot":"","sources":["../../../src/clusters/rvc-operational-state.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EACH,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,KAAK,EAEL,aAAa,EAChB,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EAAE,gBAAgB,IAAI,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,yBAAiB,mBAAmB,CAAC;IACjC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAY,gBAAgB;QACxB;;WAEG;QACH,OAAO,IAAI;QAEX;;WAEG;QACH,OAAO,IAAI;QAEX;;WAEG;QACH,MAAM,IAAI;QAEV;;WAEG;QACH,KAAK,IAAI;QAET;;WAEG;QACH,cAAc,KAAK;QAEnB;;WAEG;QACH,QAAQ,KAAK;QAEb;;WAEG;QACH,MAAM,KAAK;KACd;IAED;;;;OAIG;IACI,MAAM,yBAAyB;QAClC;;;;WAIG;;QAGH;;;;;;WAMG;;MAEL,CAAC;IAEH;;;;OAIG;IACH,UAAiB,sBAAuB,SAAQ,cAAc,CAAC,OAAO,yBAAyB,CAAC;KAAG;IAEnG;;;;;OAKG;IACH,KAAY,UAAU;QAClB;;WAEG;QACH,OAAO,IAAI;QAEX;;WAEG;QACH,qBAAqB,IAAI;QAEzB;;WAEG;QACH,yBAAyB,IAAI;QAE7B;;WAEG;QACH,qBAAqB,IAAI;QAEzB;;WAEG;QACH,wBAAwB,KAAK;QAE7B;;WAEG;QACH,KAAK,KAAK;QAEV;;WAEG;QACH,cAAc,KAAK;QAEnB;;WAEG;QACH,WAAW,KAAK;QAEhB;;WAEG;QACH,cAAc,KAAK;QAEnB;;WAEG;QACH,gBAAgB,KAAK;QAErB;;WAEG;QACH,gBAAgB,KAAK;QAErB;;WAEG;QACH,qBAAqB,KAAK;KAC7B;IAED;;OAEG;IACI,MAAM,mBAAmB;QAC5B;;;;WAIG;;QAGH;;;;;;;WAOG;;QAGH;;;;;;WAMG;;MAEL,CAAC;IAEH;;OAEG;IACH,UAAiB,gBAAiB,SAAQ,cAAc,CAAC,OAAO,mBAAmB,CAAC;KAAG;IAEvF
|
|
1
|
+
{"version":3,"file":"rvc-operational-state.d.ts","sourceRoot":"","sources":["../../../src/clusters/rvc-operational-state.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EACH,SAAS,EACT,iBAAiB,EACjB,OAAO,EACP,eAAe,EACf,KAAK,EAEL,aAAa,EAChB,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EAAE,gBAAgB,IAAI,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,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AC;AACrE,eAAO,MAAM,0BAA0B,6BAA8B,CAAC"}
|
|
@@ -7,6 +7,7 @@ import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
|
7
7
|
import {
|
|
8
8
|
Attribute,
|
|
9
9
|
OptionalAttribute,
|
|
10
|
+
Command,
|
|
10
11
|
OptionalCommand,
|
|
11
12
|
Event,
|
|
12
13
|
EventPriority,
|
|
@@ -195,6 +196,14 @@ var RvcOperationalState;
|
|
|
195
196
|
operationalError: Attribute(5, RvcOperationalState2.TlvErrorStateStruct)
|
|
196
197
|
},
|
|
197
198
|
commands: {
|
|
199
|
+
/**
|
|
200
|
+
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
201
|
+
*/
|
|
202
|
+
pause: Command(0, TlvNoArguments, 4, RvcOperationalState2.TlvOperationalCommandResponse),
|
|
203
|
+
/**
|
|
204
|
+
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
205
|
+
*/
|
|
206
|
+
resume: Command(3, TlvNoArguments, 4, RvcOperationalState2.TlvOperationalCommandResponse),
|
|
198
207
|
/**
|
|
199
208
|
* On receipt of this command, the device shall start seeking the charging dock, if possible in the current
|
|
200
209
|
* state of the device.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/clusters/rvc-operational-state.ts"],
|
|
4
|
-
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,SAAS,sBAAsB;AAC/B;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,SAAS,gBAAgB;AACzB,SAAS,iBAAiB;AAC1B,SAAS,mBAAmB;AAC5B,SAAS,UAAU,WAAW,eAAe;AAC7C,SAAS,UAAU,kBAAkB,iBAAiB;AACtD,SAAS,oBAAoB,iCAAiC;AAE9D,SAAS,sBAAsB;AAE/B,SAAS,uBAAuB;AAEzB,IAAU;AAAA,CAA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B,GAAKA,qBAAA,6BAA6B;AAAA,IACpF;AAAA,IAEA,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MASJ,kBAAkB,MAAM,GAAK,cAAc,UAAUA,qBAAA,wBAAwB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAe7E,qBAAqB;AAAA,QACjB;AAAA,QACA,cAAc;AAAA,QACd,0BAA0B;AAAA,MAC9B;AAAA,IACJ;AAAA,EACJ,CAAC;AAUM,EAAMA,qBAAA,UAAmBA,qBAAA;AACzB,EAAMA,qBAAA,WAAWA,qBAAA;AAAA,GArZX;AAyZV,MAAM,6BAA6B,oBAAoB;AAC9D,gBAAgB,SAAS,oBAAoB,QAAQ;",
|
|
5
5
|
"names": ["RvcOperationalState", "OperationalState", "ErrorState"]
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter/types",
|
|
3
|
-
"version": "0.13.0-alpha.0-
|
|
3
|
+
"version": "0.13.0-alpha.0-20250413-d5a27700d",
|
|
4
4
|
"description": "Definitions for Matter application",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iot",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"embed-examples": "embedme **/README.md"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@matter/general": "0.13.0-alpha.0-
|
|
37
|
-
"@matter/model": "0.13.0-alpha.0-
|
|
36
|
+
"@matter/general": "0.13.0-alpha.0-20250413-d5a27700d",
|
|
37
|
+
"@matter/model": "0.13.0-alpha.0-20250413-d5a27700d",
|
|
38
38
|
"@noble/curves": "^1.8.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@matter/tools": "0.13.0-alpha.0-
|
|
42
|
-
"@matter/testing": "0.13.0-alpha.0-
|
|
41
|
+
"@matter/tools": "0.13.0-alpha.0-20250413-d5a27700d",
|
|
42
|
+
"@matter/testing": "0.13.0-alpha.0-20250413-d5a27700d"
|
|
43
43
|
},
|
|
44
44
|
"files": [
|
|
45
45
|
"dist/**/*",
|
|
@@ -7,16 +7,38 @@
|
|
|
7
7
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
8
8
|
|
|
9
9
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
10
|
-
import { Attribute, OptionalAttribute, Event, EventPriority, OptionalEvent } from "../cluster/Cluster.js";
|
|
10
|
+
import { Attribute, OptionalAttribute, Command, Event, EventPriority, OptionalEvent } from "../cluster/Cluster.js";
|
|
11
11
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
12
12
|
import { TlvString } from "../tlv/TlvString.js";
|
|
13
13
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
14
14
|
import { TlvUInt8, TlvUInt32, TlvEnum } from "../tlv/TlvNumber.js";
|
|
15
15
|
import { OperationalState } from "./operational-state.js";
|
|
16
|
+
import { TlvNoArguments } from "../tlv/TlvNoArguments.js";
|
|
17
|
+
import { TlvField, TlvObject } from "../tlv/TlvObject.js";
|
|
18
|
+
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
16
19
|
import { Identity } from "#general";
|
|
17
20
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
18
21
|
|
|
19
22
|
export namespace OvenCavityOperationalState {
|
|
23
|
+
/**
|
|
24
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
25
|
+
*/
|
|
26
|
+
export const TlvOperationalCommandResponse = TlvObject({
|
|
27
|
+
/**
|
|
28
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
29
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual command
|
|
30
|
+
* sections for additional specific requirements on population.
|
|
31
|
+
*
|
|
32
|
+
* @see {@link MatterSpecification.v14.Cluster} § 1.14.6.5.1
|
|
33
|
+
*/
|
|
34
|
+
commandResponseState: TlvField(0, OperationalState.TlvErrorStateStruct)
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
39
|
+
*/
|
|
40
|
+
export interface OperationalCommandResponse extends TypeFromSchema<typeof TlvOperationalCommandResponse> {}
|
|
41
|
+
|
|
20
42
|
/**
|
|
21
43
|
* @see {@link Cluster}
|
|
22
44
|
*/
|
|
@@ -119,6 +141,18 @@ export namespace OvenCavityOperationalState {
|
|
|
119
141
|
operationalError: Attribute(0x5, OperationalState.TlvErrorStateStruct)
|
|
120
142
|
},
|
|
121
143
|
|
|
144
|
+
commands: {
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
147
|
+
*/
|
|
148
|
+
stop: Command(0x1, TlvNoArguments, 0x4, TlvOperationalCommandResponse),
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @see {@link MatterSpecification.v14.Cluster} § 8.10.5
|
|
152
|
+
*/
|
|
153
|
+
start: Command(0x2, TlvNoArguments, 0x4, TlvOperationalCommandResponse)
|
|
154
|
+
},
|
|
155
|
+
|
|
122
156
|
events: {
|
|
123
157
|
/**
|
|
124
158
|
* This event is generated when a reportable error condition is detected. A device that generates this event
|
|
@@ -10,6 +10,7 @@ import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
|
10
10
|
import {
|
|
11
11
|
Attribute,
|
|
12
12
|
OptionalAttribute,
|
|
13
|
+
Command,
|
|
13
14
|
OptionalCommand,
|
|
14
15
|
Event,
|
|
15
16
|
EventPriority,
|
|
@@ -219,8 +220,6 @@ export namespace RvcOperationalState {
|
|
|
219
220
|
export interface ErrorStateStruct extends TypeFromSchema<typeof TlvErrorStateStruct> {}
|
|
220
221
|
|
|
221
222
|
/**
|
|
222
|
-
* Input to the RvcOperationalState operationalCommandResponse command
|
|
223
|
-
*
|
|
224
223
|
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
225
224
|
*/
|
|
226
225
|
export const TlvOperationalCommandResponse = TlvObject({
|
|
@@ -235,8 +234,6 @@ export namespace RvcOperationalState {
|
|
|
235
234
|
});
|
|
236
235
|
|
|
237
236
|
/**
|
|
238
|
-
* Input to the RvcOperationalState operationalCommandResponse command
|
|
239
|
-
*
|
|
240
237
|
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
241
238
|
*/
|
|
242
239
|
export interface OperationalCommandResponse extends TypeFromSchema<typeof TlvOperationalCommandResponse> {}
|
|
@@ -361,6 +358,16 @@ export namespace RvcOperationalState {
|
|
|
361
358
|
},
|
|
362
359
|
|
|
363
360
|
commands: {
|
|
361
|
+
/**
|
|
362
|
+
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
363
|
+
*/
|
|
364
|
+
pause: Command(0x0, TlvNoArguments, 0x4, TlvOperationalCommandResponse),
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* @see {@link MatterSpecification.v14.Cluster} § 7.4.5
|
|
368
|
+
*/
|
|
369
|
+
resume: Command(0x3, TlvNoArguments, 0x4, TlvOperationalCommandResponse),
|
|
370
|
+
|
|
364
371
|
/**
|
|
365
372
|
* On receipt of this command, the device shall start seeking the charging dock, if possible in the current
|
|
366
373
|
* state of the device.
|