@@ -9294,22 +9294,22 @@ public String toString() {
9294
9294
}
9295
9295
public static class ServiceAreaClusterLandmarkInfoStruct {
9296
9296
public Integer landmarkTag;
9297
- public @Nullable Integer positionTag ;
9297
+ public @Nullable Integer relativePositionTag ;
9298
9298
private static final long LANDMARK_TAG_ID = 0L;
9299
- private static final long POSITION_TAG_ID = 1L;
9299
+ private static final long RELATIVE_POSITION_TAG_ID = 1L;
9300
9300
9301
9301
public ServiceAreaClusterLandmarkInfoStruct(
9302
9302
Integer landmarkTag,
9303
- @Nullable Integer positionTag
9303
+ @Nullable Integer relativePositionTag
9304
9304
) {
9305
9305
this.landmarkTag = landmarkTag;
9306
- this.positionTag = positionTag ;
9306
+ this.relativePositionTag = relativePositionTag ;
9307
9307
}
9308
9308
9309
9309
public StructType encodeTlv() {
9310
9310
ArrayList<StructElement> values = new ArrayList<>();
9311
9311
values.add(new StructElement(LANDMARK_TAG_ID, new UIntType(landmarkTag)));
9312
- values.add(new StructElement(POSITION_TAG_ID, positionTag != null ? new UIntType(positionTag ) : new NullType()));
9312
+ values.add(new StructElement(RELATIVE_POSITION_TAG_ID, relativePositionTag != null ? new UIntType(relativePositionTag ) : new NullType()));
9313
9313
9314
9314
return new StructType(values);
9315
9315
}
@@ -9319,23 +9319,23 @@ public static ServiceAreaClusterLandmarkInfoStruct decodeTlv(BaseTLVType tlvValu
9319
9319
return null;
9320
9320
}
9321
9321
Integer landmarkTag = null;
9322
- @Nullable Integer positionTag = null;
9322
+ @Nullable Integer relativePositionTag = null;
9323
9323
for (StructElement element: ((StructType)tlvValue).value()) {
9324
9324
if (element.contextTagNum() == LANDMARK_TAG_ID) {
9325
9325
if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
9326
9326
UIntType castingValue = element.value(UIntType.class);
9327
9327
landmarkTag = castingValue.value(Integer.class);
9328
9328
}
9329
- } else if (element.contextTagNum() == POSITION_TAG_ID ) {
9329
+ } else if (element.contextTagNum() == RELATIVE_POSITION_TAG_ID ) {
9330
9330
if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
9331
9331
UIntType castingValue = element.value(UIntType.class);
9332
- positionTag = castingValue.value(Integer.class);
9332
+ relativePositionTag = castingValue.value(Integer.class);
9333
9333
}
9334
9334
}
9335
9335
}
9336
9336
return new ServiceAreaClusterLandmarkInfoStruct(
9337
9337
landmarkTag,
9338
- positionTag
9338
+ relativePositionTag
9339
9339
);
9340
9340
}
9341
9341
@@ -9346,8 +9346,8 @@ public String toString() {
9346
9346
output.append("\tlandmarkTag: ");
9347
9347
output.append(landmarkTag);
9348
9348
output.append("\n");
9349
- output.append("\tpositionTag : ");
9350
- output.append(positionTag );
9349
+ output.append("\trelativePositionTag : ");
9350
+ output.append(relativePositionTag );
9351
9351
output.append("\n");
9352
9352
output.append("}\n");
9353
9353
return output.toString();
@@ -9417,26 +9417,26 @@ public String toString() {
9417
9417
public static class ServiceAreaClusterAreaStruct {
9418
9418
public Long areaID;
9419
9419
public @Nullable Long mapID;
9420
- public ChipStructs.ServiceAreaClusterAreaInfoStruct areaDesc ;
9420
+ public ChipStructs.ServiceAreaClusterAreaInfoStruct areaInfo ;
9421
9421
private static final long AREA_ID_ID = 0L;
9422
9422
private static final long MAP_ID_ID = 1L;
9423
- private static final long AREA_DESC_ID = 2L;
9423
+ private static final long AREA_INFO_ID = 2L;
9424
9424
9425
9425
public ServiceAreaClusterAreaStruct(
9426
9426
Long areaID,
9427
9427
@Nullable Long mapID,
9428
- ChipStructs.ServiceAreaClusterAreaInfoStruct areaDesc
9428
+ ChipStructs.ServiceAreaClusterAreaInfoStruct areaInfo
9429
9429
) {
9430
9430
this.areaID = areaID;
9431
9431
this.mapID = mapID;
9432
- this.areaDesc = areaDesc ;
9432
+ this.areaInfo = areaInfo ;
9433
9433
}
9434
9434
9435
9435
public StructType encodeTlv() {
9436
9436
ArrayList<StructElement> values = new ArrayList<>();
9437
9437
values.add(new StructElement(AREA_ID_ID, new UIntType(areaID)));
9438
9438
values.add(new StructElement(MAP_ID_ID, mapID != null ? new UIntType(mapID) : new NullType()));
9439
- values.add(new StructElement(AREA_DESC_ID, areaDesc .encodeTlv()));
9439
+ values.add(new StructElement(AREA_INFO_ID, areaInfo .encodeTlv()));
9440
9440
9441
9441
return new StructType(values);
9442
9442
}
@@ -9447,7 +9447,7 @@ public static ServiceAreaClusterAreaStruct decodeTlv(BaseTLVType tlvValue) {
9447
9447
}
9448
9448
Long areaID = null;
9449
9449
@Nullable Long mapID = null;
9450
- ChipStructs.ServiceAreaClusterAreaInfoStruct areaDesc = null;
9450
+ ChipStructs.ServiceAreaClusterAreaInfoStruct areaInfo = null;
9451
9451
for (StructElement element: ((StructType)tlvValue).value()) {
9452
9452
if (element.contextTagNum() == AREA_ID_ID) {
9453
9453
if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
@@ -9459,17 +9459,17 @@ public static ServiceAreaClusterAreaStruct decodeTlv(BaseTLVType tlvValue) {
9459
9459
UIntType castingValue = element.value(UIntType.class);
9460
9460
mapID = castingValue.value(Long.class);
9461
9461
}
9462
- } else if (element.contextTagNum() == AREA_DESC_ID ) {
9462
+ } else if (element.contextTagNum() == AREA_INFO_ID ) {
9463
9463
if (element.value(BaseTLVType.class).type() == TLVType.Struct) {
9464
9464
StructType castingValue = element.value(StructType.class);
9465
- areaDesc = ChipStructs.ServiceAreaClusterAreaInfoStruct.decodeTlv(castingValue);
9465
+ areaInfo = ChipStructs.ServiceAreaClusterAreaInfoStruct.decodeTlv(castingValue);
9466
9466
}
9467
9467
}
9468
9468
}
9469
9469
return new ServiceAreaClusterAreaStruct(
9470
9470
areaID,
9471
9471
mapID,
9472
- areaDesc
9472
+ areaInfo
9473
9473
);
9474
9474
}
9475
9475
@@ -9483,8 +9483,8 @@ public String toString() {
9483
9483
output.append("\tmapID: ");
9484
9484
output.append(mapID);
9485
9485
output.append("\n");
9486
- output.append("\tareaDesc : ");
9487
- output.append(areaDesc );
9486
+ output.append("\tareaInfo : ");
9487
+ output.append(areaInfo );
9488
9488
output.append("\n");
9489
9489
output.append("}\n");
9490
9490
return output.toString();
0 commit comments