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 > 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