[Top][All Lists]

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

Re: [Discuss-gnuradio] Packet Encoder-Decoder

From: Jeff Long
Subject: Re: [Discuss-gnuradio] Packet Encoder-Decoder
Date: Wed, 08 Oct 2014 19:25:50 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

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.

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

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.


On Tue, Oct 7, 2014 at 6:18 AM, Thanasis Balafoutis
<address@hidden <mailto:address@hidden>> wrote:

    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!


    Discuss-gnuradio mailing list
    address@hidden <mailto:address@hidden>

Discuss-gnuradio mailing list

reply via email to

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