|
From: | Thanasis Balafoutis |
Subject: | Re: [Discuss-gnuradio] HDLC Deframer example |
Date: | Fri, 30 Jan 2015 23:52:47 +0200 |
Two reasons. First, that random generator is only ever going to generate one PDU, and it's not going all the way through the deframer for some reason. I think the deframer is asking for more samples than the framer ever ends up generating. Try a Message Strobe - Random Delay block, with the message set to:pmt.cons(pmt.PMT_NIL, pmt.init_u8vector(4, [0xAA]*4))Second, the deframer length fields include the HDLC CRC. They probably shouldn't, in hindsight, but increase the max length to 6 and it'll work.--nOn Fri, Jan 30, 2015 at 1:21 PM, Thanasis Balafoutis <address@hidden> wrote:_______________________________________________ThanasisThank youHi,I want to run a simple frame-deframe hdlc example.
In the attached flow-graph the framed packet is printed through the "message debug" block. Why I do not receive any message in the output of the deframer?
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |