GNU Radio's FOOT Package
multi_hopper.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2013 Christopher D. Kilgour
4  * Copyright 2008, 2009 Dominic Spill, Michael Ossmann
5  * Copyright 2007 Dominic Spill
6  * Copyright 2005, 2006 Free Software Foundation, Inc.
7  *
8  * This file is part of gr-bluetooth
9  *
10  * This is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2, or (at your option)
13  * any later version.
14  *
15  * This software is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this software; see the file COPYING. If not, write to
22  * the Free Software Foundation, Inc., 51 Franklin Street,
23  * Boston, MA 02110-1301, USA.
24  */
25 
26 
27 #ifndef INCLUDED_GR_BLUETOOTH_MULTI_HOPPER_H
28 #define INCLUDED_GR_BLUETOOTH_MULTI_HOPPER_H
29 
30 #include <gr_bluetooth/api.h>
32 
33 namespace gr {
34  namespace bluetooth {
35 
36  /*!
37  * \brief Sniff Bluetooth packets.
38  * \ingroup bluetooth
39  */
40  class GR_BLUETOOTH_API multi_hopper : virtual public multi_block
41  {
42  public:
43  typedef boost::shared_ptr<multi_hopper> sptr;
44 
45  /*!
46  * \brief Return a shared_ptr to a new instance of gr::bluetooth::multi_hopper.
47  *
48  * To avoid accidental use of raw pointers, gr::bluetooth::multi_hopper's
49  * constructor is in a private implementation
50  * class. gr::bluetooth::multi_hopper::make is the public interface for
51  * creating new instances.
52  */
53  static sptr make(double sample_rate, double center_freq, double squelch_threshold, int LAP, bool aliased, bool tun);
54  };
55 
56  } // namespace bluetooth
57 } // namespace gr
58 
59 #endif /* INCLUDED_GR_BLUETOOTH_MULTI_HOPPER_H */
60 
Bluetooth multi-channel parent class.
Definition: multi_block.h:40
Sniff Bluetooth packets.
Definition: multi_hopper.h:40
#define GR_BLUETOOTH_API
Definition: api.h:30
boost::shared_ptr< multi_hopper > sptr
Definition: multi_hopper.h:43
Definition: multi_block.h:33