From: Gerhard Sittig Date: Tue, 23 Jun 2020 18:13:37 +0000 (+0200) Subject: pjon: add tests for PJON frames over PJDL link layer X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c7da283fc7b18fbf93d74e627b2a11f0c00516f8;p=sigrok-test.git pjon: add tests for PJON frames over PJDL link layer --- diff --git a/decoder/test/pjdl/pjdl_glitch_failed_ack_pjdl.output b/decoder/test/pjdl/pjdl_glitch_failed_ack_pjdl.output new file mode 100644 index 0000000..1a19722 --- /dev/null +++ b/decoder/test/pjdl/pjdl_glitch_failed_ack_pjdl.output @@ -0,0 +1,689 @@ +34514-34965 pjdl: bit_pad: "PAD" "1" +34965-35141 pjdl: bit_low: "ZERO" "0" +35145-35603 pjdl: bit_pad: "PAD" "1" +35603-35779 pjdl: bit_low: "ZERO" "0" +35782-36234 pjdl: bit_pad: "PAD" "1" +36234-36410 pjdl: bit_low: "ZERO" "0" +34514-36410 pjdl: frame_init: "FRAME INIT" "INIT" "I" +36417-36868 pjdl: bit_pad: "PAD" "1" +36868-37044 pjdl: bit_low: "ZERO" "0" +37044-37220 pjdl: bit_data: "0" +37220-37396 pjdl: bit_data: "0" +37396-37572 pjdl: bit_data: "1" +37572-37748 pjdl: bit_data: "1" +37748-37924 pjdl: bit_data: "0" +37924-38100 pjdl: bit_data: "1" +38100-38276 pjdl: bit_data: "0" +38276-38452 pjdl: bit_data: "0" +36417-38452 pjdl: byte: "2c" +38492-38943 pjdl: bit_pad: "PAD" "1" +38943-39119 pjdl: bit_low: "ZERO" "0" +39119-39295 pjdl: bit_data: "0" +39295-39471 pjdl: bit_data: "1" +39471-39647 pjdl: bit_data: "1" +39647-39823 pjdl: bit_data: "0" +39823-39999 pjdl: bit_data: "0" +39999-40175 pjdl: bit_data: "0" +40175-40351 pjdl: bit_data: "0" +40351-40527 pjdl: bit_data: "0" +38492-40527 pjdl: byte: "06" +40570-41022 pjdl: bit_pad: "PAD" "1" +41022-41198 pjdl: bit_low: "ZERO" "0" +41198-41374 pjdl: bit_data: "1" +41374-41550 pjdl: bit_data: "1" +41550-41726 pjdl: bit_data: "1" +41726-41902 pjdl: bit_data: "0" +41902-42078 pjdl: bit_data: "0" +42078-42254 pjdl: bit_data: "0" +42254-42430 pjdl: bit_data: "0" +42430-42606 pjdl: bit_data: "0" +40570-42606 pjdl: byte: "07" +42645-43097 pjdl: bit_pad: "PAD" "1" +43097-43273 pjdl: bit_low: "ZERO" "0" +43273-43449 pjdl: bit_data: "0" +43449-43625 pjdl: bit_data: "0" +43625-43801 pjdl: bit_data: "0" +43801-43977 pjdl: bit_data: "0" +43977-44153 pjdl: bit_data: "1" +44153-44329 pjdl: bit_data: "1" +44329-44505 pjdl: bit_data: "0" +44505-44681 pjdl: bit_data: "0" +42645-44681 pjdl: byte: "30" +44724-45175 pjdl: bit_pad: "PAD" "1" +45175-45351 pjdl: bit_low: "ZERO" "0" +45351-45527 pjdl: bit_data: "1" +45527-45703 pjdl: bit_data: "0" +45703-45879 pjdl: bit_data: "1" +45879-46055 pjdl: bit_data: "1" +46055-46231 pjdl: bit_data: "0" +46231-46407 pjdl: bit_data: "1" +46407-46583 pjdl: bit_data: "0" +46583-46759 pjdl: bit_data: "0" +44724-46759 pjdl: byte: "2d" +46799-47250 pjdl: bit_pad: "PAD" "1" +47250-47426 pjdl: bit_low: "ZERO" "0" +47426-47602 pjdl: bit_data: "0" +47602-47778 pjdl: bit_data: "1" +47778-47954 pjdl: bit_data: "0" +47954-48130 pjdl: bit_data: "0" +48130-48306 pjdl: bit_data: "0" +48306-48482 pjdl: bit_data: "0" +48482-48658 pjdl: bit_data: "1" +48658-48834 pjdl: bit_data: "0" +46799-48834 pjdl: byte: "42" +48877-49331 pjdl: bit_pad: "PAD" "1" +49331-49507 pjdl: bit_low: "ZERO" "0" +49507-49683 pjdl: bit_data: "0" +49683-49859 pjdl: bit_data: "1" +49859-50035 pjdl: bit_data: "0" +50035-50211 pjdl: bit_data: "0" +50211-50387 pjdl: bit_data: "1" +50387-50563 pjdl: bit_data: "1" +50563-50739 pjdl: bit_data: "0" +50739-50915 pjdl: bit_data: "1" +48877-50915 pjdl: byte: "b2" +51004-51052 pjdl: bit_short: "SHORT" "1" +51102-51149 pjdl: bit_short: "SHORT" "1" +51165-51617 pjdl: bit_pad: "PAD" "1" +51617-51793 pjdl: bit_low: "ZERO" "0" +51004-51793 pjdl: frame_wait: "WAIT for sync response" "WAIT response" "WAIT" "W" +51799-52250 pjdl: bit_pad: "PAD" "1" +52250-52426 pjdl: bit_low: "ZERO" "0" +52426-52602 pjdl: bit_data: "0" +52602-52778 pjdl: bit_data: "1" +52778-52954 pjdl: bit_data: "1" +52954-53130 pjdl: bit_data: "0" +53130-53306 pjdl: bit_data: "0" +53306-53482 pjdl: bit_data: "0" +53482-53658 pjdl: bit_data: "0" +53658-53834 pjdl: bit_data: "0" +51799-53834 pjdl: byte: "06" +34514-53834 pjdl: frame_bytes: "INIT 2c 06 07 30 2d 42 b2 WAIT 06" +56138-56590 pjdl: bit_pad: "PAD" "1" +56590-56766 pjdl: bit_low: "ZERO" "0" +56769-57221 pjdl: bit_pad: "PAD" "1" +57221-57397 pjdl: bit_low: "ZERO" "0" +57400-57852 pjdl: bit_pad: "PAD" "1" +57852-58028 pjdl: bit_low: "ZERO" "0" +56138-58028 pjdl: frame_init: "FRAME INIT" "INIT" "I" +58034-58488 pjdl: bit_pad: "PAD" "1" +58488-58664 pjdl: bit_low: "ZERO" "0" +58664-58840 pjdl: bit_data: "1" +58840-59016 pjdl: bit_data: "0" +59016-59192 pjdl: bit_data: "1" +59192-59368 pjdl: bit_data: "1" +59368-59544 pjdl: bit_data: "0" +59544-59720 pjdl: bit_data: "1" +59720-59896 pjdl: bit_data: "0" +59896-60072 pjdl: bit_data: "0" +58034-60072 pjdl: byte: "2d" +60108-60559 pjdl: bit_pad: "PAD" "1" +60559-60735 pjdl: bit_low: "ZERO" "0" +60735-60911 pjdl: bit_data: "0" +60911-61087 pjdl: bit_data: "1" +61087-61263 pjdl: bit_data: "1" +61263-61439 pjdl: bit_data: "0" +61439-61615 pjdl: bit_data: "0" +61615-61791 pjdl: bit_data: "0" +61791-61967 pjdl: bit_data: "0" +61967-62143 pjdl: bit_data: "0" +60108-62143 pjdl: byte: "06" +62179-62633 pjdl: bit_pad: "PAD" "1" +62633-62809 pjdl: bit_low: "ZERO" "0" +62809-62985 pjdl: bit_data: "1" +62985-63161 pjdl: bit_data: "1" +63161-63337 pjdl: bit_data: "1" +63337-63513 pjdl: bit_data: "0" +63513-63689 pjdl: bit_data: "0" +63689-63865 pjdl: bit_data: "0" +63865-64041 pjdl: bit_data: "0" +64041-64217 pjdl: bit_data: "0" +62179-64217 pjdl: byte: "07" +64252-64704 pjdl: bit_pad: "PAD" "1" +64704-64880 pjdl: bit_low: "ZERO" "0" +64880-65056 pjdl: bit_data: "1" +65056-65232 pjdl: bit_data: "0" +65232-65408 pjdl: bit_data: "0" +65408-65584 pjdl: bit_data: "0" +65584-65760 pjdl: bit_data: "0" +65760-65936 pjdl: bit_data: "0" +65936-66112 pjdl: bit_data: "0" +66112-66288 pjdl: bit_data: "0" +64252-66288 pjdl: byte: "01" +66323-66777 pjdl: bit_pad: "PAD" "1" +66777-66953 pjdl: bit_low: "ZERO" "0" +66953-67129 pjdl: bit_data: "0" +67129-67305 pjdl: bit_data: "0" +67305-67481 pjdl: bit_data: "1" +67481-67657 pjdl: bit_data: "1" +67657-67833 pjdl: bit_data: "0" +67833-68009 pjdl: bit_data: "1" +68009-68185 pjdl: bit_data: "0" +68185-68361 pjdl: bit_data: "0" +66323-68361 pjdl: byte: "2c" +68397-68848 pjdl: bit_pad: "PAD" "1" +68848-69024 pjdl: bit_low: "ZERO" "0" +69024-69200 pjdl: bit_data: "0" +69200-69376 pjdl: bit_data: "1" +69376-69552 pjdl: bit_data: "0" +69552-69728 pjdl: bit_data: "0" +69728-69904 pjdl: bit_data: "0" +69904-70080 pjdl: bit_data: "0" +70080-70256 pjdl: bit_data: "1" +70256-70432 pjdl: bit_data: "0" +68397-70432 pjdl: byte: "42" +70470-70921 pjdl: bit_pad: "PAD" "1" +70921-71097 pjdl: bit_low: "ZERO" "0" +71097-71273 pjdl: bit_data: "0" +71273-71449 pjdl: bit_data: "0" +71449-71625 pjdl: bit_data: "0" +71625-71801 pjdl: bit_data: "0" +71801-71977 pjdl: bit_data: "0" +71977-72153 pjdl: bit_data: "0" +72153-72329 pjdl: bit_data: "1" +72329-72505 pjdl: bit_data: "0" +70470-72505 pjdl: byte: "40" +72593-72640 pjdl: bit_short: "SHORT" "1" +72689-72736 pjdl: bit_short: "SHORT" "1" +72751-73204 pjdl: bit_pad: "PAD" "1" +73204-73380 pjdl: bit_low: "ZERO" "0" +72593-73380 pjdl: frame_wait: "WAIT for sync response" "WAIT response" "WAIT" "W" +56138-73380 pjdl: frame_bytes: "INIT 2d 06 07 01 2c 42 40 WAIT" +117849-118301 pjdl: bit_pad: "PAD" "1" +118301-118477 pjdl: bit_low: "ZERO" "0" +118483-118934 pjdl: bit_pad: "PAD" "1" +118934-119110 pjdl: bit_low: "ZERO" "0" +119114-119565 pjdl: bit_pad: "PAD" "1" +119565-119741 pjdl: bit_low: "ZERO" "0" +117849-119741 pjdl: frame_init: "FRAME INIT" "INIT" "I" +119748-120199 pjdl: bit_pad: "PAD" "1" +120199-120375 pjdl: bit_low: "ZERO" "0" +120375-120551 pjdl: bit_data: "1" +120551-120727 pjdl: bit_data: "0" +120727-120903 pjdl: bit_data: "1" +120903-121079 pjdl: bit_data: "1" +121079-121255 pjdl: bit_data: "0" +121255-121431 pjdl: bit_data: "1" +121431-121607 pjdl: bit_data: "0" +121607-121783 pjdl: bit_data: "0" +119748-121783 pjdl: byte: "2d" +121819-122270 pjdl: bit_pad: "PAD" "1" +122270-122446 pjdl: bit_low: "ZERO" "0" +122446-122622 pjdl: bit_data: "0" +122622-122798 pjdl: bit_data: "1" +122798-122974 pjdl: bit_data: "1" +122974-123150 pjdl: bit_data: "0" +123150-123326 pjdl: bit_data: "0" +123326-123502 pjdl: bit_data: "0" +123502-123678 pjdl: bit_data: "0" +123678-123854 pjdl: bit_data: "0" +121819-123854 pjdl: byte: "06" +123892-124344 pjdl: bit_pad: "PAD" "1" +124344-124520 pjdl: bit_low: "ZERO" "0" +124520-124696 pjdl: bit_data: "1" +124696-124872 pjdl: bit_data: "1" +124872-125048 pjdl: bit_data: "1" +125048-125224 pjdl: bit_data: "0" +125224-125400 pjdl: bit_data: "0" +125400-125576 pjdl: bit_data: "0" +125576-125752 pjdl: bit_data: "0" +125752-125928 pjdl: bit_data: "0" +123892-125928 pjdl: byte: "07" +125963-126415 pjdl: bit_pad: "PAD" "1" +126415-126591 pjdl: bit_low: "ZERO" "0" +126591-126767 pjdl: bit_data: "1" +126767-126943 pjdl: bit_data: "0" +126943-127119 pjdl: bit_data: "0" +127119-127295 pjdl: bit_data: "0" +127295-127471 pjdl: bit_data: "0" +127471-127647 pjdl: bit_data: "0" +127647-127823 pjdl: bit_data: "0" +127823-127999 pjdl: bit_data: "0" +125963-127999 pjdl: byte: "01" +128037-128488 pjdl: bit_pad: "PAD" "1" +128488-128664 pjdl: bit_low: "ZERO" "0" +128664-128840 pjdl: bit_data: "0" +128840-129016 pjdl: bit_data: "0" +129016-129192 pjdl: bit_data: "1" +129192-129368 pjdl: bit_data: "1" +129368-129544 pjdl: bit_data: "0" +129544-129720 pjdl: bit_data: "1" +129720-129896 pjdl: bit_data: "0" +129896-130072 pjdl: bit_data: "0" +128037-130072 pjdl: byte: "2c" +130108-130561 pjdl: bit_pad: "PAD" "1" +130561-130737 pjdl: bit_low: "ZERO" "0" +130737-130913 pjdl: bit_data: "0" +130913-131089 pjdl: bit_data: "1" +131089-131265 pjdl: bit_data: "0" +131265-131441 pjdl: bit_data: "0" +131441-131617 pjdl: bit_data: "0" +131617-131793 pjdl: bit_data: "0" +131793-131969 pjdl: bit_data: "1" +131969-132145 pjdl: bit_data: "0" +130108-132145 pjdl: byte: "42" +132181-132632 pjdl: bit_pad: "PAD" "1" +132632-132808 pjdl: bit_low: "ZERO" "0" +132808-132984 pjdl: bit_data: "0" +132984-133160 pjdl: bit_data: "0" +133160-133336 pjdl: bit_data: "0" +133336-133512 pjdl: bit_data: "0" +133512-133688 pjdl: bit_data: "0" +133688-133864 pjdl: bit_data: "0" +133864-134040 pjdl: bit_data: "1" +134040-134216 pjdl: bit_data: "0" +132181-134216 pjdl: byte: "40" +134304-134351 pjdl: bit_short: "SHORT" "1" +134400-134447 pjdl: bit_short: "SHORT" "1" +134498-134546 pjdl: bit_short: "SHORT" "1" +134594-134642 pjdl: bit_short: "SHORT" "1" +134690-134738 pjdl: bit_short: "SHORT" "1" +134786-134834 pjdl: bit_short: "SHORT" "1" +134882-134930 pjdl: bit_short: "SHORT" "1" +134979-135026 pjdl: bit_short: "SHORT" "1" +135075-135122 pjdl: bit_short: "SHORT" "1" +135171-135218 pjdl: bit_short: "SHORT" "1" +135267-135314 pjdl: bit_short: "SHORT" "1" +135363-135410 pjdl: bit_short: "SHORT" "1" +135459-135506 pjdl: bit_short: "SHORT" "1" +135555-135602 pjdl: bit_short: "SHORT" "1" +135651-135699 pjdl: bit_short: "SHORT" "1" +135748-135795 pjdl: bit_short: "SHORT" "1" +135844-135891 pjdl: bit_short: "SHORT" "1" +135940-135987 pjdl: bit_short: "SHORT" "1" +136036-136084 pjdl: bit_short: "SHORT" "1" +136133-136180 pjdl: bit_short: "SHORT" "1" +136229-136276 pjdl: bit_short: "SHORT" "1" +136325-136372 pjdl: bit_short: "SHORT" "1" +136421-136469 pjdl: bit_short: "SHORT" "1" +136518-136565 pjdl: bit_short: "SHORT" "1" +136614-136661 pjdl: bit_short: "SHORT" "1" +136710-136757 pjdl: bit_short: "SHORT" "1" +136806-136854 pjdl: bit_short: "SHORT" "1" +136903-136950 pjdl: bit_short: "SHORT" "1" +136999-137046 pjdl: bit_short: "SHORT" "1" +137095-137142 pjdl: bit_short: "SHORT" "1" +137191-137239 pjdl: bit_short: "SHORT" "1" +137288-137335 pjdl: bit_short: "SHORT" "1" +137384-137431 pjdl: bit_short: "SHORT" "1" +137480-137527 pjdl: bit_short: "SHORT" "1" +137576-137624 pjdl: bit_short: "SHORT" "1" +137673-137720 pjdl: bit_short: "SHORT" "1" +137769-137816 pjdl: bit_short: "SHORT" "1" +137865-137912 pjdl: bit_short: "SHORT" "1" +137961-138009 pjdl: bit_short: "SHORT" "1" +138058-138105 pjdl: bit_short: "SHORT" "1" +138154-138201 pjdl: bit_short: "SHORT" "1" +138250-138297 pjdl: bit_short: "SHORT" "1" +138346-138394 pjdl: bit_short: "SHORT" "1" +138443-138492 pjdl: bit_short: "SHORT" "1" +138541-138588 pjdl: bit_short: "SHORT" "1" +138637-138684 pjdl: bit_short: "SHORT" "1" +138733-138780 pjdl: bit_short: "SHORT" "1" +138829-138876 pjdl: bit_short: "SHORT" "1" +138925-138972 pjdl: bit_short: "SHORT" "1" +139021-139068 pjdl: bit_short: "SHORT" "1" +139117-139164 pjdl: bit_short: "SHORT" "1" +139213-139260 pjdl: bit_short: "SHORT" "1" +139309-139356 pjdl: bit_short: "SHORT" "1" +139405-139452 pjdl: bit_short: "SHORT" "1" +139501-139548 pjdl: bit_short: "SHORT" "1" +139597-139645 pjdl: bit_short: "SHORT" "1" +139694-139741 pjdl: bit_short: "SHORT" "1" +139790-139837 pjdl: bit_short: "SHORT" "1" +139886-139933 pjdl: bit_short: "SHORT" "1" +139982-140030 pjdl: bit_short: "SHORT" "1" +140079-140126 pjdl: bit_short: "SHORT" "1" +140175-140222 pjdl: bit_short: "SHORT" "1" +140271-140318 pjdl: bit_short: "SHORT" "1" +117849-140318 pjdl: frame_bytes: "INIT 2d 06 07 01 2c 42 40 SHORT" +250469-250921 pjdl: bit_pad: "PAD" "1" +250921-251097 pjdl: bit_low: "ZERO" "0" +251100-251552 pjdl: bit_pad: "PAD" "1" +251552-251728 pjdl: bit_low: "ZERO" "0" +251738-252189 pjdl: bit_pad: "PAD" "1" +252189-252365 pjdl: bit_low: "ZERO" "0" +250469-252365 pjdl: frame_init: "FRAME INIT" "INIT" "I" +252372-252823 pjdl: bit_pad: "PAD" "1" +252823-252999 pjdl: bit_low: "ZERO" "0" +252999-253175 pjdl: bit_data: "0" +253175-253351 pjdl: bit_data: "0" +253351-253527 pjdl: bit_data: "1" +253527-253703 pjdl: bit_data: "1" +253703-253879 pjdl: bit_data: "0" +253879-254055 pjdl: bit_data: "1" +254055-254231 pjdl: bit_data: "0" +254231-254407 pjdl: bit_data: "0" +252372-254407 pjdl: byte: "2c" +254447-254898 pjdl: bit_pad: "PAD" "1" +254898-255074 pjdl: bit_low: "ZERO" "0" +255074-255250 pjdl: bit_data: "0" +255250-255426 pjdl: bit_data: "1" +255426-255602 pjdl: bit_data: "1" +255602-255778 pjdl: bit_data: "0" +255778-255954 pjdl: bit_data: "0" +255954-256130 pjdl: bit_data: "0" +256130-256306 pjdl: bit_data: "0" +256306-256482 pjdl: bit_data: "0" +254447-256482 pjdl: byte: "06" +256525-256977 pjdl: bit_pad: "PAD" "1" +256977-257153 pjdl: bit_low: "ZERO" "0" +257153-257329 pjdl: bit_data: "1" +257329-257505 pjdl: bit_data: "1" +257505-257681 pjdl: bit_data: "1" +257681-257857 pjdl: bit_data: "0" +257857-258033 pjdl: bit_data: "0" +258033-258209 pjdl: bit_data: "0" +258209-258385 pjdl: bit_data: "0" +258385-258561 pjdl: bit_data: "0" +256525-258561 pjdl: byte: "07" +258600-259052 pjdl: bit_pad: "PAD" "1" +259052-259228 pjdl: bit_low: "ZERO" "0" +259228-259404 pjdl: bit_data: "0" +259404-259580 pjdl: bit_data: "0" +259580-259756 pjdl: bit_data: "0" +259756-259932 pjdl: bit_data: "0" +259932-260108 pjdl: bit_data: "1" +260108-260284 pjdl: bit_data: "1" +260284-260460 pjdl: bit_data: "0" +260460-260636 pjdl: bit_data: "0" +258600-260636 pjdl: byte: "30" +260679-261130 pjdl: bit_pad: "PAD" "1" +261130-261306 pjdl: bit_low: "ZERO" "0" +261306-261482 pjdl: bit_data: "1" +261482-261658 pjdl: bit_data: "0" +261658-261834 pjdl: bit_data: "1" +261834-262010 pjdl: bit_data: "1" +262010-262186 pjdl: bit_data: "0" +262186-262362 pjdl: bit_data: "1" +262362-262538 pjdl: bit_data: "0" +262538-262714 pjdl: bit_data: "0" +260679-262714 pjdl: byte: "2d" +262754-263205 pjdl: bit_pad: "PAD" "1" +263205-263381 pjdl: bit_low: "ZERO" "0" +263381-263557 pjdl: bit_data: "0" +263557-263733 pjdl: bit_data: "1" +263733-263909 pjdl: bit_data: "0" +263909-264085 pjdl: bit_data: "0" +264085-264261 pjdl: bit_data: "0" +264261-264437 pjdl: bit_data: "0" +264437-264613 pjdl: bit_data: "1" +264613-264789 pjdl: bit_data: "0" +262754-264789 pjdl: byte: "42" +264833-265286 pjdl: bit_pad: "PAD" "1" +265286-265462 pjdl: bit_low: "ZERO" "0" +265462-265638 pjdl: bit_data: "0" +265638-265814 pjdl: bit_data: "1" +265814-265990 pjdl: bit_data: "0" +265990-266166 pjdl: bit_data: "0" +266166-266342 pjdl: bit_data: "1" +266342-266518 pjdl: bit_data: "1" +266518-266694 pjdl: bit_data: "0" +266694-266870 pjdl: bit_data: "1" +264833-266870 pjdl: byte: "b2" +266960-267007 pjdl: bit_short: "SHORT" "1" +267057-267104 pjdl: bit_short: "SHORT" "1" +267118-267569 pjdl: bit_pad: "PAD" "1" +267569-267745 pjdl: bit_low: "ZERO" "0" +266960-267745 pjdl: frame_wait: "WAIT for sync response" "WAIT response" "WAIT" "W" +267751-268203 pjdl: bit_pad: "PAD" "1" +268203-268379 pjdl: bit_low: "ZERO" "0" +268379-268555 pjdl: bit_data: "0" +268555-268731 pjdl: bit_data: "1" +268731-268907 pjdl: bit_data: "1" +268907-269083 pjdl: bit_data: "0" +269083-269259 pjdl: bit_data: "0" +269259-269435 pjdl: bit_data: "0" +269435-269611 pjdl: bit_data: "0" +269611-269787 pjdl: bit_data: "0" +267751-269787 pjdl: byte: "06" +250469-269787 pjdl: frame_bytes: "INIT 2c 06 07 30 2d 42 b2 WAIT 06" +272047-272498 pjdl: bit_pad: "PAD" "1" +272498-272674 pjdl: bit_low: "ZERO" "0" +272678-273129 pjdl: bit_pad: "PAD" "1" +273129-273305 pjdl: bit_low: "ZERO" "0" +273309-273760 pjdl: bit_pad: "PAD" "1" +273760-273936 pjdl: bit_low: "ZERO" "0" +272047-273936 pjdl: frame_init: "FRAME INIT" "INIT" "I" +273943-274394 pjdl: bit_pad: "PAD" "1" +274394-274570 pjdl: bit_low: "ZERO" "0" +274570-274746 pjdl: bit_data: "1" +274746-274922 pjdl: bit_data: "0" +274922-275098 pjdl: bit_data: "1" +275098-275274 pjdl: bit_data: "1" +275274-275450 pjdl: bit_data: "0" +275450-275626 pjdl: bit_data: "1" +275626-275802 pjdl: bit_data: "0" +275802-275978 pjdl: bit_data: "0" +273943-275978 pjdl: byte: "2d" +276016-276467 pjdl: bit_pad: "PAD" "1" +276467-276643 pjdl: bit_low: "ZERO" "0" +276643-276819 pjdl: bit_data: "0" +276819-276995 pjdl: bit_data: "1" +276995-277171 pjdl: bit_data: "1" +277171-277347 pjdl: bit_data: "0" +277347-277523 pjdl: bit_data: "0" +277523-277699 pjdl: bit_data: "0" +277699-277875 pjdl: bit_data: "0" +277875-278051 pjdl: bit_data: "0" +276016-278051 pjdl: byte: "06" +278087-278541 pjdl: bit_pad: "PAD" "1" +278541-278717 pjdl: bit_low: "ZERO" "0" +278717-278893 pjdl: bit_data: "1" +278893-279069 pjdl: bit_data: "1" +279069-279245 pjdl: bit_data: "1" +279245-279421 pjdl: bit_data: "0" +279421-279597 pjdl: bit_data: "0" +279597-279773 pjdl: bit_data: "0" +279773-279949 pjdl: bit_data: "0" +279949-280125 pjdl: bit_data: "0" +278087-280125 pjdl: byte: "07" +280161-280612 pjdl: bit_pad: "PAD" "1" +280612-280788 pjdl: bit_low: "ZERO" "0" +280788-280964 pjdl: bit_data: "1" +280964-281140 pjdl: bit_data: "0" +281140-281316 pjdl: bit_data: "0" +281316-281492 pjdl: bit_data: "0" +281492-281668 pjdl: bit_data: "0" +281668-281844 pjdl: bit_data: "0" +281844-282020 pjdl: bit_data: "0" +282020-282196 pjdl: bit_data: "0" +280161-282196 pjdl: byte: "01" +282232-282685 pjdl: bit_pad: "PAD" "1" +282685-282861 pjdl: bit_low: "ZERO" "0" +282861-283037 pjdl: bit_data: "0" +283037-283213 pjdl: bit_data: "0" +283213-283389 pjdl: bit_data: "1" +283389-283565 pjdl: bit_data: "1" +283565-283741 pjdl: bit_data: "0" +283741-283917 pjdl: bit_data: "1" +283917-284093 pjdl: bit_data: "0" +284093-284269 pjdl: bit_data: "0" +282232-284269 pjdl: byte: "2c" +284305-284756 pjdl: bit_pad: "PAD" "1" +284756-284932 pjdl: bit_low: "ZERO" "0" +284932-285108 pjdl: bit_data: "0" +285108-285284 pjdl: bit_data: "1" +285284-285460 pjdl: bit_data: "0" +285460-285636 pjdl: bit_data: "0" +285636-285812 pjdl: bit_data: "0" +285812-285988 pjdl: bit_data: "0" +285988-286164 pjdl: bit_data: "1" +286164-286340 pjdl: bit_data: "0" +284305-286340 pjdl: byte: "42" +286376-286830 pjdl: bit_pad: "PAD" "1" +286830-287006 pjdl: bit_low: "ZERO" "0" +287006-287182 pjdl: bit_data: "0" +287182-287358 pjdl: bit_data: "0" +287358-287534 pjdl: bit_data: "0" +287534-287710 pjdl: bit_data: "0" +287710-287886 pjdl: bit_data: "0" +287886-288062 pjdl: bit_data: "0" +288062-288238 pjdl: bit_data: "1" +288238-288414 pjdl: bit_data: "0" +286376-288414 pjdl: byte: "40" +288501-288548 pjdl: bit_short: "SHORT" "1" +288597-288644 pjdl: bit_short: "SHORT" "1" +288662-289113 pjdl: bit_pad: "PAD" "1" +289113-289289 pjdl: bit_low: "ZERO" "0" +288501-289289 pjdl: frame_wait: "WAIT for sync response" "WAIT response" "WAIT" "W" +289297-289749 pjdl: bit_pad: "PAD" "1" +289749-289925 pjdl: bit_low: "ZERO" "0" +289925-290101 pjdl: bit_data: "0" +290101-290277 pjdl: bit_data: "1" +290277-290453 pjdl: bit_data: "1" +290453-290629 pjdl: bit_data: "0" +290629-290805 pjdl: bit_data: "0" +290805-290981 pjdl: bit_data: "0" +290981-291157 pjdl: bit_data: "0" +291157-291333 pjdl: bit_data: "0" +289297-291333 pjdl: byte: "06" +272047-291333 pjdl: frame_bytes: "INIT 2d 06 07 01 2c 42 40 WAIT 06" +333764-334215 pjdl: bit_pad: "PAD" "1" +334215-334391 pjdl: bit_low: "ZERO" "0" +334395-334848 pjdl: bit_pad: "PAD" "1" +334848-335024 pjdl: bit_low: "ZERO" "0" +335028-335479 pjdl: bit_pad: "PAD" "1" +335479-335655 pjdl: bit_low: "ZERO" "0" +333764-335655 pjdl: frame_init: "FRAME INIT" "INIT" "I" +335662-336113 pjdl: bit_pad: "PAD" "1" +336113-336289 pjdl: bit_low: "ZERO" "0" +336289-336465 pjdl: bit_data: "1" +336465-336641 pjdl: bit_data: "0" +336641-336817 pjdl: bit_data: "1" +336817-336993 pjdl: bit_data: "1" +336993-337169 pjdl: bit_data: "0" +337169-337345 pjdl: bit_data: "1" +337345-337521 pjdl: bit_data: "0" +337521-337697 pjdl: bit_data: "0" +335662-337697 pjdl: byte: "2d" +337733-338184 pjdl: bit_pad: "PAD" "1" +338184-338360 pjdl: bit_low: "ZERO" "0" +338360-338536 pjdl: bit_data: "0" +338536-338712 pjdl: bit_data: "1" +338712-338888 pjdl: bit_data: "1" +338888-339064 pjdl: bit_data: "0" +339064-339240 pjdl: bit_data: "0" +339240-339416 pjdl: bit_data: "0" +339416-339592 pjdl: bit_data: "0" +339592-339768 pjdl: bit_data: "0" +337733-339768 pjdl: byte: "06" +339806-340258 pjdl: bit_pad: "PAD" "1" +340258-340434 pjdl: bit_low: "ZERO" "0" +340434-340610 pjdl: bit_data: "1" +340610-340786 pjdl: bit_data: "1" +340786-340962 pjdl: bit_data: "1" +340962-341138 pjdl: bit_data: "0" +341138-341314 pjdl: bit_data: "0" +341314-341490 pjdl: bit_data: "0" +341490-341666 pjdl: bit_data: "0" +341666-341842 pjdl: bit_data: "0" +339806-341842 pjdl: byte: "07" +341877-342329 pjdl: bit_pad: "PAD" "1" +342329-342505 pjdl: bit_low: "ZERO" "0" +342505-342681 pjdl: bit_data: "1" +342681-342857 pjdl: bit_data: "0" +342857-343033 pjdl: bit_data: "0" +343033-343209 pjdl: bit_data: "0" +343209-343385 pjdl: bit_data: "0" +343385-343561 pjdl: bit_data: "0" +343561-343737 pjdl: bit_data: "0" +343737-343913 pjdl: bit_data: "0" +341877-343913 pjdl: byte: "01" +343951-344402 pjdl: bit_pad: "PAD" "1" +344402-344578 pjdl: bit_low: "ZERO" "0" +344578-344754 pjdl: bit_data: "0" +344754-344930 pjdl: bit_data: "0" +344930-345106 pjdl: bit_data: "1" +345106-345282 pjdl: bit_data: "1" +345282-345458 pjdl: bit_data: "0" +345458-345634 pjdl: bit_data: "1" +345634-345810 pjdl: bit_data: "0" +345810-345986 pjdl: bit_data: "0" +343951-345986 pjdl: byte: "2c" +346022-346473 pjdl: bit_pad: "PAD" "1" +346473-346649 pjdl: bit_low: "ZERO" "0" +346649-346825 pjdl: bit_data: "0" +346825-347001 pjdl: bit_data: "1" +347001-347177 pjdl: bit_data: "0" +347177-347353 pjdl: bit_data: "0" +347353-347529 pjdl: bit_data: "0" +347529-347705 pjdl: bit_data: "0" +347705-347881 pjdl: bit_data: "1" +347881-348057 pjdl: bit_data: "0" +346022-348057 pjdl: byte: "42" +348095-348547 pjdl: bit_pad: "PAD" "1" +348547-348723 pjdl: bit_low: "ZERO" "0" +348723-348899 pjdl: bit_data: "0" +348899-349075 pjdl: bit_data: "0" +349075-349251 pjdl: bit_data: "0" +349251-349427 pjdl: bit_data: "0" +349427-349603 pjdl: bit_data: "0" +349603-349779 pjdl: bit_data: "0" +349779-349955 pjdl: bit_data: "1" +349955-350131 pjdl: bit_data: "0" +348095-350131 pjdl: byte: "40" +350218-350265 pjdl: bit_short: "SHORT" "1" +350314-350361 pjdl: bit_short: "SHORT" "1" +350410-350457 pjdl: bit_short: "SHORT" "1" +350506-350556 pjdl: bit_short: "SHORT" "1" +350605-350652 pjdl: bit_short: "SHORT" "1" +350701-350748 pjdl: bit_short: "SHORT" "1" +350797-350844 pjdl: bit_short: "SHORT" "1" +350893-350940 pjdl: bit_short: "SHORT" "1" +350989-351036 pjdl: bit_short: "SHORT" "1" +351085-351132 pjdl: bit_short: "SHORT" "1" +351181-351228 pjdl: bit_short: "SHORT" "1" +351277-351324 pjdl: bit_short: "SHORT" "1" +351373-351420 pjdl: bit_short: "SHORT" "1" +351469-351516 pjdl: bit_short: "SHORT" "1" +351565-351612 pjdl: bit_short: "SHORT" "1" +351661-351709 pjdl: bit_short: "SHORT" "1" +351758-351805 pjdl: bit_short: "SHORT" "1" +351854-351901 pjdl: bit_short: "SHORT" "1" +351950-351997 pjdl: bit_short: "SHORT" "1" +352046-352094 pjdl: bit_short: "SHORT" "1" +352143-352190 pjdl: bit_short: "SHORT" "1" +352239-352286 pjdl: bit_short: "SHORT" "1" +352335-352382 pjdl: bit_short: "SHORT" "1" +352431-352479 pjdl: bit_short: "SHORT" "1" +352528-352575 pjdl: bit_short: "SHORT" "1" +352624-352671 pjdl: bit_short: "SHORT" "1" +352720-352767 pjdl: bit_short: "SHORT" "1" +352816-352864 pjdl: bit_short: "SHORT" "1" +352913-352960 pjdl: bit_short: "SHORT" "1" +353009-353056 pjdl: bit_short: "SHORT" "1" +353105-353152 pjdl: bit_short: "SHORT" "1" +353201-353249 pjdl: bit_short: "SHORT" "1" +353298-353345 pjdl: bit_short: "SHORT" "1" +353394-353441 pjdl: bit_short: "SHORT" "1" +353490-353537 pjdl: bit_short: "SHORT" "1" +353586-353634 pjdl: bit_short: "SHORT" "1" +353683-353730 pjdl: bit_short: "SHORT" "1" +353779-353826 pjdl: bit_short: "SHORT" "1" +353875-353922 pjdl: bit_short: "SHORT" "1" +353971-354019 pjdl: bit_short: "SHORT" "1" +354068-354115 pjdl: bit_short: "SHORT" "1" +354164-354211 pjdl: bit_short: "SHORT" "1" +354260-354307 pjdl: bit_short: "SHORT" "1" +354356-354404 pjdl: bit_short: "SHORT" "1" +354453-354500 pjdl: bit_short: "SHORT" "1" +354552-354599 pjdl: bit_short: "SHORT" "1" +354648-354695 pjdl: bit_short: "SHORT" "1" +354744-354791 pjdl: bit_short: "SHORT" "1" +354840-354887 pjdl: bit_short: "SHORT" "1" +354936-354983 pjdl: bit_short: "SHORT" "1" +355032-355079 pjdl: bit_short: "SHORT" "1" +355128-355175 pjdl: bit_short: "SHORT" "1" +355224-355271 pjdl: bit_short: "SHORT" "1" +355320-355367 pjdl: bit_short: "SHORT" "1" +355416-355463 pjdl: bit_short: "SHORT" "1" +355512-355559 pjdl: bit_short: "SHORT" "1" +355608-355655 pjdl: bit_short: "SHORT" "1" +355705-355752 pjdl: bit_short: "SHORT" "1" +355801-355848 pjdl: bit_short: "SHORT" "1" +355897-355944 pjdl: bit_short: "SHORT" "1" +355993-356040 pjdl: bit_short: "SHORT" "1" +356090-356137 pjdl: bit_short: "SHORT" "1" +356186-356233 pjdl: bit_short: "SHORT" "1" +333764-356233 pjdl: frame_bytes: "INIT 2d 06 07 01 2c 42 40 SHORT" diff --git a/decoder/test/pjdl/test.conf b/decoder/test/pjdl/test.conf new file mode 100644 index 0000000..1cd5181 --- /dev/null +++ b/decoder/test/pjdl/test.conf @@ -0,0 +1,4 @@ +test pjdl_glitch_failed_ack + protocol-decoder pjdl channel data=0 option mode=1 + input pjon/pjdl/pjon-pjdl-glitch-and-ack-and-failed-ack.sr + output pjdl annotation match pjdl_glitch_failed_ack_pjdl.output diff --git a/decoder/test/pjon/pjdl_glitch_failed_ack_pjon.output b/decoder/test/pjon/pjdl_glitch_failed_ack_pjon.output new file mode 100644 index 0000000..eb969d5 --- /dev/null +++ b/decoder/test/pjon/pjdl_glitch_failed_ack_pjon.output @@ -0,0 +1,45 @@ +36417-38452 pjon: rx_info: "RX_ID 44" "44" +38492-40527 pjon: hdr_cfg: "CFG - - - - - ack tx_info -" "CFG 00000110" "00000110" +40570-42606 pjon: pkt_len: "LENGTH 7 (PAYLOAD 1)" "LEN 7 (PL 1)" "7 (1)" "7" +42645-44681 pjon: meta_crc: "META_CRC 30" "CRC 30" "30" +44724-46759 pjon: anon: "TX_ID 45" "45" +46799-48834 pjon: payload: "PAYLOAD 42" "42" +48877-50915 pjon: end_crc: "END_CRC b2" "CRC b2" "b2" +51799-53834 pjon: syn_rsp: "ACK 06" "06" +58034-60072 pjon: rx_info: "RX_ID 45" "45" +60108-62143 pjon: hdr_cfg: "CFG - - - - - ack tx_info -" "CFG 00000110" "00000110" +62179-64217 pjon: pkt_len: "LENGTH 7 (PAYLOAD 1)" "LEN 7 (PL 1)" "7 (1)" "7" +64252-66288 pjon: meta_crc: "META_CRC 01" "CRC 01" "01" +66323-68361 pjon: anon: "TX_ID 44" "44" +68397-70432 pjon: payload: "PAYLOAD 42" "42" +70470-72505 pjon: end_crc: "END_CRC 40" "CRC 40" "40" +119748-121783 pjon: rx_info: "RX_ID 45" "45" +121819-123854 pjon: hdr_cfg: "CFG - - - - - ack tx_info -" "CFG 00000110" "00000110" +123892-125928 pjon: pkt_len: "LENGTH 7 (PAYLOAD 1)" "LEN 7 (PL 1)" "7 (1)" "7" +125963-127999 pjon: meta_crc: "META_CRC 01" "CRC 01" "01" +128037-130072 pjon: anon: "TX_ID 44" "44" +130108-132145 pjon: payload: "PAYLOAD 42" "42" +132181-134216 pjon: end_crc: "END_CRC 40" "CRC 40" "40" +252372-254407 pjon: rx_info: "RX_ID 44" "44" +254447-256482 pjon: hdr_cfg: "CFG - - - - - ack tx_info -" "CFG 00000110" "00000110" +256525-258561 pjon: pkt_len: "LENGTH 7 (PAYLOAD 1)" "LEN 7 (PL 1)" "7 (1)" "7" +258600-260636 pjon: meta_crc: "META_CRC 30" "CRC 30" "30" +260679-262714 pjon: anon: "TX_ID 45" "45" +262754-264789 pjon: payload: "PAYLOAD 42" "42" +264833-266870 pjon: end_crc: "END_CRC b2" "CRC b2" "b2" +267751-269787 pjon: syn_rsp: "ACK 06" "06" +273943-275978 pjon: rx_info: "RX_ID 45" "45" +276016-278051 pjon: hdr_cfg: "CFG - - - - - ack tx_info -" "CFG 00000110" "00000110" +278087-280125 pjon: pkt_len: "LENGTH 7 (PAYLOAD 1)" "LEN 7 (PL 1)" "7 (1)" "7" +280161-282196 pjon: meta_crc: "META_CRC 01" "CRC 01" "01" +282232-284269 pjon: anon: "TX_ID 44" "44" +284305-286340 pjon: payload: "PAYLOAD 42" "42" +286376-288414 pjon: end_crc: "END_CRC 40" "CRC 40" "40" +289297-291333 pjon: syn_rsp: "ACK 06" "06" +335662-337697 pjon: rx_info: "RX_ID 45" "45" +337733-339768 pjon: hdr_cfg: "CFG - - - - - ack tx_info -" "CFG 00000110" "00000110" +339806-341842 pjon: pkt_len: "LENGTH 7 (PAYLOAD 1)" "LEN 7 (PL 1)" "7 (1)" "7" +341877-343913 pjon: meta_crc: "META_CRC 01" "CRC 01" "01" +343951-345986 pjon: anon: "TX_ID 44" "44" +346022-348057 pjon: payload: "PAYLOAD 42" "42" +348095-350131 pjon: end_crc: "END_CRC 40" "CRC 40" "40" diff --git a/decoder/test/pjon/test.conf b/decoder/test/pjon/test.conf new file mode 100644 index 0000000..847d1ef --- /dev/null +++ b/decoder/test/pjon/test.conf @@ -0,0 +1,6 @@ +test pjdl_glitch_failed_ack + protocol-decoder pjdl channel data=0 option mode=1 + protocol-decoder pjon + stack pjdl pjon + input pjon/pjdl/pjon-pjdl-glitch-and-ack-and-failed-ack.sr + output pjon annotation match pjdl_glitch_failed_ack_pjon.output