GNU Radio's LORA Package
channelizer_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2017 Pieter Robyns.
4 *
5 * This is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3, or (at your option)
8 * any later version.
9 *
10 * This software is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this software; see the file COPYING. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street,
18 * Boston, MA 02110-1301, USA.
19 */
20
21
22#ifndef INCLUDED_LORA_CHANNELIZER_IMPL_H
23#define INCLUDED_LORA_CHANNELIZER_IMPL_H
24
25#include <lora/channelizer.h>
26#include <lora/controller.h>
27#include <gnuradio/filter/freq_xlating_fir_filter.h>
28#include <gnuradio/filter/mmse_resampler_cc.h>
29#include <gnuradio/filter/firdes.h>
30
31namespace gr {
32 namespace lora {
34 private:
35 gr::filter::freq_xlating_fir_filter_ccf::sptr d_xlating_fir_filter;
36 //gr::filter::fractional_resampler_cc::sptr d_resampler;
37 std::vector<float> d_lpf;
38 float d_cfo;
39 uint32_t d_freq_offset;
40 gr::lora::controller::sptr d_controller;
41
42 public:
43 channelizer_impl(float samp_rate, float center_freq, std::vector<float> channel_list, uint32_t bandwidth, uint32_t decimation);
45 void apply_cfo(float cfo);
46
47 // Where all the action really happens
48 };
49 } // namespace lora
50} // namespace gr
51
52#endif /* INCLUDED_LORA_CHANNELIZER_IMPL_H */
Definition: channelizer_impl.h:33
channelizer_impl(float samp_rate, float center_freq, std::vector< float > channel_list, uint32_t bandwidth, uint32_t decimation)
void apply_cfo(float cfo)
<+description of block+>
Definition: channelizer.h:37
boost::shared_ptr< controller > sptr
Definition: controller.h:39
Definition: channelizer.h:28