You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/controller/java/generated/java/chip/devicecontroller/cluster/structs/TlsClientManagementClusterTLSEndpointStruct.kt
+3-11
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,6 @@
17
17
packagechip.devicecontroller.cluster.structs
18
18
19
19
importchip.devicecontroller.cluster.*
20
-
importjava.util.Optional
21
20
importmatter.tlv.ContextSpecificTag
22
21
importmatter.tlv.Tag
23
22
importmatter.tlv.TlvReader
@@ -28,7 +27,7 @@ class TlsClientManagementClusterTLSEndpointStruct(
28
27
valhostname:ByteArray,
29
28
valport:UInt,
30
29
valcaid:UInt,
31
-
valccdid:Optional<UInt>?,
30
+
valccdid:UInt?,
32
31
valstatus:UInt,
33
32
) {
34
33
overridefuntoString(): String= buildString {
@@ -50,10 +49,7 @@ class TlsClientManagementClusterTLSEndpointStruct(
50
49
put(ContextSpecificTag(TAG_PORT), port)
51
50
put(ContextSpecificTag(TAG_CAID), caid)
52
51
if (ccdid !=null) {
53
-
if (ccdid.isPresent) {
54
-
val optccdid = ccdid.get()
55
-
put(ContextSpecificTag(TAG_CCDID), optccdid)
56
-
}
52
+
put(ContextSpecificTag(TAG_CCDID), ccdid)
57
53
} else {
58
54
putNull(ContextSpecificTag(TAG_CCDID))
59
55
}
@@ -78,11 +74,7 @@ class TlsClientManagementClusterTLSEndpointStruct(
78
74
val caid = tlvReader.getUInt(ContextSpecificTag(TAG_CAID))
79
75
val ccdid =
80
76
if (!tlvReader.isNull()) {
81
-
if (tlvReader.isNextTag(ContextSpecificTag(TAG_CCDID))) {
0 commit comments