discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] HDLC framer


From: Daniel Batista
Subject: Re: [Discuss-gnuradio] HDLC framer
Date: Thu, 4 Dec 2014 10:52:15 +0000 (UTC)

Thank you Marcus,

I try the following:

MessageStrobe("Hello World") ----> HDCL framer ---->HDLC deframer ----> Message Debug

and I get the following error message:
thread[thread-per-block[2]: <block hdlc_framer_pb (1)>]: pmt_car: wrong_type : Hello World!

What did I do wrong?

Daniel



On Wednesday, December 3, 2014 10:55 AM, Marcus Müller <address@hidden> wrote:


Hi Daniel,

PMT is short for "polymorphic type" [1].
GNU Radio uses PMTs for stream tags and, more importantly here, for
asynchronous message ports.
So the idea is that you have a source of messages[2], sending your
data to the HDLC framer, which frames it and generates output items.
If you want some illustrated guide through these concept, I'd
recommend the new guided tutorials on gnuradio.org[3] numbers 1 through 5.

Greetings, and happy hacking,
Marcus

[1] http://gnuradio.org/doc/doxygen/page_pmt.html
[2] http://gnuradio.org/doc/doxygen/page_msg_passing.html
[3] http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials

On 12/02/2014 10:47 AM, Daniel Batista wrote:
> Hi, I read in the documentation that HDLC framer takes in PMT
> binary blobs and outputs HDLC frames as unpacked bits.I don't
> undestand what are the PMT binary blobs.How can I put in an HDLC
> frame a "Hello World" message? ThanksDaniel

>
>
>
>
> _______________________________________________ Discuss-gnuradio
> mailing list address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

[Prev in Thread] Current Thread [Next in Thread]