diff --git a/src/controller/java/src/matter/onboardingpayload/QRCodeOnboardingPayloadParser.kt b/src/controller/java/src/matter/onboardingpayload/QRCodeOnboardingPayloadParser.kt index 310e452be9f1fb..5635b082315897 100644 --- a/src/controller/java/src/matter/onboardingpayload/QRCodeOnboardingPayloadParser.kt +++ b/src/controller/java/src/matter/onboardingpayload/QRCodeOnboardingPayloadParser.kt @@ -102,8 +102,9 @@ class QRCodeOnboardingPayloadParser(private val mBase38Representation: String) { if (tag is ContextSpecificTag) { info.tag = tag.tagNumber } - val value = element.value + // update values + val value = element.value if (value is IntValue) { info.int32 = value.value.toInt() info.type = OptionalQRCodeInfoType.TYPE_INT32