oasys::BluetoothInquiry Class Reference

#include <BluetoothInquiry.h>

Inheritance diagram for oasys::BluetoothInquiry:

oasys::Logger List of all members.

Detailed Description

Definition at line 36 of file BluetoothInquiry.h.

Public Member Functions

 BluetoothInquiry (const char *logbase="/dtn/btinquiry")
virtual ~BluetoothInquiry ()
int inquire ()
int first (bdaddr_t &)
int next (bdaddr_t &)

Protected Member Functions

void reset ()

Protected Attributes

int num_responses_i_
int pos_
inquiry_info info_ [BT_INQ_NUM_RESP]
long flags_


Constructor & Destructor Documentation

oasys::BluetoothInquiry::BluetoothInquiry ( const char *  logbase = "/dtn/btinquiry"  ) 

Definition at line 30 of file BluetoothInquiry.cc.

References BT_INQ_NUM_RESP, and info_.

oasys::BluetoothInquiry::~BluetoothInquiry (  )  [virtual]

Definition at line 39 of file BluetoothInquiry.cc.


Member Function Documentation

int oasys::BluetoothInquiry::inquire (  ) 

Definition at line 44 of file BluetoothInquiry.cc.

References BT_INQ_LENGTH, BT_INQ_NUM_RESP, flags_, oasys::Bluetooth::hci_inquiry(), info_, and num_responses_i_.

Referenced by dtn::BluetoothDiscovery::run().

int oasys::BluetoothInquiry::first ( bdaddr_t &   ) 

Definition at line 68 of file BluetoothInquiry.cc.

References next(), and reset().

int oasys::BluetoothInquiry::next ( bdaddr_t &   ) 

Definition at line 75 of file BluetoothInquiry.cc.

References BDADDR_ANY, info_, log_debug, num_responses_i_, pos_, and reset().

Referenced by first(), and dtn::BluetoothDiscovery::run().

void oasys::BluetoothInquiry::reset (  )  [protected]

Definition at line 59 of file BluetoothInquiry.cc.

References BT_INQ_NUM_RESP, flags_, info_, num_responses_i_, and pos_.

Referenced by first(), and next().


Member Data Documentation

int oasys::BluetoothInquiry::num_responses_i_ [protected]

Definition at line 61 of file BluetoothInquiry.h.

Referenced by inquire(), next(), and reset().

int oasys::BluetoothInquiry::pos_ [protected]

Definition at line 61 of file BluetoothInquiry.h.

Referenced by next(), and reset().

inquiry_info oasys::BluetoothInquiry::info_[BT_INQ_NUM_RESP] [protected]

Definition at line 63 of file BluetoothInquiry.h.

Referenced by BluetoothInquiry(), inquire(), next(), and reset().

long oasys::BluetoothInquiry::flags_ [protected]

Definition at line 65 of file BluetoothInquiry.h.

Referenced by inquire(), and reset().


The documentation for this class was generated from the following files:
Generated on Thu Jun 7 16:56:59 2007 for DTN Reference Implementation by  doxygen 1.5.1