AndroidAPS icon indicating copy to clipboard operation
AndroidAPS copied to clipboard

Manual resets needed to restore RileyLink connection

Open refields opened this issue 2 years ago • 4 comments

AndroidAPS version 3.1.0.3 on Cubot Pocket Medtronic Pump Issue reproduced with Orange Link and Ema Link

Following lost connection to RileyLink, the only way to restore connection is to simultaneously reset the RileyLink device and force stop / re-open AndroidAPS. This has been reported by a few other users as well.

Can a routine be added in AndroidAPS to re-establish a connection with the RileyLink so that this manual reset by user is not required?

refields avatar Jul 16 '23 14:07 refields

No. There can be different reason why this is happening.

  1. Rileylink gets stuck
  2. AAPS still thinks it's connected.

So for 1. There is no solution. If RL gets stuck you just have to restart.

There would be possible solution for number 2. But it would require big changes in whole framework Restart AAps restart should be enough in this case. Abdy

On Sun 16 Jul 2023, 15:24 refields, @.***> wrote:

AndroidAPS version 3.1.0.3 on Cubot Pocket Medtronic Pump Issue reproduced with Orange Link and Ema Link

Following lost connection to RileyLink, the only way to restore connection is to simultaneously reset the RileyLink device and force stop / re-open AndroidAPS. This has been reported by a few other users as well.

Can a routine be added in AndroidAPS to re-establish a connection with the RileyLink so that this manual reset by user is not required?

— Reply to this email directly, view it on GitHub https://github.com/nightscout/AndroidAPS/issues/2625, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJ6ZZIJU7KLRH5MMYI65HDXQP2TVANCNFSM6AAAAAA2L7HBWU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

andyrozman avatar Jul 17 '23 15:07 andyrozman

Thanks for responding. Couldn't 2 be resolved with a simple statement if Last Connection is greater than some amount to attempt a connection reset, say on 10 minute intervals or something of the like?

refields avatar Jul 31 '23 20:07 refields

Recently this has been happening a lot for me. It's waking me up at night and causing disruption at work.

AAPS 3.1, S22, OL Pro.

I suspect it's exacerbated by other BT activity on my S22 or perhaps Samsung/Android OS. I have disabled dynamic power management as it seems to ignore my "Do not optimise" directive. Unfortunately you can no longer set the BT system app to not optimise. I'll report back if any improvement. But still.. walking away from your phone or RL/OL seems to cause issues. This happens when you roll over in bed too because your body sometimes blocks the RF.

Surely it can be more resilient. Two decades in and BT, generally, is still a shit show.

old-square-eyes avatar Oct 06 '23 20:10 old-square-eyes

For more context. My OL, which are difficult to get hold of here in New Zealand, is wearing out having to open and close the lid multiple times a day. Appreciate that's a OL thing but anything that can be done to stablabise the connection will help.

old-square-eyes avatar Oct 06 '23 20:10 old-square-eyes