Skip to content

Commit 95ed0c4

Browse files
committed
update: Example supports baud rates: 38400, 57600 and 115200.
1 parent 6622623 commit 95ed0c4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Gurux.DLMS.Client.Example.python/GXDLMSReader.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,12 @@ def initializeOpticalHead(self):
282282
bitrate = 9600
283283
elif baudrate == "6":
284284
bitrate = 19200
285+
elif baudrate == "7":
286+
bitrate = 38400
287+
elif baudrate == "8":
288+
bitrate = 57600
289+
elif baudrate == "9":
290+
bitrate = 115200
285291
else:
286292
raise Exception("Unknown baud rate.")
287293

0 commit comments

Comments
 (0)