Skip to content

Commit

Permalink
Regenerated code after removing the description attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
hicklin committed Jun 15, 2023
1 parent aac67b3 commit d98092b
Show file tree
Hide file tree
Showing 15 changed files with 175 additions and 867 deletions.
45 changes: 20 additions & 25 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2811,11 +2811,10 @@ client cluster LaundryWasherMode = 81 {
ModeTagStruct modeTags[] = 2;
}

readonly attribute char_string<64> description = 0;
readonly attribute ModeOptionStruct supportedModes[] = 1;
readonly attribute int8u currentMode = 2;
attribute optional nullable int8u startUpMode = 3;
attribute optional nullable int8u onMode = 4;
readonly attribute ModeOptionStruct supportedModes[] = 0;
readonly attribute int8u currentMode = 1;
attribute optional nullable int8u startUpMode = 2;
attribute optional nullable int8u onMode = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down Expand Up @@ -2859,11 +2858,10 @@ client cluster RefrigeratorAndTemperatureControlledCabinetMode = 82 {
ModeTagStruct modeTags[] = 2;
}

readonly attribute char_string<64> description = 0;
readonly attribute ModeOptionStruct supportedModes[] = 1;
readonly attribute int8u currentMode = 2;
attribute optional nullable int8u startUpMode = 3;
attribute optional nullable int8u onMode = 4;
readonly attribute ModeOptionStruct supportedModes[] = 0;
readonly attribute int8u currentMode = 1;
attribute optional nullable int8u startUpMode = 2;
attribute optional nullable int8u onMode = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down Expand Up @@ -2937,11 +2935,10 @@ client cluster RvcRunMode = 84 {
ModeTagStruct modeTags[] = 2;
}

readonly attribute char_string<64> description = 0;
readonly attribute ModeOptionStruct supportedModes[] = 1;
readonly attribute int8u currentMode = 2;
attribute optional nullable int8u startUpMode = 3;
attribute optional nullable int8u onMode = 4;
readonly attribute ModeOptionStruct supportedModes[] = 0;
readonly attribute int8u currentMode = 1;
attribute optional nullable int8u startUpMode = 2;
attribute optional nullable int8u onMode = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down Expand Up @@ -2990,11 +2987,10 @@ client cluster RvcCleanMode = 85 {
ModeTagStruct modeTags[] = 2;
}

readonly attribute char_string<64> description = 0;
readonly attribute ModeOptionStruct supportedModes[] = 1;
readonly attribute int8u currentMode = 2;
attribute optional nullable int8u startUpMode = 3;
attribute optional nullable int8u onMode = 4;
readonly attribute ModeOptionStruct supportedModes[] = 0;
readonly attribute int8u currentMode = 1;
attribute optional nullable int8u startUpMode = 2;
attribute optional nullable int8u onMode = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down Expand Up @@ -3092,11 +3088,10 @@ client cluster DishwasherMode = 89 {
ModeTagStruct modeTags[] = 2;
}

readonly attribute char_string<64> description = 0;
readonly attribute ModeOptionStruct supportedModes[] = 1;
readonly attribute int8u currentMode = 2;
attribute optional nullable int8u startUpMode = 3;
attribute optional nullable int8u onMode = 4;
readonly attribute ModeOptionStruct supportedModes[] = 0;
readonly attribute int8u currentMode = 1;
attribute optional nullable int8u startUpMode = 2;
attribute optional nullable int8u onMode = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6322,11 +6322,10 @@ public long getID() {
}

public enum Attribute {
Description(0L),
SupportedModes(1L),
CurrentMode(2L),
StartUpMode(3L),
OnMode(4L),
SupportedModes(0L),
CurrentMode(1L),
StartUpMode(2L),
OnMode(3L),
GeneratedCommandList(65528L),
AcceptedCommandList(65529L),
EventList(65530L),
Expand Down Expand Up @@ -6445,11 +6444,10 @@ public long getID() {
}

public enum Attribute {
Description(0L),
SupportedModes(1L),
CurrentMode(2L),
StartUpMode(3L),
OnMode(4L),
SupportedModes(0L),
CurrentMode(1L),
StartUpMode(2L),
OnMode(3L),
GeneratedCommandList(65528L),
AcceptedCommandList(65529L),
EventList(65530L),
Expand Down Expand Up @@ -6672,11 +6670,10 @@ public long getID() {
}

public enum Attribute {
Description(0L),
SupportedModes(1L),
CurrentMode(2L),
StartUpMode(3L),
OnMode(4L),
SupportedModes(0L),
CurrentMode(1L),
StartUpMode(2L),
OnMode(3L),
GeneratedCommandList(65528L),
AcceptedCommandList(65529L),
EventList(65530L),
Expand Down Expand Up @@ -6795,11 +6792,10 @@ public long getID() {
}

public enum Attribute {
Description(0L),
SupportedModes(1L),
CurrentMode(2L),
StartUpMode(3L),
OnMode(4L),
SupportedModes(0L),
CurrentMode(1L),
StartUpMode(2L),
OnMode(3L),
GeneratedCommandList(65528L),
AcceptedCommandList(65529L),
EventList(65530L),
Expand Down Expand Up @@ -7145,11 +7141,10 @@ public long getID() {
}

public enum Attribute {
Description(0L),
SupportedModes(1L),
CurrentMode(2L),
StartUpMode(3L),
OnMode(4L),
SupportedModes(0L),
CurrentMode(1L),
StartUpMode(2L),
OnMode(3L),
GeneratedCommandList(65528L),
AcceptedCommandList(65529L),
EventList(65530L),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6057,18 +6057,7 @@ private static Map<String, InteractionInfo> readModeSelectInteractionInfo() {
return result;
}
private static Map<String, InteractionInfo> readLaundryWasherModeInteractionInfo() {
Map<String, InteractionInfo> result = new LinkedHashMap<>();Map<String, CommandParameterInfo> readLaundryWasherModeDescriptionCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
InteractionInfo readLaundryWasherModeDescriptionAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
((ChipClusters.LaundryWasherModeCluster) cluster).readDescriptionAttribute(
(ChipClusters.CharStringAttributeCallback) callback
);
},
() -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(),
readLaundryWasherModeDescriptionCommandParams
);
result.put("readDescriptionAttribute", readLaundryWasherModeDescriptionAttributeInteractionInfo);
Map<String, CommandParameterInfo> readLaundryWasherModeSupportedModesCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
Map<String, InteractionInfo> result = new LinkedHashMap<>();Map<String, CommandParameterInfo> readLaundryWasherModeSupportedModesCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
InteractionInfo readLaundryWasherModeSupportedModesAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
((ChipClusters.LaundryWasherModeCluster) cluster).readSupportedModesAttribute(
Expand Down Expand Up @@ -6182,18 +6171,7 @@ private static Map<String, InteractionInfo> readLaundryWasherModeInteractionInfo
return result;
}
private static Map<String, InteractionInfo> readRefrigeratorAndTemperatureControlledCabinetModeInteractionInfo() {
Map<String, InteractionInfo> result = new LinkedHashMap<>();Map<String, CommandParameterInfo> readRefrigeratorAndTemperatureControlledCabinetModeDescriptionCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
InteractionInfo readRefrigeratorAndTemperatureControlledCabinetModeDescriptionAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
((ChipClusters.RefrigeratorAndTemperatureControlledCabinetModeCluster) cluster).readDescriptionAttribute(
(ChipClusters.CharStringAttributeCallback) callback
);
},
() -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(),
readRefrigeratorAndTemperatureControlledCabinetModeDescriptionCommandParams
);
result.put("readDescriptionAttribute", readRefrigeratorAndTemperatureControlledCabinetModeDescriptionAttributeInteractionInfo);
Map<String, CommandParameterInfo> readRefrigeratorAndTemperatureControlledCabinetModeSupportedModesCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
Map<String, InteractionInfo> result = new LinkedHashMap<>();Map<String, CommandParameterInfo> readRefrigeratorAndTemperatureControlledCabinetModeSupportedModesCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
InteractionInfo readRefrigeratorAndTemperatureControlledCabinetModeSupportedModesAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
((ChipClusters.RefrigeratorAndTemperatureControlledCabinetModeCluster) cluster).readSupportedModesAttribute(
Expand Down Expand Up @@ -6421,18 +6399,7 @@ private static Map<String, InteractionInfo> readWasherControlsInteractionInfo()
return result;
}
private static Map<String, InteractionInfo> readRvcRunModeInteractionInfo() {
Map<String, InteractionInfo> result = new LinkedHashMap<>();Map<String, CommandParameterInfo> readRvcRunModeDescriptionCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
InteractionInfo readRvcRunModeDescriptionAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
((ChipClusters.RvcRunModeCluster) cluster).readDescriptionAttribute(
(ChipClusters.CharStringAttributeCallback) callback
);
},
() -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(),
readRvcRunModeDescriptionCommandParams
);
result.put("readDescriptionAttribute", readRvcRunModeDescriptionAttributeInteractionInfo);
Map<String, CommandParameterInfo> readRvcRunModeSupportedModesCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
Map<String, InteractionInfo> result = new LinkedHashMap<>();Map<String, CommandParameterInfo> readRvcRunModeSupportedModesCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
InteractionInfo readRvcRunModeSupportedModesAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
((ChipClusters.RvcRunModeCluster) cluster).readSupportedModesAttribute(
Expand Down Expand Up @@ -6546,18 +6513,7 @@ private static Map<String, InteractionInfo> readRvcRunModeInteractionInfo() {
return result;
}
private static Map<String, InteractionInfo> readRvcCleanModeInteractionInfo() {
Map<String, InteractionInfo> result = new LinkedHashMap<>();Map<String, CommandParameterInfo> readRvcCleanModeDescriptionCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
InteractionInfo readRvcCleanModeDescriptionAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
((ChipClusters.RvcCleanModeCluster) cluster).readDescriptionAttribute(
(ChipClusters.CharStringAttributeCallback) callback
);
},
() -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(),
readRvcCleanModeDescriptionCommandParams
);
result.put("readDescriptionAttribute", readRvcCleanModeDescriptionAttributeInteractionInfo);
Map<String, CommandParameterInfo> readRvcCleanModeSupportedModesCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
Map<String, InteractionInfo> result = new LinkedHashMap<>();Map<String, CommandParameterInfo> readRvcCleanModeSupportedModesCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
InteractionInfo readRvcCleanModeSupportedModesAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
((ChipClusters.RvcCleanModeCluster) cluster).readSupportedModesAttribute(
Expand Down Expand Up @@ -6899,18 +6855,7 @@ private static Map<String, InteractionInfo> readRefrigeratorAlarmInteractionInfo
return result;
}
private static Map<String, InteractionInfo> readDishwasherModeInteractionInfo() {
Map<String, InteractionInfo> result = new LinkedHashMap<>();Map<String, CommandParameterInfo> readDishwasherModeDescriptionCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
InteractionInfo readDishwasherModeDescriptionAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
((ChipClusters.DishwasherModeCluster) cluster).readDescriptionAttribute(
(ChipClusters.CharStringAttributeCallback) callback
);
},
() -> new ClusterInfoMapping.DelegatedCharStringAttributeCallback(),
readDishwasherModeDescriptionCommandParams
);
result.put("readDescriptionAttribute", readDishwasherModeDescriptionAttributeInteractionInfo);
Map<String, CommandParameterInfo> readDishwasherModeSupportedModesCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
Map<String, InteractionInfo> result = new LinkedHashMap<>();Map<String, CommandParameterInfo> readDishwasherModeSupportedModesCommandParams = new LinkedHashMap<String, CommandParameterInfo>();
InteractionInfo readDishwasherModeSupportedModesAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
((ChipClusters.DishwasherModeCluster) cluster).readSupportedModesAttribute(
Expand Down
60 changes: 0 additions & 60 deletions src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d98092b

Please sign in to comment.