Skip to content

Commit 7085588

Browse files
[ICD] Fix ICDDeviceInfo (project-chip#35340)
1 parent 0e76616 commit 7085588

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/controller/java/src/chip/devicecontroller/ICDDeviceInfo.java

+13-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public int getBitIndex() {
6060
private final long activeModeDuration;
6161
private final int activeModeThreshold;
6262
private final long icdNodeId;
63+
private final long checkInNodeId;
6364
private final long icdCounter;
6465
private final long monitoredSubject;
6566
private final long fabricId;
@@ -73,6 +74,7 @@ public int getBitIndex() {
7374
long activeModeDuration,
7475
int activeModeThreshold,
7576
long icdNodeId,
77+
long checkInNodeId,
7678
long icdCounter,
7779
long monitoredSubject,
7880
long fabricId,
@@ -84,6 +86,7 @@ public int getBitIndex() {
8486
this.activeModeDuration = activeModeDuration;
8587
this.activeModeThreshold = activeModeThreshold;
8688
this.icdNodeId = icdNodeId;
89+
this.checkInNodeId = checkInNodeId;
8790
this.icdCounter = icdCounter;
8891
this.monitoredSubject = monitoredSubject;
8992
this.fabricId = fabricId;
@@ -98,6 +101,7 @@ public int getBitIndex() {
98101
long activeModeDuration,
99102
int activeModeThreshold,
100103
long icdNodeId,
104+
long checkInNodeId,
101105
long icdCounter,
102106
long monitoredSubject,
103107
long fabricId,
@@ -108,6 +112,7 @@ public int getBitIndex() {
108112
this.activeModeDuration = activeModeDuration;
109113
this.activeModeThreshold = activeModeThreshold;
110114
this.icdNodeId = icdNodeId;
115+
this.checkInNodeId = checkInNodeId;
111116
this.icdCounter = icdCounter;
112117
this.monitoredSubject = monitoredSubject;
113118
this.fabricId = fabricId;
@@ -152,11 +157,16 @@ public int getActiveModeThreshold() {
152157
return activeModeThreshold;
153158
}
154159

155-
/** Returns the ICD Node Id. */
160+
/** Returns the ICD peer Node Id. */
156161
public long getIcdNodeId() {
157162
return icdNodeId;
158163
}
159164

165+
/** Returns the checkIn Node Id. */
166+
public long getIcdCheckInNodeId() {
167+
return checkInNodeId;
168+
}
169+
160170
/** Returns the ICD Counter. */
161171
public long getIcdCounter() {
162172
return icdCounter;
@@ -186,6 +196,8 @@ public String toString() {
186196
+ userActiveModeTriggerInstruction
187197
+ "\n\ticdNodeId : "
188198
+ icdNodeId
199+
+ "\n\ticdCheckInNodeId : "
200+
+ checkInNodeId
189201
+ "\n\ticdCounter : "
190202
+ icdCounter
191203
+ "\n\tmonitoredSubject : "

0 commit comments

Comments
 (0)