From fc7e86d6d5f9c8df63d1a09c28f743b29b024d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sun, 31 Dec 2017 21:35:57 +0000 Subject: serial devices: disable xonxoff by default. With 2a825fb889735fa881566d1764cc48d2814447d2 the parameters to open the serial device were lifted from the fsoptium driver, which was the only one passing xonxoff=True. The Optium device has no problem with disabling this feature, but the codefree driver hangs if this is set to True. So instead set it to False and get rid of it. --- glucometerutils/support/serial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glucometerutils/support/serial.py b/glucometerutils/support/serial.py index d4f352b..ce4ac20 100644 --- a/glucometerutils/support/serial.py +++ b/glucometerutils/support/serial.py @@ -64,4 +64,4 @@ class SerialDevice(object): writeTimeout=None, bytesize=serial.EIGHTBITS, parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE, - xonxoff=True, rtscts=False, dsrdtr=False) + xonxoff=False, rtscts=False, dsrdtr=False) -- cgit v1.2.3