From: Uwe Hermann Date: Wed, 5 Sep 2018 23:21:27 +0000 (+0200) Subject: swim: Add test-cases for binary output. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=87e974cbd6b631a6c75704e8befb61d48f37fd68;p=sigrok-test.git swim: Add test-cases for binary output. --- diff --git a/decoder/test/swim/flash_prog/sample1.bin_rx b/decoder/test/swim/flash_prog/sample1.bin_rx new file mode 100644 index 0000000..c79dcbb --- /dev/null +++ b/decoder/test/swim/flash_prog/sample1.bin_rx @@ -0,0 +1,715 @@ +120993-121213 swim: a3 +383736-383836 swim: 82 +383923-384023 swim: 00 +384111-384211 swim: 80 +384290-384390 swim: 7d +384478-384578 swim: 82 +384666-384766 swim: 00 +384854-384954 swim: 80 +385035-385135 swim: 7c +385242-385342 swim: 82 +385429-385529 swim: 00 +385615-385715 swim: 80 +385796-385896 swim: 7c +385975-386075 swim: 82 +386164-386264 swim: 00 +386350-386450 swim: 80 +386531-386631 swim: 7c +386712-386812 swim: 82 +386900-387000 swim: 00 +387087-387187 swim: 80 +387349-387449 swim: 7c +387530-387630 swim: 82 +387718-387818 swim: 00 +387905-388005 swim: 80 +388085-388185 swim: 7c +388266-388366 swim: 82 +388454-388554 swim: 00 +388641-388741 swim: 80 +388822-388922 swim: 7c +389002-389102 swim: 82 +389190-389290 swim: 00 +389461-389561 swim: 80 +389656-389756 swim: 7c +389836-389936 swim: 82 +390024-390124 swim: 00 +390212-390312 swim: 81 +390400-390500 swim: 89 +390579-390679 swim: 82 +390766-390866 swim: 00 +390954-391054 swim: 80 +391134-391234 swim: 7c +391313-391413 swim: 82 +391590-391690 swim: 00 +391776-391876 swim: 80 +391957-392057 swim: 7c +392138-392238 swim: 82 +392326-392426 swim: 00 +392513-392613 swim: 80 +392693-392793 swim: 7c +392874-392974 swim: 82 +393062-393162 swim: 00 +393249-393349 swim: 80 +393430-393530 swim: 7c +393610-393710 swim: 82 +393871-393971 swim: 00 +394057-394157 swim: 80 +394238-394338 swim: 7c +394417-394517 swim: 82 +394605-394705 swim: 00 +394792-394892 swim: 80 +394973-395073 swim: 7c +395154-395254 swim: 82 +395342-395442 swim: 00 +395529-395629 swim: 81 +395717-395817 swim: a6 +395978-396078 swim: 82 +396165-396265 swim: 00 +396353-396453 swim: 80 +396533-396633 swim: 7c +396712-396812 swim: 82 +396899-396999 swim: 00 +397087-397187 swim: 80 +397266-397366 swim: 7c +397446-397546 swim: 82 +397632-397732 swim: 00 +397821-397921 swim: 80 +398000-398100 swim: 7c +398248-398348 swim: 82 +398435-398535 swim: 00 +398623-398723 swim: 81 +398811-398911 swim: 62 +398990-399090 swim: 82 +399178-399278 swim: 00 +399365-399465 swim: 81 +399553-399653 swim: 40 +399733-399833 swim: 82 +399921-400021 swim: 00 +400109-400209 swim: 80 +400290-400390 swim: 7c +400537-400637 swim: 82 +400724-400824 swim: 00 +400911-401011 swim: 80 +401090-401190 swim: 7c +401270-401370 swim: 82 +401458-401558 swim: 00 +401646-401746 swim: 80 +401827-401927 swim: 7c +402007-402107 swim: 82 +402195-402295 swim: 00 +402382-402482 swim: 80 +402563-402663 swim: 7c +402743-402843 swim: 82 +402932-403032 swim: 00 +403192-403292 swim: 80 +403371-403471 swim: 7c +403588-403688 swim: 82 +403776-403876 swim: 00 +403963-404063 swim: 80 +404144-404244 swim: 7c +404324-404424 swim: 82 +404512-404612 swim: 00 +404701-404801 swim: 80 +404880-404980 swim: 7c +405059-405159 swim: 82 +405246-405346 swim: 00 +405434-405534 swim: 80 +405702-405802 swim: 7c +405882-405982 swim: 82 +406068-406168 swim: 00 +406257-406357 swim: 80 +406436-406536 swim: 7c +406615-406715 swim: 82 +406803-406903 swim: 00 +406992-407092 swim: 80 +407172-407272 swim: 7c +407353-407453 swim: 80 +407533-407633 swim: ae +407713-407813 swim: 00 +407974-408074 swim: 2e +409183-409283 swim: 27 +409370-409470 swim: 07 +409550-409650 swim: 72 +409737-409837 swim: 4f +409918-410018 swim: 00 +410193-410293 swim: 00 +410402-410502 swim: 5a +410589-410689 swim: 26 +410768-410868 swim: f9 +410955-411055 swim: ae +411135-411235 swim: 00 +411321-411421 swim: 00 +411510-411610 swim: 27 +411698-411798 swim: 09 +411885-411985 swim: d6 +412064-412164 swim: 82 +412252-412352 swim: a7 +412456-412556 swim: d7 +412644-412744 swim: 00 +412833-412933 swim: 2e +413021-413121 swim: 5a +413209-413309 swim: 26 +413389-413489 swim: f7 +413569-413669 swim: 35 +413757-413857 swim: 00 +413944-414044 swim: 50 +414130-414230 swim: c6 +414317-414417 swim: c6 +414565-414665 swim: 7f +414746-414846 swim: 74 +414934-415034 swim: a4 +415113-415213 swim: fb +415294-415394 swim: aa +415481-415581 swim: 04 +415660-415760 swim: c7 +415841-415941 swim: 7f +416021-416121 swim: 74 +416210-416310 swim: c6 +416396-416496 swim: 7f +416665-416765 swim: 74 +416876-416976 swim: a4 +417055-417155 swim: ff +417243-417343 swim: aa +417430-417530 swim: 00 +417618-417718 swim: c7 +417798-417898 swim: 7f +417978-418078 swim: 74 +418167-418267 swim: c6 +418355-418455 swim: 7f +418534-418634 swim: 73 +418802-418902 swim: a4 +419014-419114 swim: f3 +419200-419300 swim: aa +419387-419487 swim: 0c +419574-419674 swim: c7 +419754-419854 swim: 7f +419934-420034 swim: 73 +420115-420215 swim: 72 +420303-420403 swim: 1a +420482-420582 swim: 50 +420669-420769 swim: 0c +420857-420957 swim: 72 +421061-421161 swim: 1a +421242-421342 swim: 50 +421429-421529 swim: 0d +421610-421710 swim: 72 +421796-421896 swim: 1b +421983-422083 swim: 50 +422170-422270 swim: 0e +422351-422451 swim: 35 +422539-422639 swim: 05 +422727-422827 swim: 52 +422906-423006 swim: 34 +423167-423267 swim: 35 +423354-423454 swim: 07 +423533-423633 swim: 52 +423714-423814 swim: 35 +423900-424000 swim: 35 +424087-424187 swim: 00 +424275-424375 swim: 52 +424456-424556 swim: 36 +424644-424744 swim: 35 +424831-424931 swim: 0b +425010-425110 swim: 52 +425272-425372 swim: 33 +425459-425559 swim: 35 +425647-425747 swim: 08 +425826-425926 swim: 52 +426007-426107 swim: 32 +426186-426286 swim: 72 +426374-426474 swim: 16 +426555-426655 swim: 50 +426743-426843 swim: c7 +426924-427024 swim: 72 +427110-427210 swim: 1b +427297-427397 swim: 52 +427477-427577 swim: 34 +427656-427756 swim: 72 +427865-427965 swim: 14 +428053-428153 swim: 50 +428278-428378 swim: 11 +428464-428564 swim: 72 +428651-428751 swim: 14 +428839-428939 swim: 50 +429026-429126 swim: 12 +429213-429313 swim: 72 +429401-429501 swim: 15 +429580-429680 swim: 50 +429767-429867 swim: 13 +429948-430048 swim: 72 +430136-430236 swim: 17 +430370-430470 swim: 50 +430557-430657 swim: 11 +430781-430881 swim: 72 +430968-431068 swim: 17 +431156-431256 swim: 50 +431344-431444 swim: 12 +431531-431631 swim: 72 +431718-431818 swim: 17 +431906-432006 swim: 50 +432093-432193 swim: 13 +432272-432372 swim: c6 +432459-432559 swim: 50 +432680-432780 swim: a1 +432863-432963 swim: a4 +433042-433142 swim: fc +433229-433329 swim: aa +433416-433516 swim: 02 +434592-434692 swim: c7 +434861-434961 swim: 50 +435072-435172 swim: a1 +435253-435353 swim: 35 +435440-435540 swim: 00 +435627-435727 swim: 53 +435815-435915 swim: 0e +435994-436094 swim: 35 +436182-436282 swim: 00 +436369-436469 swim: 53 +436557-436657 swim: 0f +436744-436844 swim: 35 +436931-437031 swim: 1c +437139-437239 swim: 53 +437326-437426 swim: 10 +437506-437606 swim: 72 +437694-437794 swim: 14 +437881-437981 swim: 53 +438068-438168 swim: 00 +438256-438356 swim: 72 +438444-438544 swim: 10 +438623-438723 swim: 53 +438810-438910 swim: 03 +438998-439098 swim: a6 +439264-439364 swim: 48 +439460-439560 swim: cd +439641-439741 swim: 82 +439828-439928 swim: 90 +440016-440116 swim: a6 +440203-440303 swim: 69 +440390-440490 swim: cd +440569-440669 swim: 82 +440756-440856 swim: 90 +440944-441044 swim: a6 +441132-441232 swim: 0d +441311-441411 swim: cd +441519-441619 swim: 82 +441706-441806 swim: 90 +441894-441994 swim: a6 +442103-442203 swim: 0a +442291-442391 swim: cd +442472-442572 swim: 82 +442660-442760 swim: 90 +442847-442947 swim: 9a +443034-443134 swim: 8f +443214-443314 swim: 72 +443402-443502 swim: 0a +443589-443689 swim: 50 +443777-443877 swim: 0a +444010-444110 swim: 07 +444219-444319 swim: 72 +444406-444506 swim: 1b +444593-444693 swim: 50 +444780-444880 swim: 0a +444967-445067 swim: cc +445153-445253 swim: 81 +445340-445440 swim: 2c +445520-445620 swim: 72 +445708-445808 swim: 1a +445887-445987 swim: 50 +446164-446264 swim: 0a +446374-446474 swim: cc +446562-446662 swim: 81 +446750-446850 swim: 2c +446931-447031 swim: 4b +447118-447218 swim: 00 +447306-447406 swim: 86 +447486-447586 swim: 9b +447667-447767 swim: c6 +447855-447955 swim: 52 +448034-448134 swim: 31 +448302-448402 swim: 4b +448499-448599 swim: 28 +448686-448786 swim: 86 +448865-448965 swim: ce +449046-449146 swim: 00 +449234-449334 swim: 1d +449422-449522 swim: 5a +449609-449709 swim: 2a +449788-449888 swim: 03 +449976-450076 swim: ae +450155-450255 swim: 00 +450342-450442 swim: 0f +450549-450649 swim: cf +450737-450837 swim: 00 +450924-451024 swim: 1d +451112-451212 swim: d7 +451299-451399 swim: 00 +451487-451587 swim: 1f +451666-451766 swim: 72 +451853-451953 swim: 10 +452034-452134 swim: 53 +452222-452322 swim: 00 +452409-452509 swim: 72 +452643-452743 swim: 1a +452822-452922 swim: 50 +453009-453109 swim: c7 +453188-453288 swim: 80 +453369-453469 swim: 4b +453556-453656 swim: 08 +453736-453836 swim: 86 +453917-454017 swim: 9b +454096-454196 swim: 72 +454283-454383 swim: 0c +454471-454571 swim: 52 +454735-454835 swim: 30 +454923-455023 swim: 1d +455110-455210 swim: ce +455290-455390 swim: 00 +455476-455576 swim: 01 +455656-455756 swim: 5a +455843-455943 swim: 2a +456023-456123 swim: 03 +456211-456311 swim: ae +456391-456491 swim: 00 +456578-456678 swim: 0f +456854-456954 swim: cf +457057-457157 swim: 00 +457245-457345 swim: 01 +457425-457525 swim: ce +457604-457704 swim: 00 +457791-457891 swim: 01 +457971-458071 swim: c3 +458158-458258 swim: 00 +458346-458446 swim: 03 +458534-458634 swim: 27 +458722-458822 swim: 09 +458989-459089 swim: ce +460170-460270 swim: 00 +460357-460457 swim: 01 +460537-460637 swim: d6 +460718-460818 swim: 00 +460905-461005 swim: 05 +461151-461251 swim: c7 +461331-461431 swim: 52 +461510-461610 swim: 31 +461689-461789 swim: 80 +461870-461970 swim: 4b +462057-462157 swim: 28 +462244-462344 swim: 86 +462424-462524 swim: 9b +462604-462704 swim: 72 +462791-462891 swim: 17 +462979-463079 swim: 50 +463244-463344 swim: 13 +463453-463553 swim: 35 +463641-463741 swim: 0a +463828-463928 swim: 00 +464015-464115 swim: 16 +464196-464296 swim: 35 +464384-464484 swim: 04 +464563-464663 swim: 00 +464751-464851 swim: 19 +464931-465031 swim: 35 +465118-465218 swim: ff +465387-465487 swim: 00 +465575-465675 swim: 1a +465754-465854 swim: 72 +465941-466041 swim: 10 +466122-466222 swim: 53 +466310-466410 swim: 00 +466497-466597 swim: 72 +466683-466783 swim: 1a +466863-466963 swim: 50 +467050-467150 swim: c7 +467229-467329 swim: 80 +467498-467598 swim: 4b +467693-467793 swim: 28 +467882-467982 swim: 86 +468062-468162 swim: 9b +468242-468342 swim: 72 +468428-468528 swim: 11 +468617-468717 swim: 53 +468805-468905 swim: 04 +468985-469085 swim: c6 +469172-469272 swim: 00 +469359-469459 swim: 15 +469540-469640 swim: 26 +469720-469820 swim: 16 +469980-470080 swim: ce +470160-470260 swim: 00 +470347-470447 swim: 1b +470534-470634 swim: c3 +470720-470820 swim: 00 +470907-471007 swim: 1d +471094-471194 swim: 27 +471282-471382 swim: 62 +471463-471563 swim: 72 +471651-471751 swim: 15 +471830-471930 swim: 50 +472104-472204 swim: 0f +472291-472391 swim: 35 +472478-472578 swim: 0a +472665-472765 swim: 00 +472852-472952 swim: 15 +473032-473132 swim: 35 +473219-473319 swim: 05 +473406-473506 swim: 00 +473594-473694 swim: 18 +473781-473881 swim: 20 +473960-474060 swim: 54 +474141-474241 swim: 72 +474349-474449 swim: 5a +474536-474636 swim: 00 +474722-474822 swim: 18 +474910-475010 swim: 26 +475090-475190 swim: 4e +475277-475377 swim: 35 +475463-475563 swim: 05 +475652-475752 swim: 00 +475838-475938 swim: 18 +476027-476127 swim: 4a +476206-476306 swim: c7 +476440-476540 swim: 00 +476627-476727 swim: 15 +476807-476907 swim: 27 +476995-477095 swim: 21 +477182-477282 swim: a1 +477362-477462 swim: 01 +477542-477642 swim: 27 +477730-477830 swim: 17 +477918-478018 swim: ae +478098-478198 swim: 00 +478286-478386 swim: 1f +478539-478639 swim: 72 +478727-478827 swim: bb +478914-479014 swim: 00 +479100-479200 swim: 1b +479287-479387 swim: 66 +479474-479574 swim: 00 +479662-479762 swim: 25 +479842-479942 swim: 06 +480028-480128 swim: 72 +480215-480315 swim: 15 +480396-480496 swim: 50 +480662-480762 swim: 0f +480859-480959 swim: 20 +481040-481140 swim: 2f +481219-481319 swim: 72 +481406-481506 swim: 14 +481593-481693 swim: 50 +481781-481881 swim: 0f +481968-482068 swim: 20 +482148-482248 swim: 29 +482329-482429 swim: 72 +482517-482617 swim: 14 +482792-482892 swim: 50 +482989-483089 swim: 0f +483176-483276 swim: 20 +483356-483456 swim: 23 +483536-483636 swim: ce +483716-483816 swim: 00 +483902-484002 swim: 1b +484089-484189 swim: 5a +484276-484376 swim: 2a +484457-484557 swim: 03 +485766-485866 swim: ae +485945-486045 swim: 00 +486132-486232 swim: 0f +486319-486419 swim: cf +486506-486606 swim: 00 +486692-486792 swim: 1b +486879-486979 swim: ce +487127-487227 swim: 00 +487314-487414 swim: 1b +487501-487601 swim: c3 +487688-487788 swim: 00 +487874-487974 swim: 1d +488061-488161 swim: 26 +488242-488342 swim: 0f +488429-488529 swim: 72 +488616-488716 swim: 5d +488795-488895 swim: 00 +488982-489082 swim: 16 +489243-489343 swim: 26 +489423-489523 swim: 09 +489610-489710 swim: 72 +489798-489898 swim: 1b +489984-490084 swim: 50 +490173-490273 swim: c7 +490353-490453 swim: 72 +490541-490641 swim: 11 +490729-490829 swim: 53 +490917-491017 swim: 00 +491104-491204 swim: 80 +491366-491466 swim: c6 +491553-491653 swim: 00 +491739-491839 swim: 16 +491920-492020 swim: 27 +492107-492207 swim: 17 +492294-492394 swim: 72 +492481-492581 swim: 07 +492660-492760 swim: 50 +492847-492947 swim: 0f +493034-493134 swim: 08 +493213-493313 swim: 72 +493400-493500 swim: 5a +493587-493687 swim: 00 +493773-493873 swim: 1a +493953-494053 swim: 72 +494202-494302 swim: 5a +494390-494490 swim: 00 +494578-494678 swim: 1a +494757-494857 swim: 72 +494944-495044 swim: 5c +495131-495231 swim: 00 +495318-495418 swim: 1a +495498-495598 swim: 72 +495687-495787 swim: 5a +495873-495973 swim: 00 +496060-496160 swim: 19 +496241-496341 swim: 2d +496429-496529 swim: 01 +496663-496763 swim: 80 +496842-496942 swim: 35 +497030-497130 swim: 05 +497217-497317 swim: 00 +497404-497504 swim: 19 +497585-497685 swim: 4a +497764-497864 swim: c7 +497943-498043 swim: 00 +498131-498231 swim: 16 +498312-498412 swim: 27 +498500-498600 swim: 1b +498688-498788 swim: a1 +498950-499050 swim: 01 +499132-499232 swim: 27 +499318-499418 swim: 2a +499499-499599 swim: a1 +499678-499778 swim: 09 +499867-499967 swim: 26 +500046-500146 swim: 06 +500233-500333 swim: 72 +500420-500520 swim: 59 +500608-500708 swim: 00 +500794-500894 swim: 1a +501064-501164 swim: 25 +501273-501373 swim: 0d +501453-501553 swim: 72 +501640-501740 swim: 59 +501827-501927 swim: 00 +502014-502114 swim: 1a +502193-502293 swim: 72 +502380-502480 swim: 56 +502568-502668 swim: 00 +502755-502855 swim: 17 +502943-503043 swim: 72 +503220-503320 swim: 5f +503406-503506 swim: 00 +503594-503694 swim: 1a +503778-503878 swim: 80 +503957-504057 swim: 72 +504144-504244 swim: 16 +504324-504424 swim: 50 +504513-504613 swim: 13 +504692-504792 swim: 72 +504879-504979 swim: 5d +505058-505158 swim: 00 +505245-505345 swim: 15 +505513-505613 swim: 26 +505723-505823 swim: 08 +505904-506004 swim: 72 +506092-506192 swim: 1b +506279-506379 swim: 50 +506466-506566 swim: c7 +506645-506745 swim: 72 +506832-506932 swim: 11 +507020-507120 swim: 53 +507208-507308 swim: 00 +507396-507496 swim: 80 +507664-507764 swim: c6 +507875-507975 swim: 00 +508063-508163 swim: 17 +508251-508351 swim: ce +508430-508530 swim: 00 +508618-508718 swim: 01 +508799-508899 swim: c3 +508987-509087 swim: 00 +509174-509274 swim: 03 +509361-509461 swim: 26 +509540-509640 swim: 03 +509816-509916 swim: c7 +510027-510127 swim: 52 +510207-510307 swim: 31 +511370-511470 swim: ce +511550-511650 swim: 00 +511738-511838 swim: 03 +511926-512026 swim: 5a +512134-512234 swim: 2a +512313-512413 swim: 03 +512501-512601 swim: ae +512681-512781 swim: 00 +512868-512968 swim: 0f +513056-513156 swim: cf +513243-513343 swim: 00 +513431-513531 swim: 03 +513619-513719 swim: d7 +513806-513906 swim: 00 +513993-514093 swim: 05 +514179-514279 swim: 80 +514360-514460 swim: ce +514539-514639 swim: 00 +514726-514826 swim: 1d +514914-515014 swim: 5a +515101-515201 swim: 2a +515282-515382 swim: 03 +515470-515570 swim: ae +515649-515749 swim: 00 +515836-515936 swim: 0f +516023-516123 swim: cf +516211-516311 swim: 00 +516398-516498 swim: 1d +516586-516686 swim: d7 +516773-516873 swim: 00 +516960-517060 swim: 1f +517140-517240 swim: 72 +517328-517428 swim: 10 +517508-517608 swim: 53 +517696-517796 swim: 00 +517883-517983 swim: 72 +518071-518171 swim: 1a +518250-518350 swim: 50 +518438-518538 swim: c7 +518619-518719 swim: 81 +518807-518907 swim: 00 +518994-519094 swim: 00 +519181-519281 swim: 00 +519368-519468 swim: 00 +519554-519654 swim: 00 +519741-519841 swim: 00 +519928-520028 swim: 00 +520115-520215 swim: 00 +520302-520402 swim: 00 +520489-520589 swim: 00 +520676-520776 swim: 00 +520862-520962 swim: 00 +521049-521149 swim: 00 +521236-521336 swim: 00 +521423-521523 swim: 00 +521610-521710 swim: 00 +521796-521896 swim: 00 +521983-522083 swim: 00 +522170-522270 swim: 00 +522357-522457 swim: 00 +522544-522644 swim: 00 +522732-522832 swim: 00 +522920-523020 swim: 00 +523107-523207 swim: 00 +622469-622569 swim: 46 +714200-714300 swim: 46 +807586-807686 swim: 46 +898980-899080 swim: 46 +989933-990033 swim: 46 +1080075-1080175 swim: 46 +1171440-1171540 swim: 46 +1263676-1263776 swim: 46 +1356181-1356281 swim: 46 +1426822-1426922 swim: b3 diff --git a/decoder/test/swim/flash_prog/sample1.bin_tx b/decoder/test/swim/flash_prog/sample1.bin_tx new file mode 100644 index 0000000..50d9d62 --- /dev/null +++ b/decoder/test/swim/flash_prog/sample1.bin_tx @@ -0,0 +1,601 @@ +105588-105812 swim: a1 +128762-128980 swim: b3 +372137-372235 swim: 00 +376493-376591 swim: 56 +380055-380153 swim: ae +536552-536652 swim: 01 +539986-540084 swim: fe +544439-544537 swim: 27 +544645-544743 swim: 07 +544850-544948 swim: 72 +545056-545154 swim: 4f +545260-545358 swim: 00 +545465-545563 swim: 00 +545670-545768 swim: 5a +545875-545973 swim: 26 +546167-546265 swim: f9 +546372-546470 swim: ae +546614-546712 swim: 00 +546819-546917 swim: 00 +547024-547122 swim: 27 +547229-547327 swim: 09 +547433-547531 swim: d6 +547639-547737 swim: 82 +547844-547942 swim: a7 +548049-548147 swim: d7 +548342-548440 swim: 00 +548583-548681 swim: 2e +548788-548886 swim: 5a +548993-549091 swim: 26 +549198-549296 swim: f7 +549404-549502 swim: 35 +549609-549707 swim: 00 +549813-549913 swim: 50 +550019-550117 swim: c6 +550223-550321 swim: c6 +550516-550614 swim: 7f +550758-550856 swim: 74 +550963-551061 swim: a4 +551169-551267 swim: f3 +551374-551472 swim: aa +551579-551677 swim: 04 +551784-551882 swim: c7 +551989-552089 swim: 7f +552195-552293 swim: 74 +552400-552498 swim: c6 +552693-552791 swim: 7f +552898-552998 swim: 74 +553104-553202 swim: a4 +553345-553445 swim: cf +553551-553649 swim: aa +553755-553853 swim: 00 +553961-554059 swim: c7 +554166-554266 swim: 7f +554372-554470 swim: 74 +554577-554675 swim: c6 +554783-554881 swim: 7f +555075-555175 swim: 73 +555281-555379 swim: a4 +555486-555584 swim: f3 +555728-555826 swim: aa +555932-556030 swim: 0c +556138-556236 swim: c7 +556343-556441 swim: 7f +556548-556646 swim: 73 +556753-556851 swim: 72 +556958-557058 swim: 1a +557163-557261 swim: 50 +557456-557554 swim: 0c +557661-557759 swim: 72 +557903-558001 swim: 1a +558108-558206 swim: 50 +627061-627159 swim: 01 +630675-630775 swim: fe +635019-635117 swim: 0d +635224-635322 swim: 72 +635428-635526 swim: 1b +635632-635732 swim: 50 +635838-635936 swim: 0e +636042-636140 swim: 35 +636248-636346 swim: 20 +636542-636640 swim: 52 +636785-636883 swim: 34 +636990-637090 swim: 35 +637196-637294 swim: ac +637400-637498 swim: 52 +637605-637703 swim: 35 +637810-637908 swim: 35 +638014-638114 swim: 00 +638220-638318 swim: 52 +638425-638523 swim: 36 +638630-638728 swim: 35 +638923-639021 swim: 0b +639128-639226 swim: 52 +639370-639468 swim: 33 +639574-639674 swim: 35 +639780-639878 swim: 08 +639984-640082 swim: 52 +640190-640288 swim: 32 +640394-640492 swim: 72 +640600-640698 swim: 16 +640804-640902 swim: 50 +641010-641108 swim: c7 +641214-641312 swim: 72 +641507-641605 swim: 1b +641712-641810 swim: 52 +641917-642015 swim: 34 +642158-642256 swim: 72 +642363-642461 swim: 14 +642568-642666 swim: 50 +642773-642871 swim: 11 +642978-643076 swim: 72 +643182-643282 swim: 14 +643387-643485 swim: 50 +643592-643690 swim: 12 +643797-643895 swim: 72 +644090-644188 swim: 15 +644295-644393 swim: 50 +644537-644635 swim: 13 +644742-644840 swim: 72 +644946-645046 swim: 17 +645152-645250 swim: 50 +645356-645454 swim: 11 +645562-645660 swim: 72 +645766-645864 swim: 17 +645971-646069 swim: 50 +646264-646362 swim: 12 +646505-646603 swim: 72 +646710-646808 swim: 17 +646916-647014 swim: 50 +647120-647220 swim: 13 +647326-647424 swim: c6 +647530-647628 swim: 50 +647735-647835 swim: a1 +647940-648038 swim: a4 +648146-648244 swim: fc +648350-648448 swim: aa +648643-648741 swim: 02 +720594-720692 swim: 01 +724504-724602 swim: fe +728751-728849 swim: c7 +728956-729054 swim: 50 +729161-729259 swim: a1 +729366-729464 swim: 35 +729570-729670 swim: 00 +729776-729874 swim: 53 +729981-730079 swim: 0e +730186-730284 swim: 35 +730479-730577 swim: 00 +730721-730819 swim: 53 +730926-731024 swim: 0f +731131-731229 swim: 35 +731335-731435 swim: 17 +731541-731639 swim: 53 +731746-731844 swim: 10 +731951-732049 swim: 72 +732156-732254 swim: 14 +732361-732459 swim: 53 +732653-732751 swim: 00 +732896-732994 swim: 72 +733100-733198 swim: 10 +733306-733404 swim: 53 +733510-733608 swim: 03 +733715-733815 swim: a6 +733920-734018 swim: 48 +734125-734223 swim: cd +734330-734428 swim: 82 +734535-734633 swim: 90 +734827-734925 swim: a6 +735032-735130 swim: 69 +735274-735372 swim: cd +735478-735576 swim: 82 +735683-735783 swim: 90 +735888-735986 swim: a6 +736093-736191 swim: 0d +736298-736396 swim: cd +736502-736600 swim: 82 +736707-736807 swim: 90 +736999-737099 swim: a6 +737205-737303 swim: 0a +737410-737508 swim: cd +737651-737749 swim: 82 +737856-737954 swim: 90 +738060-738160 swim: 9a +738266-738364 swim: 8f +738470-738568 swim: 72 +738675-738773 swim: 0a +738880-738978 swim: 50 +739084-739184 swim: 0a +739377-739475 swim: 07 +739583-739681 swim: 72 +739824-739922 swim: 1b +740028-740128 swim: 50 +740233-740331 swim: 0a +740438-740536 swim: cc +740643-740741 swim: 81 +740848-740946 swim: 2c +741054-741152 swim: 72 +741259-741357 swim: 1a +741551-741649 swim: 50 +741756-741856 swim: 0a +741962-742060 swim: cc +742202-742302 swim: 81 +742408-742506 swim: 2c +813270-813368 swim: 01 +816746-816844 swim: fe +820983-821081 swim: 4b +821188-821286 swim: 00 +821393-821491 swim: 86 +821598-821698 swim: 9b +821804-821902 swim: c6 +822009-822107 swim: 52 +822215-822313 swim: 31 +822419-822517 swim: 4b +822624-822722 swim: 28 +822916-823016 swim: 86 +823122-823220 swim: ce +823363-823463 swim: 00 +823569-823667 swim: 1b +823773-823871 swim: 5a +823978-824078 swim: 2a +824184-824282 swim: 03 +824389-824487 swim: ae +824594-824692 swim: 00 +824887-824985 swim: 0f +825128-825226 swim: cf +825333-825433 swim: 00 +825538-825636 swim: 1b +825743-825841 swim: d7 +825948-826046 swim: 00 +826153-826251 swim: 1f +826358-826458 swim: 72 +826564-826662 swim: 10 +826768-826866 swim: 53 +827061-827159 swim: 00 +827303-827401 swim: 72 +827508-827608 swim: 1a +827714-827812 swim: 50 +827919-828017 swim: c7 +828125-828223 swim: 80 +828329-828427 swim: 4b +828534-828632 swim: 08 +828739-828837 swim: 86 +828944-829044 swim: 9b +829238-829336 swim: 72 +829444-829542 swim: 0c +829686-829784 swim: 52 +829891-829989 swim: 30 +830096-830194 swim: 1d +830301-830399 swim: ce +830505-830603 swim: 00 +830710-830810 swim: 03 +830916-831014 swim: 5a +831120-831218 swim: 2a +831325-831423 swim: 03 +831618-831716 swim: ae +831823-831921 swim: 00 +832065-832163 swim: 0f +832270-832368 swim: cf +832474-832572 swim: 00 +832680-832778 swim: 03 +832885-832983 swim: ce +833090-833188 swim: 00 +833295-833393 swim: 03 +833587-833685 swim: c3 +833828-833928 swim: 00 +834034-834132 swim: 01 +834239-834337 swim: 27 +834445-834543 swim: 09 +834649-834747 swim: ce +904936-905034 swim: 01 +908431-908529 swim: fe +912666-912764 swim: 00 +912871-912969 swim: 03 +913077-913175 swim: d6 +913282-913380 swim: 00 +913486-913586 swim: 05 +913692-913790 swim: c7 +913897-913995 swim: 52 +914103-914201 swim: 31 +914397-914495 swim: 80 +914637-914737 swim: 4b +914843-914941 swim: 28 +915047-915145 swim: 86 +915253-915351 swim: 9b +915458-915556 swim: 72 +915663-915761 swim: 17 +915868-915966 swim: 50 +916073-916171 swim: 13 +916278-916376 swim: 35 +916570-916670 swim: 0a +916812-916910 swim: 00 +917017-917117 swim: 16 +917222-917320 swim: 35 +917427-917525 swim: 05 +917632-917730 swim: 00 +917837-917935 swim: 19 +918043-918141 swim: 35 +918248-918346 swim: ff +918452-918550 swim: 00 +918745-918843 swim: 1a +918987-919085 swim: 72 +919192-919290 swim: 10 +919397-919497 swim: 53 +919602-919700 swim: 00 +919806-919906 swim: 72 +920012-920110 swim: 1a +920217-920315 swim: 50 +920423-920521 swim: c7 +920627-920725 swim: 80 +920921-921019 swim: 4b +921125-921225 swim: 28 +921331-921429 swim: 86 +921536-921634 swim: 9b +921741-921839 swim: 72 +921946-922044 swim: 11 +922187-922285 swim: 53 +922392-922490 swim: 04 +922598-922696 swim: c6 +922802-922900 swim: 00 +923008-923106 swim: 15 +923213-923311 swim: 26 +923419-923517 swim: 16 +923624-923724 swim: ce +923830-923928 swim: 00 +924123-924221 swim: 1d +924328-924426 swim: c3 +924570-924668 swim: 00 +924775-924873 swim: 1b +924979-925077 swim: 27 +925185-925283 swim: 62 +925390-925488 swim: 72 +925595-925693 swim: 15 +925800-925898 swim: 50 +926006-926104 swim: 0f +926210-926308 swim: 35 +995033-995131 swim: 01 +998488-998588 swim: fe +1002756-1002854 swim: 0a +1002961-1003059 swim: 00 +1003166-1003264 swim: 15 +1003371-1003469 swim: 35 +1003576-1003674 swim: 06 +1003781-1003879 swim: 00 +1003986-1004084 swim: 18 +1004279-1004379 swim: 20 +1004521-1004619 swim: 54 +1004725-1004823 swim: 72 +1004930-1005030 swim: 5a +1005135-1005233 swim: 00 +1005340-1005438 swim: 18 +1005545-1005643 swim: 26 +1005750-1005848 swim: 4e +1005954-1006054 swim: 35 +1006160-1006258 swim: 06 +1006453-1006551 swim: 00 +1006694-1006792 swim: 18 +1006900-1006998 swim: 4a +1007104-1007202 swim: c7 +1007309-1007407 swim: 00 +1007514-1007612 swim: 15 +1007719-1007819 swim: 27 +1007925-1008023 swim: 21 +1008130-1008228 swim: a1 +1008336-1008434 swim: 01 +1008629-1008727 swim: 27 +1008870-1008968 swim: 17 +1009076-1009174 swim: ae +1009280-1009378 swim: 00 +1009486-1009584 swim: 1f +1009691-1009789 swim: 72 +1009896-1009994 swim: bb +1010101-1010199 swim: 00 +1010306-1010404 swim: 1d +1010511-1010609 swim: 66 +1010803-1010903 swim: 00 +1011009-1011107 swim: 25 +1011250-1011350 swim: 06 +1011456-1011554 swim: 72 +1011661-1011759 swim: 15 +1011866-1011964 swim: 50 +1012071-1012169 swim: 0f +1012276-1012374 swim: 20 +1012481-1012579 swim: 2f +1012686-1012786 swim: 72 +1012978-1013078 swim: 14 +1013184-1013282 swim: 50 +1013425-1013523 swim: 0f +1013630-1013730 swim: 20 +1013835-1013933 swim: 29 +1014040-1014140 swim: 72 +1014245-1014343 swim: 14 +1014450-1014548 swim: 50 +1014655-1014753 swim: 0f +1014860-1014958 swim: 20 +1015153-1015251 swim: 23 +1015395-1015493 swim: ce +1015600-1015698 swim: 00 +1015805-1015905 swim: 1d +1016010-1016108 swim: 5a +1016215-1016313 swim: 2a +1016420-1016518 swim: 03 +1085975-1086073 swim: 01 +1089438-1089536 swim: fe +1093857-1093957 swim: ae +1094062-1094162 swim: 00 +1094267-1094365 swim: 0f +1094472-1094570 swim: cf +1094677-1094775 swim: 00 +1094882-1094980 swim: 1d +1095086-1095186 swim: ce +1095379-1095477 swim: 00 +1095621-1095719 swim: 1d +1095825-1095923 swim: c3 +1096030-1096130 swim: 00 +1096235-1096333 swim: 1b +1096440-1096538 swim: 26 +1096645-1096743 swim: 0f +1096850-1096948 swim: 72 +1097055-1097153 swim: 5d +1097260-1097358 swim: 00 +1097553-1097651 swim: 16 +1097794-1097892 swim: 26 +1097999-1098097 swim: 09 +1098204-1098302 swim: 72 +1098409-1098507 swim: 1b +1098614-1098712 swim: 50 +1098819-1098917 swim: c7 +1099024-1099124 swim: 72 +1099229-1099327 swim: 11 +1099434-1099532 swim: 53 +1099727-1099825 swim: 00 +1099933-1100031 swim: 80 +1100174-1100272 swim: c6 +1100379-1100477 swim: 00 +1100584-1100682 swim: 16 +1100789-1100889 swim: 27 +1100994-1101092 swim: 17 +1101199-1101297 swim: 72 +1101405-1101503 swim: 07 +1101609-1101707 swim: 50 +1101902-1102000 swim: 0f +1102144-1102242 swim: 08 +1102348-1102446 swim: 72 +1102553-1102651 swim: 5a +1102758-1102856 swim: 00 +1102963-1103061 swim: 1a +1103169-1103267 swim: 72 +1103374-1103472 swim: 5a +1103578-1103678 swim: 00 +1103784-1103882 swim: 1a +1104076-1104174 swim: 72 +1104281-1104379 swim: 5c +1104523-1104621 swim: 00 +1104728-1104826 swim: 1a +1104934-1105032 swim: 72 +1105138-1105236 swim: 5a +1105343-1105443 swim: 00 +1105549-1105647 swim: 19 +1105753-1105853 swim: 2d +1105959-1106057 swim: 01 +1106252-1106350 swim: 80 +1106457-1106555 swim: 35 +1106699-1106797 swim: 06 +1106904-1107002 swim: 00 +1107110-1107208 swim: 19 +1107315-1107413 swim: 4a +1107520-1107618 swim: c7 +1176042-1176140 swim: 01 +1179656-1179754 swim: fe +1184597-1184695 swim: 00 +1184802-1184902 swim: 16 +1185007-1185105 swim: 27 +1185212-1185310 swim: 1b +1185417-1185515 swim: a1 +1185622-1185720 swim: 01 +1185828-1185926 swim: 27 +1186033-1186131 swim: 2a +1186238-1186336 swim: a1 +1186530-1186630 swim: 09 +1186736-1186834 swim: 26 +1186977-1187075 swim: 06 +1187182-1187280 swim: 72 +1187387-1187485 swim: 59 +1187591-1187691 swim: 00 +1187797-1187895 swim: 1a +1188002-1188100 swim: 25 +1188208-1188306 swim: 0d +1188412-1188512 swim: 72 +1188705-1188803 swim: 59 +1188947-1189045 swim: 00 +1189152-1189250 swim: 1a +1189358-1189456 swim: 72 +1189563-1189661 swim: 56 +1189767-1189865 swim: 00 +1189973-1190071 swim: 17 +1190177-1190275 swim: 72 +1190382-1190482 swim: 5f +1190587-1190685 swim: 00 +1190880-1190978 swim: 1a +1191121-1191219 swim: 80 +1191326-1191424 swim: 72 +1191531-1191629 swim: 16 +1191735-1191833 swim: 50 +1191941-1192039 swim: 13 +1192145-1192243 swim: 72 +1192350-1192450 swim: 5d +1192555-1192653 swim: 00 +1192848-1192946 swim: 15 +1193053-1193151 swim: 26 +1193259-1193357 swim: 08 +1193500-1193598 swim: 72 +1193706-1193804 swim: 1b +1193910-1194008 swim: 50 +1194116-1194214 swim: c7 +1194321-1194419 swim: 72 +1194526-1194624 swim: 11 +1194731-1194829 swim: 53 +1194936-1195034 swim: 00 +1195141-1195239 swim: 80 +1195346-1195444 swim: c6 +1195639-1195737 swim: 00 +1195844-1195942 swim: 17 +1196086-1196186 swim: ce +1196291-1196389 swim: 00 +1196497-1196595 swim: 03 +1196702-1196800 swim: c3 +1196906-1197004 swim: 00 +1197112-1197210 swim: 01 +1197317-1197415 swim: 26 +1197522-1197620 swim: 03 +1197727-1197825 swim: c7 +1197933-1198031 swim: 52 +1198138-1198238 swim: 31 +1269288-1269386 swim: 01 +1273293-1273391 swim: fe +1277799-1277899 swim: ce +1278005-1278103 swim: 00 +1278210-1278308 swim: 01 +1278414-1278512 swim: 5a +1278620-1278718 swim: 2a +1278824-1278922 swim: 03 +1279030-1279128 swim: ae +1279234-1279332 swim: 00 +1279527-1279625 swim: 0f +1279768-1279868 swim: cf +1279973-1280071 swim: 00 +1280178-1280278 swim: 01 +1280384-1280482 swim: d7 +1280589-1280687 swim: 00 +1280793-1280893 swim: 05 +1280999-1281097 swim: 80 +1281204-1281304 swim: ce +1281409-1281507 swim: 00 +1281613-1281711 swim: 1b +1281906-1282004 swim: 5a +1282148-1282246 swim: 2a +1282352-1282450 swim: 03 +1282558-1282656 swim: ae +1282763-1282861 swim: 00 +1282967-1283067 swim: 0f +1283173-1283271 swim: cf +1283377-1283475 swim: 00 +1283582-1283682 swim: 1b +1283787-1283885 swim: d7 +1283991-1284091 swim: 00 +1284197-1284295 swim: 1f +1284402-1284500 swim: 72 +1284608-1284706 swim: 10 +1284813-1284911 swim: 53 +1285018-1285116 swim: 00 +1285222-1285320 swim: 72 +1285428-1285526 swim: 1a +1285633-1285731 swim: 50 +1285839-1285937 swim: c7 +1286044-1286142 swim: 81 +1286248-1286348 swim: 00 +1286454-1286552 swim: 00 +1286658-1286756 swim: 00 +1286863-1286963 swim: 00 +1287068-1287166 swim: 00 +1287272-1287372 swim: 00 +1287478-1287576 swim: 00 +1287682-1287780 swim: 00 +1287887-1287987 swim: 00 +1288092-1288190 swim: 00 +1288297-1288395 swim: 00 +1288590-1288690 swim: 00 +1288796-1288894 swim: 00 +1289000-1289098 swim: 00 +1289243-1289341 swim: 00 +1289447-1289545 swim: 00 +1289652-1289752 swim: 00 +1289857-1289955 swim: 00 +1290061-1290161 swim: 00 +1290267-1290365 swim: 00 +1290471-1290569 swim: 00 +1290676-1290776 swim: 00 +1290881-1290979 swim: 00 +1291174-1291272 swim: 00 +1361877-1361975 swim: 44 +1431727-1431825 swim: 12 diff --git a/decoder/test/swim/test.conf b/decoder/test/swim/test.conf index 25a86a2..ce0b305 100644 --- a/decoder/test/swim/test.conf +++ b/decoder/test/swim/test.conf @@ -2,23 +2,33 @@ test tests_1 protocol-decoder swim channel swim=1 input swim/tests/sample1.sr output swim annotation match tests/sample1.output + output swim binary class rx match tests/sample1.bin_rx + output swim binary class tx match tests/sample1.bin_tx test tests_2 protocol-decoder swim channel swim=1 input swim/tests/sample2.sr output swim annotation match tests/sample2.output + output swim binary class rx match tests/sample2.bin_rx + output swim binary class tx match tests/sample2.bin_tx test tests_3 protocol-decoder swim channel swim=1 input swim/tests/sample3.sr output swim annotation match tests/sample3.output + output swim binary class rx match tests/sample3.bin_rx + output swim binary class tx match tests/sample3.bin_tx test tests_4 protocol-decoder swim channel swim=1 input swim/tests/sample4.sr output swim annotation match tests/sample4.output + output swim binary class rx match tests/sample4.bin_rx + output swim binary class tx match tests/sample4.bin_tx test flash_prog protocol-decoder swim channel swim=1 input swim/flash_prog/sample1.sr output swim annotation match flash_prog/sample1.output + output swim binary class rx match flash_prog/sample1.bin_rx + output swim binary class tx match flash_prog/sample1.bin_tx diff --git a/decoder/test/swim/tests/sample1.bin_rx b/decoder/test/swim/tests/sample1.bin_rx new file mode 100644 index 0000000..99884ae --- /dev/null +++ b/decoder/test/swim/tests/sample1.bin_rx @@ -0,0 +1,514 @@ +124384-124606 swim: 00 +124755-124975 swim: 00 +125190-125412 swim: ff +125561-125781 swim: 00 +125932-126153 swim: ff +126302-126523 swim: 00 +126673-126894 swim: ff +127043-127265 swim: 00 +127454-127674 swim: ff +127824-128045 swim: 00 +128195-128415 swim: ff +128565-128787 swim: 00 +128936-129157 swim: 00 +129306-129528 swim: 00 +129677-129898 swim: 00 +130047-130267 swim: 00 +130418-130638 swim: 00 +130788-131008 swim: 00 +131159-131379 swim: 00 +131529-131749 swim: 00 +131935-132156 swim: 00 +132305-132527 swim: 00 +132676-132897 swim: 00 +133046-133266 swim: 00 +133416-133638 swim: 00 +133787-134007 swim: 00 +134158-134378 swim: 00 +134528-134750 swim: 00 +134899-135120 swim: 00 +135269-135491 swim: 00 +135640-135861 swim: 00 +136100-136321 swim: 00 +136471-136691 swim: 00 +136841-137063 swim: 00 +137212-137432 swim: 00 +137582-137804 swim: 00 +137953-138173 swim: 00 +138324-138545 swim: 00 +138694-138914 swim: 00 +139065-139286 swim: 00 +139435-139656 swim: 00 +139806-140027 swim: 00 +140176-140398 swim: 00 +140547-140767 swim: 00 +140917-141138 swim: 00 +141288-141508 swim: 00 +141673-141895 swim: 00 +142044-142264 swim: 00 +142414-142636 swim: 00 +142785-143005 swim: 00 +143156-143377 swim: 00 +143616-143838 swim: 00 +143987-144208 swim: 00 +144357-144579 swim: 00 +144728-144948 swim: 00 +145098-145320 swim: 00 +145469-145689 swim: 00 +145839-146061 swim: 00 +146210-146430 swim: 00 +146580-146802 swim: 00 +146951-147171 swim: 00 +147322-147542 swim: 00 +147692-147913 swim: 00 +148063-148284 swim: 00 +148433-148655 swim: 0c +148804-149025 swim: f3 +149174-149396 swim: 12 +149545-149765 swim: ed +150005-150226 swim: 13 +150356-150576 swim: ec +150706-150927 swim: aa +151077-151298 swim: 55 +151447-151668 swim: 79 +151798-152019 swim: 86 +152178-152398 swim: 49 +152528-152749 swim: b6 +152879-153099 swim: 01 +153229-153450 swim: fe +153580-153801 swim: 20 +153930-154150 swim: df +154316-154537 swim: 02 +154666-154886 swim: fd +155016-155238 swim: 04 +155367-155587 swim: fb +155717-155939 swim: 00 +156088-156308 swim: 00 +156483-156705 swim: 00 +156854-157075 swim: 00 +157224-157444 swim: 00 +157594-157816 swim: 00 +157965-158186 swim: 00 +158335-158557 swim: 00 +158706-158927 swim: 00 +159076-159296 swim: 00 +159447-159667 swim: 00 +159817-160037 swim: 00 +160188-160408 swim: 5b +160538-160758 swim: 00 +160909-161130 swim: 1f +161259-161479 swim: 5e +161610-161831 swim: 00 +161980-162200 swim: 00 +162350-162571 swim: 2e +162721-162941 swim: 00 +163091-163312 swim: 0d +163442-163663 swim: 0a +163812-164032 swim: 47 +164183-164404 swim: 37 +164533-164753 swim: 31 +164883-165104 swim: 39 +165254-165474 swim: 31 +165604-165825 swim: 30 +165975-166196 swim: 37 +166325-166547 swim: 1f +166676-166897 swim: 00 +167046-167266 swim: 00 +167416-167638 swim: 1f +167767-167987 swim: 00 +168137-168359 swim: 00 +168508-168729 swim: 00 +168878-169100 swim: 00 +169249-169470 swim: 00 +169619-169841 swim: 00 +169990-170210 swim: 00 +170360-170580 swim: 00 +170731-170951 swim: 00 +171101-171321 swim: 00 +171472-171693 swim: 00 +173659-173880 swim: 00 +174025-174246 swim: 00 +174390-174611 swim: 00 +174756-174977 swim: 00 +175121-175341 swim: 00 +175486-175708 swim: 00 +175852-176072 swim: 00 +176217-176439 swim: 00 +176583-176804 swim: 00 +177038-177260 swim: 00 +177404-177625 swim: 00 +177769-177989 swim: 00 +178135-178356 swim: 00 +178500-178720 swim: 00 +178866-179087 swim: 00 +179231-179451 swim: 00 +179597-179818 swim: 00 +179962-180182 swim: 00 +180328-180549 swim: 00 +180693-180913 swim: 00 +181059-181280 swim: 00 +181424-181644 swim: 00 +181789-182009 swim: 00 +182155-182375 swim: 00 +182520-182740 swim: 00 +182886-183107 swim: 00 +183251-183471 swim: 00 +183616-183837 swim: 00 +183982-184202 swim: 00 +184347-184568 swim: 00 +184713-184933 swim: 00 +185078-185298 swim: 00 +185444-185665 swim: 00 +185809-186029 swim: 00 +186265-186486 swim: 00 +186630-186850 swim: 00 +186995-187217 swim: 00 +187361-187581 swim: 00 +187726-187948 swim: 00 +188092-188312 swim: 00 +188462-188684 swim: 00 +188828-189048 swim: 00 +189193-189415 swim: 00 +189559-189779 swim: 00 +189924-190144 swim: 00 +190290-190510 swim: 00 +190695-190915 swim: 00 +191061-191282 swim: 00 +191426-191646 swim: 00 +191791-192011 swim: 00 +192156-192378 swim: 00 +192522-192742 swim: 00 +192887-193109 swim: 00 +193253-193474 swim: 00 +193618-193839 swim: 00 +193983-194205 swim: 00 +194349-194569 swim: 00 +194804-195026 swim: 00 +195170-195391 swim: 00 +195535-195755 swim: 00 +195900-196122 swim: 00 +196266-196487 swim: 00 +196631-196851 swim: 00 +197002-197223 swim: 00 +197367-197587 swim: 00 +197732-197953 swim: 00 +198098-198318 swim: 00 +198463-198684 swim: 00 +198829-199049 swim: 00 +199194-199415 swim: 00 +199560-199781 swim: 00 +199925-200146 swim: 00 +200291-200512 swim: 00 +200656-200876 swim: 00 +201021-201243 swim: 00 +201402-201622 swim: 00 +201767-201989 swim: 00 +202133-202353 swim: 00 +202498-202720 swim: 00 +202864-203085 swim: 00 +203229-203451 swim: 00 +203594-203816 swim: 00 +203960-204180 swim: 00 +204325-204547 swim: 00 +204691-204911 swim: 00 +205056-205278 swim: 00 +205512-205733 swim: 00 +205877-206099 swim: 00 +206243-206464 swim: 00 +206608-206828 swim: 00 +206973-207195 swim: 00 +207339-207559 swim: 00 +207704-207926 swim: 00 +208070-208291 swim: 00 +208435-208657 swim: 00 +208801-209022 swim: 00 +209166-209388 swim: 00 +209532-209752 swim: 00 +209897-210117 swim: 00 +210262-210484 swim: 00 +210628-210848 swim: 00 +210993-211215 swim: 00 +211359-211579 swim: 00 +211724-211946 swim: 00 +212090-212310 swim: 00 +212455-212675 swim: 00 +212820-213042 swim: 00 +213186-213407 swim: 00 +213551-213773 swim: 00 +213917-214138 swim: 00 +214282-214502 swim: 00 +214647-214869 swim: 00 +215013-215234 swim: 00 +215378-215599 swim: 00 +215744-215965 swim: 00 +216109-216329 swim: 00 +216489-216710 swim: 00 +216855-217075 swim: 00 +217220-217440 swim: 00 +217586-217807 swim: 00 +217951-218171 swim: 00 +218317-218538 swim: 00 +218682-218902 swim: 00 +219047-219268 swim: 00 +219413-219633 swim: 00 +219778-219999 swim: 00 +220144-220365 swim: 00 +220509-220729 swim: 00 +228669-228890 swim: a3 +444330-444550 swim: 00 +444701-444921 swim: 00 +445071-445291 swim: ff +445441-445662 swim: 00 +445812-446032 swim: ff +446182-446403 swim: 00 +446553-446773 swim: ff +446923-447144 swim: 00 +447294-447514 swim: ff +447664-447884 swim: 00 +448035-448255 swim: ff +448405-448625 swim: 00 +448776-448996 swim: 00 +449146-449366 swim: 00 +449516-449736 swim: 00 +449887-450107 swim: 00 +450257-450478 swim: 00 +450628-450848 swim: 00 +450998-451218 swim: 00 +451368-451589 swim: 00 +451739-451959 swim: 00 +452109-452330 swim: 00 +452480-452700 swim: 00 +452850-453071 swim: 00 +453220-453441 swim: 00 +453591-453811 swim: 00 +453962-454182 swim: 00 +454332-454552 swim: 00 +454703-454923 swim: 00 +455073-455293 swim: 00 +455444-455664 swim: 00 +455814-456034 swim: 00 +456224-456445 swim: 00 +456595-456815 swim: 00 +456965-457186 swim: 00 +457336-457556 swim: 00 +457706-457927 swim: 00 +458077-458297 swim: 00 +458447-458667 swim: 00 +458818-459038 swim: 00 +459188-459408 swim: 00 +459559-459779 swim: 00 +459929-460149 swim: 00 +460299-460520 swim: 00 +460670-460890 swim: 00 +461040-461261 swim: 00 +461426-461646 swim: 00 +461796-462017 swim: 00 +462167-462387 swim: 00 +462537-462757 swim: 00 +462908-463128 swim: 00 +463278-463498 swim: 00 +463729-463949 swim: 00 +464099-464319 swim: 00 +464470-464690 swim: 00 +464840-465060 swim: 00 +465210-465431 swim: 00 +465581-465801 swim: 00 +465951-466172 swim: 00 +466322-466542 swim: 00 +466692-466913 swim: 00 +467063-467283 swim: 00 +467433-467654 swim: 00 +467804-468024 swim: 00 +468174-468394 swim: 0c +468545-468765 swim: f3 +468915-469135 swim: 12 +469286-469506 swim: ed +469656-469876 swim: 13 +470007-470227 swim: ec +470357-470577 swim: aa +470802-471023 swim: 55 +471173-471393 swim: 79 +471523-471744 swim: 86 +471874-472094 swim: 49 +472224-472444 swim: b6 +472574-472795 swim: 01 +472925-473145 swim: fe +473275-473496 swim: 20 +473626-473846 swim: df +473976-474197 swim: 02 +474327-474547 swim: fd +474677-474898 swim: 04 +475028-475248 swim: fb +475378-475599 swim: 00 +475749-475969 swim: 00 +476120-476340 swim: 00 +476490-476710 swim: 00 +476860-477081 swim: 00 +477231-477451 swim: 00 +477601-477822 swim: 00 +477972-478192 swim: 00 +478342-478563 swim: 00 +478713-478933 swim: 00 +479084-479304 swim: 00 +479454-479674 swim: 00 +479825-480045 swim: 5b +480235-480456 swim: 00 +480606-480826 swim: 1f +480956-481177 swim: 5e +481307-481527 swim: 00 +481678-481898 swim: 00 +482048-482268 swim: 2e +482419-482639 swim: 00 +482789-483009 swim: 0d +483139-483360 swim: 0a +483510-483730 swim: 47 +483880-484101 swim: 37 +484231-484451 swim: 31 +484582-484802 swim: 39 +484952-485172 swim: 31 +485303-485523 swim: 30 +485673-485893 swim: 37 +486024-486244 swim: 1f +486374-486594 swim: 00 +486745-486965 swim: 00 +487125-487346 swim: 1f +487476-487696 swim: 00 +487846-488066 swim: 00 +488216-488437 swim: 00 +488587-488807 swim: 00 +488958-489178 swim: 00 +489418-489639 swim: 00 +489789-490009 swim: 00 +490159-490380 swim: 00 +490530-490750 swim: 00 +490900-491121 swim: 00 +491271-491491 swim: 00 +493424-493644 swim: 00 +493794-494015 swim: 00 +494160-494380 swim: 00 +494525-494746 swim: 00 +494891-495111 swim: 00 +495256-495477 swim: 00 +495622-495842 swim: 00 +495987-496208 swim: 00 +496353-496573 swim: 00 +496718-496939 swim: 00 +497084-497304 swim: 00 +497449-497670 swim: 00 +497815-498035 swim: 00 +498180-498401 swim: 00 +498546-498766 swim: 00 +498911-499132 swim: 00 +499277-499497 swim: 00 +499642-499863 swim: 00 +500008-500228 swim: 00 +500374-500594 swim: 00 +500739-500959 swim: 00 +501105-501325 swim: 00 +501485-501706 swim: 00 +501851-502071 swim: 00 +502216-502437 swim: 00 +502582-502802 swim: 00 +502947-503168 swim: 00 +503313-503533 swim: 00 +503678-503899 swim: 00 +504044-504264 swim: 00 +504409-504629 swim: 00 +504775-504995 swim: 00 +505140-505360 swim: 00 +505506-505726 swim: 00 +505871-506091 swim: 00 +506327-506547 swim: 00 +506692-506913 swim: 00 +507058-507278 swim: 00 +507423-507644 swim: 00 +507789-508009 swim: 00 +508154-508374 swim: 00 +508535-508755 swim: 00 +508900-509120 swim: 00 +509266-509486 swim: 00 +509631-509851 swim: 00 +509997-510217 swim: 00 +510362-510582 swim: 00 +510728-510948 swim: 00 +511093-511313 swim: 00 +511458-511678 swim: 00 +511824-512044 swim: 00 +512189-512409 swim: 00 +512555-512775 swim: 00 +512960-513181 swim: 00 +513326-513546 swim: 00 +513691-513911 swim: 00 +514057-514277 swim: 00 +514422-514642 swim: 00 +514787-515008 swim: 00 +515153-515373 swim: 00 +515518-515739 swim: 00 +515884-516104 swim: 00 +516249-516470 swim: 00 +516615-516835 swim: 00 +516980-517201 swim: 00 +517346-517566 swim: 00 +517712-517932 swim: 00 +518077-518297 swim: 00 +518443-518663 swim: 00 +518808-519028 swim: 00 +519174-519394 swim: 00 +519559-519779 swim: 00 +519924-520145 swim: 00 +520290-520510 swim: 00 +520656-520876 swim: 00 +521021-521241 swim: 00 +521387-521607 swim: 00 +521807-522027 swim: 00 +522173-522393 swim: 00 +522538-522759 swim: 00 +522904-523124 swim: 00 +523269-523490 swim: 00 +523635-523855 swim: 00 +524040-524261 swim: 00 +524406-524626 swim: 00 +524771-524991 swim: 00 +525136-525357 swim: 00 +525502-525722 swim: 00 +525867-526088 swim: 00 +526258-526478 swim: 00 +526624-526844 swim: 00 +526989-527209 swim: 00 +527355-527575 swim: 00 +527720-527941 swim: 00 +528086-528306 swim: 00 +528466-528687 swim: 00 +528832-529052 swim: 00 +529197-529417 swim: 00 +529562-529783 swim: 00 +529928-530148 swim: 00 +530293-530514 swim: 00 +530659-530879 swim: 00 +531024-531245 swim: 00 +531390-531610 swim: 00 +531755-531976 swim: 00 +532121-532341 swim: 00 +532486-532706 swim: 00 +532851-533072 swim: 00 +533217-533437 swim: 00 +533632-533853 swim: 00 +533998-534218 swim: 00 +534363-534583 swim: 00 +534729-534949 swim: 00 +535094-535314 swim: 00 +535460-535680 swim: 00 +535865-536085 swim: 00 +536231-536451 swim: 00 +536596-536816 swim: 00 +536961-537182 swim: 00 +537327-537547 swim: 00 +537692-537913 swim: 00 +538078-538298 swim: 00 +538443-538664 swim: 00 +538809-539029 swim: 00 +539174-539395 swim: 00 +539540-539760 swim: 00 +539905-540125 swim: 00 +540271-540491 swim: 00 +549462-549682 swim: a3 diff --git a/decoder/test/swim/tests/sample1.bin_tx b/decoder/test/swim/tests/sample1.bin_tx new file mode 100644 index 0000000..0181c31 --- /dev/null +++ b/decoder/test/swim/tests/sample1.bin_tx @@ -0,0 +1,4 @@ +108552-108778 swim: a1 +233554-233780 swim: 02 +428550-428784 swim: a1 +553801-554035 swim: 02 diff --git a/decoder/test/swim/tests/sample2.bin_rx b/decoder/test/swim/tests/sample2.bin_rx new file mode 100644 index 0000000..f0deeaf --- /dev/null +++ b/decoder/test/swim/tests/sample2.bin_rx @@ -0,0 +1,514 @@ +123860-124080 swim: 00 +124230-124451 swim: 00 +124611-124831 swim: ff +124981-125202 swim: 00 +125352-125572 swim: ff +125722-125943 swim: 00 +126093-126313 swim: ff +126463-126684 swim: 00 +126834-127054 swim: ff +127204-127425 swim: 00 +127575-127795 swim: ff +127945-128166 swim: 00 +128316-128536 swim: 00 +128686-128906 swim: 00 +129067-129287 swim: 00 +129437-129657 swim: 00 +129808-130028 swim: 00 +130178-130399 swim: 00 +130548-130769 swim: 00 +130919-131139 swim: 00 +131289-131510 swim: 00 +131660-131880 swim: 00 +132030-132251 swim: 00 +132401-132621 swim: 00 +132771-132991 swim: 00 +133207-133427 swim: 00 +133577-133798 swim: 00 +133948-134168 swim: 00 +134318-134539 swim: 00 +134689-134909 swim: 00 +135059-135279 swim: 00 +135445-135665 swim: 00 +135815-136036 swim: 00 +136186-136406 swim: 00 +136556-136777 swim: 00 +136927-137147 swim: 00 +137297-137518 swim: 00 +137668-137888 swim: 00 +138053-138274 swim: 00 +138424-138644 swim: 00 +138794-139015 swim: 00 +139165-139385 swim: 00 +139535-139756 swim: 00 +139906-140126 swim: 00 +140356-140577 swim: 00 +140727-140947 swim: 00 +141097-141317 swim: 00 +141468-141688 swim: 00 +141838-142058 swim: 00 +142209-142429 swim: 00 +142644-142865 swim: 00 +143015-143235 swim: 00 +143385-143605 swim: 00 +143755-143976 swim: 00 +144126-144346 swim: 00 +144497-144717 swim: 00 +144912-145132 swim: 00 +145283-145503 swim: 00 +145653-145873 swim: 00 +146023-146244 swim: 00 +146394-146614 swim: 00 +146764-146985 swim: 00 +147145-147365 swim: 00 +147515-147735 swim: 00 +147885-148106 swim: 0c +148256-148476 swim: f3 +148626-148847 swim: 12 +148997-149217 swim: ed +149458-149678 swim: 13 +149808-150028 swim: ec +150158-150379 swim: aa +150529-150749 swim: 55 +150899-151120 swim: 79 +151250-151470 swim: 86 +151600-151821 swim: 49 +151986-152206 swim: b6 +152336-152557 swim: 01 +152686-152907 swim: fe +153037-153257 swim: 20 +153387-153608 swim: df +153738-153958 swim: 02 +154103-154324 swim: fd +154454-154674 swim: 04 +154804-155025 swim: fb +155154-155375 swim: 00 +155525-155745 swim: 00 +155895-156116 swim: 00 +156336-156556 swim: 00 +156707-156927 swim: 00 +157077-157297 swim: 00 +157448-157668 swim: 00 +157818-158038 swim: 00 +158188-158409 swim: 00 +158649-158869 swim: 00 +159020-159240 swim: 00 +159390-159610 swim: 00 +159761-159981 swim: 5b +160111-160331 swim: 00 +160482-160702 swim: 1f +160832-161052 swim: 5e +161182-161402 swim: 00 +161553-161773 swim: 00 +161923-162144 swim: 2e +162294-162514 swim: 00 +162664-162885 swim: 0d +163015-163235 swim: 0a +163390-163610 swim: 47 +163760-163981 swim: 37 +164111-164331 swim: 31 +164461-164682 swim: 39 +164832-165052 swim: 31 +165182-165402 swim: 30 +165607-165828 swim: 37 +165958-166178 swim: 1f +166308-166529 swim: 00 +166679-166899 swim: 00 +167049-167270 swim: 1f +167400-167620 swim: 00 +167770-167990 swim: 00 +168155-168376 swim: 00 +168526-168746 swim: 00 +168896-169117 swim: 00 +169267-169487 swim: 00 +169638-169858 swim: 00 +170008-170228 swim: 00 +170394-170614 swim: 00 +170764-170984 swim: 00 +171134-171355 swim: 00 +173407-173628 swim: 00 +173773-173993 swim: 00 +174138-174359 swim: 00 +174504-174724 swim: 00 +174869-175090 swim: 00 +175235-175455 swim: 00 +175600-175821 swim: 00 +175966-176186 swim: 00 +176331-176552 swim: 00 +176697-176917 swim: 00 +177062-177282 swim: 00 +177427-177648 swim: 00 +177793-178013 swim: 00 +178158-178379 swim: 00 +178524-178744 swim: 00 +178889-179110 swim: 00 +179295-179515 swim: 00 +179660-179881 swim: 00 +180026-180246 swim: 00 +180391-180612 swim: 00 +180757-180977 swim: 00 +181122-181343 swim: 00 +181488-181708 swim: 00 +181853-182074 swim: 00 +182219-182439 swim: 00 +182584-182804 swim: 00 +182949-183170 swim: 00 +183315-183535 swim: 00 +183680-183901 swim: 00 +184046-184266 swim: 00 +184446-184667 swim: 00 +184812-185032 swim: 00 +185178-185398 swim: 00 +185543-185763 swim: 00 +185908-186129 swim: 00 +186274-186494 swim: 00 +186644-186865 swim: 00 +187010-187230 swim: 00 +187376-187596 swim: 00 +187741-187961 swim: 00 +188107-188327 swim: 00 +188472-188692 swim: 00 +188868-189088 swim: 00 +189233-189453 swim: 00 +189598-189819 swim: 00 +189964-190184 swim: 00 +190329-190550 swim: 00 +190695-190915 swim: 00 +191060-191281 swim: 00 +191426-191646 swim: 00 +191791-192012 swim: 00 +192157-192377 swim: 00 +192522-192742 swim: 00 +192888-193108 swim: 00 +193253-193474 swim: 00 +193619-193839 swim: 00 +193984-194205 swim: 00 +194350-194570 swim: 00 +194715-194935 swim: 00 +195080-195301 swim: 00 +195446-195666 swim: 00 +195812-196032 swim: 00 +196177-196397 swim: 00 +196543-196763 swim: 00 +196998-197218 swim: 00 +197363-197584 swim: 00 +197729-197949 swim: 00 +198094-198315 swim: 00 +198460-198680 swim: 00 +198825-199046 swim: 00 +199191-199411 swim: 00 +199622-199842 swim: 00 +199987-200207 swim: 00 +200353-200573 swim: 00 +200718-200938 swim: 00 +201083-201304 swim: 00 +201449-201669 swim: 00 +201879-202100 swim: 00 +202245-202465 swim: 00 +202610-202831 swim: 00 +202976-203196 swim: 00 +203341-203562 swim: 00 +203707-203927 swim: 00 +204077-204297 swim: 00 +204443-204663 swim: 00 +204808-205029 swim: 00 +205174-205394 swim: 00 +205539-205760 swim: 00 +205905-206125 swim: 00 +206310-206531 swim: 00 +206676-206896 swim: 00 +207041-207262 swim: 00 +207407-207627 swim: 00 +207772-207992 swim: 00 +208138-208358 swim: 00 +208503-208723 swim: 00 +208869-209089 swim: 00 +209234-209454 swim: 00 +209600-209820 swim: 00 +209965-210185 swim: 00 +210330-210551 swim: 00 +210696-210916 swim: 00 +211061-211282 swim: 00 +211427-211647 swim: 00 +211792-212013 swim: 00 +212158-212378 swim: 00 +212608-212828 swim: 00 +212974-213194 swim: 00 +213339-213559 swim: 00 +213705-213925 swim: 00 +214070-214290 swim: 00 +214436-214656 swim: 00 +214821-215042 swim: 00 +215187-215407 swim: 00 +215552-215772 swim: 00 +215917-216138 swim: 00 +216283-216503 swim: 00 +216648-216869 swim: 00 +217074-217294 swim: 00 +217439-217659 swim: 00 +217804-218025 swim: 00 +218170-218390 swim: 00 +218535-218756 swim: 00 +218901-219121 swim: 00 +219306-219527 swim: 00 +219672-219892 swim: 00 +220037-220257 swim: 00 +220403-220623 swim: 00 +230368-230588 swim: a3 +468103-468324 swim: 00 +468474-468694 swim: 00 +468854-469075 swim: ff +469225-469445 swim: 00 +469595-469816 swim: ff +469966-470186 swim: 00 +470336-470557 swim: ff +470707-470927 swim: 00 +471077-471297 swim: ff +471448-471668 swim: 00 +471818-472038 swim: ff +472189-472409 swim: 00 +472559-472780 swim: 00 +472930-473150 swim: 00 +473300-473521 swim: 00 +473671-473891 swim: 00 +474041-474261 swim: 00 +474412-474632 swim: 00 +474782-475003 swim: 00 +475153-475373 swim: 00 +475523-475744 swim: 00 +475894-476114 swim: 00 +476264-476485 swim: 00 +476635-476855 swim: 00 +477006-477226 swim: 00 +477376-477596 swim: 00 +477746-477967 swim: 00 +478117-478337 swim: 00 +478487-478708 swim: 00 +478858-479078 swim: 00 +479228-479449 swim: 00 +479599-479819 swim: 00 +479969-480189 swim: 00 +480340-480560 swim: 00 +480710-480930 swim: 00 +481171-481391 swim: 00 +481541-481762 swim: 00 +481912-482132 swim: 00 +482282-482503 swim: 00 +482652-482873 swim: 00 +483023-483243 swim: 00 +483393-483614 swim: 00 +483779-483999 swim: 00 +484150-484370 swim: 00 +484520-484740 swim: 00 +484890-485110 swim: 00 +485261-485481 swim: 00 +485631-485852 swim: 00 +486002-486222 swim: 00 +486372-486593 swim: 00 +486743-486963 swim: 00 +487113-487334 swim: 00 +487484-487704 swim: 00 +487854-488074 swim: 00 +488225-488445 swim: 00 +488595-488815 swim: 00 +488966-489186 swim: 00 +489336-489556 swim: 00 +489707-489927 swim: 00 +490162-490382 swim: 00 +490532-490753 swim: 00 +490903-491123 swim: 00 +491273-491494 swim: 00 +491644-491864 swim: 00 +492014-492235 swim: 0c +492425-492645 swim: f3 +492795-493015 swim: 12 +493165-493386 swim: ed +493536-493756 swim: 13 +493887-494107 swim: ec +494237-494457 swim: aa +494608-494828 swim: 55 +494978-495198 swim: 79 +495328-495548 swim: 86 +495679-495899 swim: 49 +496029-496249 swim: b6 +496380-496600 swim: 01 +496730-496950 swim: fe +497081-497301 swim: 20 +497431-497651 swim: df +497781-498001 swim: 02 +498132-498352 swim: fd +498482-498702 swim: 04 +498838-499058 swim: fb +499188-499408 swim: 00 +499559-499779 swim: 00 +499929-500149 swim: 00 +500300-500520 swim: 00 +500670-500890 swim: 00 +501040-501261 swim: 00 +501411-501631 swim: 00 +501781-502002 swim: 00 +502152-502372 swim: 00 +502523-502743 swim: 00 +502893-503113 swim: 00 +503279-503499 swim: 00 +503649-503869 swim: 5b +504000-504220 swim: 00 +504370-504590 swim: 1f +504720-504941 swim: 5e +505071-505291 swim: 00 +505441-505662 swim: 00 +505812-506032 swim: 2e +506182-506403 swim: 00 +506553-506773 swim: 0d +506903-507124 swim: 0a +507274-507494 swim: 47 +507644-507865 swim: 37 +507995-508215 swim: 31 +508345-508565 swim: 39 +508716-508936 swim: 31 +509066-509287 swim: 30 +509437-509657 swim: 37 +509787-510008 swim: 1f +510138-510358 swim: 00 +510508-510729 swim: 00 +510879-511099 swim: 1f +511229-511450 swim: 00 +511620-511840 swim: 00 +511991-512211 swim: 00 +512361-512581 swim: 00 +512731-512952 swim: 00 +513102-513322 swim: 00 +513562-513783 swim: 00 +513933-514153 swim: 00 +514303-514524 swim: 00 +514674-514894 swim: 00 +515044-515264 swim: 00 +517317-517538 swim: 00 +517683-517903 swim: 00 +518073-518293 swim: 00 +518438-518659 swim: 00 +518804-519024 swim: 00 +519170-519390 swim: 00 +519535-519755 swim: 00 +519901-520121 swim: 00 +520266-520486 swim: 00 +520632-520852 swim: 00 +520997-521217 swim: 00 +521362-521583 swim: 00 +521728-521948 swim: 00 +522178-522399 swim: 00 +522544-522764 swim: 00 +522909-523130 swim: 00 +523275-523495 swim: 00 +523640-523860 swim: 00 +524005-524226 swim: 00 +524371-524591 swim: 00 +524736-524957 swim: 00 +525102-525322 swim: 00 +525467-525687 swim: 00 +525833-526053 swim: 00 +526198-526418 swim: 00 +526604-526824 swim: 00 +526969-527190 swim: 00 +527335-527555 swim: 00 +527700-527921 swim: 00 +528066-528286 swim: 00 +528431-528652 swim: 00 +528797-529017 swim: 00 +529162-529382 swim: 00 +529527-529748 swim: 00 +529893-530113 swim: 00 +530258-530479 swim: 00 +530714-530934 swim: 00 +531080-531300 swim: 00 +531445-531665 swim: 00 +531810-532031 swim: 00 +532176-532396 swim: 00 +532541-532762 swim: 00 +532937-533157 swim: 00 +533302-533523 swim: 00 +533668-533888 swim: 00 +534033-534254 swim: 00 +534399-534619 swim: 00 +534764-534984 swim: 00 +535215-535435 swim: 00 +535580-535801 swim: 00 +535946-536166 swim: 00 +536311-536532 swim: 00 +536677-536897 swim: 00 +537042-537263 swim: 00 +537408-537628 swim: 00 +537773-537993 swim: 00 +538179-538399 swim: 00 +538544-538764 swim: 00 +538910-539130 swim: 00 +539275-539495 swim: 00 +539641-539861 swim: 00 +540006-540226 swim: 00 +540371-540592 swim: 00 +540737-540957 swim: 00 +541102-541323 swim: 00 +541468-541688 swim: 00 +541833-542054 swim: 00 +542199-542419 swim: 00 +542605-542825 swim: 00 +542970-543190 swim: 00 +543335-543556 swim: 00 +543701-543921 swim: 00 +544066-544286 swim: 00 +544432-544652 swim: 00 +544797-545017 swim: 00 +545253-545473 swim: 00 +545618-545838 swim: 00 +545983-546204 swim: 00 +546349-546569 swim: 00 +546714-546935 swim: 00 +547080-547300 swim: 00 +547445-547666 swim: 00 +547811-548031 swim: 00 +548196-548416 swim: 00 +548561-548782 swim: 00 +548927-549147 swim: 00 +549293-549513 swim: 00 +549658-549878 swim: 00 +550024-550244 swim: 00 +550409-550629 swim: 00 +550775-550995 swim: 00 +551140-551360 swim: 00 +551505-551726 swim: 00 +551871-552091 swim: 00 +552236-552457 swim: 00 +552617-552837 swim: 00 +552982-553203 swim: 00 +553348-553568 swim: 00 +553713-553934 swim: 00 +554079-554299 swim: 00 +554444-554664 swim: 00 +554830-555050 swim: 00 +555195-555415 swim: 00 +555561-555781 swim: 00 +555926-556146 swim: 00 +556292-556512 swim: 00 +556657-556877 swim: 00 +557028-557248 swim: 00 +557393-557613 swim: 00 +557758-557979 swim: 00 +558124-558344 swim: 00 +558489-558710 swim: 00 +558855-559075 swim: 00 +559260-559480 swim: 00 +559625-559846 swim: 00 +559991-560211 swim: 00 +560356-560577 swim: 00 +560722-560942 swim: 00 +561087-561308 swim: 00 +561453-561673 swim: 00 +561818-562039 swim: 00 +562184-562404 swim: 00 +562549-562769 swim: 00 +562915-563135 swim: 00 +563370-563590 swim: 00 +563736-563956 swim: 00 +564101-564321 swim: 00 +564466-564687 swim: 00 +572845-573065 swim: a3 diff --git a/decoder/test/swim/tests/sample2.bin_tx b/decoder/test/swim/tests/sample2.bin_tx new file mode 100644 index 0000000..7b29928 --- /dev/null +++ b/decoder/test/swim/tests/sample2.bin_tx @@ -0,0 +1,4 @@ +108483-108715 swim: a1 +237520-237752 swim: 02 +452156-452390 swim: a1 +577301-577535 swim: 02 diff --git a/decoder/test/swim/tests/sample3.bin_rx b/decoder/test/swim/tests/sample3.bin_rx new file mode 100644 index 0000000..a8d6e9d --- /dev/null +++ b/decoder/test/swim/tests/sample3.bin_rx @@ -0,0 +1,514 @@ +125845-126066 swim: 00 +126215-126437 swim: 00 +126626-126847 swim: ff +126996-127216 swim: 00 +127367-127588 swim: ff +127737-127957 swim: 00 +128108-128329 swim: ff +128478-128698 swim: 00 +128848-129070 swim: ff +129219-129439 swim: 00 +129589-129811 swim: ff +129960-130181 swim: 00 +130330-130550 swim: 00 +130700-130922 swim: 00 +131071-131291 swim: 00 +131441-131663 swim: 00 +131812-132032 swim: 00 +132182-132402 swim: 00 +132553-132773 swim: 00 +132923-133143 swim: 00 +133294-133515 swim: 00 +133664-133884 swim: 00 +134034-134255 swim: 00 +134405-134625 swim: 00 +134775-134996 swim: 00 +135206-135427 swim: 00 +135576-135798 swim: 00 +135947-136168 swim: 00 +136317-136537 swim: 00 +136688-136909 swim: 00 +137058-137278 swim: 00 +137519-137740 swim: 00 +137889-138109 swim: 00 +138259-138481 swim: 00 +138630-138850 swim: 00 +139000-139222 swim: 00 +139371-139591 swim: 00 +139741-139963 swim: 00 +140157-140377 swim: 00 +140527-140747 swim: 00 +140898-141118 swim: 00 +141268-141488 swim: 00 +141639-141860 swim: 00 +142009-142230 swim: 00 +142380-142601 swim: 00 +142750-142970 swim: 00 +143121-143341 swim: 00 +143491-143711 swim: 00 +143862-144082 swim: 00 +144232-144453 swim: 00 +144603-144824 swim: 00 +144973-145193 swim: 00 +145343-145565 swim: 00 +145714-145934 swim: 00 +146084-146306 swim: 00 +146455-146675 swim: 00 +146825-147047 swim: 00 +147196-147416 swim: 00 +147567-147788 swim: 00 +147937-148157 swim: 00 +148307-148529 swim: 00 +148678-148898 swim: 00 +149048-149270 swim: 00 +149419-149639 swim: 00 +149789-150011 swim: 0c +150160-150380 swim: f3 +150531-150752 swim: 12 +150901-151121 swim: ed +151296-151518 swim: 13 +151647-151867 swim: ec +151997-152219 swim: aa +152368-152588 swim: 55 +152738-152960 swim: 79 +153089-153310 swim: 86 +153444-153666 swim: 49 +153795-154016 swim: b6 +154145-154365 swim: 01 +154496-154717 swim: fe +154846-155066 swim: 20 +155197-155417 swim: df +155582-155803 swim: 02 +155933-156153 swim: fd +156283-156505 swim: 04 +156634-156855 swim: fb +156984-157206 swim: 00 +157355-157576 swim: 00 +157725-157947 swim: 00 +158096-158316 swim: 00 +158466-158686 swim: 00 +158837-159057 swim: 00 +159207-159428 swim: 00 +159578-159798 swim: 00 +159948-160170 swim: 00 +160319-160539 swim: 00 +160689-160911 swim: 00 +161060-161280 swim: 00 +161431-161652 swim: 5b +161851-162071 swim: 00 +162222-162443 swim: 1f +162607-162827 swim: 5e +162957-163179 swim: 00 +163328-163548 swim: 00 +163698-163920 swim: 2e +164069-164289 swim: 00 +164439-164661 swim: 0d +164790-165010 swim: 0a +165160-165380 swim: 47 +165531-165751 swim: 37 +165881-166101 swim: 31 +166232-166453 swim: 39 +166602-166822 swim: 31 +166953-167174 swim: 30 +167343-167563 swim: 37 +167693-167914 swim: 1f +168044-168264 swim: 00 +168414-168636 swim: 00 +168785-169005 swim: 1f +169135-169357 swim: 00 +169506-169726 swim: 00 +169876-170098 swim: 00 +170247-170467 swim: 00 +170617-170839 swim: 00 +170988-171208 swim: 00 +171358-171578 swim: 00 +171819-172039 swim: 00 +172189-172411 swim: 00 +172595-172816 swim: 00 +172965-173187 swim: 00 +175153-175373 swim: 00 +175519-175740 swim: 00 +175884-176104 swim: 00 +176250-176471 swim: 00 +176615-176835 swim: 00 +176995-177217 swim: 00 +177361-177581 swim: 00 +177726-177948 swim: 00 +178092-178313 swim: 00 +178457-178679 swim: 00 +178823-179044 swim: 00 +179188-179410 swim: 00 +179594-179814 swim: 00 +179959-180179 swim: 00 +180325-180545 swim: 00 +180690-180910 swim: 00 +181056-181277 swim: 00 +181421-181641 swim: 00 +181787-182008 swim: 00 +182197-182417 swim: 00 +182602-182824 swim: 00 +182968-183188 swim: 00 +183333-183555 swim: 00 +183699-183920 swim: 00 +184064-184286 swim: 00 +184430-184651 swim: 00 +184795-185015 swim: 00 +185160-185382 swim: 00 +185526-185746 swim: 00 +185892-186113 swim: 00 +186257-186477 swim: 00 +186637-186858 swim: 00 +187003-187223 swim: 00 +187368-187589 swim: 00 +187734-187954 swim: 00 +188099-188320 swim: 00 +188465-188686 swim: 00 +188830-189050 swim: 00 +189195-189417 swim: 00 +189561-189781 swim: 00 +189926-190148 swim: 00 +190292-190513 swim: 00 +190747-190969 swim: 00 +191113-191333 swim: 00 +191478-191698 swim: 00 +191844-192065 swim: 00 +192209-192429 swim: 00 +192575-192796 swim: 00 +192945-193165 swim: 00 +193311-193532 swim: 00 +193676-193896 swim: 00 +194041-194262 swim: 00 +194407-194628 swim: 00 +194772-194994 swim: 00 +195178-195399 swim: 00 +195543-195765 swim: 00 +195908-196130 swim: 00 +196274-196494 swim: 00 +196639-196861 swim: 00 +197005-197226 swim: 00 +197405-197625 swim: 00 +197771-197992 swim: 00 +198136-198356 swim: 00 +198502-198723 swim: 00 +198867-199087 swim: 00 +199232-199454 swim: 00 +199598-199818 swim: 00 +199963-200183 swim: 00 +200329-200549 swim: 00 +200694-200914 swim: 00 +201060-201281 swim: 00 +201425-201645 swim: 00 +201800-202022 swim: 00 +202166-202386 swim: 00 +202531-202753 swim: 00 +202897-203117 swim: 00 +203262-203484 swim: 00 +203628-203849 swim: 00 +204008-204228 swim: 00 +204373-204595 swim: 00 +204739-204959 swim: 00 +205104-205326 swim: 00 +205470-205691 swim: 00 +205835-206057 swim: 00 +206241-206462 swim: 00 +206606-206826 swim: 00 +206971-207193 swim: 00 +207337-207558 swim: 00 +207702-207924 swim: 00 +208068-208289 swim: 00 +208458-208678 swim: 00 +208823-209045 swim: 00 +209189-209409 swim: 00 +209554-209776 swim: 00 +209920-210140 swim: 00 +210285-210505 swim: 00 +210651-210872 swim: 00 +211016-211236 swim: 00 +211381-211603 swim: 00 +211747-211967 swim: 00 +212112-212332 swim: 00 +212478-212699 swim: 00 +212843-213063 swim: 00 +213208-213430 swim: 00 +213574-213794 swim: 00 +213939-214159 swim: 00 +214304-214526 swim: 00 +214670-214890 swim: 00 +215035-215257 swim: 00 +215401-215622 swim: 00 +215766-215986 swim: 00 +216131-216353 swim: 00 +216497-216717 swim: 00 +216938-217159 swim: 00 +217303-217523 swim: 00 +217668-217888 swim: 00 +218034-218254 swim: 00 +218399-218619 swim: 00 +218765-218985 swim: 00 +219130-219350 swim: 00 +219496-219717 swim: 00 +219861-220081 swim: 00 +220226-220446 swim: 00 +220592-220813 swim: 00 +220957-221177 swim: 00 +221363-221584 swim: 00 +221728-221948 swim: 00 +222093-222313 swim: 00 +230380-230602 swim: a3 +546747-546967 swim: 00 +547117-547337 swim: 00 +547543-547763 swim: ff +547913-548134 swim: 00 +548284-548505 swim: ff +548654-548876 swim: 00 +549025-549245 swim: ff +549395-549615 swim: 00 +549831-550051 swim: ff +550201-550422 swim: 00 +550572-550793 swim: ff +550942-551164 swim: 00 +551313-551534 swim: 00 +551683-551903 swim: 00 +552054-552274 swim: 00 +552424-552644 swim: 00 +552795-553015 swim: 00 +553165-553385 swim: 00 +553536-553757 swim: 00 +553906-554127 swim: 00 +554276-554498 swim: 00 +554647-554867 swim: 00 +555017-555239 swim: 00 +555388-555608 swim: 00 +555758-555980 swim: 00 +556129-556349 swim: 00 +556499-556719 swim: 00 +556870-557090 swim: 00 +557240-557461 swim: 00 +557611-557832 swim: 00 +557981-558202 swim: 00 +558352-558573 swim: 00 +558722-558942 swim: 00 +559092-559314 swim: 00 +559463-559683 swim: 00 +559849-560070 swim: 00 +560219-560439 swim: 00 +560590-560811 swim: 00 +560960-561180 swim: 00 +561330-561550 swim: 00 +561791-562012 swim: 00 +562161-562383 swim: 00 +562532-562753 swim: 00 +562902-563122 swim: 00 +563273-563494 swim: 00 +563643-563863 swim: 00 +564014-564235 swim: 00 +564384-564604 swim: 00 +564755-564976 swim: 00 +565125-565346 swim: 00 +565496-565717 swim: 00 +565866-566086 swim: 00 +566236-566458 swim: 00 +566607-566827 swim: 00 +566978-567199 swim: 00 +567348-567568 swim: 00 +567719-567940 swim: 00 +568089-568309 swim: 00 +568460-568681 swim: 00 +568830-569050 swim: 00 +569210-569432 swim: 00 +569581-569801 swim: 00 +569952-570172 swim: 00 +570322-570542 swim: 00 +570693-570914 swim: 0c +571063-571283 swim: f3 +571444-571665 swim: 12 +571814-572034 swim: ed +572184-572406 swim: 13 +572535-572755 swim: ec +572885-573106 swim: aa +573256-573477 swim: 55 +573626-573846 swim: 79 +573976-574198 swim: 86 +574327-574547 swim: 49 +574677-574899 swim: b6 +575028-575249 swim: 01 +575378-575600 swim: fe +575774-575995 swim: 20 +576124-576346 swim: df +576475-576695 swim: 02 +576825-577045 swim: fd +577176-577396 swim: 04 +577526-577746 swim: fb +577912-578133 swim: 00 +578282-578502 swim: 00 +578653-578874 swim: 00 +579023-579244 swim: 00 +579394-579615 swim: 00 +579764-579984 swim: 00 +580134-580356 swim: 00 +580505-580725 swim: 00 +580876-581097 swim: 00 +581246-581466 swim: 00 +581617-581838 swim: 00 +581987-582208 swim: 00 +582388-582609 swim: 5b +582738-582959 swim: 00 +583109-583330 swim: 1f +583459-583679 swim: 5e +583809-584031 swim: 00 +584180-584400 swim: 00 +584576-584797 swim: 2e +584946-585166 swim: 00 +585317-585538 swim: 0d +585667-585887 swim: 0a +586038-586259 swim: 47 +586408-586628 swim: 37 +586758-586980 swim: 31 +587109-587329 swim: 39 +587479-587701 swim: 31 +587830-588050 swim: 30 +588201-588422 swim: 37 +588551-588771 swim: 1f +588912-589133 swim: 00 +589282-589502 swim: 00 +589653-589874 swim: 1f +590003-590223 swim: 00 +590373-590595 swim: 00 +590744-590964 swim: 00 +591115-591335 swim: 00 +591485-591706 swim: 00 +591856-592076 swim: 00 +592226-592448 swim: 00 +592597-592818 swim: 00 +593022-593244 swim: 00 +593393-593613 swim: 00 +593764-593985 swim: 00 +595951-596173 swim: 00 +596317-596537 swim: 00 +596683-596904 swim: 00 +597048-597268 swim: 00 +597414-597635 swim: 00 +597779-597999 swim: 00 +598144-598366 swim: 00 +598510-598730 swim: 00 +598875-599097 swim: 00 +599241-599461 swim: 00 +599642-599863 swim: 00 +600007-600227 swim: 00 +600373-600594 swim: 00 +600738-600958 swim: 00 +601103-601325 swim: 00 +601469-601689 swim: 00 +601834-602056 swim: 00 +602200-602420 swim: 00 +602565-602787 swim: 00 +602931-603151 swim: 00 +603297-603518 swim: 00 +603662-603882 swim: 00 +604028-604249 swim: 00 +604393-604613 swim: 00 +604759-604980 swim: 00 +605124-605346 swim: 00 +605490-605710 swim: 00 +605855-606077 swim: 00 +606221-606441 swim: 00 +606586-606808 swim: 00 +606952-607172 swim: 00 +607317-607539 swim: 00 +607683-607903 swim: 00 +608139-608360 swim: 00 +608504-608724 swim: 00 +608870-609091 swim: 00 +609235-609455 swim: 00 +609601-609822 swim: 00 +609966-610187 swim: 00 +610347-610568 swim: 00 +610712-610932 swim: 00 +611078-611299 swim: 00 +611443-611663 swim: 00 +611809-612029 swim: 00 +612174-612394 swim: 00 +612540-612760 swim: 00 +612905-613127 swim: 00 +613271-613491 swim: 00 +613636-613858 swim: 00 +614002-614222 swim: 00 +614367-614589 swim: 00 +614823-615043 swim: 00 +615189-615410 swim: 00 +615554-615774 swim: 00 +615919-616141 swim: 00 +616285-616505 swim: 00 +616651-616871 swim: 00 +617031-617251 swim: 00 +617397-617617 swim: 00 +617762-617983 swim: 00 +618128-618349 swim: 00 +618493-618715 swim: 00 +618859-619080 swim: 00 +619224-619446 swim: 00 +619590-619811 swim: 00 +619955-620175 swim: 00 +620321-620541 swim: 00 +620686-620906 swim: 00 +621052-621272 swim: 00 +621437-621658 swim: 00 +621803-622024 swim: 00 +622168-622390 swim: 00 +622534-622755 swim: 00 +622899-623121 swim: 00 +623265-623486 swim: 00 +623695-623915 swim: 00 +624061-624281 swim: 00 +624426-624646 swim: 00 +624792-625012 swim: 00 +625157-625379 swim: 00 +625523-625743 swim: 00 +625888-626110 swim: 00 +626254-626474 swim: 00 +626619-626841 swim: 00 +626985-627205 swim: 00 +627351-627572 swim: 00 +627716-627937 swim: 00 +628082-628303 swim: 00 +628452-628674 swim: 00 +628818-629039 swim: 00 +629183-629405 swim: 00 +629549-629769 swim: 00 +629914-630134 swim: 00 +630280-630500 swim: 00 +630645-630866 swim: 00 +631071-631291 swim: 00 +631436-631658 swim: 00 +631802-632022 swim: 00 +632167-632389 swim: 00 +632533-632753 swim: 00 +632899-633120 swim: 00 +633264-633484 swim: 00 +633650-633871 swim: 00 +634015-634236 swim: 00 +634381-634602 swim: 00 +634746-634966 swim: 00 +635111-635333 swim: 00 +635477-635697 swim: 00 +635842-636063 swim: 00 +636208-636428 swim: 00 +636574-636794 swim: 00 +636939-637159 swim: 00 +637305-637526 swim: 00 +637670-637890 swim: 00 +638036-638257 swim: 00 +638401-638622 swim: 00 +638767-638988 swim: 00 +639132-639352 swim: 00 +639497-639719 swim: 00 +639863-640083 swim: 00 +640254-640474 swim: 00 +640619-640839 swim: 00 +640985-641205 swim: 00 +641350-641571 swim: 00 +641716-641936 swim: 00 +642081-642303 swim: 00 +642447-642667 swim: 00 +642853-643074 swim: 00 +652778-652999 swim: a3 diff --git a/decoder/test/swim/tests/sample3.bin_tx b/decoder/test/swim/tests/sample3.bin_tx new file mode 100644 index 0000000..728cb11 --- /dev/null +++ b/decoder/test/swim/tests/sample3.bin_tx @@ -0,0 +1,4 @@ +110289-110515 swim: a1 +311772-311998 swim: 06 +531257-531483 swim: a1 +657435-657661 swim: 06 diff --git a/decoder/test/swim/tests/sample4.bin_rx b/decoder/test/swim/tests/sample4.bin_rx new file mode 100644 index 0000000..61d976d --- /dev/null +++ b/decoder/test/swim/tests/sample4.bin_rx @@ -0,0 +1,516 @@ +125755-125975 swim: a3 +138109-138209 swim: 00 +138330-138430 swim: 00 +138550-138650 swim: ff +138771-138871 swim: 00 +138991-139091 swim: ff +139211-139313 swim: 00 +139432-139532 swim: ff +139652-139752 swim: 00 +139872-139974 swim: ff +140093-140193 swim: 00 +140313-140413 swim: ff +140534-140634 swim: 00 +140754-140854 swim: 00 +140974-141076 swim: 00 +141195-141295 swim: 00 +141415-141515 swim: 00 +141711-141811 swim: 00 +141931-142031 swim: 00 +142151-142253 swim: 00 +142372-142472 swim: 00 +142592-142692 swim: 00 +142813-142913 swim: 00 +143033-143133 swim: 00 +143253-143353 swim: 00 +143474-143574 swim: 00 +143694-143794 swim: 00 +143914-144016 swim: 00 +144135-144235 swim: 00 +144355-144455 swim: 00 +144576-144676 swim: 00 +144796-144896 swim: 00 +145016-145118 swim: 00 +145237-145337 swim: 00 +145457-145557 swim: 00 +145677-145779 swim: 00 +145968-146068 swim: 00 +146188-146290 swim: 00 +146409-146509 swim: 00 +146629-146729 swim: 00 +146849-146951 swim: 00 +147070-147170 swim: 00 +147290-147390 swim: 00 +147511-147611 swim: 00 +147731-147831 swim: 00 +147951-148051 swim: 00 +148207-148307 swim: 00 +148427-148527 swim: 00 +148647-148749 swim: 00 +148868-148968 swim: 00 +149088-149188 swim: 00 +149309-149409 swim: 00 +149529-149629 swim: 00 +149749-149849 swim: 00 +149970-150070 swim: 00 +150245-150345 swim: 00 +150465-150567 swim: 00 +150686-150786 swim: 00 +150906-151006 swim: 00 +151127-151227 swim: 00 +151347-151447 swim: 00 +151567-151667 swim: 00 +151788-151888 swim: 00 +152008-152108 swim: 00 +152318-152420 swim: 00 +152539-152639 swim: 0c +152759-152859 swim: f3 +152980-153080 swim: 12 +153200-153300 swim: ed +153420-153522 swim: 13 +153636-153736 swim: ec +153851-153951 swim: aa +154071-154173 swim: 55 +154292-154392 swim: 79 +154592-154692 swim: 86 +154808-154908 swim: 49 +155023-155123 swim: b6 +155239-155339 swim: 01 +155454-155554 swim: fe +155669-155769 swim: 20 +155884-155986 swim: df +156100-156200 swim: 02 +156315-156415 swim: fd +156530-156632 swim: 04 +156751-156851 swim: fb +156966-157068 swim: 00 +157187-157287 swim: 00 +157407-157507 swim: 00 +157627-157729 swim: 00 +157848-157948 swim: 00 +158068-158168 swim: 00 +158289-158389 swim: 00 +158509-158609 swim: 00 +158819-158921 swim: 00 +159040-159140 swim: 00 +159260-159360 swim: 00 +159481-159581 swim: 00 +159701-159801 swim: 5b +159916-160016 swim: 00 +160137-160237 swim: 1f +160352-160452 swim: 5e +160567-160669 swim: 00 +160788-160888 swim: 00 +161008-161108 swim: 2e +161229-161329 swim: 00 +161449-161549 swim: 0d +161664-161764 swim: 0a +161885-161985 swim: 47 +162105-162205 swim: 37 +162320-162422 swim: 31 +162536-162636 swim: 39 +162756-162856 swim: 31 +163057-163157 swim: 30 +163277-163377 swim: 37 +163492-163594 swim: 1f +163708-163808 swim: 00 +163928-164028 swim: 00 +164148-164250 swim: 1f +164364-164464 swim: 00 +164584-164684 swim: 00 +164805-164905 swim: 00 +165025-165125 swim: 00 +165245-165345 swim: 00 +165466-165566 swim: 00 +165726-165826 swim: 00 +165946-166048 swim: 00 +166167-166267 swim: 00 +166387-166487 swim: 00 +166607-166709 swim: 00 +167809-167911 swim: 00 +168025-168125 swim: 00 +168280-168380 swim: 00 +168496-168596 swim: 00 +168711-168811 swim: 00 +168926-169028 swim: 00 +169142-169242 swim: 00 +169357-169457 swim: 00 +169573-169673 swim: 00 +169788-169888 swim: 00 +170078-170180 swim: 00 +170294-170394 swim: 00 +170509-170609 swim: 00 +170724-170826 swim: 00 +170940-171040 swim: 00 +171155-171255 swim: 00 +171370-171472 swim: 00 +171586-171686 swim: 00 +171801-171901 swim: 00 +172017-172117 swim: 00 +172232-172332 swim: 00 +172447-172549 swim: 00 +172663-172763 swim: 00 +172878-172978 swim: 00 +173093-173195 swim: 00 +173309-173409 swim: 00 +173524-173624 swim: 00 +173739-173841 swim: 00 +173955-174055 swim: 00 +174170-174270 swim: 00 +174385-174487 swim: 00 +174636-174736 swim: 00 +174851-174951 swim: 00 +175066-175168 swim: 00 +175282-175382 swim: 00 +175497-175597 swim: 00 +175712-175814 swim: 00 +175928-176028 swim: 00 +176143-176243 swim: 00 +176358-176460 swim: 00 +176574-176674 swim: 00 +176789-176889 swim: 00 +177004-177106 swim: 00 +177220-177320 swim: 00 +177435-177535 swim: 00 +177650-177750 swim: 00 +177865-177967 swim: 00 +178081-178181 swim: 00 +178296-178396 swim: 00 +178511-178613 swim: 00 +178727-178827 swim: 00 +178942-179042 swim: 00 +179157-179259 swim: 00 +179373-179473 swim: 00 +179588-179690 swim: 00 +179804-179904 swim: 00 +180019-180119 swim: 00 +180234-180336 swim: 00 +180450-180550 swim: 00 +180665-180765 swim: 00 +180880-180982 swim: 00 +181096-181196 swim: 00 +181311-181411 swim: 00 +181527-181627 swim: 00 +181742-181842 swim: 00 +181957-182057 swim: 00 +182173-182273 swim: 00 +182388-182488 swim: 00 +182603-182703 swim: 00 +182819-182919 swim: 00 +183034-183134 swim: 00 +183254-183354 swim: 00 +183470-183570 swim: 00 +183685-183785 swim: 00 +183900-184000 swim: 00 +184116-184216 swim: 00 +184331-184431 swim: 00 +184546-184646 swim: 00 +184762-184862 swim: 00 +184977-185077 swim: 00 +185192-185292 swim: 00 +185453-185553 swim: 00 +185668-185768 swim: 00 +185883-185983 swim: 00 +186099-186199 swim: 00 +186314-186414 swim: 00 +186529-186629 swim: 00 +186744-186846 swim: 00 +186960-187060 swim: 00 +187175-187275 swim: 00 +187390-187490 swim: 00 +187666-187766 swim: 00 +187881-187981 swim: 00 +188096-188198 swim: 00 +188312-188412 swim: 00 +188527-188627 swim: 00 +188742-188842 swim: 00 +188958-189058 swim: 00 +189173-189273 swim: 00 +189388-189488 swim: 00 +189604-189704 swim: 00 +189864-189964 swim: 00 +190079-190179 swim: 00 +190295-190395 swim: 00 +190510-190610 swim: 00 +190725-190825 swim: 00 +190941-191041 swim: 00 +191156-191256 swim: 00 +191371-191471 swim: 00 +191587-191687 swim: 00 +191802-191902 swim: 00 +192077-192179 swim: 00 +192293-192393 swim: 00 +192508-192608 swim: 00 +192723-192825 swim: 00 +192939-193039 swim: 00 +193154-193254 swim: 00 +193369-193471 swim: 00 +193585-193685 swim: 00 +193800-193900 swim: 00 +194015-194117 swim: 00 +194231-194331 swim: 00 +194446-194546 swim: 00 +194752-194852 swim: 00 +194967-195067 swim: 00 +195182-195282 swim: 00 +195398-195498 swim: 00 +195613-195713 swim: 00 +203236-203336 swim: b3 +415848-416068 swim: a3 +428246-428346 swim: 00 +428466-428566 swim: 00 +428686-428788 swim: ff +428907-429007 swim: 00 +429127-429227 swim: ff +429348-429448 swim: 00 +429568-429668 swim: ff +429788-429890 swim: 00 +430009-430109 swim: ff +430229-430331 swim: 00 +430450-430550 swim: ff +430670-430772 swim: 00 +430891-430991 swim: 00 +431111-431211 swim: 00 +431332-431432 swim: 00 +431552-431652 swim: 00 +431863-431963 swim: 00 +432083-432183 swim: 00 +432303-432405 swim: 00 +432524-432624 swim: 00 +432744-432844 swim: 00 +432965-433065 swim: 00 +433185-433287 swim: 00 +433406-433506 swim: 00 +433626-433728 swim: 00 +433847-433947 swim: 00 +434067-434167 swim: 00 +434288-434388 swim: 00 +434508-434608 swim: 00 +434728-434830 swim: 00 +434949-435049 swim: 00 +435169-435269 swim: 00 +435390-435490 swim: 00 +435610-435710 swim: 00 +435830-435932 swim: 00 +436141-436241 swim: 00 +436377-436477 swim: 00 +436597-436697 swim: 00 +436818-436918 swim: 00 +437038-437138 swim: 00 +437258-437360 swim: 00 +437479-437579 swim: 00 +437699-437799 swim: 00 +437920-438020 swim: 00 +438140-438240 swim: 00 +438361-438461 swim: 00 +438581-438681 swim: 00 +438802-438902 swim: 00 +439022-439122 swim: 00 +439242-439344 swim: 00 +439463-439563 swim: 00 +439683-439783 swim: 00 +439904-440004 swim: 00 +440124-440224 swim: 00 +440434-440536 swim: 00 +440670-440770 swim: 00 +440890-440992 swim: 00 +441111-441211 swim: 00 +441331-441431 swim: 00 +441552-441652 swim: 00 +441772-441874 swim: 00 +441993-442093 swim: 00 +442213-442313 swim: 00 +442434-442534 swim: 00 +442654-442754 swim: 0c +442889-442989 swim: f3 +443110-443210 swim: 12 +443330-443430 swim: ed +443550-443652 swim: 13 +443766-443866 swim: ec +443981-444081 swim: aa +444202-444302 swim: 55 +444422-444522 swim: 79 +444637-444739 swim: 86 +444853-444953 swim: 49 +445068-445168 swim: b6 +445283-445385 swim: 01 +445499-445599 swim: fe +445714-445816 swim: 20 +445930-446030 swim: df +446145-446247 swim: 02 +446361-446461 swim: fd +446576-446676 swim: 04 +446877-446977 swim: fb +447117-447217 swim: 00 +447338-447438 swim: 00 +447558-447658 swim: 00 +447778-447880 swim: 00 +447999-448099 swim: 00 +448219-448319 swim: 00 +448440-448540 swim: 00 +448660-448760 swim: 00 +448880-448982 swim: 00 +449101-449201 swim: 00 +449321-449423 swim: 00 +449542-449642 swim: 00 +449762-449862 swim: 5b +449978-450078 swim: 00 +450198-450298 swim: 1f +450413-450515 swim: 5e +450629-450729 swim: 00 +450849-450949 swim: 00 +451070-451170 swim: 2e +451290-451390 swim: 00 +451510-451612 swim: 0d +451726-451826 swim: 0a +451947-452047 swim: 47 +452167-452267 swim: 37 +452382-452484 swim: 31 +452598-452698 swim: 39 +452818-452918 swim: 31 +453034-453134 swim: 30 +453254-453354 swim: 37 +453469-453571 swim: 1f +453685-453785 swim: 00 +453905-454005 swim: 00 +454126-454226 swim: 1f +454341-454443 swim: 00 +454562-454662 swim: 00 +454782-454882 swim: 00 +455003-455103 swim: 00 +455223-455323 swim: 00 +455443-455545 swim: 00 +455734-455834 swim: 00 +455974-456076 swim: 00 +456195-456295 swim: 00 +456415-456515 swim: 00 +456635-456737 swim: 00 +457848-457948 swim: 00 +458103-458205 swim: 00 +458319-458419 swim: 00 +458534-458634 swim: 00 +458750-458850 swim: 00 +458965-459065 swim: 00 +459180-459282 swim: 00 +459396-459496 swim: 00 +459611-459711 swim: 00 +459827-459927 swim: 00 +460117-460217 swim: 00 +460332-460434 swim: 00 +460548-460648 swim: 00 +460763-460863 swim: 00 +460979-461079 swim: 00 +461194-461294 swim: 00 +461410-461510 swim: 00 +461625-461725 swim: 00 +461840-461942 swim: 00 +462056-462156 swim: 00 +462276-462376 swim: 00 +462491-462593 swim: 00 +462707-462807 swim: 00 +462922-463022 swim: 00 +463138-463238 swim: 00 +463353-463453 swim: 00 +463568-463670 swim: 00 +463784-463884 swim: 00 +463999-464099 swim: 00 +464214-464316 swim: 00 +464430-464530 swim: 00 +464655-464755 swim: 00 +464871-464971 swim: 00 +465086-465186 swim: 00 +465301-465401 swim: 00 +465517-465617 swim: 00 +465732-465832 swim: 00 +465947-466049 swim: 00 +466163-466263 swim: 00 +466378-466478 swim: 00 +466593-466695 swim: 00 +466809-466909 swim: 00 +467025-467125 swim: 00 +467240-467340 swim: 00 +467455-467557 swim: 00 +467671-467771 swim: 00 +467886-467986 swim: 00 +468101-468203 swim: 00 +468317-468417 swim: 00 +468532-468632 swim: 00 +468748-468848 swim: 00 +469003-469103 swim: 00 +469218-469320 swim: 00 +469434-469534 swim: 00 +469649-469749 swim: 00 +469864-469966 swim: 00 +470080-470180 swim: 00 +470295-470395 swim: 00 +470511-470611 swim: 00 +470726-470826 swim: 00 +471016-471118 swim: 00 +471232-471332 swim: 00 +471447-471547 swim: 00 +471663-471763 swim: 00 +471878-471980 swim: 00 +472094-472194 swim: 00 +472309-472409 swim: 00 +472524-472626 swim: 00 +472740-472840 swim: 00 +472955-473055 swim: 00 +473176-473276 swim: 00 +473391-473491 swim: 00 +473606-473708 swim: 00 +473822-473922 swim: 00 +474037-474137 swim: 00 +474253-474353 swim: 00 +474468-474568 swim: 00 +474683-474783 swim: 00 +474899-474999 swim: 00 +475114-475214 swim: 00 +475329-475431 swim: 00 +475545-475645 swim: 00 +475760-475862 swim: 00 +475976-476076 swim: 00 +476191-476291 swim: 00 +476407-476507 swim: 00 +476622-476722 swim: 00 +476837-476939 swim: 00 +477053-477153 swim: 00 +477268-477368 swim: 00 +477484-477584 swim: 00 +477699-477799 swim: 00 +477914-478014 swim: 00 +478130-478230 swim: 00 +478345-478445 swim: 00 +478560-478662 swim: 00 +478776-478876 swim: 00 +478991-479091 swim: 00 +479207-479307 swim: 00 +479512-479614 swim: 00 +479733-479833 swim: 00 +479948-480048 swim: 00 +480164-480264 swim: 00 +480379-480479 swim: 00 +480594-480694 swim: 00 +480810-480910 swim: 00 +481025-481125 swim: 00 +481240-481342 swim: 00 +481456-481556 swim: 00 +481706-481806 swim: 00 +481921-482023 swim: 00 +482137-482237 swim: 00 +482352-482452 swim: 00 +482567-482669 swim: 00 +482783-482883 swim: 00 +482998-483098 swim: 00 +483214-483314 swim: 00 +483429-483529 swim: 00 +483644-483744 swim: 00 +483860-483960 swim: 00 +484075-484175 swim: 00 +484290-484392 swim: 00 +484506-484606 swim: 00 +484721-484821 swim: 00 +484936-485038 swim: 00 +485152-485252 swim: 00 +485367-485467 swim: 00 +485583-485683 swim: 00 +494487-494587 swim: b3 diff --git a/decoder/test/swim/tests/sample4.bin_tx b/decoder/test/swim/tests/sample4.bin_tx new file mode 100644 index 0000000..e48b422 --- /dev/null +++ b/decoder/test/swim/tests/sample4.bin_tx @@ -0,0 +1,6 @@ +110280-110506 swim: a1 +133409-133629 swim: b3 +207589-207689 swim: 12 +400220-400454 swim: a1 +423339-423559 swim: b3 +498677-498777 swim: 12