gr-reveng icon indicating copy to clipboard operation
gr-reveng copied to clipboard

Add repeat detector block

Open miek opened this issue 8 years ago • 3 comments

This block takes the PDU output from pattern_dump and prints the data to stdout. If the new data is identical to the previous data then it just prints a ., giving an idea of how many times that packet repeated.

Example flowgraph and output:

repeat-detector-example

11100000010110101110101100000110100000000001000000001011100011101101111000011000111 .......
11100000010110101110101100000110100000000001000000001011100011101111111000011000111 

This shows a packet being received and then repeating 7 more times (probably correctly decoded), then the packet comes through again with a bit flip and no repeats (probably not correctly decoded).

I'm finding this useful for giving me some confidence in my packet reversing in the early stages, until I have a CRC figured out.

miek avatar May 07 '16 00:05 miek

Hi Mike, thanks for the neat functionality. Before I accept this, do you think this functionality would be best served in an independent block, or adapted into the Pattern Dump block?

I've actually started work on separating the pattern detection function and the packet formatting blocks, but I've been dragging my feet to get that code in!

tkuester avatar May 09 '16 17:05 tkuester

I like the idea of splitting functionality/formatting out from pattern_dump so I think it makes sense to keep it separate, but I'm not really sure :smile:

miek avatar May 09 '16 19:05 miek

@miek nice to talk with you , i want to know how do i get the Example flowgraph (GRC file?) of you show?

cn0xroot avatar Sep 03 '16 13:09 cn0xroot