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
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
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 B.
[email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs