From 3e3715bf0b412e99691efaa7b40c83793ada8229 Mon Sep 17 00:00:00 2001 From: Sean Burford Date: Tue, 10 May 2016 18:30:08 +1000 Subject: [PATCH] Add wiegand 36bit test --- decoder/test/wiegand/test.conf | 4 ++ decoder/test/wiegand/wiegand-8a640910.output | 70 ++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 decoder/test/wiegand/test.conf create mode 100644 decoder/test/wiegand/wiegand-8a640910.output diff --git a/decoder/test/wiegand/test.conf b/decoder/test/wiegand/test.conf new file mode 100644 index 0000000..1e04882 --- /dev/null +++ b/decoder/test/wiegand/test.conf @@ -0,0 +1,4 @@ +test wiegand_8a640910 + protocol-decoder wiegand channel d0=0 channel d1=1 + input wiegand/36bit/wiegand-8a640910.sr + output wiegand annotation match wiegand-8a640910.output diff --git a/decoder/test/wiegand/wiegand-8a640910.output b/decoder/test/wiegand/wiegand-8a640910.output new file mode 100644 index 0000000..f48b2c4 --- /dev/null +++ b/decoder/test/wiegand/wiegand-8a640910.output @@ -0,0 +1,70 @@ +12448-12495 wiegand: bits: "0" +12495-12542 wiegand: bits: "0" +12542-12589 wiegand: bits: "1" +12589-12636 wiegand: bits: "0" +12636-12683 wiegand: bits: "0" +12683-12729 wiegand: bits: "0" +12729-12776 wiegand: bits: "1" +12776-12823 wiegand: bits: "0" +12823-12870 wiegand: bits: "1" +12870-12917 wiegand: bits: "0" +12917-12964 wiegand: bits: "0" +12964-13011 wiegand: bits: "1" +13011-13058 wiegand: bits: "1" +13058-13105 wiegand: bits: "0" +13105-13152 wiegand: bits: "0" +13152-13199 wiegand: bits: "1" +13199-13246 wiegand: bits: "0" +13246-13293 wiegand: bits: "0" +13293-13340 wiegand: bits: "0" +13340-13386 wiegand: bits: "0" +13386-13433 wiegand: bits: "0" +13433-13480 wiegand: bits: "0" +13480-13527 wiegand: bits: "1" +13527-13574 wiegand: bits: "0" +13574-13621 wiegand: bits: "0" +13621-13668 wiegand: bits: "1" +13668-13715 wiegand: bits: "0" +13715-13762 wiegand: bits: "0" +13762-13809 wiegand: bits: "0" +13809-13856 wiegand: bits: "1" +13856-13903 wiegand: bits: "0" +13903-13950 wiegand: bits: "0" +13950-13997 wiegand: bits: "0" +13997-14077 wiegand: bits: "0" +12448-14077 wiegand: state: "34 bits 0010001010011001000000100100010000" "34 bits" +23808-23855 wiegand: bits: "0" +23855-23902 wiegand: bits: "0" +23902-23949 wiegand: bits: "1" +23949-23996 wiegand: bits: "0" +23996-24043 wiegand: bits: "0" +24043-24090 wiegand: bits: "0" +24090-24137 wiegand: bits: "1" +24137-24184 wiegand: bits: "0" +24184-24231 wiegand: bits: "1" +24231-24278 wiegand: bits: "0" +24278-24325 wiegand: bits: "0" +24325-24372 wiegand: bits: "1" +24372-24418 wiegand: bits: "1" +24418-24465 wiegand: bits: "0" +24465-24512 wiegand: bits: "0" +24512-24559 wiegand: bits: "1" +24559-24606 wiegand: bits: "0" +24606-24653 wiegand: bits: "0" +24653-24700 wiegand: bits: "0" +24700-24747 wiegand: bits: "0" +24747-24794 wiegand: bits: "0" +24794-24841 wiegand: bits: "0" +24841-24888 wiegand: bits: "1" +24888-24935 wiegand: bits: "0" +24935-24982 wiegand: bits: "0" +24982-25029 wiegand: bits: "1" +25029-25076 wiegand: bits: "0" +25076-25122 wiegand: bits: "0" +25122-25169 wiegand: bits: "0" +25169-25216 wiegand: bits: "1" +25216-25263 wiegand: bits: "0" +25263-25310 wiegand: bits: "0" +25310-25357 wiegand: bits: "0" +25357-25437 wiegand: bits: "0" +23808-25437 wiegand: state: "34 bits 0010001010011001000000100100010000" "34 bits" -- 2.30.2