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.

--n

On Fri, Jan 30, 2015 at 1:21 PM, Thanasis Balafoutis <[email protected]>
wrote:

> Hi,
> 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?
>
> Thank you
> Thanasis
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to