andyrozman / RileyLinkAAPS

This is test app for testing RileyLink communication with a pump (first with Medtronic and later with Omnipod)
28 stars 24 forks source link

Bolusing via calculator, get stuck at "waiting for pump" #135

Closed stefanhubmer closed 5 years ago

stefanhubmer commented 5 years ago

Using MDT_0.9 and Sony XZ1 Compact (Android 9)

When bolusing via calculator it sometimes get stuck at the "waiting for pump" popup. The "stop" button is not responding. Workaround: Close app and open it back again. Pump is bolusing the correct amount.

As far as I can tell, the loop stops until you restart the app. Will update if I have more info

Screenshot

Logs: AndroidAPS._2019-06-1200-00.zip Bolus given at 14:45

andyrozman commented 5 years ago

What is for you stuck? There is certain amount of time (in s) that we wait before issuing the bolus. But stop should work...

andyrozman commented 5 years ago

Process goes like this:

  1. Trying to contact pump (this can be repeated up to 3 times, with 30 s of timeout each time
  2. When pump is contacted we wait specific time (5/10/15 s, depending on configuration)
  3. Bolus is issued.

Before step 3, cancel should be possible...

Looking at your log there is only one Bolus issued, and that was successful... (14:45:08)

stefanhubmer commented 5 years ago

Happened two times before and I'm using your MDT branch since five days. Calculated, bolused, bolus given, stuck. Waited about 5 minutes (screen stayed as seen on screenshot), then killed the app. After step 3, the popup didn't disappeared.

andyrozman commented 5 years ago

It works good for everybody else... What kind of phone do you have?

stefanhubmer commented 5 years ago

Sony G8441 XZ1 Compact (Android 9.0) I'll take care of it and watch if it happens again in the next days. atm I can't give more infos

andyrozman commented 5 years ago

@stefanhubmer Do you still get this problems with never releases 0.10 (stable) or 0.11.1 (latest working dev)

stefanhubmer commented 5 years ago

@andyrozman Was using 0.10 about 2 days and got the same problem once. Unfortunately I'm on holiday and not using the MDT Branch atm, I'm going to start using back again at monday (1.7.) evening. If possible you can keep the ticket in backlog.

andyrozman commented 5 years ago

Sure... When you come please upgrade to latest version... If last release performs, I might make release over weekend... (0.11)...

stefanhubmer commented 5 years ago

Short update: unfortunately had no time to test, started yesterday with R0.11 Everythings smooth, I'm going to use it for two more days and if the bug won't appear again, I'll close the ticket.

andyrozman commented 5 years ago

Please try with medtronic_andy_merge branch... that is the latest version... It should show as 2.4-dev...

stefanhubmer commented 5 years ago

No issues with R0.11 (tested 2 days) and no issues with 2.4-dev (tested 3 days). Used calculator 3-4 times every day. Will close the ticket now