A framework for testing and implementing algorithms for libre.
git clone https://github.com/tzachi-dar/LibreOOPAlgorithm.git
cd LibreOOPAlgorithm
scripts\create_apk.cmd
The apk that you need to install is apk.aunaligned.apk Before doing it, please go to settings->security and turn on "unknown sources"
You can install the apk in anyway you like, for example: adb install apk.aunaligned.apk
You can also copy it to your phone and install it from there.
If you see a message saying "The algorithm worked successfully" all is done. If you see an error message please let me know.
Currently only the blukon supports this oop Algorithm (other ways of scanning will be added soon).
xDrip has to be at a version after 23rd Nov nightly. (This probably means that you have to download the latest nightly).
Please move xDrip to engineering mode:
- From the xDrip home screen press the Treatment button Syringe icon.
- Now either tap the Microphone icon to speak or long press it to type text.
- Speak or Type the command enable engineering mode.
On xdrip go to setting->less common settings->other misc options-> and set out of process blukon algorithm.
(If this option is not set, this means that you have not enabled engineering mode).
The propose of this project is to allow opensource projects to use the same algorithm for bg calculation.
This is a specific example that simulates official results, but anyone can implement whatever algorithm that he wants.
Please see the class IntentsReceiver for how to send and receive intents with raw data from the libre sensor.