@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
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
7
7
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
8
8
|
import { Attribute, OptionalAttribute, OptionalCommand, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
9
|
+
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
9
10
|
import { Identity } from "#general";
|
|
10
11
|
export declare namespace RvcOperationalState {
|
|
11
12
|
/**
|
|
@@ -42,6 +43,34 @@ export declare namespace RvcOperationalState {
|
|
|
42
43
|
*/
|
|
43
44
|
Docked = 66
|
|
44
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* The OperationalStateStruct is used to indicate a possible state of the device.
|
|
48
|
+
*
|
|
49
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2
|
|
50
|
+
*/
|
|
51
|
+
const TlvOperationalStateStruct: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
52
|
+
/**
|
|
53
|
+
* This shall be populated with a value from the OperationalStateEnum.
|
|
54
|
+
*
|
|
55
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2.1
|
|
56
|
+
*/
|
|
57
|
+
operationalStateId: import("../tlv/TlvObject.js").FieldType<OperationalState>;
|
|
58
|
+
/**
|
|
59
|
+
* This field shall be present if the OperationalStateID is from the set reserved for Manufacturer Specific
|
|
60
|
+
* States, otherwise it shall NOT be present. If present, this shall contain a human-readable description of
|
|
61
|
+
* the operational state.
|
|
62
|
+
*
|
|
63
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2.2
|
|
64
|
+
*/
|
|
65
|
+
operationalStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
66
|
+
}>;
|
|
67
|
+
/**
|
|
68
|
+
* The OperationalStateStruct is used to indicate a possible state of the device.
|
|
69
|
+
*
|
|
70
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2
|
|
71
|
+
*/
|
|
72
|
+
interface OperationalStateStruct extends TypeFromSchema<typeof TlvOperationalStateStruct> {
|
|
73
|
+
}
|
|
45
74
|
/**
|
|
46
75
|
* The values defined herein are applicable to this derived cluster of Operational State only and are additional to
|
|
47
76
|
* the set of values defined in Operational State itself.
|
|
@@ -82,6 +111,124 @@ export declare namespace RvcOperationalState {
|
|
|
82
111
|
*/
|
|
83
112
|
MopCleaningPadMissing = 71
|
|
84
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4
|
|
116
|
+
*/
|
|
117
|
+
const TlvErrorStateStruct: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
118
|
+
/**
|
|
119
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
120
|
+
*
|
|
121
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
122
|
+
*/
|
|
123
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<ErrorState>;
|
|
124
|
+
/**
|
|
125
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
126
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
127
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
128
|
+
* special error".
|
|
129
|
+
*
|
|
130
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
131
|
+
*/
|
|
132
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
133
|
+
/**
|
|
134
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
135
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
136
|
+
* "left wheel blocked".
|
|
137
|
+
*
|
|
138
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
139
|
+
*/
|
|
140
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
141
|
+
}>;
|
|
142
|
+
/**
|
|
143
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4
|
|
144
|
+
*/
|
|
145
|
+
interface ErrorStateStruct extends TypeFromSchema<typeof TlvErrorStateStruct> {
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Input to the RvcOperationalState operationalCommandResponse command
|
|
149
|
+
*
|
|
150
|
+
* @see {@link MatterSpecification.v13.Cluster} § 7.4.5
|
|
151
|
+
*/
|
|
152
|
+
const TlvOperationalCommandResponse: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
153
|
+
/**
|
|
154
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
155
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual
|
|
156
|
+
* command sections for additional specific requirements on population.
|
|
157
|
+
*
|
|
158
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.6.5.1
|
|
159
|
+
*/
|
|
160
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
161
|
+
/**
|
|
162
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
163
|
+
*
|
|
164
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
165
|
+
*/
|
|
166
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<ErrorState>;
|
|
167
|
+
/**
|
|
168
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
169
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
170
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
171
|
+
* special error".
|
|
172
|
+
*
|
|
173
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
174
|
+
*/
|
|
175
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
176
|
+
/**
|
|
177
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
178
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
179
|
+
* "left wheel blocked".
|
|
180
|
+
*
|
|
181
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
182
|
+
*/
|
|
183
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
184
|
+
}>>;
|
|
185
|
+
}>;
|
|
186
|
+
/**
|
|
187
|
+
* Input to the RvcOperationalState operationalCommandResponse command
|
|
188
|
+
*
|
|
189
|
+
* @see {@link MatterSpecification.v13.Cluster} § 7.4.5
|
|
190
|
+
*/
|
|
191
|
+
interface OperationalCommandResponse extends TypeFromSchema<typeof TlvOperationalCommandResponse> {
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Body of the RvcOperationalState operationalError event
|
|
195
|
+
*
|
|
196
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.7.1
|
|
197
|
+
*/
|
|
198
|
+
const TlvOperationalErrorEvent: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
199
|
+
errorState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
200
|
+
/**
|
|
201
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
202
|
+
*
|
|
203
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
204
|
+
*/
|
|
205
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<ErrorState>;
|
|
206
|
+
/**
|
|
207
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
208
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
209
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
210
|
+
* special error".
|
|
211
|
+
*
|
|
212
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
213
|
+
*/
|
|
214
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
215
|
+
/**
|
|
216
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
217
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
218
|
+
* "left wheel blocked".
|
|
219
|
+
*
|
|
220
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
221
|
+
*/
|
|
222
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
223
|
+
}>>;
|
|
224
|
+
}>;
|
|
225
|
+
/**
|
|
226
|
+
* Body of the RvcOperationalState operationalError event
|
|
227
|
+
*
|
|
228
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.7.1
|
|
229
|
+
*/
|
|
230
|
+
interface OperationalErrorEvent extends TypeFromSchema<typeof TlvOperationalErrorEvent> {
|
|
231
|
+
}
|
|
85
232
|
/**
|
|
86
233
|
* @see {@link Cluster}
|
|
87
234
|
*/
|
|
@@ -140,9 +287,21 @@ export declare namespace RvcOperationalState {
|
|
|
140
287
|
*
|
|
141
288
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.5.4
|
|
142
289
|
*/
|
|
143
|
-
readonly operationalStateList: Attribute<import("../
|
|
144
|
-
|
|
145
|
-
|
|
290
|
+
readonly operationalStateList: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
291
|
+
/**
|
|
292
|
+
* This shall be populated with a value from the OperationalStateEnum.
|
|
293
|
+
*
|
|
294
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2.1
|
|
295
|
+
*/
|
|
296
|
+
operationalStateId: import("../tlv/TlvObject.js").FieldType<OperationalState>;
|
|
297
|
+
/**
|
|
298
|
+
* This field shall be present if the OperationalStateID is from the set reserved for Manufacturer Specific
|
|
299
|
+
* States, otherwise it shall NOT be present. If present, this shall contain a human-readable description of
|
|
300
|
+
* the operational state.
|
|
301
|
+
*
|
|
302
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2.2
|
|
303
|
+
*/
|
|
304
|
+
operationalStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
146
305
|
}>[], any>;
|
|
147
306
|
/**
|
|
148
307
|
* This attribute specifies the current operational state of a device. This shall be populated with a valid
|
|
@@ -150,7 +309,7 @@ export declare namespace RvcOperationalState {
|
|
|
150
309
|
*
|
|
151
310
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.5.5
|
|
152
311
|
*/
|
|
153
|
-
readonly operationalState: Attribute<
|
|
312
|
+
readonly operationalState: Attribute<OperationalState, any>;
|
|
154
313
|
/**
|
|
155
314
|
* This attribute shall specify the details of any current error condition being experienced on the device
|
|
156
315
|
* when the OperationalState attribute is populated with Error. Please see ErrorStateStruct for general
|
|
@@ -160,10 +319,30 @@ export declare namespace RvcOperationalState {
|
|
|
160
319
|
*
|
|
161
320
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.5.6
|
|
162
321
|
*/
|
|
163
|
-
readonly operationalError: Attribute<import("../
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
322
|
+
readonly operationalError: Attribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
323
|
+
/**
|
|
324
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
325
|
+
*
|
|
326
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
327
|
+
*/
|
|
328
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<ErrorState>;
|
|
329
|
+
/**
|
|
330
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
331
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
332
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
333
|
+
* special error".
|
|
334
|
+
*
|
|
335
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
336
|
+
*/
|
|
337
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
338
|
+
/**
|
|
339
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
340
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
341
|
+
* "left wheel blocked".
|
|
342
|
+
*
|
|
343
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
344
|
+
*/
|
|
345
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
167
346
|
}>, any>;
|
|
168
347
|
};
|
|
169
348
|
readonly commands: {
|
|
@@ -187,11 +366,38 @@ export declare namespace RvcOperationalState {
|
|
|
187
366
|
*
|
|
188
367
|
* @see {@link MatterSpecification.v13.Cluster} § 7.4.5.1
|
|
189
368
|
*/
|
|
190
|
-
readonly goHome: OptionalCommand<void, import("../
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
369
|
+
readonly goHome: OptionalCommand<void, import("../tlv/TlvObject.js").TypeFromFields<{
|
|
370
|
+
/**
|
|
371
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
372
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual
|
|
373
|
+
* command sections for additional specific requirements on population.
|
|
374
|
+
*
|
|
375
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.6.5.1
|
|
376
|
+
*/
|
|
377
|
+
commandResponseState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
378
|
+
/**
|
|
379
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
380
|
+
*
|
|
381
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
382
|
+
*/
|
|
383
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<ErrorState>;
|
|
384
|
+
/**
|
|
385
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
386
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
387
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
388
|
+
* special error".
|
|
389
|
+
*
|
|
390
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
391
|
+
*/
|
|
392
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
393
|
+
/**
|
|
394
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
395
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
396
|
+
* "left wheel blocked".
|
|
397
|
+
*
|
|
398
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
399
|
+
*/
|
|
400
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
195
401
|
}>>;
|
|
196
402
|
}>, any>;
|
|
197
403
|
};
|
|
@@ -204,11 +410,31 @@ export declare namespace RvcOperationalState {
|
|
|
204
410
|
*
|
|
205
411
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.7.1
|
|
206
412
|
*/
|
|
207
|
-
readonly operationalError: Event<import("../
|
|
208
|
-
errorState: import("../
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
413
|
+
readonly operationalError: Event<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
414
|
+
errorState: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
415
|
+
/**
|
|
416
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
417
|
+
*
|
|
418
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
419
|
+
*/
|
|
420
|
+
errorStateId: import("../tlv/TlvObject.js").FieldType<ErrorState>;
|
|
421
|
+
/**
|
|
422
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
423
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
424
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
425
|
+
* special error".
|
|
426
|
+
*
|
|
427
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
428
|
+
*/
|
|
429
|
+
errorStateLabel: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
430
|
+
/**
|
|
431
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
432
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
433
|
+
* "left wheel blocked".
|
|
434
|
+
*
|
|
435
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
436
|
+
*/
|
|
437
|
+
errorStateDetails: import("../tlv/TlvObject.js").OptionalFieldType<string>;
|
|
212
438
|
}>>;
|
|
213
439
|
}>, any>;
|
|
214
440
|
/**
|
|
@@ -220,10 +446,10 @@ export declare namespace RvcOperationalState {
|
|
|
220
446
|
*
|
|
221
447
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.7.2
|
|
222
448
|
*/
|
|
223
|
-
readonly operationCompletion: OptionalEvent<import("../
|
|
224
|
-
completionErrorCode: import("../
|
|
225
|
-
totalOperationalTime: import("../
|
|
226
|
-
pausedTime: import("../
|
|
449
|
+
readonly operationCompletion: OptionalEvent<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
450
|
+
completionErrorCode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
451
|
+
totalOperationalTime: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
452
|
+
pausedTime: import("../tlv/TlvObject.js").OptionalFieldType<number | null>;
|
|
227
453
|
}>, any>;
|
|
228
454
|
};
|
|
229
455
|
}, []>;
|
|
@@ -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;
|
|
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,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAGrD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,yBAAiB,mBAAmB,CAAC;IACjC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAY,gBAAgB;QACxB;;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;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;;;uBAIG;;oBAGH;;;;;;;uBAOG;;oBAGH;;;;;;uBAMG;;;;;;YA+JC;;;;;;;eAOG;;;oBA7LP;;;;uBAIG;;oBAGH;;;;;;;uBAOG;;oBAGH;;;;;;uBAMG;;;;YAyKC;;;;;;;;eAQG;;;;;;;UAOT,CAAC;IAEH;;;;OAIG;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,0BAA0B,GAAG,mBAAmB,CAAC,OAAO,CAAC;AACrE,eAAO,MAAM,0BAA0B,6BAA8B,CAAC"}
|
|
@@ -28,8 +28,9 @@ var import_TlvArray = require("../tlv/TlvArray.js");
|
|
|
28
28
|
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
|
-
var
|
|
31
|
+
var import_TlvObject = require("../tlv/TlvObject.js");
|
|
32
32
|
var import_TlvNoArguments = require("../tlv/TlvNoArguments.js");
|
|
33
|
+
var import_operational_state = require("./operational-state.js");
|
|
33
34
|
var import_ClusterRegistry = require("../cluster/ClusterRegistry.js");
|
|
34
35
|
/**
|
|
35
36
|
* @license
|
|
@@ -44,6 +45,22 @@ var RvcOperationalState;
|
|
|
44
45
|
OperationalState2[OperationalState2["Charging"] = 65] = "Charging";
|
|
45
46
|
OperationalState2[OperationalState2["Docked"] = 66] = "Docked";
|
|
46
47
|
})(OperationalState = RvcOperationalState2.OperationalState || (RvcOperationalState2.OperationalState = {}));
|
|
48
|
+
RvcOperationalState2.TlvOperationalStateStruct = (0, import_TlvObject.TlvObject)({
|
|
49
|
+
/**
|
|
50
|
+
* This shall be populated with a value from the OperationalStateEnum.
|
|
51
|
+
*
|
|
52
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2.1
|
|
53
|
+
*/
|
|
54
|
+
operationalStateId: (0, import_TlvObject.TlvField)(0, (0, import_TlvNumber.TlvEnum)()),
|
|
55
|
+
/**
|
|
56
|
+
* This field shall be present if the OperationalStateID is from the set reserved for Manufacturer Specific
|
|
57
|
+
* States, otherwise it shall NOT be present. If present, this shall contain a human-readable description of
|
|
58
|
+
* the operational state.
|
|
59
|
+
*
|
|
60
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.2.2
|
|
61
|
+
*/
|
|
62
|
+
operationalStateLabel: (0, import_TlvObject.TlvOptionalField)(1, import_TlvString.TlvString.bound({ maxLength: 64 }))
|
|
63
|
+
});
|
|
47
64
|
let ErrorState;
|
|
48
65
|
((ErrorState2) => {
|
|
49
66
|
ErrorState2[ErrorState2["FailedToFindChargingDock"] = 64] = "FailedToFindChargingDock";
|
|
@@ -55,6 +72,42 @@ var RvcOperationalState;
|
|
|
55
72
|
ErrorState2[ErrorState2["WaterTankLidOpen"] = 70] = "WaterTankLidOpen";
|
|
56
73
|
ErrorState2[ErrorState2["MopCleaningPadMissing"] = 71] = "MopCleaningPadMissing";
|
|
57
74
|
})(ErrorState = RvcOperationalState2.ErrorState || (RvcOperationalState2.ErrorState = {}));
|
|
75
|
+
RvcOperationalState2.TlvErrorStateStruct = (0, import_TlvObject.TlvObject)({
|
|
76
|
+
/**
|
|
77
|
+
* This shall be populated with a value from the ErrorStateEnum.
|
|
78
|
+
*
|
|
79
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.1
|
|
80
|
+
*/
|
|
81
|
+
errorStateId: (0, import_TlvObject.TlvField)(0, (0, import_TlvNumber.TlvEnum)()),
|
|
82
|
+
/**
|
|
83
|
+
* This field shall be present if the ErrorStateID is from the set reserved for Manufacturer Specific Errors,
|
|
84
|
+
* otherwise it shall NOT be present. If present, this shall contain a human-readable description of the
|
|
85
|
+
* ErrorStateID; e.g. for a manufacturer specific ErrorStateID of "0x80" the ErrorStateLabel may contain "My
|
|
86
|
+
* special error".
|
|
87
|
+
*
|
|
88
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.2
|
|
89
|
+
*/
|
|
90
|
+
errorStateLabel: (0, import_TlvObject.TlvOptionalField)(1, import_TlvString.TlvString.bound({ maxLength: 64 })),
|
|
91
|
+
/**
|
|
92
|
+
* This shall be a human-readable string that provides details about the error condition. As an example, if the
|
|
93
|
+
* ErrorStateID indicates that the device is a Robotic Vacuum that is stuck, the ErrorStateDetails contains
|
|
94
|
+
* "left wheel blocked".
|
|
95
|
+
*
|
|
96
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.4.4.3
|
|
97
|
+
*/
|
|
98
|
+
errorStateDetails: (0, import_TlvObject.TlvOptionalField)(2, import_TlvString.TlvString.bound({ maxLength: 64 }))
|
|
99
|
+
});
|
|
100
|
+
RvcOperationalState2.TlvOperationalCommandResponse = (0, import_TlvObject.TlvObject)({
|
|
101
|
+
/**
|
|
102
|
+
* This shall indicate the success or otherwise of the attempted command invocation. On a successful invocation
|
|
103
|
+
* of the attempted command, the ErrorStateID shall be populated with NoError. Please see the individual
|
|
104
|
+
* command sections for additional specific requirements on population.
|
|
105
|
+
*
|
|
106
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.14.6.5.1
|
|
107
|
+
*/
|
|
108
|
+
commandResponseState: (0, import_TlvObject.TlvField)(0, RvcOperationalState2.TlvErrorStateStruct)
|
|
109
|
+
});
|
|
110
|
+
RvcOperationalState2.TlvOperationalErrorEvent = (0, import_TlvObject.TlvObject)({ errorState: (0, import_TlvObject.TlvField)(0, RvcOperationalState2.TlvErrorStateStruct) });
|
|
58
111
|
RvcOperationalState2.ClusterInstance = (0, import_MutableCluster.MutableCluster)({
|
|
59
112
|
id: 97,
|
|
60
113
|
name: "RvcOperationalState",
|
|
@@ -114,18 +167,14 @@ var RvcOperationalState;
|
|
|
114
167
|
*
|
|
115
168
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.5.4
|
|
116
169
|
*/
|
|
117
|
-
operationalStateList: (0, import_Cluster.Attribute)(
|
|
118
|
-
3,
|
|
119
|
-
(0, import_TlvArray.TlvArray)(import_operational_state.OperationalState.TlvOperationalStateStruct),
|
|
120
|
-
{ default: [] }
|
|
121
|
-
),
|
|
170
|
+
operationalStateList: (0, import_Cluster.Attribute)(3, (0, import_TlvArray.TlvArray)(RvcOperationalState2.TlvOperationalStateStruct), { default: [] }),
|
|
122
171
|
/**
|
|
123
172
|
* This attribute specifies the current operational state of a device. This shall be populated with a valid
|
|
124
173
|
* OperationalStateID from the set of values in the OperationalStateList Attribute.
|
|
125
174
|
*
|
|
126
175
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.5.5
|
|
127
176
|
*/
|
|
128
|
-
operationalState: (0, import_Cluster.Attribute)(4, import_TlvNumber.
|
|
177
|
+
operationalState: (0, import_Cluster.Attribute)(4, (0, import_TlvNumber.TlvEnum)()),
|
|
129
178
|
/**
|
|
130
179
|
* This attribute shall specify the details of any current error condition being experienced on the device
|
|
131
180
|
* when the OperationalState attribute is populated with Error. Please see ErrorStateStruct for general
|
|
@@ -135,7 +184,7 @@ var RvcOperationalState;
|
|
|
135
184
|
*
|
|
136
185
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.5.6
|
|
137
186
|
*/
|
|
138
|
-
operationalError: (0, import_Cluster.Attribute)(5,
|
|
187
|
+
operationalError: (0, import_Cluster.Attribute)(5, RvcOperationalState2.TlvErrorStateStruct)
|
|
139
188
|
},
|
|
140
189
|
commands: {
|
|
141
190
|
/**
|
|
@@ -158,7 +207,7 @@ var RvcOperationalState;
|
|
|
158
207
|
*
|
|
159
208
|
* @see {@link MatterSpecification.v13.Cluster} § 7.4.5.1
|
|
160
209
|
*/
|
|
161
|
-
goHome: (0, import_Cluster.OptionalCommand)(128, import_TlvNoArguments.TlvNoArguments, 4,
|
|
210
|
+
goHome: (0, import_Cluster.OptionalCommand)(128, import_TlvNoArguments.TlvNoArguments, 4, RvcOperationalState2.TlvOperationalCommandResponse)
|
|
162
211
|
},
|
|
163
212
|
events: {
|
|
164
213
|
/**
|
|
@@ -169,7 +218,7 @@ var RvcOperationalState;
|
|
|
169
218
|
*
|
|
170
219
|
* @see {@link MatterSpecification.v13.Cluster} § 1.14.7.1
|
|
171
220
|
*/
|
|
172
|
-
operationalError: (0, import_Cluster.Event)(0, import_Cluster.EventPriority.Critical,
|
|
221
|
+
operationalError: (0, import_Cluster.Event)(0, import_Cluster.EventPriority.Critical, RvcOperationalState2.TlvOperationalErrorEvent),
|
|
173
222
|
/**
|
|
174
223
|
* This event is generated when the overall operation ends, successfully or otherwise. For example, the
|
|
175
224
|
* completion of a cleaning operation in a Robot Vacuum Cleaner, or the completion of a wash cycle in a
|
|
@@ -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,qBAOO;AACP,sBAAyB;AACzB,uBAA0B;AAC1B,yBAA4B;AAC5B,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,4BAA+B;AAC/B,qBAOO;AACP,sBAAyB;AACzB,uBAA0B;AAC1B,yBAA4B;AAC5B,uBAA6C;AAC7C,uBAAsD;AAEtD,4BAA+B;AAC/B,+BAA8D;AAE9D,6BAAgC;AA1BhC;AAAA;AAAA;AAAA;AAAA;AA4BO,IAAU;AAAA,CAAV,CAAUA,yBAAV;AAqBI,MAAK;AAAL,IAAKC,sBAAL;AAIH,IAAAA,oCAAA,oBAAiB,MAAjB;AAKA,IAAAA,oCAAA,cAAW,MAAX;AAKA,IAAAA,oCAAA,YAAS,MAAT;AAAA,KAdQ,mBAAAD,qBAAA,qBAAAA,qBAAA;AAsBL,EAAMA,qBAAA,gCAA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