summaryrefslogtreecommitdiffstats
path: root/glucometerutils/support/freestyle.py
diff options
context:
space:
mode:
Diffstat (limited to 'glucometerutils/support/freestyle.py')
-rw-r--r--glucometerutils/support/freestyle.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/glucometerutils/support/freestyle.py b/glucometerutils/support/freestyle.py
index b74d4b8..c93cead 100644
--- a/glucometerutils/support/freestyle.py
+++ b/glucometerutils/support/freestyle.py
@@ -51,6 +51,7 @@ class FreeStyleHidDevice(driver.GlucometerDevice):
text_cmd: int = 0x60,
text_reply_cmd: int = 0x60,
encoding: str = "ascii",
+ encrypted: bool = False,
) -> None:
super().__init__(device_path)
self._encoding = encoding
@@ -61,6 +62,7 @@ class FreeStyleHidDevice(driver.GlucometerDevice):
text_cmd,
text_reply_cmd,
encoding=encoding,
+ encrypted=encrypted,
)
except Exception as e:
raise exceptions.ConnectionFailed(str(e)) from e