Even parity offers better compatibility for v2.2.

This commit is contained in:
Johan Bloemberg 2016-11-15 23:00:59 +01:00 committed by GitHub
parent aa8ff29028
commit e7ff8f2444

View File

@ -5,7 +5,7 @@ from dsmr_parser.parsers import TelegramParser, TelegramParserV2_2
SERIAL_SETTINGS_V2_2 = { SERIAL_SETTINGS_V2_2 = {
'baudrate': 9600, 'baudrate': 9600,
'bytesize': serial.SEVENBITS, 'bytesize': serial.SEVENBITS,
'parity': serial.PARITY_NONE, 'parity': serial.PARITY_EVEN,
'stopbits': serial.STOPBITS_ONE, 'stopbits': serial.STOPBITS_ONE,
'xonxoff': 0, 'xonxoff': 0,
'rtscts': 0, 'rtscts': 0,