summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--glucometerutils/drivers/fslibre.py2
-rw-r--r--glucometerutils/drivers/fsoptium.py2
-rw-r--r--glucometerutils/drivers/fsprecisionneo.py2
-rw-r--r--glucometerutils/drivers/otverio2015.py2
-rw-r--r--glucometerutils/support/freestyle.py9
5 files changed, 8 insertions, 9 deletions
diff --git a/glucometerutils/drivers/fslibre.py b/glucometerutils/drivers/fslibre.py
index e6ea85a..478668d 100644
--- a/glucometerutils/drivers/fslibre.py
+++ b/glucometerutils/drivers/fslibre.py
@@ -14,7 +14,7 @@ HIDAPI.
Further information on the device protocol can be found at
-https://flameeyes.github.io/glucometer-protocols/abbott/freestyle-libre
+https://protocols.glucometers.tech/abbott/freestyle-libre
"""
diff --git a/glucometerutils/drivers/fsoptium.py b/glucometerutils/drivers/fsoptium.py
index 87ec0f6..daaa431 100644
--- a/glucometerutils/drivers/fsoptium.py
+++ b/glucometerutils/drivers/fsoptium.py
@@ -13,7 +13,7 @@ Expected device path: /dev/ttyUSB0 or similar serial port device.
Further information on the device protocol can be found at
-https://flameeyes.github.io/glucometer-protocols/abbott/freestyle-optium
+https://protocols.glucometers.tech/abbott/freestyle-optium
"""
import datetime
diff --git a/glucometerutils/drivers/fsprecisionneo.py b/glucometerutils/drivers/fsprecisionneo.py
index 7faf301..6c975c3 100644
--- a/glucometerutils/drivers/fsprecisionneo.py
+++ b/glucometerutils/drivers/fsprecisionneo.py
@@ -17,7 +17,7 @@ HIDAPI.
Further information on the device protocol can be found at
-https://flameeyes.github.io/glucometer-protocols/abbott/freestyle-precision-neo
+https://protocols.glucometers.tech/abbott/freestyle-precision-neo
"""
diff --git a/glucometerutils/drivers/otverio2015.py b/glucometerutils/drivers/otverio2015.py
index 875e12e..b624827 100644
--- a/glucometerutils/drivers/otverio2015.py
+++ b/glucometerutils/drivers/otverio2015.py
@@ -18,7 +18,7 @@ Expected device path: /dev/sdb or similar USB block device.
Further information on the device protocol can be found at
-https://flameeyes.github.io/glucometer-protocols/lifescan/onetouch-verio-2015
+https://protocols.glucometers.tech/lifescan/onetouch-verio-2015
"""
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