From e7ff8f2444276eeb1c786a55cf8f67dd25582417 Mon Sep 17 00:00:00 2001 From: Johan Bloemberg Date: Tue, 15 Nov 2016 23:00:59 +0100 Subject: [PATCH] Even parity offers better compatibility for v2.2. --- dsmr_parser/serial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsmr_parser/serial.py b/dsmr_parser/serial.py index 3e7aa70..3ddfc87 100644 --- a/dsmr_parser/serial.py +++ b/dsmr_parser/serial.py @@ -5,7 +5,7 @@ from dsmr_parser.parsers import TelegramParser, TelegramParserV2_2 SERIAL_SETTINGS_V2_2 = { 'baudrate': 9600, 'bytesize': serial.SEVENBITS, - 'parity': serial.PARITY_NONE, + 'parity': serial.PARITY_EVEN, 'stopbits': serial.STOPBITS_ONE, 'xonxoff': 0, 'rtscts': 0,