GNU Radio's BLUETOOTH Package
PacketSource_USRP Class Reference

#include <packetsource_usrp.h>

Inheritance diagram for PacketSource_USRP:

Public Member Functions

 PacketSource_USRP ()
 PacketSource_USRP (GlobalRegistry *in_globalreg)
virtual KisPacketSource * CreateSource (GlobalRegistry *in_globalreg, string in_interface, vector< opt_pair > *in_opts)
virtual int AutotypeProbe (string in_device)
virtual int RegisterSources (Packetsourcetracker *tracker)
 PacketSource_USRP (GlobalRegistry *in_globalreg, string in_interface, vector< opt_pair > *in_opts)
virtual ~PacketSource_USRP ()
virtual int ParseOptions (vector< opt_pair > *in_opts)
virtual int OpenSource ()
virtual int CloseSource ()
virtual int FetchChannelCapable ()
virtual int EnableMonitor ()
virtual int DisableMonitor ()
virtual int SetChannel (unsigned int in_ch)
virtual int FetchDescriptor ()
virtual int Poll ()

Public Attributes

unsigned int channel

Protected Member Functions

virtual void FetchRadioData (kis_packet *in_packet)
void packet_callback (char *pkt, int len)

Protected Attributes

int btbb_packet_id
int thread_active
pthread_t cap_thread
string usb_dev
bluetooth_top_block_sptr top_block
bluetooth_kismet_block_sptr kblock
string thread_error

Friends

void * usrp_cap_thread (void *)

Constructor & Destructor Documentation

◆ PacketSource_USRP() [1/3]

PacketSource_USRP::PacketSource_USRP ( )
inline

Referenced by CreateSource().

◆ PacketSource_USRP() [2/3]

PacketSource_USRP::PacketSource_USRP ( GlobalRegistry * in_globalreg)
inline

◆ PacketSource_USRP() [3/3]

PacketSource_USRP::PacketSource_USRP ( GlobalRegistry * in_globalreg,
string in_interface,
vector< opt_pair > * in_opts )

◆ ~PacketSource_USRP()

virtual PacketSource_USRP::~PacketSource_USRP ( )
virtual

Member Function Documentation

◆ AutotypeProbe()

virtual int PacketSource_USRP::AutotypeProbe ( string in_device)
virtual

◆ CloseSource()

virtual int PacketSource_USRP::CloseSource ( )
virtual

◆ CreateSource()

virtual KisPacketSource * PacketSource_USRP::CreateSource ( GlobalRegistry * in_globalreg,
string in_interface,
vector< opt_pair > * in_opts )
inlinevirtual

References PacketSource_USRP().

◆ DisableMonitor()

virtual int PacketSource_USRP::DisableMonitor ( )
inlinevirtual

◆ EnableMonitor()

virtual int PacketSource_USRP::EnableMonitor ( )
inlinevirtual

◆ FetchChannelCapable()

virtual int PacketSource_USRP::FetchChannelCapable ( )
inlinevirtual

◆ FetchDescriptor()

virtual int PacketSource_USRP::FetchDescriptor ( )
virtual

◆ FetchRadioData()

virtual void PacketSource_USRP::FetchRadioData ( kis_packet * in_packet)
inlineprotectedvirtual

◆ OpenSource()

virtual int PacketSource_USRP::OpenSource ( )
virtual

◆ packet_callback()

void PacketSource_USRP::packet_callback ( char * pkt,
int len )
protected

◆ ParseOptions()

virtual int PacketSource_USRP::ParseOptions ( vector< opt_pair > * in_opts)
virtual

◆ Poll()

virtual int PacketSource_USRP::Poll ( )
virtual

◆ RegisterSources()

virtual int PacketSource_USRP::RegisterSources ( Packetsourcetracker * tracker)
inlinevirtual

◆ SetChannel()

virtual int PacketSource_USRP::SetChannel ( unsigned int in_ch)
virtual

◆ usrp_cap_thread

void * usrp_cap_thread ( void * )
friend

Member Data Documentation

◆ btbb_packet_id

int PacketSource_USRP::btbb_packet_id
protected

◆ cap_thread

pthread_t PacketSource_USRP::cap_thread
protected

◆ channel

unsigned int PacketSource_USRP::channel

◆ kblock

bluetooth_kismet_block_sptr PacketSource_USRP::kblock
protected

◆ thread_active

int PacketSource_USRP::thread_active
protected

◆ thread_error

string PacketSource_USRP::thread_error
protected

◆ top_block

bluetooth_top_block_sptr PacketSource_USRP::top_block
protected

◆ usb_dev

string PacketSource_USRP::usb_dev
protected

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