Skip to content

Commit 6bea5e9

Browse files
committed
Regenerated zap files.
1 parent 2f17ccc commit 6bea5e9

39 files changed

+512
-491
lines changed

src/controller/data_model/controller-clusters.matter

+11-11
Original file line numberDiff line numberDiff line change
@@ -6197,7 +6197,7 @@ cluster ServiceArea = 336 {
61976197
kInvalidSet = 4;
61986198
}
61996199

6200-
enum SkipCurrentStatus : enum8 {
6200+
enum SkipCurrentLocationStatus : enum8 {
62016201
kSuccess = 0;
62026202
kInvalidLocationList = 1;
62036203
kInvalidInMode = 2;
@@ -6215,25 +6215,25 @@ cluster ServiceArea = 336 {
62156215
}
62166216

62176217
struct LocationInfoStruct {
6218-
nullable HomeLocationStruct homeLocationInfo = 0;
6218+
nullable HomeLocationStruct locationInfo = 0;
62196219
nullable LandmarkTag landmarkTag = 1;
62206220
nullable PositionTag positionTag = 2;
62216221
nullable FloorSurfaceTag surfaceTag = 3;
62226222
}
62236223

62246224
struct LocationStruct {
6225-
int32u locationId = 0;
6226-
nullable int8u mapId = 1;
6225+
int32u locationID = 0;
6226+
nullable int8u mapID = 1;
62276227
LocationInfoStruct locationInfo = 2;
62286228
}
62296229

62306230
struct MapStruct {
6231-
int8u mapId = 0;
6231+
int8u mapID = 0;
62326232
char_string<64> name = 1;
62336233
}
62346234

62356235
struct ProgressStruct {
6236-
int32u locationId = 0;
6236+
int32u locationID = 0;
62376237
OperationalStatusEnum status = 1;
62386238
optional nullable elapsed_s totalOperationalTime = 2;
62396239
optional nullable elapsed_s estimatedTime = 3;
@@ -6258,18 +6258,18 @@ cluster ServiceArea = 336 {
62586258

62596259
response struct SelectLocationsResponse = 1 {
62606260
SelectLocationsStatus status = 0;
6261-
char_string<256> statusText = 1;
6261+
optional char_string<256> statusText = 1;
62626262
}
62636263

6264-
response struct SkipCurrentResponse = 3 {
6265-
SkipCurrentStatus status = 0;
6266-
char_string<256> statusText = 1;
6264+
response struct SkipCurrentLocationResponse = 3 {
6265+
SkipCurrentLocationStatus status = 0;
6266+
optional char_string<256> statusText = 1;
62676267
}
62686268

62696269
/** Command used to select a set of device locations, where the device is to operate */
62706270
command SelectLocations(SelectLocationsRequest): SelectLocationsResponse = 0;
62716271
/** This command is used to skip the current location where the device operates. */
6272-
command SkipCurrent(): SkipCurrentResponse = 2;
6272+
command SkipCurrentLocation(): SkipCurrentLocationResponse = 2;
62736273
}
62746274

62756275
/** An interface for configuring and controlling pumps. */

src/controller/java/generated/java/chip/devicecontroller/ChipClusters.java

+10-10
Original file line numberDiff line numberDiff line change
@@ -37998,7 +37998,7 @@ public void onResponse(StructType invokeStructValue) {
3799837998
final long statusFieldID = 0L;
3799937999
Integer status = null;
3800038000
final long statusTextFieldID = 1L;
38001-
String statusText = null;
38001+
Optional<String> statusText = Optional.empty();
3800238002
for (StructElement element: invokeStructValue.value()) {
3800338003
if (element.contextTagNum() == statusFieldID) {
3800438004
if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
@@ -38008,19 +38008,19 @@ public void onResponse(StructType invokeStructValue) {
3800838008
} else if (element.contextTagNum() == statusTextFieldID) {
3800938009
if (element.value(BaseTLVType.class).type() == TLVType.String) {
3801038010
StringType castingValue = element.value(StringType.class);
38011-
statusText = castingValue.value(String.class);
38011+
statusText = Optional.of(castingValue.value(String.class));
3801238012
}
3801338013
}
3801438014
}
3801538015
callback.onSuccess(status, statusText);
3801638016
}}, commandId, commandArgs, timedInvokeTimeoutMs);
3801738017
}
3801838018

38019-
public void skipCurrent(SkipCurrentResponseCallback callback) {
38020-
skipCurrent(callback, 0);
38019+
public void skipCurrentLocation(SkipCurrentLocationResponseCallback callback) {
38020+
skipCurrentLocation(callback, 0);
3802138021
}
3802238022

38023-
public void skipCurrent(SkipCurrentResponseCallback callback, int timedInvokeTimeoutMs) {
38023+
public void skipCurrentLocation(SkipCurrentLocationResponseCallback callback, int timedInvokeTimeoutMs) {
3802438024
final long commandId = 2L;
3802538025

3802638026
ArrayList<StructElement> elements = new ArrayList<>();
@@ -38031,7 +38031,7 @@ public void onResponse(StructType invokeStructValue) {
3803138031
final long statusFieldID = 0L;
3803238032
Integer status = null;
3803338033
final long statusTextFieldID = 1L;
38034-
String statusText = null;
38034+
Optional<String> statusText = Optional.empty();
3803538035
for (StructElement element: invokeStructValue.value()) {
3803638036
if (element.contextTagNum() == statusFieldID) {
3803738037
if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
@@ -38041,7 +38041,7 @@ public void onResponse(StructType invokeStructValue) {
3804138041
} else if (element.contextTagNum() == statusTextFieldID) {
3804238042
if (element.value(BaseTLVType.class).type() == TLVType.String) {
3804338043
StringType castingValue = element.value(StringType.class);
38044-
statusText = castingValue.value(String.class);
38044+
statusText = Optional.of(castingValue.value(String.class));
3804538045
}
3804638046
}
3804738047
}
@@ -38050,11 +38050,11 @@ public void onResponse(StructType invokeStructValue) {
3805038050
}
3805138051

3805238052
public interface SelectLocationsResponseCallback extends BaseClusterCallback {
38053-
void onSuccess(Integer status, String statusText);
38053+
void onSuccess(Integer status, Optional<String> statusText);
3805438054
}
3805538055

38056-
public interface SkipCurrentResponseCallback extends BaseClusterCallback {
38057-
void onSuccess(Integer status, String statusText);
38056+
public interface SkipCurrentLocationResponseCallback extends BaseClusterCallback {
38057+
void onSuccess(Integer status, Optional<String> statusText);
3805838058
}
3805938059

3806038060
public interface SupportedLocationsAttributeCallback extends BaseAttributeCallback {

0 commit comments

Comments
 (0)