From 94d6984d2ce2a176a411c34e10aa2e7e03a096f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Mon, 16 Jan 2017 22:09:47 +0000 Subject: Rename freestyle_optium to fsoptium. The number of freestyle devices drivers will soon skyrocket, use the same shortening as the OneTouch ones. --- glucometerutils/drivers/freestyle_optium.py | 271 ---------------------------- glucometerutils/drivers/fsoptium.py | 271 ++++++++++++++++++++++++++++ 2 files changed, 271 insertions(+), 271 deletions(-) delete mode 100644 glucometerutils/drivers/freestyle_optium.py create mode 100644 glucometerutils/drivers/fsoptium.py (limited to 'glucometerutils/drivers') diff --git a/glucometerutils/drivers/freestyle_optium.py b/glucometerutils/drivers/freestyle_optium.py deleted file mode 100644 index 0b20946..0000000 --- a/glucometerutils/drivers/freestyle_optium.py +++ /dev/null @@ -1,271 +0,0 @@ -# -*- coding: utf-8 -*- -"""Driver for FreeStyle Optium devices. - -Further information on the device protocol can be found at - -https://github.com/Flameeyes/glucometer-protocols/blob/master/abbott/freestyle-optium.md -""" - -__author__ = 'Diego Elio Pettenò' -__email__ = 'flameeyes@flameeyes.eu' -__copyright__ = 'Copyright © 2016, Diego Elio Pettenò' -__license__ = 'MIT' - -import datetime -import re -import sys - -import serial - -from glucometerutils import common -from glucometerutils import exceptions - - -_CLOCK_RE = re.compile( - r'^Clock:\t(?P[A-Z][a-z]{2}) (?P[0-9]{2}) (?P[0-9]{4})\t' - r'(?P