From: Uwe Hermann Date: Tue, 21 Jul 2015 19:36:44 +0000 (+0200) Subject: dcf77: Add a few test cases. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f742e553501c9c37d73ba1a463c3ef0f85fc9934;p=sigrok-test.git dcf77: Add a few test cases. --- diff --git a/decoder/test/dcf77/dcf77_120s.output b/decoder/test/dcf77/dcf77_120s.output new file mode 100644 index 0000000..21e962e --- /dev/null +++ b/decoder/test/dcf77/dcf77_120s.output @@ -0,0 +1,117 @@ +133440-221836 dcf77: unknown-bits: "Unknown bit 0: 0" "0" +1140635-1235505 dcf77: unknown-bits: "Unknown bit 1: 0" "0" +2136457-2228964 dcf77: unknown-bits: "Unknown bit 2: 0" "0" +3149034-3335702 dcf77: unknown-bits: "Unknown bit 3: 1" "1" +4141283-4329592 dcf77: unknown-bits: "Unknown bit 4: 1" "1" +5143413-5318713 dcf77: unknown-bits: "Unknown bit 5: 1" "1" +6149910-6240535 dcf77: unknown-bits: "Unknown bit 6: 0" "0" +7142163-7228546 dcf77: unknown-bits: "Unknown bit 7: 0" "0" +8133204-8329367 dcf77: unknown-bits: "Unknown bit 8: 1" "1" +9135716-9232918 dcf77: unknown-bits: "Unknown bit 9: 0" "0" +10150749-10234435 dcf77: unknown-bits: "Unknown bit 10: 0" "0" +11144063-11350869 dcf77: unknown-bits: "Unknown bit 11: 1" "1" +12142678-12231252 dcf77: unknown-bits: "Unknown bit 12: 0" "0" +13159136-13250494 dcf77: unknown-bits: "Unknown bit 13: 0" "0" +14139545-14335341 dcf77: unknown-bits: "Unknown bit 14: 1" "1" +15133672-15279207 dcf77: unknown-bits: "Unknown bit 15: 0" "0" +16121652-16250431 dcf77: unknown-bits: "Unknown bit 16: 0" "0" +17164191-17237481 dcf77: unknown-bits: "Unknown bit 17: 0" "0" +18169617-18250938 dcf77: unknown-bits: "Unknown bit 18: 0" "0" +19135770-19248663 dcf77: unknown-bits: "Unknown bit 19: 0" "0" +20136475-20336952 dcf77: unknown-bits: "Unknown bit 20: 1" "1" +21137675-21255542 dcf77: unknown-bits: "Unknown bit 21: 0" "0" +22142722-22248350 dcf77: unknown-bits: "Unknown bit 22: 0" "0" +23131937-23338630 dcf77: unknown-bits: "Unknown bit 23: 1" "1" +24165192-24242951 dcf77: unknown-bits: "Unknown bit 24: 0" "0" +25159250-25254205 dcf77: unknown-bits: "Unknown bit 25: 0" "0" +26144105-26261429 dcf77: unknown-bits: "Unknown bit 26: 0" "0" +27154210-27258100 dcf77: unknown-bits: "Unknown bit 27: 0" "0" +29153497-29255539 dcf77: raw-bits: "Bit 0: 0" "0" +29153497-29255539 dcf77: start-of-minute: "Start of minute (always 0)" "Start of minute" "SoM" +30150114-30244485 dcf77: raw-bits: "Bit 1: 0" "0" +31149393-31352101 dcf77: raw-bits: "Bit 2: 1" "1" +32153770-32350976 dcf77: raw-bits: "Bit 3: 1" "1" +33149732-33338312 dcf77: raw-bits: "Bit 4: 1" "1" +34153854-34351310 dcf77: raw-bits: "Bit 5: 1" "1" +35144136-35354460 dcf77: raw-bits: "Bit 6: 1" "1" +36152100-36357464 dcf77: raw-bits: "Bit 7: 1" "1" +37145644-37258356 dcf77: raw-bits: "Bit 8: 0" "0" +38154750-38355147 dcf77: raw-bits: "Bit 9: 1" "1" +39158810-39348536 dcf77: raw-bits: "Bit 10: 1" "1" +40150835-40277297 dcf77: raw-bits: "Bit 11: 0" "0" +41151219-41255527 dcf77: raw-bits: "Bit 12: 0" "0" +42150870-42265449 dcf77: raw-bits: "Bit 13: 0" "0" +43162811-43253951 dcf77: raw-bits: "Bit 14: 0" "0" +30150114-43253951 dcf77: special-bits: "Special bits: 00001101111110" "SB: 00001101111110" +44153455-44254820 dcf77: raw-bits: "Bit 15: 0" "0" +44153455-44254820 dcf77: call-bit: "Call bit: not set" "CB: not set" +45161804-45248329 dcf77: raw-bits: "Bit 16: 0" "0" +45161804-45248329 dcf77: summer-time: "Summer time announcement: not active" "Summer time: not active" "Summer time: no" "ST: no" +46156609-46260970 dcf77: raw-bits: "Bit 17: 0" "0" +46156609-46260970 dcf77: cest: "CEST: not in effect" "CEST: no" +47159182-47359412 dcf77: raw-bits: "Bit 18: 1" "1" +47159182-47359412 dcf77: cet: "CET: in effect" "CET: yes" +48188927-48263649 dcf77: raw-bits: "Bit 19: 0" "0" +48188927-48263649 dcf77: leap-second: "Leap second announcement: not active" "Leap second: not active" "Leap second: no" "LS: no" +49161160-49350530 dcf77: raw-bits: "Bit 20: 1" "1" +49161160-49350530 dcf77: start-of-time: "Start of encoded time (always 1)" "Start of encoded time" "SoeT" +50161567-50367882 dcf77: raw-bits: "Bit 21: 1" "1" +51158356-51264389 dcf77: raw-bits: "Bit 22: 0" "0" +52135875-52269151 dcf77: raw-bits: "Bit 23: 0" "0" +53156439-53353661 dcf77: raw-bits: "Bit 24: 1" "1" +54154204-54270905 dcf77: raw-bits: "Bit 25: 0" "0" +55168907-55253942 dcf77: raw-bits: "Bit 26: 0" "0" +56165009-56358233 dcf77: raw-bits: "Bit 27: 1" "1" +50161567-56358233 dcf77: minute: "Minutes: 49" "Min: 49" +57149694-57369207 dcf77: raw-bits: "Bit 28: 1" "1" +57149694-57369207 dcf77: minute-parity: "Minute parity: OK" "Min parity: OK" +58188464-58353234 dcf77: raw-bits: "Bit 29: 1" "1" +59168120-59370583 dcf77: raw-bits: "Bit 30: 1" "1" +60167019-60254626 dcf77: raw-bits: "Bit 31: 0" "0" +61175038-61260999 dcf77: raw-bits: "Bit 32: 0" "0" +62178195-62266826 dcf77: raw-bits: "Bit 33: 0" "0" +63163576-63353950 dcf77: raw-bits: "Bit 34: 1" "1" +58188464-63353950 dcf77: hour: "Hours: 23" +64162548-64352863 dcf77: raw-bits: "Bit 35: 1" "1" +64162548-64352863 dcf77: hour-parity: "Hour parity: OK" +65156714-65360536 dcf77: raw-bits: "Bit 36: 1" "1" +66169235-66274653 dcf77: raw-bits: "Bit 37: 0" "0" +67163391-67260074 dcf77: raw-bits: "Bit 38: 0" "0" +68186357-68367853 dcf77: raw-bits: "Bit 39: 1" "1" +69158026-69264091 dcf77: raw-bits: "Bit 40: 0" "0" +70193072-70261944 dcf77: raw-bits: "Bit 41: 0" "0" +65156714-70261944 dcf77: day: "Day: 9" +71177165-71382173 dcf77: raw-bits: "Bit 42: 1" "1" +72160372-72259036 dcf77: raw-bits: "Bit 43: 0" "0" +73168922-73270840 dcf77: raw-bits: "Bit 44: 0" "0" +71177165-73270840 dcf77: day-of-week: "Day of week: 1 (Monday)" "DoW: 1 (Monday)" +74175942-74373492 dcf77: raw-bits: "Bit 45: 1" "1" +75163241-75272869 dcf77: raw-bits: "Bit 46: 0" "0" +76167361-76270494 dcf77: raw-bits: "Bit 47: 0" "0" +77179583-77270060 dcf77: raw-bits: "Bit 48: 0" "0" +77973648-78018356 dcf77: raw-bits: "Bit 49: 0" "0" +74175942-78018356 dcf77: month: "Month: 1 (January)" "Mon: 1 (January)" +78186436-78270191 dcf77: raw-bits: "Bit 50: 0" "0" +79165888-79286122 dcf77: raw-bits: "Bit 51: 0" "0" +80160082-80372918 dcf77: raw-bits: "Bit 52: 1" "1" +81166877-81272567 dcf77: raw-bits: "Bit 53: 0" "0" +82194701-82288239 dcf77: raw-bits: "Bit 54: 0" "0" +83173464-83376053 dcf77: raw-bits: "Bit 55: 1" "1" +84177056-84272149 dcf77: raw-bits: "Bit 56: 0" "0" +85160876-85272459 dcf77: raw-bits: "Bit 57: 0" "0" +78186436-85272459 dcf77: year: "Year: 24" +86170380-86279748 dcf77: raw-bits: "Bit 58: 0" "0" +86170380-86279748 dcf77: date-parity: "Date parity: OK" "DP: OK" +89164921-89283919 dcf77: raw-bits: "Bit 0: 0" "0" +89164921-89283919 dcf77: start-of-minute: "Start of minute (always 0)" "Start of minute" "SoM" +90184906-90292947 dcf77: raw-bits: "Bit 1: 0" "0" +91187787-91295455 dcf77: raw-bits: "Bit 2: 0" "0" +92191913-92382391 dcf77: raw-bits: "Bit 3: 1" "1" +93182560-93375940 dcf77: raw-bits: "Bit 4: 1" "1" +94181752-94302565 dcf77: raw-bits: "Bit 5: 0" "0" +95170277-95284991 dcf77: raw-bits: "Bit 6: 0" "0" +96189456-96378025 dcf77: raw-bits: "Bit 7: 1" "1" +97177209-97377681 dcf77: raw-bits: "Bit 8: 1" "1" +98167780-98382422 dcf77: raw-bits: "Bit 9: 1" "1" +99186864-99287669 dcf77: raw-bits: "Bit 10: 0" "0" +100178193-100383281 dcf77: raw-bits: "Bit 11: 1" "1" diff --git a/decoder/test/dcf77/dcf77_20s.output b/decoder/test/dcf77/dcf77_20s.output new file mode 100644 index 0000000..f175bbf --- /dev/null +++ b/decoder/test/dcf77/dcf77_20s.output @@ -0,0 +1,19 @@ +1000050-1186962 dcf77: unknown-bits: "Unknown bit 0: 1" "1" +1986732-2095739 dcf77: unknown-bits: "Unknown bit 1: 0" "0" +2989509-3089925 dcf77: unknown-bits: "Unknown bit 2: 0" "0" +3987340-4097148 dcf77: unknown-bits: "Unknown bit 3: 0" "0" +4988428-5097628 dcf77: unknown-bits: "Unknown bit 4: 0" "0" +6000636-6090759 dcf77: unknown-bits: "Unknown bit 5: 0" "0" +7005340-7191780 dcf77: unknown-bits: "Unknown bit 6: 1" "1" +7996222-8097920 dcf77: unknown-bits: "Unknown bit 7: 0" "0" +8989773-9089265 dcf77: unknown-bits: "Unknown bit 8: 0" "0" +9997543-10202144 dcf77: unknown-bits: "Unknown bit 9: 1" "1" +10984787-11095319 dcf77: unknown-bits: "Unknown bit 10: 0" "0" +12006074-12108623 dcf77: unknown-bits: "Unknown bit 11: 0" "0" +12994934-13110032 dcf77: unknown-bits: "Unknown bit 12: 0" "0" +13996476-14097872 dcf77: unknown-bits: "Unknown bit 13: 0" "0" +16007580-16104087 dcf77: raw-bits: "Bit 0: 0" "0" +16007580-16104087 dcf77: start-of-minute: "Start of minute (always 0)" "Start of minute" "SoM" +16996123-17121344 dcf77: raw-bits: "Bit 1: 0" "0" +17990101-18205693 dcf77: raw-bits: "Bit 2: 1" "1" +19000423-19091563 dcf77: raw-bits: "Bit 3: 0" "0" diff --git a/decoder/test/dcf77/dcf77_480s.output b/decoder/test/dcf77/dcf77_480s.output new file mode 100644 index 0000000..3833b19 --- /dev/null +++ b/decoder/test/dcf77/dcf77_480s.output @@ -0,0 +1,222 @@ +3385868-3816588 dcf77: unknown-bits: "Unknown bit 0: 0" "0" +7451331-7803774 dcf77: unknown-bits: "Unknown bit 1: 0" "0" +11453513-11837491 dcf77: unknown-bits: "Unknown bit 2: 0" "0" +15390315-16260184 dcf77: unknown-bits: "Unknown bit 3: 1" "1" +19412144-19840469 dcf77: unknown-bits: "Unknown bit 4: 0" "0" +23465530-23876573 dcf77: unknown-bits: "Unknown bit 5: 0" "0" +27447136-28226152 dcf77: unknown-bits: "Unknown bit 6: 1" "1" +31394974-31869823 dcf77: unknown-bits: "Unknown bit 7: 0" "0" +35411113-35817715 dcf77: unknown-bits: "Unknown bit 8: 0" "0" +39428525-39795985 dcf77: unknown-bits: "Unknown bit 9: 0" "0" +43412996-44251865 dcf77: unknown-bits: "Unknown bit 10: 1" "1" +51423132-51862491 dcf77: raw-bits: "Bit 0: 0" "0" +51423132-51862491 dcf77: start-of-minute: "Start of minute (always 0)" "Start of minute" "SoM" +55474957-55840087 dcf77: raw-bits: "Bit 1: 0" "0" +59398818-60286631 dcf77: raw-bits: "Bit 2: 1" "1" +63439979-63824318 dcf77: raw-bits: "Bit 3: 0" "0" +67433969-67862129 dcf77: raw-bits: "Bit 4: 0" "0" +71462911-72251057 dcf77: raw-bits: "Bit 5: 1" "1" +75460488-76300548 dcf77: raw-bits: "Bit 6: 1" "1" +79432933-80246530 dcf77: raw-bits: "Bit 7: 1" "1" +83453813-83905974 dcf77: raw-bits: "Bit 8: 0" "0" +87502688-88233158 dcf77: raw-bits: "Bit 9: 1" "1" +91431659-92217715 dcf77: raw-bits: "Bit 10: 1" "1" +95569385-95839672 dcf77: raw-bits: "Bit 11: 0" "0" +99474929-100319633 dcf77: raw-bits: "Bit 12: 1" "1" +103488123-103880718 dcf77: raw-bits: "Bit 13: 0" "0" +107581200-108320663 dcf77: raw-bits: "Bit 14: 1" "1" +55474957-108320663 dcf77: special-bits: "Special bits: 10101101110010" "SB: 10101101110010" +111511396-111905056 dcf77: raw-bits: "Bit 15: 0" "0" +111511396-111905056 dcf77: call-bit: "Call bit: not set" "CB: not set" +115469239-115872335 dcf77: raw-bits: "Bit 16: 0" "0" +115469239-115872335 dcf77: summer-time: "Summer time announcement: not active" "Summer time: not active" "Summer time: no" "ST: no" +119509402-119891651 dcf77: raw-bits: "Bit 17: 0" "0" +119509402-119891651 dcf77: cest: "CEST: not in effect" "CEST: no" +123448775-124282330 dcf77: raw-bits: "Bit 18: 1" "1" +123448775-124282330 dcf77: cet: "CET: in effect" "CET: yes" +127485503-127867712 dcf77: raw-bits: "Bit 19: 0" "0" +127485503-127867712 dcf77: leap-second: "Leap second announcement: not active" "Leap second: not active" "Leap second: no" "LS: no" +131500364-132260309 dcf77: raw-bits: "Bit 20: 1" "1" +131500364-132260309 dcf77: start-of-time: "Start of encoded time (always 1)" "Start of encoded time" "SoeT" +135473820-135845659 dcf77: raw-bits: "Bit 21: 0" "0" +139501316-139954255 dcf77: raw-bits: "Bit 22: 0" "0" +143496487-144270535 dcf77: raw-bits: "Bit 23: 1" "1" +147520754-147894347 dcf77: raw-bits: "Bit 24: 0" "0" +151578652-151887629 dcf77: raw-bits: "Bit 25: 0" "0" +155506927-155897592 dcf77: raw-bits: "Bit 26: 0" "0" +159499814-159915749 dcf77: raw-bits: "Bit 27: 0" "0" +135473820-159915749 dcf77: minute: "Minutes: 4" "Min: 4" +163533134-164288503 dcf77: raw-bits: "Bit 28: 1" "1" +163533134-164288503 dcf77: minute-parity: "Minute parity: OK" "Min parity: OK" +167462007-167923137 dcf77: raw-bits: "Bit 29: 0" "0" +171493115-171916030 dcf77: raw-bits: "Bit 30: 0" "0" +175450829-175868722 dcf77: raw-bits: "Bit 31: 0" "0" +179515059-179929269 dcf77: raw-bits: "Bit 32: 0" "0" +183445397-183934256 dcf77: raw-bits: "Bit 33: 0" "0" +187494149-187914994 dcf77: raw-bits: "Bit 34: 0" "0" +167462007-187914994 dcf77: hour: "Hours: 0" +191546508-191929553 dcf77: raw-bits: "Bit 35: 0" "0" +191546508-191929553 dcf77: hour-parity: "Hour parity: OK" +195539408-195923269 dcf77: raw-bits: "Bit 36: 0" "0" +199535159-199964022 dcf77: raw-bits: "Bit 37: 0" "0" +203508776-203923381 dcf77: raw-bits: "Bit 38: 0" "0" +207492694-207887851 dcf77: raw-bits: "Bit 39: 0" "0" +211489676-212343292 dcf77: raw-bits: "Bit 40: 1" "1" +215527014-215946915 dcf77: raw-bits: "Bit 41: 0" "0" +195539408-215946915 dcf77: day: "Day: 10" +219519691-219938729 dcf77: raw-bits: "Bit 42: 0" "0" +223529334-224324650 dcf77: raw-bits: "Bit 43: 1" "1" +227504894-227946676 dcf77: raw-bits: "Bit 44: 0" "0" +219519691-227946676 dcf77: day-of-week: "Day of week: 2 (Tuesday)" "DoW: 2 (Tuesday)" +231507648-232321821 dcf77: raw-bits: "Bit 45: 1" "1" +235564907-235896956 dcf77: raw-bits: "Bit 46: 0" "0" +239535357-239943464 dcf77: raw-bits: "Bit 47: 0" "0" +243513053-243923326 dcf77: raw-bits: "Bit 48: 0" "0" +247577651-247996458 dcf77: raw-bits: "Bit 49: 0" "0" +231507648-247996458 dcf77: month: "Month: 1 (January)" "Mon: 1 (January)" +251565880-251946968 dcf77: raw-bits: "Bit 50: 0" "0" +255520379-256370759 dcf77: raw-bits: "Bit 51: 1" "1" +259546807-259965987 dcf77: raw-bits: "Bit 52: 0" "0" +263526601-263990226 dcf77: raw-bits: "Bit 53: 0" "0" +267602457-268338230 dcf77: raw-bits: "Bit 54: 1" "1" +271523110-272012188 dcf77: raw-bits: "Bit 55: 0" "0" +275570004-275923329 dcf77: raw-bits: "Bit 56: 0" "0" +279566985-279935762 dcf77: raw-bits: "Bit 57: 0" "0" +251565880-279935762 dcf77: year: "Year: 12" +283562232-284364536 dcf77: raw-bits: "Bit 58: 1" "1" +283562232-284364536 dcf77: date-parity: "Date parity: OK" "DP: OK" +291617391-291949431 dcf77: raw-bits: "Bit 0: 0" "0" +291617391-291949431 dcf77: start-of-minute: "Start of minute (always 0)" "Start of minute" "SoM" +295582957-295988224 dcf77: raw-bits: "Bit 1: 0" "0" +299586749-299933304 dcf77: raw-bits: "Bit 2: 0" "0" +303551724-303973548 dcf77: raw-bits: "Bit 3: 0" "0" +307580441-307999978 dcf77: raw-bits: "Bit 4: 0" "0" +311536091-311975493 dcf77: raw-bits: "Bit 5: 0" "0" +315564125-316315787 dcf77: raw-bits: "Bit 6: 1" "1" +319553074-320365124 dcf77: raw-bits: "Bit 7: 1" "1" +323570160-324389363 dcf77: raw-bits: "Bit 8: 1" "1" +327541745-328353521 dcf77: raw-bits: "Bit 9: 1" "1" +331579081-332407157 dcf77: raw-bits: "Bit 10: 1" "1" +335582926-336400448 dcf77: raw-bits: "Bit 11: 1" "1" +339520845-339992629 dcf77: raw-bits: "Bit 12: 0" "0" +343578377-343954807 dcf77: raw-bits: "Bit 13: 0" "0" +347614164-348433530 dcf77: raw-bits: "Bit 14: 1" "1" +295582957-348433530 dcf77: special-bits: "Special bits: 10011111100000" "SB: 10011111100000" +351586228-352003609 dcf77: raw-bits: "Bit 15: 0" "0" +351586228-352003609 dcf77: call-bit: "Call bit: not set" "CB: not set" +355560616-356016931 dcf77: raw-bits: "Bit 16: 0" "0" +355560616-356016931 dcf77: summer-time: "Summer time announcement: not active" "Summer time: not active" "Summer time: no" "ST: no" +359612112-360032114 dcf77: raw-bits: "Bit 17: 0" "0" +359612112-360032114 dcf77: cest: "CEST: not in effect" "CEST: no" +363625652-364384985 dcf77: raw-bits: "Bit 18: 1" "1" +363625652-364384985 dcf77: cet: "CET: in effect" "CET: yes" +367571317-367995025 dcf77: raw-bits: "Bit 19: 0" "0" +367571317-367995025 dcf77: leap-second: "Leap second announcement: not active" "Leap second: not active" "Leap second: no" "LS: no" +371617577-372403564 dcf77: raw-bits: "Bit 20: 1" "1" +371617577-372403564 dcf77: start-of-time: "Start of encoded time (always 1)" "Start of encoded time" "SoeT" +375560787-376421342 dcf77: raw-bits: "Bit 21: 1" "1" +379616860-380000588 dcf77: raw-bits: "Bit 22: 0" "0" +383557822-384402456 dcf77: raw-bits: "Bit 23: 1" "1" +387633468-387984065 dcf77: raw-bits: "Bit 24: 0" "0" +391612489-392016700 dcf77: raw-bits: "Bit 25: 0" "0" +395596763-396026523 dcf77: raw-bits: "Bit 26: 0" "0" +399601497-399968440 dcf77: raw-bits: "Bit 27: 0" "0" +375560787-399968440 dcf77: minute: "Minutes: 5" "Min: 5" +403621160-403971653 dcf77: raw-bits: "Bit 28: 0" "0" +403621160-403971653 dcf77: minute-parity: "Minute parity: OK" "Min parity: OK" +407606483-407987323 dcf77: raw-bits: "Bit 29: 0" "0" +411607088-412028348 dcf77: raw-bits: "Bit 30: 0" "0" +415619209-416016805 dcf77: raw-bits: "Bit 31: 0" "0" +419669003-420024595 dcf77: raw-bits: "Bit 32: 0" "0" +423634271-424031663 dcf77: raw-bits: "Bit 33: 0" "0" +427627901-428185927 dcf77: raw-bits: "Bit 34: 0" "0" +407606483-428185927 dcf77: hour: "Hours: 0" +428884439-429055901 dcf77: raw-bits: "Bit 35: 0" "0" +428884439-429055901 dcf77: hour-parity: "Hour parity: OK" +431640531-432010229 dcf77: raw-bits: "Bit 36: 0" "0" +435599116-436142864 dcf77: raw-bits: "Bit 37: 0" "0" +439676991-440009011 dcf77: raw-bits: "Bit 38: 0" "0" +443627505-444031934 dcf77: raw-bits: "Bit 39: 0" "0" +447621737-448134482 dcf77: raw-bits: "Bit 40: 0" "0" +451681593-452387819 dcf77: raw-bits: "Bit 41: 1" "1" +431640531-452387819 dcf77: day: "Day: 20" +455743603-456025399 dcf77: raw-bits: "Bit 42: 0" "0" +459647325-460063634 dcf77: raw-bits: "Bit 43: 0" "0" +463609816-464550866 dcf77: raw-bits: "Bit 44: 1" "1" +455743603-464550866 dcf77: day-of-week: "Day of week: 4 (Thursday)" "DoW: 4 (Thursday)" +467616324-468025437 dcf77: raw-bits: "Bit 45: 0" "0" +471633589-472441190 dcf77: raw-bits: "Bit 46: 1" "1" +475655848-475962334 dcf77: raw-bits: "Bit 47: 0" "0" +479606086-480020294 dcf77: raw-bits: "Bit 48: 0" "0" +483619045-484091176 dcf77: raw-bits: "Bit 49: 0" "0" +467616324-484091176 dcf77: month: "Month: 2 (February)" "Mon: 2 (February)" +487601145-488045980 dcf77: raw-bits: "Bit 50: 0" "0" +491612867-492095105 dcf77: raw-bits: "Bit 51: 0" "0" +495717661-496655762 dcf77: raw-bits: "Bit 52: 1" "1" +499670264-500054926 dcf77: raw-bits: "Bit 53: 0" "0" +503645462-504068682 dcf77: raw-bits: "Bit 54: 0" "0" +507616484-508548693 dcf77: raw-bits: "Bit 55: 1" "1" +511705035-512084523 dcf77: raw-bits: "Bit 56: 0" "0" +515667665-516063273 dcf77: raw-bits: "Bit 57: 0" "0" +487601145-516063273 dcf77: year: "Year: 24" +519682223-520062378 dcf77: raw-bits: "Bit 58: 0" "0" +519682223-520062378 dcf77: date-parity: "Date parity: INVALID!" "DP: INVALID!" +531688637-532074328 dcf77: raw-bits: "Bit 0: 0" "0" +531688637-532074328 dcf77: start-of-minute: "Start of minute (always 0)" "Start of minute" "SoM" +535740658-536106970 dcf77: raw-bits: "Bit 1: 0" "0" +539750054-540053730 dcf77: raw-bits: "Bit 2: 0" "0" +543782645-544492433 dcf77: raw-bits: "Bit 3: 1" "1" +547766147-548473713 dcf77: raw-bits: "Bit 4: 1" "1" +551649868-552552519 dcf77: raw-bits: "Bit 5: 1" "1" +555704971-556137468 dcf77: raw-bits: "Bit 6: 0" "0" +559717926-560520374 dcf77: raw-bits: "Bit 7: 1" "1" +563699198-564458576 dcf77: raw-bits: "Bit 8: 1" "1" +567652920-568071041 dcf77: raw-bits: "Bit 9: 0" "0" +571696119-572508034 dcf77: raw-bits: "Bit 10: 1" "1" +575730422-576508328 dcf77: raw-bits: "Bit 11: 1" "1" +579700357-580098369 dcf77: raw-bits: "Bit 12: 0" "0" +583670687-584154780 dcf77: raw-bits: "Bit 13: 0" "0" +587664417-588126467 dcf77: raw-bits: "Bit 14: 0" "0" +535740658-588126467 dcf77: special-bits: "Special bits: 00011011011100" "SB: 00011011011100" +591651382-592112176 dcf77: raw-bits: "Bit 15: 0" "0" +591651382-592112176 dcf77: call-bit: "Call bit: not set" "CB: not set" +595732864-596114743 dcf77: raw-bits: "Bit 16: 0" "0" +595732864-596114743 dcf77: summer-time: "Summer time announcement: not active" "Summer time: not active" "Summer time: no" "ST: no" +599777822-600100106 dcf77: raw-bits: "Bit 17: 0" "0" +599777822-600100106 dcf77: cest: "CEST: not in effect" "CEST: no" +603761814-604466474 dcf77: raw-bits: "Bit 18: 1" "1" +603761814-604466474 dcf77: cet: "CET: in effect" "CET: yes" +605053313-605227920 dcf77: raw-bits: "Bit 19: 0" "0" +605053313-605227920 dcf77: leap-second: "Leap second announcement: not active" "Leap second: not active" "Leap second: no" "LS: no" +607758361-608146567 dcf77: raw-bits: "Bit 20: 0" "0" +607758361-608146567 dcf77: warnings: "Start of encoded time != 1" "SoeT != 1" +611729910-612570425 dcf77: raw-bits: "Bit 21: 1" "1" +615837379-616119343 dcf77: raw-bits: "Bit 22: 0" "0" +619757889-620632194 dcf77: raw-bits: "Bit 23: 1" "1" +623801770-624551357 dcf77: raw-bits: "Bit 24: 1" "1" +627685292-628181055 dcf77: raw-bits: "Bit 25: 0" "0" +631694634-632132867 dcf77: raw-bits: "Bit 26: 0" "0" +635679108-636151829 dcf77: raw-bits: "Bit 27: 0" "0" +611729910-636151829 dcf77: minute: "Minutes: 13" "Min: 13" +637349998-637527852 dcf77: raw-bits: "Bit 28: 0" "0" +637349998-637527852 dcf77: minute-parity: "Minute parity: INVALID!" "Min parity: INVALID!" +639732765-640113649 dcf77: raw-bits: "Bit 29: 0" "0" +643739158-644122690 dcf77: raw-bits: "Bit 30: 0" "0" +647713120-648090092 dcf77: raw-bits: "Bit 31: 0" "0" +651704125-652101514 dcf77: raw-bits: "Bit 32: 0" "0" +655717729-656198821 dcf77: raw-bits: "Bit 33: 0" "0" +659827696-660169786 dcf77: raw-bits: "Bit 34: 0" "0" +639732765-660169786 dcf77: hour: "Hours: 0" +663816502-664215535 dcf77: raw-bits: "Bit 35: 0" "0" +663816502-664215535 dcf77: hour-parity: "Hour parity: OK" +667777248-668144651 dcf77: raw-bits: "Bit 36: 0" "0" +671711307-672238837 dcf77: raw-bits: "Bit 37: 0" "0" +675760442-676215005 dcf77: raw-bits: "Bit 38: 0" "0" +679791909-680137099 dcf77: raw-bits: "Bit 39: 0" "0" +683722471-684174600 dcf77: raw-bits: "Bit 40: 0" "0" +687750263-688171220 dcf77: raw-bits: "Bit 41: 0" "0" +667777248-688171220 dcf77: day: "Day: 0" +691814611-692615359 dcf77: raw-bits: "Bit 42: 1" "1" +695777091-696153665 dcf77: raw-bits: "Bit 43: 0" "0" +699795658-700173933 dcf77: raw-bits: "Bit 44: 0" "0" +691814611-700173933 dcf77: day-of-week: "Day of week: 1 (Monday)" "DoW: 1 (Monday)" diff --git a/decoder/test/dcf77/test.conf b/decoder/test/dcf77/test.conf index 609f987..c26971f 100644 --- a/decoder/test/dcf77/test.conf +++ b/decoder/test/dcf77/test.conf @@ -2,3 +2,18 @@ test exception_samplerate protocol-decoder dcf77 input misc/no-samplerate.sr output dcf77 exception match SamplerateError + +test dcf77_20s + protocol-decoder dcf77 channel data=1 + input dcf77/pollin_dcf1_module/dcf77_20s.sr + output dcf77 annotation match dcf77_20s.output + +test dcf77_120s + protocol-decoder dcf77 channel data=1 + input dcf77/pollin_dcf1_module/dcf77_120s.sr + output dcf77 annotation match dcf77_120s.output + +test dcf77_480s + protocol-decoder dcf77 channel data=1 + input dcf77/pollin_dcf1_module/dcf77_480s.sr + output dcf77 annotation match dcf77_480s.output