@@ -35125,6 +35125,8 @@ public void onResponse(StructType invokeStructValue) {
35125
35125
@Nullable Integer lastModifiedFabricIndex = null;
35126
35126
final long nextCredentialIndexFieldID = 4L;
35127
35127
@Nullable Integer nextCredentialIndex = null;
35128
+ final long credentialDataFieldID = 5L;
35129
+ @Nullable Optional<byte[]> credentialData = null;
35128
35130
for (StructElement element: invokeStructValue.value()) {
35129
35131
if (element.contextTagNum() == credentialExistsFieldID) {
35130
35132
if (element.value(BaseTLVType.class).type() == TLVType.Boolean) {
@@ -35151,9 +35153,14 @@ public void onResponse(StructType invokeStructValue) {
35151
35153
UIntType castingValue = element.value(UIntType.class);
35152
35154
nextCredentialIndex = castingValue.value(Integer.class);
35153
35155
}
35156
+ } else if (element.contextTagNum() == credentialDataFieldID) {
35157
+ if (element.value(BaseTLVType.class).type() == TLVType.ByteArray) {
35158
+ ByteArrayType castingValue = element.value(ByteArrayType.class);
35159
+ credentialData = Optional.of(castingValue.value(byte[].class));
35160
+ }
35154
35161
}
35155
35162
}
35156
- callback.onSuccess(credentialExists, userIndex, creatorFabricIndex, lastModifiedFabricIndex, nextCredentialIndex);
35163
+ callback.onSuccess(credentialExists, userIndex, creatorFabricIndex, lastModifiedFabricIndex, nextCredentialIndex, credentialData );
35157
35164
}}, commandId, commandArgs, timedInvokeTimeoutMs);
35158
35165
}
35159
35166
@@ -35254,7 +35261,7 @@ public interface SetCredentialResponseCallback extends BaseClusterCallback {
35254
35261
}
35255
35262
35256
35263
public interface GetCredentialStatusResponseCallback extends BaseClusterCallback {
35257
- void onSuccess(Boolean credentialExists, @Nullable Integer userIndex, @Nullable Integer creatorFabricIndex, @Nullable Integer lastModifiedFabricIndex, @Nullable Integer nextCredentialIndex);
35264
+ void onSuccess(Boolean credentialExists, @Nullable Integer userIndex, @Nullable Integer creatorFabricIndex, @Nullable Integer lastModifiedFabricIndex, @Nullable Integer nextCredentialIndex, @Nullable Optional<byte[]> credentialData );
35258
35265
}
35259
35266
35260
35267
public interface LockStateAttributeCallback extends BaseAttributeCallback {
0 commit comments