xDrip-Watchface
xDrip-Watchface copied to clipboard
bluetooth gets disconnected when start walking
Hi folks: I installed the version of Xdrip from a nightly update, which already has the Amazift feature. However, it freezes my Pace so I had to downgrade to the Klaus3d3 version. However, I've been getting hard disconnections from BLE and GATT server every time I start walking for a while. I did no changes in the settings when it first appeared. I tried all the potential solutions (turning on/off features such as bluetooth watchdog, Close to GATT disconnection, trust auto-connect, wakelocks bluetooth.... Nothing has worked so far. The Amazfit app is running in the background and the watch is connected. But the smartphone loses the connection with blukon and there is no way to get reconnected without interruptions until I stop walking for a while. I suspect my smartphone sensor or any app is detecting movement and that sensor uses some kind of shared bus of data that causes the problem. I activated the verbose mode, but I cannot understand what it may be. It seems the blucon gets unresponsive to the command 010D0E010D with error 0009, which is the "go to sleep" command, and I get a NACK error from the blukon. The DexCollectionService also gets a "Disconnected from GATT server" in these occasions. Even after telling it to not close the GATT on bluetooth disconnect.
Please, any help will be very welcome since I use this for sports and it is useless in this state. I'm crazy because I've tried every possibility and the result is the same. It only worked fine after uninstalling/reinstalling the @Klaus3d3 version, but it becomes "corrupted" after 2-3 days of use.
Could it be related to the Android handling of BLE connections (the 20 seconds of timeout between re-connections as documented here ?
Could @gregorybel help?
Hi,
this is not related to this repository. This is only the part for the watch.
Installing my fork of xDrip+ may help you, because it's based on an old version. Please post this as a new issue in the xDrip+ repository. https://github.com/NightscoutFoundation/xDrip/issues The developers of xDrip+ do not read here.