Even parity offers better compatibility for v2.2.
This commit is contained in:
parent
aa8ff29028
commit
e7ff8f2444
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user