[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] How to register mods/demods
From: |
Kyle Zhou |
Subject: |
[Discuss-gnuradio] How to register mods/demods |
Date: |
Wed, 15 Dec 2010 14:49:16 +1100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
I am writing a custom modulator/demodulator and wanna add them to the
modulation_utils, such that modulation_utils.type_1_mods() will include
the custom made mod/demod. However, I could not figure out how to do that.
I notice mods/demods have something like
modulation_utils.add_type_1_mod('dbpsk', dbpsk_mod)
modulation_utils.add_type_1_demod('dbpsk', dbpsk_demod)
to register themselves to the registry.
This is supposed to be run when mod/demod are loaded.
However, I am not quite sure how I can make them be loaded?
I check the benchmark_tx.py and find no code that results in mod/demod
being loaded.
Help appreciated.
Kyle
- [Discuss-gnuradio] How to register mods/demods,
Kyle Zhou <=