diff options
author | matmutant <matmutant@users.noreply.github.com> | 2019-07-08 12:01:00 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2019-07-08 23:50:22 +0200 |
commit | 4b8e1ac379c95ee967094762cf16d36f0cb380cd (patch) | |
tree | d101b6d5ee18767545aaddd7d1ab506228460c01 | |
parent | Get and set the patient name on supported meters. (diff) | |
download | glucometerutils-4b8e1ac379c95ee967094762cf16d36f0cb380cd.tar glucometerutils-4b8e1ac379c95ee967094762cf16d36f0cb380cd.tar.gz glucometerutils-4b8e1ac379c95ee967094762cf16d36f0cb380cd.tar.bz2 glucometerutils-4b8e1ac379c95ee967094762cf16d36f0cb380cd.tar.lz glucometerutils-4b8e1ac379c95ee967094762cf16d36f0cb380cd.tar.xz glucometerutils-4b8e1ac379c95ee967094762cf16d36f0cb380cd.tar.zst glucometerutils-4b8e1ac379c95ee967094762cf16d36f0cb380cd.zip |
-rw-r--r-- | glucometerutils/drivers/fsprecisionneo.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/glucometerutils/drivers/fsprecisionneo.py b/glucometerutils/drivers/fsprecisionneo.py index 15be65c..7faf301 100644 --- a/glucometerutils/drivers/fsprecisionneo.py +++ b/glucometerutils/drivers/fsprecisionneo.py @@ -9,7 +9,8 @@ untested. 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 @@ class Device(freestyle.FreeStyleHidDevice): 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.""" |