Wednesday, June 29, 2016

Re: [Discuss-gnuradio] Appending SYNC block to data

Hi Olivier,

I can't find anything in your code that checks if you actually print
valid data. See [0] for a description of C++ GNU Radio blocks and how
they work.

Since you use a block of type 'block', make sure you get an idea of
'general_work' parameters, its return value and 'consume_each'. And how
that relates to the input and output buffer.

Cheers
Johannes

[0]
http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorial_GNU_Radio_in_C++

On 28.06.2016 19:48, Olivier Goyette wrote:
> I did a simple test :
>
> #ifdef HAVE_CONFIG_H
> #include "config.h"
>

No comments:

Post a Comment