summaryrefslogtreecommitdiff
path: root/gr-pager/grc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-pager/grc')
-rw-r--r--gr-pager/grc/.gitignore1
-rw-r--r--gr-pager/grc/Makefile.am29
-rw-r--r--gr-pager/grc/pager_flex_deinterleave.xml23
-rw-r--r--gr-pager/grc/pager_flex_sync.xml36
-rw-r--r--gr-pager/grc/pager_slicer_fb.xml31
5 files changed, 120 insertions, 0 deletions
diff --git a/gr-pager/grc/.gitignore b/gr-pager/grc/.gitignore
new file mode 100644
index 000000000..70845e08e
--- /dev/null
+++ b/gr-pager/grc/.gitignore
@@ -0,0 +1 @@
+Makefile.in
diff --git a/gr-pager/grc/Makefile.am b/gr-pager/grc/Makefile.am
new file mode 100644
index 000000000..8c84f89ac
--- /dev/null
+++ b/gr-pager/grc/Makefile.am
@@ -0,0 +1,29 @@
+#
+# 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 = $(grc_blocksdir)
+
+dist_grcblocks_DATA = \
+ pager_slicer_fb.xml \
+ pager_flex_sync.xml \
+ pager_flex_deinterleave.xml
diff --git a/gr-pager/grc/pager_flex_deinterleave.xml b/gr-pager/grc/pager_flex_deinterleave.xml
new file mode 100644
index 000000000..14e5782da
--- /dev/null
+++ b/gr-pager/grc/pager_flex_deinterleave.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+## FLEX Pager Deinterleaver
+###################################################
+ -->
+<block>
+ <name>FLEX Deinterleave</name>
+ <key>pager_flex_deinterleave</key>
+ <category>Pager</category>
+ <import>from gnuradio import pager</import>
+ <make>pager.flex_deinterleave()</make>
+
+ <sink>
+ <name>bits</name>
+ <type>byte</type>
+ </sink>
+
+ <source>
+ <name>codes</name>
+ <type>int</type>
+ </source>
+</block>
diff --git a/gr-pager/grc/pager_flex_sync.xml b/gr-pager/grc/pager_flex_sync.xml
new file mode 100644
index 000000000..ec22321aa
--- /dev/null
+++ b/gr-pager/grc/pager_flex_sync.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+## FLEX Pager Synchronizer
+###################################################
+ -->
+<block>
+ <name>FLEX Synchronizer</name>
+ <key>pager_flex_sync</key>
+ <category>Pager</category>
+ <import>from gnuradio import pager</import>
+ <make>pager.flex_sync()</make>
+
+ <sink>
+ <name>dibits</name>
+ <type>byte</type>
+ </sink>
+
+ <source>
+ <name>A</name>
+ <type>byte</type>
+ </source>
+ <source>
+ <name>B</name>
+ <type>byte</type>
+ </source>
+ <source>
+ <name>C</name>
+ <type>byte</type>
+ </source>
+ <source>
+ <name>D</name>
+ <type>byte</type>
+ </source>
+
+</block>
diff --git a/gr-pager/grc/pager_slicer_fb.xml b/gr-pager/grc/pager_slicer_fb.xml
new file mode 100644
index 000000000..25642cb48
--- /dev/null
+++ b/gr-pager/grc/pager_slicer_fb.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+## FLEX Pager Slicer w/DC offset removal
+###################################################
+ -->
+<block>
+ <name>4-Level Slicer/DCR</name>
+ <key>pager_slicer_fb</key>
+ <category>Pager</category>
+ <import>from gnuradio import pager</import>
+ <make>pager.slicer_fb($alpha)</make>
+
+ <param>
+ <name>Alpha</name>
+ <key>alpha</key>
+ <value>1e-6</value>
+ <type>real</type>
+ </param>
+
+ <sink>
+ <name>bb</name>
+ <type>float</type>
+ </sink>
+
+ <source>
+ <name>dibits</name>
+ <type>byte</type>
+ </source>
+
+</block>