summaryrefslogtreecommitdiffstats
path: root/glucometerutils/support/freestyle.py
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2019-09-02 22:47:11 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2019-09-02 22:47:11 +0200
commit8412318f6d6b610a2cf23b756e0cddf1f47c816c (patch)
tree26a71173e7683994f587e703aada649aadb992b4 /glucometerutils/support/freestyle.py
parentUse type= parameters in attr.ib() declarations. (diff)
downloadglucometerutils-8412318f6d6b610a2cf23b756e0cddf1f47c816c.tar
glucometerutils-8412318f6d6b610a2cf23b756e0cddf1f47c816c.tar.gz
glucometerutils-8412318f6d6b610a2cf23b756e0cddf1f47c816c.tar.bz2
glucometerutils-8412318f6d6b610a2cf23b756e0cddf1f47c816c.tar.lz
glucometerutils-8412318f6d6b610a2cf23b756e0cddf1f47c816c.tar.xz
glucometerutils-8412318f6d6b610a2cf23b756e0cddf1f47c816c.tar.zst
glucometerutils-8412318f6d6b610a2cf23b756e0cddf1f47c816c.zip
Diffstat (limited to '')
-rw-r--r--glucometerutils/support/freestyle.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/glucometerutils/support/freestyle.py b/glucometerutils/support/freestyle.py
index b2d58d1..3c337f6 100644
--- a/glucometerutils/support/freestyle.py
+++ b/glucometerutils/support/freestyle.py
@@ -4,7 +4,7 @@
"""Common routines to implement the FreeStyle common protocol.
Protocol documentation available at
-https://flameeyes.github.io/glucometer-protocols/abbott/shared-hid-protocol.html
+https://protocols.glucometers.tech/abbott/shared-hid-protocol
"""
@@ -72,10 +72,9 @@ def _verify_checksum(message, expected_checksum_hex):
def convert_ketone_unit(raw_value):
"""Convert raw ketone value as read in the device to its value in mmol/L.
- As per
- https://flameeyes.github.io/glucometer-protocols/abbott/freestyle-libre.html
- this is actually not using any mg/dL→mmol/L conversion, but rather the same
- as the meter uses for blood glucose.
+ As per https://protocols.glucometers.tech/abbott/freestyle-libre this is
+ actually not using any mg/dL→mmol/L conversion, but rather the same as the
+ meter uses for blood glucose.
"""
return raw_value / 18.0