summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefanie Tellex <stefie10@alum.mit.edu>2021-10-30 20:04:07 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-08-03 12:08:14 +0200
commitd3209dfb9d21542bd3a967a23f9ae13bda34bdea (patch)
tree3cc9a0651d52eedfcd4c84b2d3eebc015dc4b0c7
parentworking dump (diff)
downloadglucometerutils-d3209dfb9d21542bd3a967a23f9ae13bda34bdea.tar
glucometerutils-d3209dfb9d21542bd3a967a23f9ae13bda34bdea.tar.gz
glucometerutils-d3209dfb9d21542bd3a967a23f9ae13bda34bdea.tar.bz2
glucometerutils-d3209dfb9d21542bd3a967a23f9ae13bda34bdea.tar.lz
glucometerutils-d3209dfb9d21542bd3a967a23f9ae13bda34bdea.tar.xz
glucometerutils-d3209dfb9d21542bd3a967a23f9ae13bda34bdea.tar.zst
glucometerutils-d3209dfb9d21542bd3a967a23f9ae13bda34bdea.zip
-rw-r--r--glucometerutils/drivers/fsfreedomlite.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/glucometerutils/drivers/fsfreedomlite.py b/glucometerutils/drivers/fsfreedomlite.py
index fe9acd1..fa6cfcb 100644
--- a/glucometerutils/drivers/fsfreedomlite.py
+++ b/glucometerutils/drivers/fsfreedomlite.py
@@ -6,9 +6,9 @@
"""Driver for FreeStyle Freedom Lite devices.
Supported features:
- - get readings (ignores ketone results);
- - use the glucose unit preset on the device by default;
- - get and set date and time;
+ - get readings
+ - assumes the device uses mg/dL for the glucose unit
+ - get date and time;
- get serial number and software version.
Expected device path: /dev/ttyUSB0 or similar serial port device.
@@ -209,6 +209,9 @@ class Device(serial.SerialDevice, driver.GlucometerDevice):
def zero_log(self) -> NoReturn:
raise NotImplementedError
+ def get_patient_name(self):
+ raise NotImplementedError
+
def get_readings(self) -> Generator[common.AnyReading, None, None]:
"""Iterates over the reading values stored in the glucometer.