Skip to content

Commit

Permalink
[ICD] Fix ICDDeviceInfo (project-chip#35340)
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhanw-google authored Sep 1, 2024
1 parent 0e76616 commit 7085588
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/controller/java/src/chip/devicecontroller/ICDDeviceInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public int getBitIndex() {
private final long activeModeDuration;
private final int activeModeThreshold;
private final long icdNodeId;
private final long checkInNodeId;
private final long icdCounter;
private final long monitoredSubject;
private final long fabricId;
Expand All @@ -73,6 +74,7 @@ public int getBitIndex() {
long activeModeDuration,
int activeModeThreshold,
long icdNodeId,
long checkInNodeId,
long icdCounter,
long monitoredSubject,
long fabricId,
Expand All @@ -84,6 +86,7 @@ public int getBitIndex() {
this.activeModeDuration = activeModeDuration;
this.activeModeThreshold = activeModeThreshold;
this.icdNodeId = icdNodeId;
this.checkInNodeId = checkInNodeId;
this.icdCounter = icdCounter;
this.monitoredSubject = monitoredSubject;
this.fabricId = fabricId;
Expand All @@ -98,6 +101,7 @@ public int getBitIndex() {
long activeModeDuration,
int activeModeThreshold,
long icdNodeId,
long checkInNodeId,
long icdCounter,
long monitoredSubject,
long fabricId,
Expand All @@ -108,6 +112,7 @@ public int getBitIndex() {
this.activeModeDuration = activeModeDuration;
this.activeModeThreshold = activeModeThreshold;
this.icdNodeId = icdNodeId;
this.checkInNodeId = checkInNodeId;
this.icdCounter = icdCounter;
this.monitoredSubject = monitoredSubject;
this.fabricId = fabricId;
Expand Down Expand Up @@ -152,11 +157,16 @@ public int getActiveModeThreshold() {
return activeModeThreshold;
}

/** Returns the ICD Node Id. */
/** Returns the ICD peer Node Id. */
public long getIcdNodeId() {
return icdNodeId;
}

/** Returns the checkIn Node Id. */
public long getIcdCheckInNodeId() {
return checkInNodeId;
}

/** Returns the ICD Counter. */
public long getIcdCounter() {
return icdCounter;
Expand Down Expand Up @@ -186,6 +196,8 @@ public String toString() {
+ userActiveModeTriggerInstruction
+ "\n\ticdNodeId : "
+ icdNodeId
+ "\n\ticdCheckInNodeId : "
+ checkInNodeId
+ "\n\ticdCounter : "
+ icdCounter
+ "\n\tmonitoredSubject : "
Expand Down

0 comments on commit 7085588

Please sign in to comment.