mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-06 14:53:53 +00:00
change decoder strategy
This commit is contained in:
parent
e97b97640b
commit
a1e1be6275
5 changed files with 17 additions and 34 deletions
|
|
@ -84,7 +84,7 @@ try:
|
|||
print("Alarm Nr #" + str(i))
|
||||
|
||||
data = "ZVEI1: 12345"
|
||||
bwPacket = decoder.getDecoder(data).decode(data)
|
||||
bwPacket = decoder.decode(data)
|
||||
|
||||
if bwPacket:
|
||||
bwPacket.printInfo()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue