#include <BluetoothInquiry.h>
Inheritance diagram for oasys::BluetoothInquiry:
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_ |
oasys::BluetoothInquiry::BluetoothInquiry | ( | const char * | logbase = "/dtn/btinquiry" |
) |
oasys::BluetoothInquiry::~BluetoothInquiry | ( | ) | [virtual] |
Definition at line 39 of file BluetoothInquiry.cc.
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 & | ) |
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_.
int oasys::BluetoothInquiry::num_responses_i_ [protected] |
int oasys::BluetoothInquiry::pos_ [protected] |
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] |