diff options
Diffstat (limited to 'gr-noaa/grc')
-rw-r--r-- | gr-noaa/grc/.gitignore | 1 | ||||
-rw-r--r-- | gr-noaa/grc/Makefile.am | 31 | ||||
-rw-r--r-- | gr-noaa/grc/noaa_hrpt_decoder.xml | 12 | ||||
-rw-r--r-- | gr-noaa/grc/noaa_hrpt_deframer.xml | 16 | ||||
-rw-r--r-- | gr-noaa/grc/noaa_hrpt_pll_cf.xml | 34 | ||||
-rw-r--r-- | gr-noaa/grc/noaa_hrpt_sync_fb.xml | 39 |
6 files changed, 133 insertions, 0 deletions
diff --git a/gr-noaa/grc/.gitignore b/gr-noaa/grc/.gitignore new file mode 100644 index 000000000..70845e08e --- /dev/null +++ b/gr-noaa/grc/.gitignore @@ -0,0 +1 @@ +Makefile.in diff --git a/gr-noaa/grc/Makefile.am b/gr-noaa/grc/Makefile.am new file mode 100644 index 000000000..1f056473c --- /dev/null +++ b/gr-noaa/grc/Makefile.am @@ -0,0 +1,31 @@ +# +# Copyright 2009 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. +# + +include $(top_srcdir)/Makefile.common + +grcblocksdir = $(prefix)/share/gnuradio/grc/blocks + +dist_grcblocks_DATA = \ + noaa_hrpt_decoder.xml \ + noaa_hrpt_deframer.xml \ + noaa_hrpt_pll_cf.xml \ + noaa_hrpt_sync_fb.xml + diff --git a/gr-noaa/grc/noaa_hrpt_decoder.xml b/gr-noaa/grc/noaa_hrpt_decoder.xml new file mode 100644 index 000000000..183d72aba --- /dev/null +++ b/gr-noaa/grc/noaa_hrpt_decoder.xml @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<block> + <name>HRPT Decoder</name> + <key>noaa_hrpt_decoder</key> + <category>NOAA</category> + <import>from gnuradio import noaa</import> + <make>noaa.hrpt_decoder()</make> + <sink> + <name>in</name> + <type>short</type> + </sink> +</block> diff --git a/gr-noaa/grc/noaa_hrpt_deframer.xml b/gr-noaa/grc/noaa_hrpt_deframer.xml new file mode 100644 index 000000000..af36abf2a --- /dev/null +++ b/gr-noaa/grc/noaa_hrpt_deframer.xml @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<block> + <name>HRPT Deframer</name> + <key>noaa_hrpt_deframer</key> + <category>NOAA</category> + <import>from gnuradio import noaa</import> + <make>noaa.hrpt_deframer()</make> + <sink> + <name>in</name> + <type>byte</type> + </sink> + <source> + <name>out</name> + <type>short</type> + </source> +</block> diff --git a/gr-noaa/grc/noaa_hrpt_pll_cf.xml b/gr-noaa/grc/noaa_hrpt_pll_cf.xml new file mode 100644 index 000000000..bbe15e8c3 --- /dev/null +++ b/gr-noaa/grc/noaa_hrpt_pll_cf.xml @@ -0,0 +1,34 @@ +<?xml version="1.0"?> +<block> + <name>HRPT PLL</name> + <key>noaa_hrpt_pll_cf</key> + <category>NOAA</category> + <import>from gnuradio import noaa</import> + <make>noaa.hrpt_pll_cf($alpha, $beta, $max_offset)</make> + <callback>set_alpha($alpha)</callback> + <callback>set_beta($beta)</callback> + <callback>set_max_offset($max_offset)</callback> + <param> + <name>Alpha</name> + <key>alpha</key> + <type>real</type> + </param> + <param> + <name>Beta</name> + <key>beta</key> + <type>real</type> + </param> + <param> + <name>Max Offset</name> + <key>max_offset</key> + <type>real</type> + </param> + <sink> + <name>in</name> + <type>complex</type> + </sink> + <source> + <name>out</name> + <type>float</type> + </source> +</block> diff --git a/gr-noaa/grc/noaa_hrpt_sync_fb.xml b/gr-noaa/grc/noaa_hrpt_sync_fb.xml new file mode 100644 index 000000000..e066e3489 --- /dev/null +++ b/gr-noaa/grc/noaa_hrpt_sync_fb.xml @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<block> + <name>HRPT SYNC</name> + <key>noaa_hrpt_sync_fb</key> + <category>NOAA</category> + <import>from gnuradio import noaa</import> + <make>noaa.hrpt_sync_fb($alpha, $beta, $sps, $max_offset)</make> + <callback>set_alpha($alpha)</callback> + <callback>set_beta($beta)</callback> + <callback>set_max_offset($max_offset)</callback> + <param> + <name>Alpha</name> + <key>alpha</key> + <type>real</type> + </param> + <param> + <name>Beta</name> + <key>beta</key> + <type>real</type> + </param> + <param> + <name>Samples/Symbol</name> + <key>sps</key> + <type>real</type> + </param> + <param> + <name>Max Offset</name> + <key>max_offset</key> + <type>real</type> + </param> + <sink> + <name>in</name> + <type>float</type> + </sink> + <source> + <name>out</name> + <type>byte</type> + </source> +</block> |