discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] question about headr_payload_demux module


From: Martin Braun
Subject: Re: [Discuss-gnuradio] question about headr_payload_demux module
Date: Sun, 10 Aug 2014 17:04:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 10.08.2014 10:21, Tiankun Hu wrote:
Hi all,
I am reading "header_payload_demux" module, I have some questions about it.
1, in "header_payload_demux_impl.cc" line 235, seems need update nread's
value
     nread += trigger_offset;
     I think  without this update, the first header will check failed,
if input data not include      complete "d_header_len" ofdm symbols

I don't have that line in my version of the HPD.
This is what I have on L235:

          in += trigger_offset * d_itemsize;

And this advances the input buffer pointer to the trigger position.

2, why in "case STATE_HEADER_RX_FAIL:" line 218, need consume one input
item?

To avoid an infinite loop.

3, does the control message's handler function can disturb
"general_work"(like a soft interrupt)?, or these handler only run
before/after "general_work".

They are asynchronous and are always called when a message is passed.

MB



reply via email to

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