Skip to content

Commit 6a2549e

Browse files
committed
add fw compatibility check
1 parent 61073fe commit 6a2549e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2078,6 +2078,13 @@ public boolean isSupportedSdLogSync() {
20782078
return false;
20792079
}
20802080

2081+
public boolean isSupportedBtBleControl() {
2082+
if(getFirmwareIdentifier()==ShimmerVerDetails.FW_ID.LOGANDSTREAM
2083+
&& mShimmerVerObject.compareVersions(HW_ID.SHIMMER_3, FW_ID.LOGANDSTREAM, 1, 0, 4)){
2084+
return true;
2085+
}
2086+
return false;
2087+
}
20812088

20822089
public boolean isLegacySdLog(){
20832090
if (getFirmwareIdentifier()==FW_ID.SDLOG && getFirmwareVersionMajor()==0 && getFirmwareVersionMinor()==5){

0 commit comments

Comments
 (0)