Feature Request: Automated Bluetooth Reset for External Broadcast Data Source Connectivity Issues #4077
Electrik-rich546456
started this conversation in
Ideas
Replies: 2 comments 19 replies
-
xDrip already has a Bluetooth watchdog. |
Beta Was this translation helpful? Give feedback.
17 replies
-
Are there any developers that are using fsl2+ ? @Navid200 said > I cannot test it myself. Unfortunately, I cannot work on Libre-related matters because I have no access to any Libre sensors. So if any one can take a look at this problem that would be greatly appreciated ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello xDrip+ Developers and Community,
First, I want to express my deep appreciation for the incredible work you do. xDrip+ is a vital tool for many, and I understand and respect the project's commitment to open-source principles and maintaining independence from proprietary sensor technologies, particularly concerning direct sensor communication and decryption. This approach is crucial for the project's integrity and legal standing.
I'd like to propose a feature that I believe aligns with xDrip+'s goal of improving data reliability, without infringing on the principles you uphold.
The Problem:
Users who rely on external applications (such as Juggluco, or other third-party bridges) that send glucose data to xDrip+ via Android broadcasts (e.g.,640G / EverSense, glucodata.Minute) sometimes experience data loss. This often occurs due to underlying Bluetooth connectivity issues on the sensors, which can cause the external app to stop sending its broadcast. When this happens, a manual toggle of the phone's Bluetooth (off and then on) frequently resolves the problem and re-establishes the data stream from the external app. However, this manual intervention can be disruptive, especially during the night if hypo unaware and living on own.
Proposed Feature: Automated Bluetooth Reset for External Broadcast Data Sources
I propose adding an optional feature to xDrip+ that would:
Monitor for the absence of incoming data from a configured external broadcast data source (e.g., if the glucodata.Minute broadcast is not received by the 640G / EverSense data source).
If no data is received for a user-configurable duration (e.g., 3-5 minutes), trigger a system-level Bluetooth off/wait 5/on cycle.
Why this aligns with xDrip+ principles (and avoids legal concerns):
No Proprietary Code Integration: This feature would not involve xDrip+ directly interacting with or integrating any proprietary sensor protocols or decryption algorithms. It would simply react to the absence of a publicly broadcast Intent that xDrip+ is already configured to receive.
Standard Android API: Toggling Bluetooth is a standard Android system function, available via public APIs. This is a generic system action, not specific to any sensor or proprietary communication.
Connectivity Improvement: The goal is to improve the reliability of data reception from an already configured and accepted external source by addressing common Android Bluetooth stack issues that can affect any app relying on Bluetooth.
User Control: It would be an opt-in feature with a configurable timeout, allowing users to decide if and how it impacts their device and battery.
Benefits:
Significantly improves data reliability and consistency for users of external broadcast data sources.
Reduces manual intervention and improves user experience, particularly during sleep.
Enhances xDrip+'s robustness as a central data hub, even for externally sourced data.
I believe this feature would be a valuable addition that helps users maintain consistent data flow without requiring xDrip+ to delve into the complexities or legal sensitivities of direct proprietary sensor communication.
Thank you for considering this proposal. I look forward to your thoughts and any feedback.
Beta Was this translation helpful? Give feedback.
All reactions