Skip to content
Permalink
Browse files

and patient_name support

  • Loading branch information...
matmutant authored and Flameeyes committed Jul 8, 2019
1 parent 5614d3b commit 4b8e1ac379c95ee967094762cf16d36f0cb380cd
Showing with 4 additions and 2 deletions.
  1. +4 −2 glucometerutils/drivers/fsprecisionneo.py
@@ -9,7 +9,8 @@
Supported features:
- get readings;
- get and set date and time;
- get serial number and software version.
- get serial number and software version;
- get and set patient name.
Expected device path: /dev/hidraw9 or similar HID device. Optional when using
HIDAPI.
@@ -59,7 +60,8 @@ def get_meter_info(self):
serial_number=self.get_serial_number(),
version_info=(
'Software version: ' + self._get_version(),),
native_unit=self.get_glucose_unit())
native_unit=self.get_glucose_unit(),
patient_name=self.get_patient_name())

def get_glucose_unit(self): # pylint: disable=no-self-use
"""Returns the glucose unit of the device."""

0 comments on commit 4b8e1ac

Please sign in to comment.
You can’t perform that action at this time.