AndroidAPS icon indicating copy to clipboard operation
AndroidAPS copied to clipboard

AndroidAPS not able to connect to Rileylink

Open Milahan opened this issue 4 years ago • 9 comments

Issue AndroidAPS on my phone (Xiaomi Mi A3) can't connect to the Rileylink-device. I already did a factory reset and an update from Android 9 --> 10, but it still won't connect. I also rebooted both devices multiple times. Now I'm looking for the cause and the solution. I hope you can help me in the right direction.

AndroidAPS version I use AndroidAPS v2.6.1. The same thing happens when using 'app-pumpcontrol-release_2.6.1.2.apk' (it won't connect). My older phone (Huawei P8) connects the the Rileylink without a problem.

Error message in the log file I tried to locate the error in the AndroidAPS log file (I attached the whole file: AndroidAPS.log). I think this must be it (the same error is seen multiple times in the log file).

16:40:10.467 [RxCachedThreadScheduler-23] D/NSCLIENT: [NSClientPlugin.lambda$onStart$4$NSClientPlugin():146]: ERROR io.socket.engineio.client.EngineIOException: xhr poll error

AndroidAPS is frozen from the moment the light on the Rileylink turns green.

My question Can you give me an advice on how to make AndroidAPS work on my phone? Thank you in advanced!

Milahan avatar Jun 07 '20 15:06 Milahan

@andyrozman do you see something?

MilosKozak avatar Jun 11 '20 08:06 MilosKozak

Here is a clean log file. I deleted the old file, tried to connect to the Rileylink again (same result) and saved the log. If you need more information; please let me know.

AndroidAPS.log

Milahan avatar Jun 11 '20 16:06 Milahan

Hello Have same issue. I try on Xiaomi Note 8T Android 9 and Pocophone F1 Android 10 After connecting to Rileylink, application frozen. Used 2.6.1.4 on both devices

gordan1987 avatar Aug 07 '20 20:08 gordan1987

Hi same problem Android 10 (OnePlus 8, OnePlus 8Pro) try to connect RileyLink (Medtronic 722) then app frozen and reboot i try next ver. 2.7 , 2.6.1.4 - same result ((( Please can you repair this error? AndroidAPS_LOG_1597052638123.log.zip

SmaSh-max avatar Aug 10 '20 09:08 SmaSh-max

🙏

SmaSh-max avatar Sep 23 '20 11:09 SmaSh-max

After update Oxygen OS to 11 version . This error disappeared. All works well as version 2.7

SmaSh-max avatar Oct 10 '20 21:10 SmaSh-max

@Milahan While theoretically driver should work everywhere, there are some phones, where it doesn't. In some cases problems can be fixed but not always... It was notices that some phones have internal BT managers which interfere with normal BT operations. Can you try with some other phone to see if problem is with RL or with Phone?

andyrozman avatar Dec 29 '20 18:12 andyrozman

Thanks for your reply, mr. Rozman! On my older phone, the RL works. So I guess it's a compatibility issue with my Xiaomi Mi A3.. Is there a way to disable or work around the "internal BT manager"?

Milahan avatar Dec 29 '20 18:12 Milahan

I'm facing the same issue. A question to the experts: is this hardware related, or could flashing the Android to another OS be a suitable workaround? Thanks!

bjarnege avatar Jan 13 '21 22:01 bjarnege