Skip to content

Commit e41aaae

Browse files
zap_regen_all
1 parent dbadd3d commit e41aaae

File tree

10 files changed

+62
-21
lines changed

10 files changed

+62
-21
lines changed

src/controller/data_model/controller-clusters.matter

+3-3
Original file line numberDiff line numberDiff line change
@@ -7715,11 +7715,11 @@ cluster ThreadNetworkDirectory = 1107 {
77157715
}
77167716

77177717
/** Adds an entry to the ThreadNetworks list. */
7718-
command access(invoke: manage) AddNetwork(AddNetworkRequest): DefaultSuccess = 0;
7718+
timed command access(invoke: manage) AddNetwork(AddNetworkRequest): DefaultSuccess = 0;
77197719
/** Removes an entry from the ThreadNetworks list. */
7720-
command access(invoke: manage) RemoveNetwork(RemoveNetworkRequest): DefaultSuccess = 1;
7720+
timed command access(invoke: manage) RemoveNetwork(RemoveNetworkRequest): DefaultSuccess = 1;
77217721
/** Retrieves a Thread Operational Dataset from the ThreadNetworks list. */
7722-
command GetOperationalDataset(GetOperationalDatasetRequest): OperationalDatasetResponse = 2;
7722+
timed command GetOperationalDataset(GetOperationalDatasetRequest): OperationalDatasetResponse = 2;
77237723
}
77247724

77257725
/** This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. */

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

-9
Original file line numberDiff line numberDiff line change
@@ -53106,9 +53106,6 @@ public long initWithDevice(long devicePtr, int endpointId) {
5310653106
return 0L;
5310753107
}
5310853108

53109-
public void addNetwork(DefaultClusterCallback callback, byte[] operationalDataset) {
53110-
addNetwork(callback, operationalDataset, 0);
53111-
}
5311253109

5311353110
public void addNetwork(DefaultClusterCallback callback, byte[] operationalDataset, int timedInvokeTimeoutMs) {
5311453111
final long commandId = 0L;
@@ -53126,9 +53123,6 @@ public void onResponse(StructType invokeStructValue) {
5312653123
}}, commandId, commandArgs, timedInvokeTimeoutMs);
5312753124
}
5312853125

53129-
public void removeNetwork(DefaultClusterCallback callback, Long extendedPanID) {
53130-
removeNetwork(callback, extendedPanID, 0);
53131-
}
5313253126

5313353127
public void removeNetwork(DefaultClusterCallback callback, Long extendedPanID, int timedInvokeTimeoutMs) {
5313453128
final long commandId = 1L;
@@ -53146,9 +53140,6 @@ public void onResponse(StructType invokeStructValue) {
5314653140
}}, commandId, commandArgs, timedInvokeTimeoutMs);
5314753141
}
5314853142

53149-
public void getOperationalDataset(OperationalDatasetResponseCallback callback, Long extendedPanID) {
53150-
getOperationalDataset(callback, extendedPanID, 0);
53151-
}
5315253143

5315353144
public void getOperationalDataset(OperationalDatasetResponseCallback callback, Long extendedPanID, int timedInvokeTimeoutMs) {
5315453145
final long commandId = 2L;

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -26671,7 +26671,7 @@ public Map<String, Map<String, InteractionInfo>> getCommandMap() {
2667126671
((ChipClusters.ThreadNetworkDirectoryCluster) cluster)
2667226672
.addNetwork((DefaultClusterCallback) callback
2667326673
, (byte[])
26674-
commandArguments.get("operationalDataset")
26674+
commandArguments.get("operationalDataset"), 10000
2667526675
);
2667626676
},
2667726677
() -> new DelegatedDefaultClusterCallback(),
@@ -26688,7 +26688,7 @@ public Map<String, Map<String, InteractionInfo>> getCommandMap() {
2668826688
((ChipClusters.ThreadNetworkDirectoryCluster) cluster)
2668926689
.removeNetwork((DefaultClusterCallback) callback
2669026690
, (Long)
26691-
commandArguments.get("extendedPanID")
26691+
commandArguments.get("extendedPanID"), 10000
2669226692
);
2669326693
},
2669426694
() -> new DelegatedDefaultClusterCallback(),
@@ -26707,7 +26707,7 @@ public Map<String, Map<String, InteractionInfo>> getCommandMap() {
2670726707
, (Long)
2670826708
commandArguments.get("extendedPanID")
2670926709

26710-
);
26710+
, 10000);
2671126711
},
2671226712
() -> new DelegatedThreadNetworkDirectoryClusterOperationalDatasetResponseCallback(),
2671326713
threadNetworkDirectorygetOperationalDatasetCommandParams

src/controller/java/generated/java/matter/controller/cluster/clusters/ThreadNetworkDirectoryCluster.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class ThreadNetworkDirectoryCluster(
110110
object SubscriptionEstablished : AttributeListAttributeSubscriptionState()
111111
}
112112

113-
suspend fun addNetwork(operationalDataset: ByteArray, timedInvokeTimeout: Duration? = null) {
113+
suspend fun addNetwork(operationalDataset: ByteArray, timedInvokeTimeout: Duration) {
114114
val commandId: UInt = 0u
115115

116116
val tlvWriter = TlvWriter()
@@ -131,7 +131,7 @@ class ThreadNetworkDirectoryCluster(
131131
logger.log(Level.FINE, "Invoke command succeeded: ${response}")
132132
}
133133

134-
suspend fun removeNetwork(extendedPanID: ULong, timedInvokeTimeout: Duration? = null) {
134+
suspend fun removeNetwork(extendedPanID: ULong, timedInvokeTimeout: Duration) {
135135
val commandId: UInt = 1u
136136

137137
val tlvWriter = TlvWriter()
@@ -154,7 +154,7 @@ class ThreadNetworkDirectoryCluster(
154154

155155
suspend fun getOperationalDataset(
156156
extendedPanID: ULong,
157-
timedInvokeTimeout: Duration? = null
157+
timedInvokeTimeout: Duration
158158
): OperationalDatasetResponse {
159159
val commandId: UInt = 2u
160160

src/controller/python/chip/clusters/Objects.py

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/darwin/Framework/CHIP/zap-generated/MTRCommandTimedCheck.mm

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zzz_generated/app-common/app-common/zap-generated/cluster-objects.h

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)