[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] How do YOU packet detect?

From: Martin Braun
Subject: Re: [Discuss-gnuradio] How do YOU packet detect?
Date: Thu, 05 Mar 2015 07:27:18 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 04.03.2015 14:04, Richard Bell wrote:
Ah, after re-reading the Header/Payload Demux docs, I noticed the
trigger port is optional. The block will trigger on tags connected to
the input stream.

What seems like the best strategy to me now is this:

1) Detect the header with a correlator and add a tag at the start

2) Feed the output of the correlator into the input port of the
Header/Payload Demux block

3) Process the out header port and generate a message that feeds into
the message port of the Header/Payload Demux block

4) The Header/Payload Demux block then releases the corresponding number
of payload samples through the payload port.

I haven't touched messages before so this should be interesting. I
welcome any feedback or common pitfalls to avoid.

This is indeed the intended strategy for using this block. I haven't managed to try this yet, but I was thinking of using the corr_and_sync block in conjunction with the HPD for generating the tags.

Also, Tom has an entire branch for doing packet stuff on his github, with new features you might want to check out.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]