diff options
Diffstat (limited to 'gr-digital')
-rw-r--r-- | gr-digital/digital_gmsk_demod.xml | 88 | ||||
-rw-r--r-- | gr-digital/digital_gmsk_mod.xml | 67 | ||||
-rw-r--r-- | gr-digital/digital_gmskmod_bc.xml | 38 | ||||
-rw-r--r-- | gr-digital/grc/digital_block_tree.xml | 4 | ||||
-rw-r--r-- | gr-digital/grc/digital_cpmmod_bc.xml | 69 |
5 files changed, 266 insertions, 0 deletions
diff --git a/gr-digital/digital_gmsk_demod.xml b/gr-digital/digital_gmsk_demod.xml new file mode 100644 index 000000000..a7ae5881f --- /dev/null +++ b/gr-digital/digital_gmsk_demod.xml @@ -0,0 +1,88 @@ +<?xml version="1.0"?> +<!-- +################################################### +##GMSK Demod +################################################### + --> +<block> + <name>GMSK Demod</name> + <key>digtial_gmsk_demod</key> + <import>from gnuradio import digital</import> + <make>digital.gmsk_demod( + samples_per_symbol=$samples_per_symbol, + gain_mu=$gain_mu, + mu=$mu, + omega_relative_limit=$omega_relative_limit, + freq_error=$freq_error, + verbose=$verbose, + log=$log, +)</make> + <param> + <name>Samples/Symbol</name> + <key>samples_per_symbol</key> + <value>2</value> + <type>int</type> + </param> + <param> + <name>Gain Mu</name> + <key>gain_mu</key> + <value>0.175</value> + <type>real</type> + </param> + <param> + <name>Mu</name> + <key>mu</key> + <value>0.5</value> + <type>real</type> + </param> + <param> + <name>Omega Relative Limit</name> + <key>omega_relative_limit</key> + <value>0.005</value> + <type>real</type> + </param> + <param> + <name>Freq Error</name> + <key>freq_error</key> + <value>0.0</value> + <type>real</type> + </param> + <param> + <name>Verbose</name> + <key>verbose</key> + <value>False</value> + <type>bool</type> + <hide>#if str($verbose) == 'False' then 'part' else 'none'#</hide> + <option> + <name>On</name> + <key>True</key> + </option> + <option> + <name>Off</name> + <key>False</key> + </option> + </param> + <param> + <name>Logging</name> + <key>log</key> + <value>False</value> + <type>bool</type> + <hide>#if str($log) == 'False' then 'part' else 'none'#</hide> + <option> + <name>On</name> + <key>True</key> + </option> + <option> + <name>Off</name> + <key>False</key> + </option> + </param> + <sink> + <name>in</name> + <type>complex</type> + </sink> + <source> + <name>out</name> + <type>byte</type> + </source> +</block> diff --git a/gr-digital/digital_gmsk_mod.xml b/gr-digital/digital_gmsk_mod.xml new file mode 100644 index 000000000..ede76808a --- /dev/null +++ b/gr-digital/digital_gmsk_mod.xml @@ -0,0 +1,67 @@ +<?xml version="1.0"?> +<!-- +################################################### +##GMSK Mod +################################################### + --> +<block> + <name>GMSK Mod</name> + <key>digital_gmsk_mod</key> + <import>from gnuradio import digital</import> + <make>digital.gmsk_mod( + samples_per_symbol=$samples_per_symbol, + bt=$bt, + verbose=$verbose, + log=$log, +)</make> + <param> + <name>Samples/Symbol</name> + <key>samples_per_symbol</key> + <value>2</value> + <type>int</type> + </param> + <param> + <name>BT</name> + <key>bt</key> + <value>0.35</value> + <type>real</type> + </param> + <param> + <name>Verbose</name> + <key>verbose</key> + <value>False</value> + <type>bool</type> + <hide>#if str($verbose) == 'False' then 'part' else 'none'#</hide> + <option> + <name>On</name> + <key>True</key> + </option> + <option> + <name>Off</name> + <key>False</key> + </option> + </param> + <param> + <name>Logging</name> + <key>log</key> + <value>False</value> + <type>bool</type> + <hide>#if str($log) == 'False' then 'part' else 'none'#</hide> + <option> + <name>On</name> + <key>True</key> + </option> + <option> + <name>Off</name> + <key>False</key> + </option> + </param> + <sink> + <name>in</name> + <type>byte</type> + </sink> + <source> + <name>out</name> + <type>complex</type> + </source> +</block> diff --git a/gr-digital/digital_gmskmod_bc.xml b/gr-digital/digital_gmskmod_bc.xml new file mode 100644 index 000000000..a44afe798 --- /dev/null +++ b/gr-digital/digital_gmskmod_bc.xml @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<!-- +################################################### +## GMSK +################################################### + --> +<block> + <name>GMSK Modulator</name> + <key>digital_gmskmod_bc</key> + <import>from gnuradio import digital</import> + <make>digital.gmskmod_bc($samples_per_symbol, $bt, $L)</make> + <param> + <name>Samples/Symbol</name> + <key>samples_per_symbol</key> + <value>2</value> + <type>int</type> + </param> + <param> + <name>3 dB Time-Bandwith Product</name> + <key>bt</key> + <value>0.3</value> + <type>real</type> + </param> + <param> + <name>Pulse Duration (Symbols)</name> + <key>L</key> + <value>4</value> + <type>int</type> + </param> + <sink> + <name>in</name> + <type>byte</type> + </sink> + <source> + <name>out</name> + <type>complex</type> + </source> +</block> diff --git a/gr-digital/grc/digital_block_tree.xml b/gr-digital/grc/digital_block_tree.xml index 816df7f45..84151c190 100644 --- a/gr-digital/grc/digital_block_tree.xml +++ b/gr-digital/grc/digital_block_tree.xml @@ -49,6 +49,10 @@ <block>digital_psk_demod</block> <block>digital_qam_mod</block> <block>digital_qam_demod</block> + <block>digital_gmskmod_bc</block> + <block>digital_cpmmod_bc</block> + <block>digital_gmsk_mod</block> + <block>digital_gmsk_demod</block> </cat> <cat> <name>OFDM</name> diff --git a/gr-digital/grc/digital_cpmmod_bc.xml b/gr-digital/grc/digital_cpmmod_bc.xml new file mode 100644 index 000000000..01174ef80 --- /dev/null +++ b/gr-digital/grc/digital_cpmmod_bc.xml @@ -0,0 +1,69 @@ +<?xml version="1.0"?> +<!-- +################################################### +## Continuous Phase Modulation +################################################### + --> +<block> + <name>Continuous Phase Modulation</name> + <key>digital_cpmmod_bc</key> + <import>from gnuradio import gr, digital</import> + <make>digital.cpmmod_bc($type, $mod_index, $samples_per_symbol, $L, $beta)</make> + <param> + <name>CPM Type</name> + <key>type</key> + <type>enum</type> + <option> + <name>L-REC (Rectangular phase response)</name> + <key>gr.cpm.LREC</key> + </option> + <option> + <name>L-RC (Raised Cosine)</name> + <key>gr.cpm.LRC</key> + </option> + <option> + <name>L-SRC (Spectral raised cosine)</name> + <key>gr.cpm.LSRC</key> + </option> + <option> + <name>TFM (Tamed frequency modulation)</name> + <key>gr.cpm.TFM</key> + </option> + <option> + <name>Gaussian</name> + <key>gr.cpm.GAUSSIAN</key> + </option> + </param> + <param> + <name>Modulation Index</name> + <key>mod_index</key> + <value>0.5</value> + <type>real</type> + </param> + <param> + <name>Samples/Symbol</name> + <key>samples_per_symbol</key> + <value>4</value> + <type>int</type> + </param> + <param> + <name>Pulse Duration (Symbols)</name> + <key>L</key> + <value>4</value> + <type>int</type> + </param> + <param> + <name>Phase Response Parameter (BT or Beta)</name> + <key>beta</key> + <value>0.3</value> + <type>real</type> + </param> + <sink> + <name>in</name> + <type>byte</type> + </sink> + <source> + <name>out</name> + <type>complex</type> + </source> +</block> |