Thank you Nick!

It worked like a charm!

2015-01-30 23:38 GMT+02:00 Nick Foster <bistrom...@gmail.com>:

> 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 <
> abalafou...@gmail.com> 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
>> 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

Reply via email to