BigAPSMainInfoInquirePacket is activated from version 3.0 or higher.
This commit is contained in:
parent
272cdbbb00
commit
f157d4186c
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ buildscript {
|
|||
maven { url "https://plugins.gradle.org/m2/" } // jacoco 0.2
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:7.1.0-alpha02'
|
||||
classpath 'com.android.tools.build:gradle:4.0.1'
|
||||
classpath 'com.google.gms:google-services:4.3.8'
|
||||
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ class DiaconnG8Service : DaggerService() {
|
|||
|
||||
val pumpFirmwareVersion = sp.getString(resourceHelper.gs(R.string.pumpversion),"")
|
||||
|
||||
if(!StringUtils.emptyString(pumpFirmwareVersion) && PumplogUtil.isPumpVersionGe(pumpFirmwareVersion, 2, 83)) {
|
||||
if(!StringUtils.emptyString(pumpFirmwareVersion) && PumplogUtil.isPumpVersionGe(pumpFirmwareVersion, 3, 0)) {
|
||||
sendMessage(BigAPSMainInfoInquirePacket(injector)) // APS Pump Main Info
|
||||
} else {
|
||||
sendMessage(BasalLimitInquirePacket(injector)) // basal Limit
|
||||
|
|
Loading…
Reference in a new issue