oasys::BluetoothServiceDiscoveryClient Class Reference

#include <BluetoothSDP.h>

Inheritance diagram for oasys::BluetoothServiceDiscoveryClient:

oasys::Logger List of all members.

Detailed Description

Connect to remote Bluetooth device and query its SDP server for DTN service.

Definition at line 55 of file BluetoothSDP.h.

Public Member Functions

 BluetoothServiceDiscoveryClient (const char *logpath="/dtn/cl/bt/sdp/client")
virtual ~BluetoothServiceDiscoveryClient ()
bool is_dtn_router (bdaddr_t remote)
void get_local_addr (bdaddr_t &addr)
u_int8_t channel ()
const std::string & remote_eid ()

Protected Attributes

bdaddr_t remote_addr_
bdaddr_t local_addr_
std::string remote_eid_
u_int8_t channel_


Constructor & Destructor Documentation

oasys::BluetoothServiceDiscoveryClient::BluetoothServiceDiscoveryClient ( const char *  logpath = "/dtn/cl/bt/sdp/client"  ) 

Definition at line 31 of file BluetoothSDP.cc.

References channel_, oasys::Bluetooth::hci_get_bdaddr(), and local_addr_.

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

Definition at line 39 of file BluetoothSDP.cc.


Member Function Documentation

bool oasys::BluetoothServiceDiscoveryClient::is_dtn_router ( bdaddr_t  remote  ) 

Definition at line 45 of file BluetoothSDP.cc.

References bd2str, channel_, errno, local_addr_, log_debug, OASYS_BLUETOOTH_SDP_UUID, and remote_eid_.

void oasys::BluetoothServiceDiscoveryClient::get_local_addr ( bdaddr_t &  addr  )  [inline]

Definition at line 63 of file BluetoothSDP.h.

References local_addr_.

u_int8_t oasys::BluetoothServiceDiscoveryClient::channel (  )  [inline]

Definition at line 67 of file BluetoothSDP.h.

References channel_.

const std::string& oasys::BluetoothServiceDiscoveryClient::remote_eid (  )  [inline]

Definition at line 68 of file BluetoothSDP.h.

References remote_eid_.


Member Data Documentation

bdaddr_t oasys::BluetoothServiceDiscoveryClient::remote_addr_ [protected]

Definition at line 72 of file BluetoothSDP.h.

bdaddr_t oasys::BluetoothServiceDiscoveryClient::local_addr_ [protected]

Definition at line 73 of file BluetoothSDP.h.

Referenced by BluetoothServiceDiscoveryClient(), get_local_addr(), and is_dtn_router().

std::string oasys::BluetoothServiceDiscoveryClient::remote_eid_ [protected]

Definition at line 74 of file BluetoothSDP.h.

Referenced by is_dtn_router(), and remote_eid().

u_int8_t oasys::BluetoothServiceDiscoveryClient::channel_ [protected]

Definition at line 75 of file BluetoothSDP.h.

Referenced by BluetoothServiceDiscoveryClient(), channel(), and is_dtn_router().


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