It still has unused features which I will remove in the next commit (which allows me to find them back if I want to), like firmware/hardware, serial number ..
Also has fixes for DexcomG6, although still not fully tested
The bug showed zero values as negative "-0 mg/dl" or "-0.0 mmol/l".
There might be a more elegant way directly in the mgdlToMmolAndToString() function, but this does the job and seems robust during testing
Calculation of diff was taking the slope and then multiplied with 5 minutes. This seems not correct (strange nobody every noticed ?)
Probably because originally this was written for Dexcom transmitters, which give a reading every 5 minutes.
Although there too the diff is not correct if time difference > 5 minutes (10 minutes, 15, ...)
This changes will give another diff value in home screen, speak reading, watch, notification, text in alert.
Triggering of alerts is not impacted.
This is a test version
To setup Watlaa :
- go to settings tab, select transmitter type Watlaa
- go back to home screen
- click transmitter
- click start sensor and start the sensor
- then go to the bluetooth tab (the second tab)
- click the +
- select watlaa
- select watlaa master
- scan
- click 'done'
xdrip should now receive the libre packets, you should get a calibration request
When enabled, all logging can be viewed on a Mac:
- install Apple Configurator 2 on a Mac (it's not necessary to run the application)
- Open a Terminal session (on Mac click Search button top right, type 'Terminal', double click on the Terminal app)
- change directory to Downloads folder , type :
cd Downloads
- copy paste this :
/Applications/Apple\ Configurator\ 2.app/Contents/MacOS/cfgutil syslog | grep xDrip-NSLog | awk -F "xDrip-NSLog " '{print $2}' > xdriplog.txt
and press enter
Now use the app, all logging information can be found in the file xdriplog.txt
You can also leave out the redirection to file.