Merge pull request #595 from miyeongkim/dev
updated firmware version check
This commit is contained in:
commit
fdc71785e2
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class DiaconnG8Service : DaggerService() {
|
||||||
|
|
||||||
val pumpFirmwareVersion = sp.getString(resourceHelper.gs(R.string.pumpversion),"")
|
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
|
sendMessage(BigAPSMainInfoInquirePacket(injector)) // APS Pump Main Info
|
||||||
} else {
|
} else {
|
||||||
sendMessage(BasalLimitInquirePacket(injector)) // basal Limit
|
sendMessage(BasalLimitInquirePacket(injector)) // basal Limit
|
||||||
|
|
Loading…
Reference in a new issue