GNU Radio's BLUETOOTH Package
bluetooth_multi_block Class Reference

Bluetooth multi-channel parent class. More...

#include <bluetooth_multi_block.h>

Inheritance diagram for bluetooth_multi_block:
bluetooth_kismet_block

Protected Member Functions

 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

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

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

Bluetooth multi-channel parent class.

Constructor & Destructor Documentation

◆ bluetooth_multi_block()

bluetooth_multi_block::bluetooth_multi_block ( double sample_rate,
double center_freq,
double squelch_threshold )
protected

Member Function Documentation

◆ channel_freq()

double bluetooth_multi_block::channel_freq ( int channel)
protected

◆ channel_symbols()

int bluetooth_multi_block::channel_symbols ( int channel,
gr_vector_const_void_star & in,
char * out,
int ninput_items )
protected

◆ demod()

void bluetooth_multi_block::demod ( const gr_complex * in,
float * out,
int noutput_items )
protected

◆ mm_cr()

int bluetooth_multi_block::mm_cr ( const float * in,
int ninput_items,
float * out,
int noutput_items )
protected

◆ set_channels()

void bluetooth_multi_block::set_channels ( )
protected

◆ set_symbol_history()

void bluetooth_multi_block::set_symbol_history ( int num_symbols)
protected

◆ slicer()

void bluetooth_multi_block::slicer ( const float * in,
char * out,
int noutput_items )
protected

Member Data Documentation

◆ BASE_FREQUENCY

const uint32_t bluetooth_multi_block::BASE_FREQUENCY = 2402000000UL
staticprotected

◆ CHANNEL_WIDTH

const int bluetooth_multi_block::CHANNEL_WIDTH = 1000000
staticprotected

◆ d_center_freq

double bluetooth_multi_block::d_center_freq
protected

◆ d_channel_filter

std::vector<float> bluetooth_multi_block::d_channel_filter
protected

◆ d_cumulative_count

uint64_t bluetooth_multi_block::d_cumulative_count
protected

◆ d_ddc_decimation_rate

int bluetooth_multi_block::d_ddc_decimation_rate
protected

◆ d_demod_gain

float bluetooth_multi_block::d_demod_gain
protected

◆ d_gain_mu

float bluetooth_multi_block::d_gain_mu
protected

◆ d_gain_omega

float bluetooth_multi_block::d_gain_omega
protected

◆ d_high_channel

int bluetooth_multi_block::d_high_channel
protected

◆ d_interp

gr::filter::mmse_fir_interpolator_ff* bluetooth_multi_block::d_interp
protected

◆ d_last_sample

float bluetooth_multi_block::d_last_sample
protected

◆ d_low_channel

int bluetooth_multi_block::d_low_channel
protected

◆ d_mu

float bluetooth_multi_block::d_mu
protected

◆ d_omega

float bluetooth_multi_block::d_omega
protected

◆ d_omega_mid

float bluetooth_multi_block::d_omega_mid
protected

◆ d_omega_relative_limit

float bluetooth_multi_block::d_omega_relative_limit
protected

◆ d_sample_rate

double bluetooth_multi_block::d_sample_rate
protected

◆ d_samples_per_slot

double bluetooth_multi_block::d_samples_per_slot
protected

◆ d_samples_per_symbol

double bluetooth_multi_block::d_samples_per_symbol
protected

◆ d_squelch_threshold

double bluetooth_multi_block::d_squelch_threshold
protected

◆ SYMBOL_RATE

const int bluetooth_multi_block::SYMBOL_RATE = 1000000
staticprotected

◆ SYMBOLS_PER_SLOT

const int bluetooth_multi_block::SYMBOLS_PER_SLOT = 625
staticprotected

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