aboutsummaryrefslogtreecommitdiff
path: root/decode/wmc.py
diff options
context:
space:
mode:
Diffstat (limited to 'decode/wmc.py')
-rw-r--r--decode/wmc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decode/wmc.py b/decode/wmc.py
index cf7d9a91..87d72740 100644
--- a/decode/wmc.py
+++ b/decode/wmc.py
@@ -193,6 +193,9 @@ cmds = { 0x06: ("DEVICE_INFO", show_device_info),
}
def show(data, prefix, direction):
+ if ord(data[:1]) != 0xC8:
+ return
+
data = data[1:] # skip 0xC8 header
cmdno = ord(data[:1])
try: