[Discuss-gnuradio] Blocks handling vectors

2015-08-03 Thread Galiero Casay Gabriele
Hi, I have been struggling a bit trying to code a block that accept for example vectors of sync_len*sizeof(float) as input signature and outputs vectors of (sync_len+pkt_len)*sizeof(float) as output signature. To understand how blocks handling vectors work, I tried to make the same block I did

[Discuss-gnuradio] IO Signatures

2015-07-28 Thread Galiero Casay Gabriele
Hello, During my studies in building C++ blocks I came up with the need of one block which needs two input signatures. The input should consist of two inputs: the first one a vector of pkt_len*sizeof(float) and the second one sync_word_len*sizeof(float). pkt_len and sync_word_len are unsigned

[Discuss-gnuradio] Type-selectable OOT Block C++

2015-07-23 Thread Galiero Casay Gabriele
Hello all, I was building my own block in C++ and I have one doubt about it. Some times my block has to work with float streams and sometimes with complex streams. There is one single input and output. I have implemented separately: sync_ff_impl.cc and sync_cc_impl.cc each one with its