Wednesday, October 8, 2014

Re: [Discuss-gnuradio] Packet Encoder-Decoder

Hi Thanasis,

1. The flow you showed could not have worked because Packet Decoder
takes unpacked bytes. The graph should be:

File Source -> Encoder -> Packed-to-Unpacked -> Decoder -> File Sink

2. The payload length defaults to 512 if you leave it at 0, so a short
file won't fill a packet.

Encoder:
1 Sample/Symbol, 1 Bit/Symbol, Payload length 1

Packed-to-Unpacked:
1 Bit/Chunk, MSB

That worked for me.

General question for others ... the encoder/decoder are part of GRC and
haven't had any substantial work in a long time. Is this code meant to
be used, or should people look at other blocks, or gr-mac?

- Jeff

On 10/08/2014 06:26 PM, Charles Alberton Herdt wrote:
> I am seeing the same problem here while running some tests.
> Anyone else has any thoughts?
>
> Running gnuradio 3.7.5, installed with the build-gnuradio script on
> Ubuntu 14.04.
>
> Gnuradio
>
> On Tue, Oct 7, 2014 at 6:18 AM, Thanasis Balafoutis
> <abalafoutis@gmail.com <mailto:abalafoutis@gmail.com>> wrote:
>
> Hi,
> In the followning basic setup:
> File Source (Byte) ----> Packet Encoder (Byte) -----> File Sink (byte)
>
> My input file is just a "Hello World" message
> If the Repeat property of my file source is set to "No" the File
> Sink remains empty Why? Do I have buffering issues?
> If I set Repeat="yes" file sink seems to work, But when I insert a
> Packet Decoder:
>
> File Source ----> Packet Encoder ----->Packet Decoder -----> File Sink
>
> The output file is empty again!
>
> Thanks
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org>
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment