25 #ifndef INCLUDED_BLUETOOTH_KISMET_BLOCK_H 26 #define INCLUDED_BLUETOOTH_KSIMET_BLOCK_H 34 typedef boost::shared_ptr<bluetooth_kismet_block> bluetooth_kismet_block_sptr;
55 void enqueue(bluetooth_packet_sptr packet,
int channel);
79 int work(
int noutput_items,
80 gr_vector_const_void_star &input_items,
81 gr_vector_void_star &output_items);
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.
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
Sniff Bluetooth packets.
Definition: bluetooth_kismet_block.h:45
~bluetooth_kismet_block()
Bluetooth multi-channel parent class.
Definition: bluetooth_multi_block.h:41
int fake_fd[2]
Definition: bluetooth_kismet_block.h:76
Definition: bluetooth_kismet_block.h:61
char * data
Definition: bluetooth_kismet_block.h:62
int len
Definition: bluetooth_kismet_block.h:63
vector< struct usrp_bt_pkt * > packet_queue
Definition: bluetooth_kismet_block.h:70
friend 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.
pthread_mutex_t packet_lock
Definition: bluetooth_kismet_block.h:67
int channel
Definition: bluetooth_kismet_block.h:64
int pending_packet
Definition: bluetooth_kismet_block.h:73