diff --git a/src/controller/java/src/chip/devicecontroller/ICDDeviceInfo.java b/src/controller/java/src/chip/devicecontroller/ICDDeviceInfo.java index 70cbeb61cff5f4..2171c2a1639dcc 100644 --- a/src/controller/java/src/chip/devicecontroller/ICDDeviceInfo.java +++ b/src/controller/java/src/chip/devicecontroller/ICDDeviceInfo.java @@ -62,6 +62,7 @@ public int getBitIndex() { private final long icdNodeId; private final long icdCounter; private final long monitoredSubject; + private final Short clientType; private final long fabricId; private final int fabricIndex; @@ -75,6 +76,7 @@ public int getBitIndex() { long icdNodeId, long icdCounter, long monitoredSubject, + Short clientType, long fabricId, int fabricIndex) { this.symmetricKey = symmetricKey; @@ -86,6 +88,7 @@ public int getBitIndex() { this.icdNodeId = icdNodeId; this.icdCounter = icdCounter; this.monitoredSubject = monitoredSubject; + this.clientType = clientType; this.fabricId = fabricId; this.fabricIndex = fabricIndex; } @@ -100,6 +103,7 @@ public int getBitIndex() { long icdNodeId, long icdCounter, long monitoredSubject, + Short clientType, long fabricId, int fabricIndex) { this.symmetricKey = symmetricKey; @@ -110,6 +114,7 @@ public int getBitIndex() { this.icdNodeId = icdNodeId; this.icdCounter = icdCounter; this.monitoredSubject = monitoredSubject; + this.clientType = clientType; this.fabricId = fabricId; this.fabricIndex = fabricIndex; @@ -167,6 +172,11 @@ public long getMonitoredSubject() { return monitoredSubject; } + /** Returns the ClientType. */ + public Short getClientType() { + return clientType + } + /** Returns the Fabric Id */ public long getFabricId() { return fabricId; @@ -190,6 +200,8 @@ public String toString() { + icdCounter + "\n\tmonitoredSubject : " + monitoredSubject + + "\n clientType : " + + clientType + "\n\tfabricId : " + fabricId + "\n\tfabricIndex : "