[Discuss-gnuradio] CPU usage when hdlc framer is used

2015-06-16 Thread Thanasis Balafoutis
Hi, CPU usage goes to 100% when the hdlc_framer block is used! To verify this I did the following tests: 1. message_strobe_random > message_debug (CPU usage 2%) 2. message_strobe_random > hdlc_framer> null_sink (CPU usage 100%) Any idea how can I avoid this overload? Thank you Tha

Re: [Discuss-gnuradio] Scrambler Mask, Seed and Lenght

2015-05-15 Thread Thanasis Balafoutis
ok until 3.8 how can I use this block without making mistakes? If for example want the following polynomials (copy from [1]) x^4 + x^3 + x^0 = 0x19 x^5 + x^3 + x^0 = 0x29 x^6 + x^5 + x^0 = 0x61 do I have to set the length to 5,6,7 respecti

[Discuss-gnuradio] Scrambler Mask, Seed and Lenght

2015-05-14 Thread Thanasis Balafoutis
Hi, the default values for the parameters of the scrambler block are the following: Mask: 0x8A Seed: 0x7F length:7 Is this a 7-bit scrambler? If yes, why the mask corresponds to an 8-bit number? (0x8A = '10001010') What is the polynomial that corresponds to this mask? According to this link (whic

Re: [Discuss-gnuradio] HDLC Deframer example

2015-01-30 Thread Thanasis Balafoutis
ht, 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

[Discuss-gnuradio] HDLC Deframer example

2015-01-30 Thread Thanasis Balafoutis
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 mail

Re: [Discuss-gnuradio] Fwd: Write a source block in python

2015-01-22 Thread Thanasis Balafoutis
> *From:* discuss-gnuradio-bounces+danderson=its.bldrdoc@gnu.org > [discuss-gnuradio-bounces+danderson=its.bldrdoc@gnu.org] on behalf of > Thanasis Balafoutis [abalafou...@gmail.com] > *Sent:* Thursday, January 22, 2015 2:12 PM > *To:* discuss-gnur

[Discuss-gnuradio] Fwd: Write a source block in python

2015-01-22 Thread Thanasis Balafoutis
Hi I wrote a simple source block that reads a string (as a parameter) and outputs the corresponding array of bytes. Here is the code: class myblock(gr.sync_block): def __init__(self, helloMsg): gr.sync_block.__init__(self, name="myblock", in_sig=None,

Re: [Discuss-gnuradio] Packet Encoder-Decoder

2014-10-09 Thread Thanasis Balafoutis
, so there's >> some mix of stream, stream tags, and pdu stuff in there that could be >> smoothed out. But they were solving the general problem of getting the mac >> to work. I'd love to see things cleaned up a bit now. >> >> Tom >> >> >>

[Discuss-gnuradio] Packet Encoder-Decoder

2014-10-07 Thread Thanasis Balafoutis
Hi, In the followning basic setup: File Source (Byte) > Packet Encoder (Byte) -> File Sink (byte) My input file is just a "Hello World" message If the Repeat property of my file source is set to "No" the File Sink remains empty Why? Do I have buffering issues? If I set Repeat="yes" file si