# Re: packed\_to\_unpacked---\>chunks\_to\_symbols

**URL:** <https://www.ruby-forum.com/t/re-packed-to-unpacked-chunks-to-symbols/86204>\
**Category:** GNU Radio\
**Created:** [February 20, 2007, 4:52pm UTC](https://www.ruby-forum.com/t/re-packed-to-unpacked-chunks-to-symbols/86204 "2007-02-20T16:52:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Achilleas\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/74df32/32.png) [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Post date:** [February 20, 2007, 4:52pm UTC](https://www.ruby-forum.com/t/re-packed-to-unpacked-chunks-to-symbols/86204/1 "2007-02-20T16:52:19Z")

</div>

Vincenzo,

Other than the array() method which I don’t use,  
the rest seems fine.

It might be clearer to use the predefined  
constants gr.GR\_MSB\_FIRST or gr.GR\_LSB\_FIRST  
to set the endianess (see gnuradio-core/src/lib/gengen/gr\_endianness.h)

You can always connect the Rx chain and see if  
in the absense of noise you get the original file back  
In order to turn the QPSK symbols into bytes (demodulation)  
you can use the block “gr.constellation\_decoder\_cb”;  
the rest shouls be straightforward.

Also, take a look at  
gnuradio-examples/python/channel-coding/test\_tcm.py  
the function run\_test() to see a similar setup using  
packed-to-unpacked, chunks2symbols, etc (although not OFDM).

When you have the simple OFDM scheme ready and working,  
let me know so I can help you add a convolutional code to it  
and also inter/deinterleaving etc (it is all in gr-trellis).

Achilleas
