summaryrefslogtreecommitdiff
path: root/gr-pager
diff options
context:
space:
mode:
Diffstat (limited to 'gr-pager')
-rw-r--r--gr-pager/.gitignore4
-rw-r--r--gr-pager/CMakeLists.txt8
-rw-r--r--gr-pager/Makefile.am31
-rw-r--r--gr-pager/README12
-rw-r--r--gr-pager/apps/.gitignore2
-rw-r--r--gr-pager/apps/CMakeLists.txt14
-rw-r--r--gr-pager/apps/Makefile.am36
-rwxr-xr-xgr-pager/apps/usrp_flex (renamed from gr-pager/apps/usrp_flex.py)28
-rwxr-xr-xgr-pager/apps/usrp_flex_all (renamed from gr-pager/apps/usrp_flex_all.py)20
-rwxr-xr-xgr-pager/apps/usrp_flex_band (renamed from gr-pager/apps/usrp_flex_band.py)18
-rw-r--r--gr-pager/grc/.gitignore2
-rw-r--r--gr-pager/grc/CMakeLists.txt8
-rw-r--r--gr-pager/grc/Makefile.am29
-rw-r--r--gr-pager/lib/.gitignore4
-rw-r--r--gr-pager/lib/Makefile.am53
-rw-r--r--gr-pager/lib/pager_flex_deinterleave.cc20
-rw-r--r--gr-pager/lib/pager_flex_deinterleave.h12
-rw-r--r--gr-pager/lib/pager_flex_frame.cc8
-rw-r--r--gr-pager/lib/pager_flex_frame.h8
-rw-r--r--gr-pager/lib/pager_flex_parse.cc36
-rw-r--r--gr-pager/lib/pager_flex_parse.h16
-rw-r--r--gr-pager/lib/pager_flex_sync.cc42
-rw-r--r--gr-pager/lib/pager_flex_sync.h28
-rw-r--r--gr-pager/lib/pager_slicer_fb.cc10
-rw-r--r--gr-pager/lib/pager_slicer_fb.h10
-rw-r--r--gr-pager/lib/pageri_bch3221.cc8
-rw-r--r--gr-pager/lib/pageri_bch3221.h8
-rw-r--r--gr-pager/lib/pageri_flex_modes.cc12
-rw-r--r--gr-pager/lib/pageri_flex_modes.h8
-rw-r--r--gr-pager/lib/pageri_util.cc12
-rw-r--r--gr-pager/lib/pageri_util.h8
-rw-r--r--gr-pager/python/.gitignore3
-rw-r--r--gr-pager/python/CMakeLists.txt8
-rw-r--r--gr-pager/python/Makefile.am39
-rw-r--r--gr-pager/python/__init__.py10
-rw-r--r--gr-pager/python/flex_demod.py15
-rw-r--r--gr-pager/python/pager_utils.py12
-rwxr-xr-xgr-pager/python/qa_pager.py10
-rw-r--r--gr-pager/python/run_tests.in10
-rw-r--r--gr-pager/swig/.gitignore9
-rw-r--r--gr-pager/swig/Makefile.am83
-rw-r--r--gr-pager/swig/Makefile.swig.gen145
-rw-r--r--gr-pager/swig/gnuradio/.gitignore2
-rw-r--r--gr-pager/swig/pager.test36
-rw-r--r--gr-pager/swig/pager_flex_frame.i8
-rw-r--r--gr-pager/swig/pager_swig.i18
-rw-r--r--gr-pager/swig/run_guile_tests.in14
47 files changed, 212 insertions, 725 deletions
diff --git a/gr-pager/.gitignore b/gr-pager/.gitignore
deleted file mode 100644
index 27ff67327..000000000
--- a/gr-pager/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-/Makefile
-/Makefile.in
-/data
-/*.pc
diff --git a/gr-pager/CMakeLists.txt b/gr-pager/CMakeLists.txt
index 8dfecced7..845444859 100644
--- a/gr-pager/CMakeLists.txt
+++ b/gr-pager/CMakeLists.txt
@@ -1,17 +1,17 @@
# Copyright 2011 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,
diff --git a/gr-pager/Makefile.am b/gr-pager/Makefile.am
deleted file mode 100644
index 002387c0c..000000000
--- a/gr-pager/Makefile.am
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Copyright 2006,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
-
-SUBDIRS = lib
-
-if PYTHON
-SUBDIRS += swig python apps grc
-endif
-
-pkgconfigdir = $(libdir)/pkgconfig
-dist_pkgconfig_DATA = gnuradio-pager.pc
diff --git a/gr-pager/README b/gr-pager/README
index 2d4f3c95c..441fee0b4 100644
--- a/gr-pager/README
+++ b/gr-pager/README
@@ -26,10 +26,10 @@ usrp_flex.py - Receives and displays pages from a single paging channel. To
Example, to receive from 931.95M (a common nationwide channel) with DBSRX in
side A of USRP:
-
+
$ usrp_flex.py -f 931.95M -g 32 -R A
-
+
usrp_flex_band.py - Receives and displays pages from a 1 MHz paging band (40 pager
channels.) To work from recorded data, record from USRP with
decimation 64 at center frequency.
@@ -48,8 +48,8 @@ Usage: usrp_flex_band.py [options]
Example, to receive from the lower third of the pager band with DBSRX in side B
of USRP:
-
- $ usrp_flex_band.py -f 929.5M -g 32 -R B
+
+ $ usrp_flex_band.py -f 929.5M -g 32 -R B
usrp_flex_all.py - Receives and displays pages from entire pager band (3 MHz,
120 pager channels.) This does not work in real time due
@@ -69,11 +69,11 @@ usrp_flex_all.py - Receives and displays pages from entire pager band (3 MHz,
-v, --verbose display debug output
Example, to receive all pager channels with DBSRX in side A:
-
+
$ usrp_flex_all.py -R A
The demodulator is relatively sensitive to frequency offset and can capture a signal
-within 3k of the actual signal.
+within 3k of the actual signal.
All three scripts take a 'calibration' parameter, which specifies the frequency offset
of the daughterboard. This causes the USRP to be tuned to the given center frequency
diff --git a/gr-pager/apps/.gitignore b/gr-pager/apps/.gitignore
deleted file mode 100644
index 282522db0..000000000
--- a/gr-pager/apps/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
diff --git a/gr-pager/apps/CMakeLists.txt b/gr-pager/apps/CMakeLists.txt
index 1965c6e66..a02cad56e 100644
--- a/gr-pager/apps/CMakeLists.txt
+++ b/gr-pager/apps/CMakeLists.txt
@@ -1,17 +1,17 @@
# Copyright 2011 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,
@@ -21,9 +21,9 @@ include(GrPython)
GR_PYTHON_INSTALL(
PROGRAMS
- usrp_flex.py
- usrp_flex_all.py
- usrp_flex_band.py
+ usrp_flex
+ usrp_flex_all
+ usrp_flex_band
DESTINATION ${GR_RUNTIME_DIR}
COMPONENT "pager_python"
)
diff --git a/gr-pager/apps/Makefile.am b/gr-pager/apps/Makefile.am
deleted file mode 100644
index a320ffefc..000000000
--- a/gr-pager/apps/Makefile.am
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Copyright 2009,2010 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
-
-if PYTHON
-
-dist_bin_SCRIPTS = \
- usrp_flex.py \
- usrp_flex_all.py \
- usrp_flex_band.py
-
-noinst_PYTHON = \
- usrp_rx_flex.py
-endif
-
-EXTRA_DIST += \
- usrp_rx_flex.grc
diff --git a/gr-pager/apps/usrp_flex.py b/gr-pager/apps/usrp_flex
index 7d0d66a95..33877ea4e 100755
--- a/gr-pager/apps/usrp_flex.py
+++ b/gr-pager/apps/usrp_flex
@@ -1,24 +1,24 @@
#!/usr/bin/env python
#
# Copyright 2006,2007,2009,2011 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.
-#
+#
from gnuradio import gr, gru, uhd, optfir, eng_notation, pager
from gnuradio.eng_option import eng_option
@@ -32,7 +32,7 @@ class app_top_block(gr.top_block):
self.offset = 0.0
self.adj_time = time.time()
self.verbose = options.verbose
-
+
if options.from_file is None:
# Set up USRP source
self.u = uhd.usrp_source(device_addr=options.address, stream_args=uhd.stream_args('fc32'))
@@ -44,7 +44,7 @@ class app_top_block(gr.top_block):
if rate != 250e3:
print "Unable to set required sample rate of 250 Ksps (got %f)" % rate
sys.exit(1)
-
+
# Tune daughterboard
r = self.u.set_center_freq(options.freq+options.calibration, 0)
if not r:
@@ -60,15 +60,15 @@ class app_top_block(gr.top_block):
print "\nNo gain specified."
print "Setting gain to %f (from [%f, %f])" % \
(options.rx_gain, grange.start(), grange.stop())
-
+
self.u.set_gain(options.rx_gain, 0)
-
+
else:
# Use supplied file as source of samples
self.u = gr.file_source(gr.sizeof_gr_complex, options.from_file)
if options.verbose:
print "Reading samples from", options.from_file
-
+
if options.log and not options.from_file:
usrp_sink = gr.file_sink(gr.sizeof_gr_complex, 'usrp.dat')
self.connect(self.u, usrp_sink)
@@ -81,7 +81,7 @@ class app_top_block(gr.top_block):
12500, # One-sided channel bandwidth
0.1, # Passband ripple
60) # Stopband attenuation
-
+
if options.verbose:
print "Channel filter has", len(taps), "taps."
@@ -109,7 +109,7 @@ class app_top_block(gr.top_block):
self.chan.set_center_freq(self.offset)
if self.verbose:
print "Channel frequency offset (Hz):", int(self.offset)
-
+
def get_options():
parser = OptionParser(option_class=eng_option)
@@ -140,7 +140,7 @@ def get_options():
if (options.freq is None):
sys.stderr.write("You must specify -f FREQ or --freq FREQ\n")
sys.exit(1)
-
+
return (options, args)
if __name__ == "__main__":
@@ -151,7 +151,7 @@ if __name__ == "__main__":
queue = gr.msg_queue()
tb = app_top_block(options, queue)
runner = pager.queue_runner(queue)
-
+
try:
tb.run()
except KeyboardInterrupt:
diff --git a/gr-pager/apps/usrp_flex_all.py b/gr-pager/apps/usrp_flex_all
index 36bd90034..75c4c1e73 100755
--- a/gr-pager/apps/usrp_flex_all.py
+++ b/gr-pager/apps/usrp_flex_all
@@ -1,24 +1,24 @@
#!/usr/bin/env python
#
# Copyright 2006,2007,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.
-#
+#
from gnuradio import gr, gru, uhd, optfir, eng_notation, blks2, pager
from gnuradio.eng_option import eng_option
@@ -59,7 +59,7 @@ class app_top_block(gr.top_block):
print "\nNo gain specified."
print "Setting gain to %f (from [%f, %f])" % \
(options.rx_gain, grange.start(), grange.stop())
-
+
self.u.set_gain(options.rx_gain, 0)
# Grab >=3 MHz of spectrum, evenly divisible by 25 KHz channels
@@ -74,11 +74,11 @@ class app_top_block(gr.top_block):
if (rate != 3.2e6):
print "Unable to set required sample rate for >= 3MHz of 25 KHz channels."
sys.exit(1)
-
+
self.nchan = int(rate/25e3)
if options.verbose:
print "\nReceiving", rate/1e6, "MHz of bandwidth containing", self.nchan, "baseband channels."
-
+
taps = gr.firdes.low_pass(1.0,
1.0,
1.0/self.nchan*0.4,
@@ -143,7 +143,7 @@ def get_options():
sys.exit(1)
return (options, args)
-
+
def main():
@@ -159,6 +159,6 @@ def main():
pass
runner.end()
-
+
if __name__ == "__main__":
main()
diff --git a/gr-pager/apps/usrp_flex_band.py b/gr-pager/apps/usrp_flex_band
index 63fb93fa1..5ec0065d6 100755
--- a/gr-pager/apps/usrp_flex_band.py
+++ b/gr-pager/apps/usrp_flex_band
@@ -1,24 +1,24 @@
#!/usr/bin/env python
#
# Copyright 2006,2007,2009,2011 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.
-#
+#
from gnuradio import gr, gru, uhd, optfir, eng_notation, blks2, pager
from gnuradio.eng_option import eng_option
@@ -44,7 +44,7 @@ class app_top_block(gr.top_block):
if rate != 1e6:
print "Unable to set required sample rate of 1 Msps (got %f)" % rate
sys.exit(1)
-
+
# Tune daughterboard
r = self.u.set_center_freq(options.freq+options.calibration, 0)
if not r:
@@ -60,7 +60,7 @@ class app_top_block(gr.top_block):
print "\nNo gain specified."
print "Setting gain to %f (from [%f, %f])" % \
(options.rx_gain, grange.start(), grange.stop())
-
+
self.u.set_gain(options.rx_gain, 0)
@@ -120,10 +120,10 @@ def get_options():
if (options.freq is None):
sys.stderr.write("You must specify -f FREQ or --freq FREQ\n")
sys.exit(1)
-
+
return (options, args)
-
+
if __name__ == "__main__":
(options, args) = get_options()
diff --git a/gr-pager/grc/.gitignore b/gr-pager/grc/.gitignore
deleted file mode 100644
index 3dda72986..000000000
--- a/gr-pager/grc/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-Makefile.in
-Makefile
diff --git a/gr-pager/grc/CMakeLists.txt b/gr-pager/grc/CMakeLists.txt
index 2b01a1e0b..c982995b0 100644
--- a/gr-pager/grc/CMakeLists.txt
+++ b/gr-pager/grc/CMakeLists.txt
@@ -1,17 +1,17 @@
# Copyright 2011 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,
diff --git a/gr-pager/grc/Makefile.am b/gr-pager/grc/Makefile.am
deleted file mode 100644
index 8c84f89ac..000000000
--- a/gr-pager/grc/Makefile.am
+++ /dev/null
@@ -1,29 +0,0 @@
-#
-# 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/lib/.gitignore b/gr-pager/lib/.gitignore
deleted file mode 100644
index 1b6114c39..000000000
--- a/gr-pager/lib/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-/.libs
-/.deps
-/Makefile
-/Makefile.in
diff --git a/gr-pager/lib/Makefile.am b/gr-pager/lib/Makefile.am
deleted file mode 100644
index b6131171d..000000000
--- a/gr-pager/lib/Makefile.am
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Copyright 2004,2005,2006,2008,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
-
-AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) $(WITH_INCLUDES)
-
-# These headers get installed in ${prefix}/include/gnuradio
-grinclude_HEADERS = \
- pager_api.h \
- pager_slicer_fb.h \
- pager_flex_sync.h \
- pager_flex_deinterleave.h \
- pager_flex_parse.h \
- pager_flex_frame.h \
- pageri_bch3221.h \
- pageri_flex_modes.h \
- pageri_util.h
-
-lib_LTLIBRARIES = libgnuradio-pager.la
-
-libgnuradio_pager_la_SOURCES = \
- pager_flex_frame.cc \
- pager_slicer_fb.cc \
- pager_flex_sync.cc \
- pager_flex_deinterleave.cc \
- pager_flex_parse.cc \
- pageri_bch3221.cc \
- pageri_flex_modes.cc \
- pageri_util.cc
-
-libgnuradio_pager_la_LIBADD = \
- $(GNURADIO_CORE_LA)
-
-libgnuradio_pager_la_LDFLAGS = $(NO_UNDEFINED) $(LTVERSIONFLAGS)
diff --git a/gr-pager/lib/pager_flex_deinterleave.cc b/gr-pager/lib/pager_flex_deinterleave.cc
index a51670b22..f7f1d9f69 100644
--- a/gr-pager/lib/pager_flex_deinterleave.cc
+++ b/gr-pager/lib/pager_flex_deinterleave.cc
@@ -1,18 +1,18 @@
/*
* Copyright 2004,2006,2010 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,
@@ -46,7 +46,7 @@ int pager_flex_deinterleave::work(int noutput_items,
gr_vector_void_star &output_items)
{
const unsigned char *in = (const unsigned char *)input_items[0];
- gr_int32 *out = (gr_int32 *)output_items[0];
+ gr_int32 *out = (gr_int32 *)output_items[0];
// FLEX codewords are interleaved in blocks of 256 bits or 8, 32 bit
// codes. To deinterleave we parcel each incoming bit into the MSB
@@ -56,7 +56,7 @@ int pager_flex_deinterleave::work(int noutput_items,
// conversion to data words.
//
// FLEX data words are recovered by reversing the bit order of the code
- // word, masking off the (reversed) ECC, and inverting the remainder of
+ // word, masking off the (reversed) ECC, and inverting the remainder of
// the bits (!).
//
// The data portion of a FLEX frame consists of 11 of these deinterleaved
@@ -73,14 +73,14 @@ int pager_flex_deinterleave::work(int noutput_items,
}
}
- // Now convert code words into data words
+ // Now convert code words into data words
for (j = 0; j < 8; j++) {
gr_int32 codeword = d_codewords[j];
-
+
// Apply BCH 32,21 error correction
// TODO: mark dataword when codeword fails ECC
pageri_bch3221(codeword);
-
+
// Reverse bit order
codeword = pageri_reverse_bits32(codeword);
@@ -89,6 +89,6 @@ int pager_flex_deinterleave::work(int noutput_items,
*out++ = codeword;
}
-
+
return j;
}
diff --git a/gr-pager/lib/pager_flex_deinterleave.h b/gr-pager/lib/pager_flex_deinterleave.h
index 87094490d..c702da23d 100644
--- a/gr-pager/lib/pager_flex_deinterleave.h
+++ b/gr-pager/lib/pager_flex_deinterleave.h
@@ -1,18 +1,18 @@
/*
* Copyright 2006 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,
@@ -44,11 +44,11 @@ private:
// One FLEX block of deinterleaved data
gr_int32 d_codewords[8];
-
+
public:
int work(int noutput_items,
- gr_vector_const_void_star &input_items,
+ gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);
};
diff --git a/gr-pager/lib/pager_flex_frame.cc b/gr-pager/lib/pager_flex_frame.cc
index b707dbbc4..949f60320 100644
--- a/gr-pager/lib/pager_flex_frame.cc
+++ b/gr-pager/lib/pager_flex_frame.cc
@@ -1,18 +1,18 @@
/*
* Copyright 2006 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,
diff --git a/gr-pager/lib/pager_flex_frame.h b/gr-pager/lib/pager_flex_frame.h
index 857b49d29..61973f722 100644
--- a/gr-pager/lib/pager_flex_frame.h
+++ b/gr-pager/lib/pager_flex_frame.h
@@ -1,18 +1,18 @@
/*
* Copyright 2006 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,
diff --git a/gr-pager/lib/pager_flex_parse.cc b/gr-pager/lib/pager_flex_parse.cc
index 19d3d96c6..9418c4461 100644
--- a/gr-pager/lib/pager_flex_parse.cc
+++ b/gr-pager/lib/pager_flex_parse.cc
@@ -1,18 +1,18 @@
/*
* Copyright 2004,2006,2007,2010 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,
@@ -50,7 +50,7 @@ int pager_flex_parse::work(int noutput_items,
gr_vector_void_star &output_items)
{
const gr_int32 *in = (const gr_int32 *)input_items[0];
-
+
int i = 0;
while (i < noutput_items) {
// Accumulate one whole frame's worth of data words (88 of them)
@@ -74,8 +74,8 @@ void pager_flex_parse::parse_capcode(gr_int32 aw1, gr_int32 aw2)
{
d_laddr = (aw1 < 0x008001L) ||
(aw1 > 0x1E0000L) ||
- (aw1 > 0x1E7FFEL);
-
+ (aw1 > 0x1E7FFEL);
+
if (d_laddr)
d_capcode = aw1+((aw2^0x001FFFFF)<<15)+0x1F9000; // Don't ask
else
@@ -95,7 +95,7 @@ void pager_flex_parse::parse_data()
// Address start address is bits 9-8, plus one for offset
int voffset = (biw >> 10) & 0x3f;
int aoffset = ((biw >> 8) & 0x03) + 1;
-
+
//printf("BIW:%08X AW:%02i-%02i\n", biw, aoffset, voffset);
// Iterate through pages and dispatch to appropriate handler
@@ -109,9 +109,9 @@ void pager_flex_parse::parse_data()
parse_capcode(d_datawords[i], d_datawords[i+1]);
if (d_laddr)
i++;
-
+
if (d_capcode < 0) // Invalid address, skip
- continue;
+ continue;
// Parse vector information word for address @ offset 'i'
gr_int32 viw = d_datawords[j];
@@ -122,7 +122,7 @@ void pager_flex_parse::parse_data()
if (is_numeric_page(d_type))
len &= 0x07;
int mw2 = mw1+len;
-
+
if (mw1 == 0 && mw2 == 0)
continue; // Invalid VIW
@@ -135,7 +135,7 @@ void pager_flex_parse::parse_data()
d_payload.str("");
d_payload.setf(std::ios::showpoint);
d_payload << std::setprecision(6) << std::setw(7)
- << d_freq/1e6 << FIELD_DELIM
+ << d_freq/1e6 << FIELD_DELIM
<< std::setw(10) << d_capcode << FIELD_DELIM
<< flex_page_desc[d_type] << FIELD_DELIM;
@@ -167,7 +167,7 @@ void pager_flex_parse::parse_alphanumeric(int mw1, int mw2, int j)
frag = (d_datawords[j+1] >> 11) & 0x03;
cont = (d_datawords[j+1] >> 10) & 0x01;
mw2--;
- }
+ }
//d_payload << frag << FIELD_DELIM;
//d_payload << cont << FIELD_DELIM;
@@ -175,17 +175,17 @@ void pager_flex_parse::parse_alphanumeric(int mw1, int mw2, int j)
for (int i = mw1; i <= mw2; i++) {
gr_int32 dw = d_datawords[i];
unsigned char ch;
-
+
if (i > mw1 || frag != 0x03) {
ch = dw & 0x7F;
if (ch != 0x03)
d_payload << ch;
}
-
+
ch = (dw >> 7) & 0x7F;
if (ch != 0x03) // Fill
d_payload << ch;
-
+
ch = (dw >> 14) & 0x7F;
if (ch != 0x03) // Fill
d_payload << ch;
@@ -212,7 +212,7 @@ void pager_flex_parse::parse_numeric(int mw1, int mw2, int j)
count += 10; // Skip 10 header bits for numbered numeric pages
else
count += 2; // Otherwise skip 2
-
+
for (int i = mw1; i <= mw2; i++) {
for (int k = 0; k < 21; k++) {
// Shift LSB from data word into digit
@@ -226,7 +226,7 @@ void pager_flex_parse::parse_numeric(int mw1, int mw2, int j)
count = 4;
}
}
-
+
dw = d_datawords[i];
}
}
diff --git a/gr-pager/lib/pager_flex_parse.h b/gr-pager/lib/pager_flex_parse.h
index dcbd19eae..499be299a 100644
--- a/gr-pager/lib/pager_flex_parse.h
+++ b/gr-pager/lib/pager_flex_parse.h
@@ -1,18 +1,18 @@
/*
* Copyright 2006 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,
@@ -56,17 +56,17 @@ private:
int d_capcode; // Current page destination address
bool d_laddr; // Current page has long address
float d_freq; // Channel frequency
-
+
void parse_data(); // Handle a frame's worth of data
- void parse_capcode(gr_int32 aw1, gr_int32 aw2);
+ void parse_capcode(gr_int32 aw1, gr_int32 aw2);
void parse_alphanumeric(int mw1, int mw2, int j);
void parse_numeric(int mw1, int mw2, int j);
void parse_tone_only();
void parse_unknown(int mw1, int mw2);
-
+
public:
int work(int noutput_items,
- gr_vector_const_void_star &input_items,
+ gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);
};
diff --git a/gr-pager/lib/pager_flex_sync.cc b/gr-pager/lib/pager_flex_sync.cc
index 30666298f..c31acd7d2 100644
--- a/gr-pager/lib/pager_flex_sync.cc
+++ b/gr-pager/lib/pager_flex_sync.cc
@@ -1,18 +1,18 @@
/*
* Copyright 2004,2006,2010 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,
@@ -36,7 +36,7 @@ pager_flex_sync_sptr pager_make_flex_sync()
return gnuradio::get_initial_sptr(new pager_flex_sync());
}
-// FLEX sync block takes input from sliced baseband stream [0-3] at specified
+// FLEX sync block takes input from sliced baseband stream [0-3] at specified
// channel rate. Symbol timing is established based on receiving one of the
// defined FLEX protocol synchronization words. The block outputs one FLEX frame
// worth of bits on each output phase for the data portion of the frame. Unused phases
@@ -75,7 +75,7 @@ bool pager_flex_sync::test_sync(unsigned char sym)
//
// Where BBBBBBBB is always 0xA6C6AAAA
// and AAAA^CCCC is 0xFFFF
- //
+ //
// Specific values of AAAA determine what bps and encoding the
// packet is beyond the frame information word
//
@@ -158,9 +158,9 @@ void pager_flex_sync::enter_sync2()
// We're here at the center of a 1600 baud bit
// So this hack puts the index and bit counter
// in the right place for 3200 bps.
- d_index = d_index/2-d_spb/2;
- d_count = -1;
- }
+ d_index = d_index/2-d_spb/2;
+ d_count = -1;
+ }
}
void pager_flex_sync::enter_data()
@@ -177,7 +177,7 @@ void pager_flex_sync::parse_fiw()
// Bits 31-28 are frame number related, but unknown function
// This might be a checksum
d_unknown2 = pageri_reverse_bits8((d_fiw >> 24) & 0xF0);
-
+
// Cycle is bits 27-24, reversed
d_cycle = pageri_reverse_bits8((d_fiw >> 20) & 0xF0);
@@ -204,7 +204,7 @@ int pager_flex_sync::output_symbol(unsigned char sym)
// At 1600 bps, 2-level, a single "phase" is transmitted with bit
// value '0' using level '3' and bit value '1' using level '0'.
//
- // At 1600 bps, 4-level, a second "phase" is transmitted, and the
+ // At 1600 bps, 4-level, a second "phase" is transmitted, and the
// di-bits are encoded with a gray code:
//
// Symbol Phase 1 Phase 2
@@ -220,9 +220,9 @@ int pager_flex_sync::output_symbol(unsigned char sym)
// additionally two streams are interleaved on alternating symbols.
// Thus, PHASE A (and PHASE B if 4-level) are decoded on one symbol,
// then PHASE C (and PHASE D if 4-level) are decoded on the next.
-
+
int bits = 0;
-
+
if (d_baudrate == 1600) {
d_bit_a = (sym < 2);
if (d_levels == 4)
@@ -275,7 +275,7 @@ int pager_flex_sync::general_work(int noutput_items,
while (i < ninputs && j < noutput_items) {
unsigned char sym = *in++; i++;
d_index = (d_index+1) % d_spb;
-
+
switch (d_state) {
case ST_IDLE:
// Continually compare the received symbol stream
@@ -283,14 +283,14 @@ int pager_flex_sync::general_work(int noutput_items,
if (test_sync(sym))
enter_syncing();
break;
-
+
case ST_SYNCING:
// Wait until we stop seeing sync, then calculate
// the center of the bit period (d_center)
if (!test_sync(sym))
enter_sync1();
break;
-
+
case ST_SYNC1:
// Skip 16 bits of dotting, then accumulate 32 bits
// of Frame Information Word.
@@ -300,11 +300,11 @@ int pager_flex_sync::general_work(int noutput_items,
// FIW is accumulated, call BCH to error correct it
pageri_bch3221(d_fiw);
parse_fiw();
- enter_sync2();
+ enter_sync2();
}
}
break;
-
+
case ST_SYNC2:
// This part and the remainder of the frame are transmitted
// at either 1600 bps or 3200 bps based on the received
@@ -316,14 +316,14 @@ int pager_flex_sync::general_work(int noutput_items,
enter_data();
}
break;
-
+
case ST_DATA:
- // The data portion of the frame is 1760 ms long at either
+ // The data portion of the frame is 1760 ms long at either
// baudrate. This is 2816 bits @ 1600 bps and 5632 bits @ 3200 bps.
// The output_symbol() routine decodes and doles out the bits
// to each of the four transmitted phases of FLEX interleaved codes.
if (d_index == d_center) {
- j += output_symbol(sym);
+ j += output_symbol(sym);
if (++d_count == d_baudrate*1760/1000)
enter_idle();
}
diff --git a/gr-pager/lib/pager_flex_sync.h b/gr-pager/lib/pager_flex_sync.h
index 53b6f950a..b53737d12 100644
--- a/gr-pager/lib/pager_flex_sync.h
+++ b/gr-pager/lib/pager_flex_sync.h
@@ -1,18 +1,18 @@
/*
* Copyright 2006 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,
@@ -42,7 +42,7 @@ private:
// Constructors
friend PAGER_API pager_flex_sync_sptr pager_make_flex_sync();
pager_flex_sync();
-
+
// State machine transitions
void enter_idle();
void enter_syncing();
@@ -53,14 +53,14 @@ private:
int index_avg(int start, int end);
bool test_sync(unsigned char sym);
void parse_fiw();
- int output_symbol(unsigned char sym);
-
+ int output_symbol(unsigned char sym);
+
// Simple state machine
enum state_t { ST_IDLE, ST_SYNCING, ST_SYNC1, ST_SYNC2, ST_DATA };
- state_t d_state;
+ state_t d_state;
int d_index; // Index into current baud
- int d_start; // Start of good sync
+ int d_start; // Start of good sync
int d_center; // Center of bit
int d_end; // End of good sync
int d_count; // Bit counter
@@ -70,7 +70,7 @@ private:
int d_levels; // Current decoding levels
int d_spb; // Current samples per baud
bool d_hibit; // Alternating bit indicator for 3200 bps
-
+
gr_int32 d_fiw; // Frame information word
int d_frame; // Current FLEX frame
int d_cycle; // Current FLEX cycle
@@ -81,12 +81,12 @@ private:
unsigned char d_bit_b;
unsigned char d_bit_c;
unsigned char d_bit_d;
-
- unsigned char *d_phase_a;
+
+ unsigned char *d_phase_a;
unsigned char *d_phase_b;
unsigned char *d_phase_c;
unsigned char *d_phase_d;
-
+
gr_int64_vector d_sync; // Trial synchronizers
public:
@@ -94,7 +94,7 @@ public:
int general_work(int noutput_items,
gr_vector_int &ninput_items,
- gr_vector_const_void_star &input_items,
+ gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);
};
diff --git a/gr-pager/lib/pager_slicer_fb.cc b/gr-pager/lib/pager_slicer_fb.cc
index 53ba7b9de..415e898cd 100644
--- a/gr-pager/lib/pager_slicer_fb.cc
+++ b/gr-pager/lib/pager_slicer_fb.cc
@@ -1,18 +1,18 @@
/*
* Copyright 2004,2006,2007,2010 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,
@@ -53,7 +53,7 @@ unsigned char pager_slicer_fb::slice(float sample)
sample -= d_avg;
if (sample > 0) {
- if (sample > 2.0)
+ if (sample > 2.0)
decision = 3;
else
decision = 2;
diff --git a/gr-pager/lib/pager_slicer_fb.h b/gr-pager/lib/pager_slicer_fb.h
index b3d92780f..cbbf9cd22 100644
--- a/gr-pager/lib/pager_slicer_fb.h
+++ b/gr-pager/lib/pager_slicer_fb.h
@@ -1,18 +1,18 @@
/*
* Copyright 2006,2007 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,
@@ -48,7 +48,7 @@ private:
public:
int work (int noutput_items,
- gr_vector_const_void_star &input_items,
+ gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);
float dc_offset() const { return d_avg; }
diff --git a/gr-pager/lib/pageri_bch3221.cc b/gr-pager/lib/pageri_bch3221.cc
index 984ed4d44..9c6dd8148 100644
--- a/gr-pager/lib/pageri_bch3221.cc
+++ b/gr-pager/lib/pageri_bch3221.cc
@@ -1,18 +1,18 @@
/*
* Copyright 2006 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,
diff --git a/gr-pager/lib/pageri_bch3221.h b/gr-pager/lib/pageri_bch3221.h
index 9dd2be86a..54227e438 100644
--- a/gr-pager/lib/pageri_bch3221.h
+++ b/gr-pager/lib/pageri_bch3221.h
@@ -1,18 +1,18 @@
/*
* Copyright 2006 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,
diff --git a/gr-pager/lib/pageri_flex_modes.cc b/gr-pager/lib/pageri_flex_modes.cc
index 4553e0bf3..ad424fda1 100644
--- a/gr-pager/lib/pageri_flex_modes.cc
+++ b/gr-pager/lib/pageri_flex_modes.cc
@@ -1,18 +1,18 @@
/*
* Copyright 2006,2007 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,
@@ -21,7 +21,7 @@
#include "pageri_flex_modes.h"
-const flex_mode_t flex_modes[] =
+const flex_mode_t flex_modes[] =
{
{ 0x870C78F3, 1600, 2 },
{ 0xB0684F97, 1600, 4 },
@@ -51,7 +51,7 @@ int find_flex_mode(gr_int32 sync_code)
for (int i = 0; i < num_flex_modes; i++)
if (flex_modes[i].sync == sync_code)
return i;
-
+
// Not found
return -1;
}
diff --git a/gr-pager/lib/pageri_flex_modes.h b/gr-pager/lib/pageri_flex_modes.h
index bc53c12bf..6d81613d7 100644
--- a/gr-pager/lib/pageri_flex_modes.h
+++ b/gr-pager/lib/pageri_flex_modes.h
@@ -1,18 +1,18 @@
/*
* Copyright 2006,2007 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,
diff --git a/gr-pager/lib/pageri_util.cc b/gr-pager/lib/pageri_util.cc
index bdd095706..7fa85e6ed 100644
--- a/gr-pager/lib/pageri_util.cc
+++ b/gr-pager/lib/pageri_util.cc
@@ -1,18 +1,18 @@
/*
* Copyright 2006 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,
@@ -27,8 +27,8 @@
unsigned char pageri_reverse_bits8(unsigned char val)
{
- // This method was attributed to Rich Schroeppel in the Programming
- // Hacks section of Beeler, M., Gosper, R. W., and Schroeppel, R.
+ // This method was attributed to Rich Schroeppel in the Programming
+ // Hacks section of Beeler, M., Gosper, R. W., and Schroeppel, R.
// HAKMEM. MIT AI Memo 239, Feb. 29, 1972.
//
// Reverses 8 bits in 5 machine operations with 64 bit arch
diff --git a/gr-pager/lib/pageri_util.h b/gr-pager/lib/pageri_util.h
index 78ae7aab3..b90cddcce 100644
--- a/gr-pager/lib/pageri_util.h
+++ b/gr-pager/lib/pageri_util.h
@@ -1,18 +1,18 @@
/*
* Copyright 2006 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,
diff --git a/gr-pager/python/.gitignore b/gr-pager/python/.gitignore
deleted file mode 100644
index 604b402c5..000000000
--- a/gr-pager/python/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-/Makefile
-/Makefile.in
-/run_tests
diff --git a/gr-pager/python/CMakeLists.txt b/gr-pager/python/CMakeLists.txt
index 08915aa00..c0e1b1be1 100644
--- a/gr-pager/python/CMakeLists.txt
+++ b/gr-pager/python/CMakeLists.txt
@@ -1,17 +1,17 @@
# Copyright 2011-2012 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,
diff --git a/gr-pager/python/Makefile.am b/gr-pager/python/Makefile.am
deleted file mode 100644
index 4502859c3..000000000
--- a/gr-pager/python/Makefile.am
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Copyright 2004,2005,2006,2008,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
-
-TESTS =
-EXTRA_DIST += run_tests.in
-
-if PYTHON
-TESTS += run_tests
-
-pagerdir = $(grpythondir)/pager
-
-noinst_PYTHON = \
- qa_pager.py
-
-pager_PYTHON = \
- __init__.py \
- pager_utils.py \
- flex_demod.py
-endif
diff --git a/gr-pager/python/__init__.py b/gr-pager/python/__init__.py
index fffefd51d..c395d4e45 100644
--- a/gr-pager/python/__init__.py
+++ b/gr-pager/python/__init__.py
@@ -1,23 +1,23 @@
#
# Copyright 2006 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.
-#
+#
# The presence of this file turns this directory into a Python package
diff --git a/gr-pager/python/flex_demod.py b/gr-pager/python/flex_demod.py
index b79c1adaa..4146695f8 100644
--- a/gr-pager/python/flex_demod.py
+++ b/gr-pager/python/flex_demod.py
@@ -1,23 +1,23 @@
#
# Copyright 2006,2007 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.
-#
+#
from gnuradio import gr, gru, optfir, blks2
from math import pi
@@ -27,7 +27,7 @@ class flex_demod(gr.hier_block2):
"""
FLEX pager protocol demodulation block.
- This block demodulates a band-limited, complex down-converted baseband
+ This block demodulates a band-limited, complex down-converted baseband
channel into FLEX protocol frames.
"""
@@ -40,7 +40,7 @@ class flex_demod(gr.hier_block2):
k = 25000/(2*pi*1600) # 4800 Hz max deviation
quad = gr.quadrature_demod_cf(k)
self.connect(self, quad)
-
+
rsamp = blks2.rational_resampler_fff(16, 25)
self.slicer = pager_swig.slicer_fb(5e-6) # DC removal averaging filter constant
self.sync = pager_swig.flex_sync()
@@ -61,4 +61,3 @@ class flex_demod(gr.hier_block2):
def dc_offset(self):
return self.slicer.dc_offset()
- \ No newline at end of file
diff --git a/gr-pager/python/pager_utils.py b/gr-pager/python/pager_utils.py
index 72aac6826..e935c86d4 100644
--- a/gr-pager/python/pager_utils.py
+++ b/gr-pager/python/pager_utils.py
@@ -1,18 +1,18 @@
#
# Copyright 2008,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 this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
@@ -50,11 +50,11 @@ class queue_runner(_threading.Thread):
msg = self.msgq.delete_head() # Blocking read
if msg.type() != 0:
break
-
+
page = join(split(msg.to_string(), chr(128)), '|')
s = make_printable(page)
print msg.type(), s
-
+
def end(self):
self.msgq.insert_tail(gr.message(1))
self.done = True
diff --git a/gr-pager/python/qa_pager.py b/gr-pager/python/qa_pager.py
index 12a45d4c3..87f0d0026 100755
--- a/gr-pager/python/qa_pager.py
+++ b/gr-pager/python/qa_pager.py
@@ -1,24 +1,24 @@
#!/usr/bin/env python
#
# Copyright 2004,2006,2010 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.
-#
+#
from gnuradio import gr, gr_unittest
import pager_swig
diff --git a/gr-pager/python/run_tests.in b/gr-pager/python/run_tests.in
deleted file mode 100644
index 6bb0c3980..000000000
--- a/gr-pager/python/run_tests.in
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# 1st parameter is absolute path to component source directory
-# 2nd parameter is absolute path to component build directory
-# 3rd parameter is path to Python QA directory
-
-@top_builddir@/run_tests.sh \
- @abs_top_srcdir@/gr-pager \
- @abs_top_builddir@/gr-pager \
- @srcdir@
diff --git a/gr-pager/swig/.gitignore b/gr-pager/swig/.gitignore
deleted file mode 100644
index 7e864f43f..000000000
--- a/gr-pager/swig/.gitignore
+++ /dev/null
@@ -1,9 +0,0 @@
-/Makefile
-/Makefile.in
-/pager_swig.py
-/pager_swig.cc
-/*.pyc
-/run_tests
-/run_guile_tests
-/guile
-/python
diff --git a/gr-pager/swig/Makefile.am b/gr-pager/swig/Makefile.am
deleted file mode 100644
index abd714aac..000000000
--- a/gr-pager/swig/Makefile.am
+++ /dev/null
@@ -1,83 +0,0 @@
-#
-# Copyright 2004,2005,2006,2008,2009,2010 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
-include $(top_srcdir)/Makefile.swig
-
-TESTS =
-EXTRA_DIST += $(nobase_guile_DATA)
-
-AM_CPPFLAGS = \
- -I$(top_srcdir)/gr-pager/lib \
- $(STD_DEFINES_AND_INCLUDES) \
- $(PYTHON_CPPFLAGS) \
- $(WITH_INCLUDES)
-
-if GUILE
-nobase_guile_DATA = \
- gnuradio/pager.scm
-endif
-
-noinst_GUILE = pager.test
-
-
-##############################
-# SWIG interface and library
-
-TOP_SWIG_DOC_IFILES = \
- pager_swig_doc.i
-
-TOP_SWIG_IFILES = \
- $(TOP_SWIG_DOC_IFILES) \
- pager_swig.i
-
-BUILT_SOURCES += \
- $(TOP_SWIG_DOC_IFILES)
-
-EXTRA_DIST += \
- $(TOP_SWIG_DOC_IFILES)
-
-$(TOP_SWIG_DOC_IFILES):
- `echo "" > $@`
-
-# Install so that they end up available as:
-# import gnuradio.pager
-# This ends up at:
-# ${prefix}/lib/python${python_version}/site-packages/gnuradio/pager
-pager_swig_pythondir_category = \
- gnuradio/pager
-
-# additional libraries for linking with the SWIG-generated library
-pager_swig_la_swig_libadd = \
- $(abs_top_builddir)/gr-pager/lib/libgnuradio-pager.la
-
-# additional SWIG files to be installed
-pager_swig_swiginclude_headers = \
- pager_flex_deinterleave.i \
- pager_flex_frame.i \
- pager_flex_parse.i \
- pager_flex_sync.i \
- pager_slicer_fb.i \
- $(TOP_SWIG_DOC_IFILES)
-
-if GUILE
-TESTS += run_guile_tests
-endif \ No newline at end of file
diff --git a/gr-pager/swig/Makefile.swig.gen b/gr-pager/swig/Makefile.swig.gen
deleted file mode 100644
index 9f7467c1c..000000000
--- a/gr-pager/swig/Makefile.swig.gen
+++ /dev/null
@@ -1,145 +0,0 @@
-# -*- Makefile -*-
-#
-# 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.
-#
-
-# Makefile.swig.gen for pager_swig.i
-
-## Default install locations for these files:
-##
-## Default location for the Python directory is:
-## ${prefix}/lib/python${python_version}/site-packages/[category]/pager_swig
-## Default location for the Python exec directory is:
-## ${exec_prefix}/lib/python${python_version}/site-packages/[category]/pager_swig
-##
-## The following can be overloaded to change the install location, but
-## this has to be done in the including Makefile.am -before-
-## Makefile.swig is included.
-
-pager_swig_pythondir_category ?= gnuradio/pager_swig
-pager_swig_pylibdir_category ?= $(pager_swig_pythondir_category)
-pager_swig_pythondir = $(pythondir)/$(pager_swig_pythondir_category)
-pager_swig_pylibdir = $(pyexecdir)/$(pager_swig_pylibdir_category)
-
-# The .so libraries for the guile modules get installed whereever guile
-# is installed, usually /usr/lib/guile/gnuradio/
-# FIXME: determince whether these should be installed with gnuradio.
-pager_swig_scmlibdir = $(libdir)
-
-# The scm files for the guile modules get installed where ever guile
-# is installed, usually /usr/share/guile/site/pager_swig
-# FIXME: determince whether these should be installed with gnuradio.
-pager_swig_scmdir = $(guiledir)
-
-## SWIG headers are always installed into the same directory.
-
-pager_swig_swigincludedir = $(swigincludedir)
-
-## This is a template file for a "generated" Makefile addition (in
-## this case, "Makefile.swig.gen"). By including the top-level
-## Makefile.swig, this file will be used to generate the SWIG
-## dependencies. Assign the variable TOP_SWIG_FILES to be the list of
-## SWIG .i files to generated wrappings for; there can be more than 1
-## so long as the names are unique (no sorting is done on the
-## TOP_SWIG_FILES list). This file explicitly assumes that a SWIG .i
-## file will generate .cc, .py, and possibly .h files -- meaning that
-## all of these files will have the same base name (that provided for
-## the SWIG .i file).
-##
-## This code is setup to ensure parallel MAKE ("-j" or "-jN") does the
-## right thing. For more info, see <
-## http://sources.redhat.com/automake/automake.html#Multiple-Outputs >
-
-## Other cleaned files: dependency files generated by SWIG or this Makefile
-
-MOSTLYCLEANFILES += $(DEPDIR)/*.S*
-
-## Various SWIG variables. These can be overloaded in the including
-## Makefile.am by setting the variable value there, then including
-## Makefile.swig .
-
-pager_swig_swiginclude_HEADERS = \
- pager_swig.i \
- $(pager_swig_swiginclude_headers)
-
-if PYTHON
-pager_swig_pylib_LTLIBRARIES = \
- _pager_swig.la
-
-_pager_swig_la_SOURCES = \
- python/pager_swig.cc \
- $(pager_swig_la_swig_sources)
-
-pager_swig_python_PYTHON = \
- pager_swig.py \
- $(pager_swig_python)
-
-_pager_swig_la_LIBADD = \
- $(STD_SWIG_LA_LIB_ADD) \
- $(pager_swig_la_swig_libadd)
-
-_pager_swig_la_LDFLAGS = \
- $(STD_SWIG_LA_LD_FLAGS) \
- $(pager_swig_la_swig_ldflags)
-
-_pager_swig_la_CXXFLAGS = \
- $(STD_SWIG_CXX_FLAGS) \
- -I$(top_builddir) \
- $(pager_swig_la_swig_cxxflags)
-
-python/pager_swig.cc: pager_swig.py
-pager_swig.py: pager_swig.i
-
-# Include the python dependencies for this file
--include python/pager_swig.d
-
-endif # end of if python
-
-if GUILE
-
-pager_swig_scmlib_LTLIBRARIES = \
- libguile-gnuradio-pager_swig.la
-libguile_gnuradio_pager_swig_la_SOURCES = \
- guile/pager_swig.cc \
- $(pager_swig_la_swig_sources)
-nobase_pager_swig_scm_DATA = \
- gnuradio/pager_swig.scm \
- gnuradio/pager_swig-primitive.scm
-libguile_gnuradio_pager_swig_la_LIBADD = \
- $(STD_SWIG_LA_LIB_ADD) \
- $(pager_swig_la_swig_libadd)
-libguile_gnuradio_pager_swig_la_LDFLAGS = \
- $(STD_SWIG_LA_LD_FLAGS) \
- $(pager_swig_la_swig_ldflags)
-libguile_gnuradio_pager_swig_la_CXXFLAGS = \
- $(STD_SWIG_CXX_FLAGS) \
- -I$(top_builddir) \
- $(pager_swig_la_swig_cxxflags)
-
-guile/pager_swig.cc: gnuradio/pager_swig.scm
-gnuradio/pager_swig.scm: pager_swig.i
-gnuradio/pager_swig-primitive.scm: gnuradio/pager_swig.scm
-
-# Include the guile dependencies for this file
--include guile/pager_swig.d
-
-endif # end of GUILE
-
-
diff --git a/gr-pager/swig/gnuradio/.gitignore b/gr-pager/swig/gnuradio/.gitignore
deleted file mode 100644
index 15034e70e..000000000
--- a/gr-pager/swig/gnuradio/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-pager_swig-primitive.scm
-pager_swig.scm
diff --git a/gr-pager/swig/pager.test b/gr-pager/swig/pager.test
deleted file mode 100644
index a5deb5810..000000000
--- a/gr-pager/swig/pager.test
+++ /dev/null
@@ -1,36 +0,0 @@
-;;; -*- Scheme -*-
-;;;
-;;; Copyright 2010 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 this program. If not, see <http://www.gnu.org/licenses/>.
-;;;
-
-;;; If you're using Emacs's Scheme mode:
-;;; (put 'with-test-prefix 'scheme-indent-function 1)
-
-;;; See the comments in gnuradio/test-suite/lib.scm for info on writing tests.
-;;; See also the very end of the file, where the test-equal, test-eqv
-;;; and test-eq macros are defined.
-
-(define-module (test-module)
- #:use-module (oop goops)
- #:use-module (gnuradio core)
- #:use-module (gnuradio test-suite lib)
- #:duplicates (merge-generics replace check))
-
-;;; Confirm we can import the module...
-(use-modules (gnuradio pager))
-
diff --git a/gr-pager/swig/pager_flex_frame.i b/gr-pager/swig/pager_flex_frame.i
index d754f5f79..0ea996500 100644
--- a/gr-pager/swig/pager_flex_frame.i
+++ b/gr-pager/swig/pager_flex_frame.i
@@ -1,18 +1,18 @@
/*
* Copyright 2006 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,
diff --git a/gr-pager/swig/pager_swig.i b/gr-pager/swig/pager_swig.i
index 2cf54c2a7..04f804157 100644
--- a/gr-pager/swig/pager_swig.i
+++ b/gr-pager/swig/pager_swig.i
@@ -1,18 +1,18 @@
/*
* Copyright 2005,2006,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,
@@ -37,13 +37,3 @@
%include "pager_flex_sync.i"
%include "pager_flex_deinterleave.i"
%include "pager_flex_parse.i"
-
-#if SWIGGUILE
-%scheme %{
-(load-extension-global "libguile-gnuradio-pager_swig" "scm_init_gnuradio_pager_swig_module")
-%}
-
-%goops %{
-(use-modules (gnuradio gnuradio_core_runtime))
-%}
-#endif
diff --git a/gr-pager/swig/run_guile_tests.in b/gr-pager/swig/run_guile_tests.in
deleted file mode 100644
index 5d08b0dd5..000000000
--- a/gr-pager/swig/run_guile_tests.in
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-. @top_builddir@/setup_guile_test_env
-
-# 1st argument is absolute path to hand coded guile source directory
-# 2nd argument is absolute path to component C++ shared library build directory
-# 3nd argument is absolute path to component SWIG build directory
-
-add_local_paths \
- @srcdir@ \
- @abs_builddir@ \
- @abs_builddir@
-
-@GUILE@ -e main -c '(use-modules (gnuradio test-suite guile-test))' -t @srcdir@