GNU Radio's BLUETOOTH Package
bluetooth_kismet_block Class Reference

Sniff Bluetooth packets. More...

#include <bluetooth_kismet_block.h>

Inheritance diagram for bluetooth_kismet_block:
bluetooth_multi_block

Classes

struct  usrp_bt_pkt

Public Member Functions

 ~bluetooth_kismet_block ()
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)

Public Attributes

pthread_mutex_t packet_lock
vector< struct usrp_bt_pkt * > packet_queue
int pending_packet
int fake_fd [2]

Friends

bluetooth_kismet_block_sptr bluetooth_make_kismet_block (double sample_rate, double center_freq, double squelch_threshold)
 Return a shared_ptr to a new instance of bluetooth_kismet_block.

Additional Inherited Members

Protected Member Functions inherited from bluetooth_multi_block
 bluetooth_multi_block (double sample_rate, double center_freq, double squelch_threshold)
int mm_cr (const float *in, int ninput_items, float *out, int noutput_items)
void demod (const gr_complex *in, float *out, int noutput_items)
void slicer (const float *in, char *out, int noutput_items)
int channel_symbols (int channel, gr_vector_const_void_star &in, char *out, int ninput_items)
void set_symbol_history (int num_symbols)
void set_channels ()
double channel_freq (int channel)
Protected Attributes inherited from bluetooth_multi_block
uint64_t d_cumulative_count
double d_sample_rate
double d_samples_per_symbol
double d_samples_per_slot
double d_center_freq
int d_low_channel
int d_high_channel
double d_squelch_threshold
int d_ddc_decimation_rate
float d_gain_mu
float d_mu
float d_omega_relative_limit
float d_omega
float d_gain_omega
float d_omega_mid
float d_last_sample
std::vector< float > d_channel_filter
float d_demod_gain
gr::filter::mmse_fir_interpolator_ff * d_interp
Static Protected Attributes inherited from bluetooth_multi_block
static const int SYMBOL_RATE = 1000000
static const int SYMBOLS_PER_SLOT = 625
static const uint32_t BASE_FREQUENCY = 2402000000UL
static const int CHANNEL_WIDTH = 1000000

Detailed Description

Sniff Bluetooth packets.

Constructor & Destructor Documentation

◆ ~bluetooth_kismet_block()

bluetooth_kismet_block::~bluetooth_kismet_block ( )

Member Function Documentation

◆ work()

int bluetooth_kismet_block::work ( int noutput_items,
gr_vector_const_void_star & input_items,
gr_vector_void_star & output_items )

◆ bluetooth_make_kismet_block

bluetooth_kismet_block_sptr bluetooth_make_kismet_block ( double sample_rate,
double center_freq,
double squelch_threshold )
friend

Return a shared_ptr to a new instance of bluetooth_kismet_block.

Member Data Documentation

◆ fake_fd

int bluetooth_kismet_block::fake_fd[2]

◆ packet_lock

pthread_mutex_t bluetooth_kismet_block::packet_lock

◆ packet_queue

vector<struct usrp_bt_pkt *> bluetooth_kismet_block::packet_queue

◆ pending_packet

int bluetooth_kismet_block::pending_packet

The documentation for this class was generated from the following file: