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