Added serial settings for DSMR v5.0

This commit is contained in:
Thomas Neele
2018-09-15 21:18:36 +02:00
parent 8582395017
commit ad6ab304f5
2 changed files with 11 additions and 1 deletions

View File

@@ -20,3 +20,13 @@ SERIAL_SETTINGS_V4 = {
'rtscts': 0,
'timeout': 20
}
SERIAL_SETTINGS_V5 = {
'baudrate': 115200,
'bytesize': serial.EIGHTBITS,
'parity': serial.PARITY_NONE,
'stopbits': serial.STOPBITS_ONE,
'xonxoff': 0,
'rtscts': 0,
'timeout': 20
}