AndroidAPS/pump/combov2/src/main
Carlos Rafael Giani 8537c42d0a combov2: Use dedicated variable for keeping track of suspended state
This is necessary to prevent race conditions during connection setup.
isSuspended() was relying on the driverStateUIFlow to determine if the
pump is currently suspended. However, because driverStateUIFlow is updated
in a separate coroutine, there is a chance that the Suspended state is
set shortly _after_ connect() called isSuspended() to determine if the
pump is suspended or not, causing connect() to do the wrong thing and
assume that the pump is currently connected. Since the main screen does
not show the current profile number, this leads to the error message
"profile 1 must be the active profile, not profile 0".
2023-04-03 20:52:48 +02:00
..
kotlin/info/nightscout/pump/combov2 combov2: Use dedicated variable for keeping track of suspended state 2023-04-03 20:52:48 +02:00
res Merge pull request #2464 from dv1/combov2-fixes-001 2023-03-25 20:12:38 +01:00
AndroidManifest.xml combov2: Fix pairing activity in pumpcontrol application 2022-11-30 22:34:32 +01:00