mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 06:22:55 +01:00
added Hybrid HR base support
This commit is contained in:
parent
e0afa0833c
commit
ecc8ae9175
@ -233,6 +233,8 @@ public class FossilWatchAdapter extends WatchAdapter {
|
|||||||
return true;
|
return true;
|
||||||
case "HL.0.0":
|
case "HL.0.0":
|
||||||
return false;
|
return false;
|
||||||
|
case "DN.1.0":
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
throw new UnsupportedOperationException("model " + modelNumber + " not supported");
|
throw new UnsupportedOperationException("model " + modelNumber + " not supported");
|
||||||
}
|
}
|
||||||
@ -245,6 +247,8 @@ public class FossilWatchAdapter extends WatchAdapter {
|
|||||||
return true;
|
return true;
|
||||||
case "HL.0.0":
|
case "HL.0.0":
|
||||||
return false;
|
return false;
|
||||||
|
case "DN.1.0":
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
throw new UnsupportedOperationException("Model " + modelNumber + " not supported");
|
throw new UnsupportedOperationException("Model " + modelNumber + " not supported");
|
||||||
}
|
}
|
||||||
@ -257,6 +261,8 @@ public class FossilWatchAdapter extends WatchAdapter {
|
|||||||
return "Q Commuter";
|
return "Q Commuter";
|
||||||
case "HL.0.0":
|
case "HL.0.0":
|
||||||
return "Q Activist";
|
return "Q Activist";
|
||||||
|
case "DN.1.0":
|
||||||
|
return "Hybrid HR";
|
||||||
}
|
}
|
||||||
return "unknwon Q";
|
return "unknwon Q";
|
||||||
}
|
}
|
||||||
|
@ -410,6 +410,8 @@ public class MisfitWatchAdapter extends WatchAdapter {
|
|||||||
return true;
|
return true;
|
||||||
case "HL.0.0":
|
case "HL.0.0":
|
||||||
return false;
|
return false;
|
||||||
|
case "DN.1.0":
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
throw new UnsupportedOperationException("Model " + modelNumber + " not supported");
|
throw new UnsupportedOperationException("Model " + modelNumber + " not supported");
|
||||||
}
|
}
|
||||||
@ -422,6 +424,8 @@ public class MisfitWatchAdapter extends WatchAdapter {
|
|||||||
return true;
|
return true;
|
||||||
case "HL.0.0":
|
case "HL.0.0":
|
||||||
return false;
|
return false;
|
||||||
|
case "DN.1.0":
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
throw new UnsupportedOperationException("Model " + modelNumber + " not supported");
|
throw new UnsupportedOperationException("Model " + modelNumber + " not supported");
|
||||||
}
|
}
|
||||||
@ -434,6 +438,8 @@ public class MisfitWatchAdapter extends WatchAdapter {
|
|||||||
return "Q Commuter";
|
return "Q Commuter";
|
||||||
case "HL.0.0":
|
case "HL.0.0":
|
||||||
return "Q Activist";
|
return "Q Activist";
|
||||||
|
case "DN.1.0":
|
||||||
|
return "Hybrid HR";
|
||||||
}
|
}
|
||||||
return "unknwon Q";
|
return "unknwon Q";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user