Skip to content

Commit ca372c5

Browse files
committed
DEV-331 #time 15m reduce unnecessarily repeated dock commands
1 parent 8481e2e commit ca372c5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

ShimmerDriver/src/main/java/com/shimmerresearch/driver/ShimmerDevice.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ public abstract class ShimmerDevice extends BasicProcessWithCallBack implements
142142
private boolean mConfigurationReadSuccess = false;
143143
public boolean mReadDaughterIDSuccess = false;
144144
public boolean writeRealWorldClockFromPcTimeSuccess = false;
145+
public boolean mReadBtVerSuccess = false;
146+
public boolean mReadBtModeSuccess = false;
145147

146148
protected boolean mIsConnected = false;
147149
protected boolean mIsSensing = false;
@@ -1691,7 +1693,9 @@ public void setFirstDockRead() {
16911693
mReadHwFwSuccess = false;
16921694
mReadDaughterIDSuccess = false;
16931695
writeRealWorldClockFromPcTimeSuccess = false;
1694-
}
1696+
mReadBtVerSuccess = false;
1697+
mReadBtModeSuccess = false;
1698+
}
16951699

16961700
// ----------------- Overrides from ShimmerDevice end -------------
16971701

0 commit comments

Comments
 (0)