[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Passing the payload to the application level
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Passing the payload to the application level |
Date: |
Thu, 21 Sep 2006 13:17:46 -0700 |
User-agent: |
Mutt/1.5.9i |
On Thu, Sep 21, 2006 at 02:56:12PM -0500, Michael Ford wrote:
> Actually, I just realized - that's the only copy of gmsk2_pkt.py that exists
> for me. I'm not in the lab right now, but I remember doing searches for that
> file and having it only show up in the root directory. Is that a problem?
Are you building from the svn trunk?
If so, then that file isn't being used anymore. That would explain
why your modifications aren't being seen.
Look at gnuradio-examples/python/gmsk/receive_path.py
It should look like this:
# receiver
self.packet_receiver = \
blks.demod_pkts(fg,
demod_class(fg, spb=self._spb, **demod_kwargs),
access_code=None,
callback=rx_callback,
threshold=-1)
It's using the mostly modulation-independent packet handling
code. Note that the demod_class is passed into blks.demod_pkts.
demod_pkts is defined in gnuradio-core/src/python/gnuradio/blksimpl/pkt.py
but as I said before, I _really_ don't think that's the code you ought
to be editing ;)
Also, as a heads up, we're going to merge in several substantial
changes to this code in the next day or so. Those mods will result in
there being a benchmark_tx.py, a benchmark_rx.py and tunnel.py that
work with any of gmsk, dbpsk or dqpsk. These will replace the
existing benchmark_gmsk_{tx,rx}.py and tunnel.py
Eric