diff options
author | Johnathan Corgan | 2009-09-07 13:22:16 -0700 |
---|---|---|
committer | Johnathan Corgan | 2009-09-20 09:39:27 -0700 |
commit | 65bcd58b65219408268e5db1b8fbafb2d3ccc215 (patch) | |
tree | 3ff0d7b9be1d1bdd4c8fa328291bcbb98f6d5078 /gr-noaa/swig/noaa_hrpt_sync_ff.i | |
parent | 225d3141a7f4754eae5a1a041e1d18dc38131772 (diff) | |
download | gnuradio-65bcd58b65219408268e5db1b8fbafb2d3ccc215.tar.gz gnuradio-65bcd58b65219408268e5db1b8fbafb2d3ccc215.tar.bz2 gnuradio-65bcd58b65219408268e5db1b8fbafb2d3ccc215.zip |
Updated HRPT blocks/scripts for testing. Seeing good minor frame sync's.
* Change PLL and SYNC blocks to output floats
* Correct bit sense
* Update RX script to record ascii bits
Diffstat (limited to 'gr-noaa/swig/noaa_hrpt_sync_ff.i')
-rw-r--r-- | gr-noaa/swig/noaa_hrpt_sync_ff.i | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gr-noaa/swig/noaa_hrpt_sync_ff.i b/gr-noaa/swig/noaa_hrpt_sync_ff.i new file mode 100644 index 000000000..f3b1594ba --- /dev/null +++ b/gr-noaa/swig/noaa_hrpt_sync_ff.i @@ -0,0 +1,37 @@ +/* -*- c++ -*- */ +/* + * 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. + */ + +GR_SWIG_BLOCK_MAGIC(noaa,hrpt_sync_ff) + +noaa_hrpt_sync_ff_sptr +noaa_make_hrpt_sync_ff(float alpha, float beta, float sps, float max_offset); + +class noaa_hrpt_sync_ff : public gr_sync_block +{ +private: + noaa_hrpt_sync_ff(); + +public: + void set_alpha(float alpha); + void set_beta(float beta); + void set_max_offset(float min_freq); +}; |