nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
694 stars 1.7k forks source link

Orangelink Initialization fails when 'Use scanning' is enabled [Medtronic] #1222

Open rustymonkey opened 2 years ago

rustymonkey commented 2 years ago

The Medtronic Preferences > Use Scanning [Enabled] function fixes issue #373 , however, it introduces a new problem: whenever it's enabled, RileyLink Initialization fails.

Tested as follows on 2.8.2.20 (2022.01.25) running on an S7/Android 11 | Orangelink 1.0 (firmware 2.5) | MDT 554 : 1 Boot device 2 Go to Medtronic Preferences and:

Note:

AndroidAPS_LOG_1643144427018.log_Orangelink-2.5.zip AndroidAPS_LOG_1643149603425.log_Orangelink3.2.zip

blameyourelf commented 2 years ago

Since upgrading to AAPS 3 (from the bubbledev version of AAPS 2.8 with the orange link fix) I've encountered same issue described above, initialisations fail to reconnect unless phone hard rebooted, but also dropped connections far less likely to reconnect. Very rarely had issue re-connecting prior to upgrade. Using OnePlus 8 pro, Medtronic 722, orange link v1 hardware, 2.5 and 3.2 software. Will try tip above.