[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Representing structured packets
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] Representing structured packets |
Date: |
Mon, 25 Jan 2016 16:07:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
PDUs would be the typical way to do it. You can use a dictionary then.
M
On 01/25/2016 12:18 AM, Stanisław Pitucha wrote:
> Hi all,
> What's the best way to represent a packet which contains multiple fields?
>
> Let's say I receive X bytes, short-pause, Y bytes, short-pause, ... Z
> bytes, long-pause / timeout.
> Is there a standard way to represent that in GR, or should I just
> publish a single PDU with X/Y/Z lengths prefixed before the fields
> themselves?
>
> --
> KTHXBYE,
>
> Stanisław Pitucha
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>