Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorham committed Feb 2, 2023
2 parents fe2310a + 7f9b49d commit f8e759f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static BridgeResponse getBubbleResponse() {
if (!Pref.getBooleanDefaultFalse("external_blukon_algorithm")) {
if (patchInfo != null && patchInfo.length > 0) {
int first = 0xff & patchInfo[0];
if (first == 0x9D || first == 0xE5) {//Libre us and libre2 Libre pro
if (first == 0x9D || first == 0xE5 || first == 0xE6) {//Libre us and libre2 Libre pro
if (fv >= 2.6) {
ackMessage.put(0, (byte) 0x08);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ public static SensorType getSensorType(byte[] SensorInfo) {
case 0xa20800:
return SensorType.Libre1New;
case 0xe50003:
case 0xe60003:
return SensorType.LibreUS14Day;
case 0x9d0830:
return SensorType.Libre2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static BridgeResponse getBubbleResponse() {
if (!Pref.getBooleanDefaultFalse("external_blukon_algorithm")) {
if (patchInfo != null && patchInfo.length > 0) {
int first = 0xff & patchInfo[0];
if (first == 0x9D || first == 0xE5) {//Libre us and libre2 Libre pro
if (first == 0x9D || first == 0xE5 || first == 0xE6) {//Libre us and libre2 Libre pro
if (fv >= 2.6) {
ackMessage.put(0, (byte) 0x08);
}
Expand Down

0 comments on commit f8e759f

Please sign in to comment.