GNU Radio's BLUETOOTH Package
multi_LAP.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_LAP_H
28#define INCLUDED_GR_BLUETOOTH_MULTI_LAP_H
29
30#include <bluetooth/api.h>
32
33namespace gr {
34 namespace bluetooth {
35
36 /*!
37 * \brief Sniff Bluetooth packets.
38 * \ingroup bluetooth
39 */
40 class BLUETOOTH_API multi_LAP : virtual public multi_block
41 {
42 public:
43 typedef std::shared_ptr<multi_LAP> sptr;
44
45 /*!
46 * \brief Return a shared_ptr to a new instance of gr::bluetooth::multi_LAP.
47 *
48 * To avoid accidental use of raw pointers, gr::bluetooth::multi_LAP's
49 * constructor is in a private implementation
50 * class. gr::bluetooth::multi_LAP::make is the public interface for
51 * creating new instances.
52 */
53 static sptr make(double sample_rate, double center_freq, double squelch_threshold);
54 };
55
56 } // namespace bluetooth
57} // namespace gr
58
59#endif /* INCLUDED_GR_BLUETOOTH_MULTI_LAP_H */
60
#define BLUETOOTH_API
Definition api.h:19
Sniff Bluetooth packets.
Definition multi_LAP.h:41
std::shared_ptr< multi_LAP > sptr
Definition multi_LAP.h:43
static sptr make(double sample_rate, double center_freq, double squelch_threshold)
Return a shared_ptr to a new instance of gr::bluetooth::multi_LAP.
multi_block()
Definition multi_block.h:43
Definition multi_block.h:34
Definition multi_block.h:33