discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] bytes_to_syms


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] bytes_to_syms
Date: Tue, 1 Mar 2005 13:39:21 -0800
User-agent: Mutt/1.5.6i

On Tue, Mar 01, 2005 at 12:26:52AM -0500, Rahul Dhar wrote:
> Is "bytes_to_syms" a symbol exported by gr_bytes_to_syms?  I'm trying to
> understand the framing mechanism.
> 
> Thanks,
> -Rahul

gr.bytes_to_syms is the SWIG generated wrapper for gr_bytes_to_syms.
The interface exported to Python is in gr_bytes_to_syms.i

As you've probably figured out by now, the gr_simple_framer.cc is very
simple.  It just sticks a 4 byte Barker code (actually, I think we
just made up a random number because when we wrote this we were
sitting in a hotel room) at the beginning, followed by a 1 byte
sequence number and an unused zero byte.

Feel free to come up with better / more flexible encapsulator and
corresponding deencapsulator.  I'd be delighted to add it to the code base.

Eric




reply via email to

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