oasys::BluetoothServiceRegistration Class Reference

#include <BluetoothSDP.h>

Inheritance diagram for oasys::BluetoothServiceRegistration:

oasys::Logger

List of all members.


Detailed Description

Definition at line 78 of file BluetoothSDP.h.


Public Member Functions

 BluetoothServiceRegistration (const char *name=OASYS_BLUETOOTH_SDP_NAME, const char *logpath="/dtn/cl/bt/sdp/reg")
virtual ~BluetoothServiceRegistration ()
bool success ()
void get_local_addr (bdaddr_t &addr)

Protected Member Functions

bool register_service (const char *name)

Protected Attributes

sdp_session_t * sess_
bool status_
bdaddr_t local_addr_

Constructor & Destructor Documentation

oasys::BluetoothServiceRegistration::BluetoothServiceRegistration ( const char *  name = OASYS_BLUETOOTH_SDP_NAME,
const char *  logpath = "/dtn/cl/bt/sdp/reg" 
)

Definition at line 188 of file BluetoothSDP.cc.

References oasys::Bluetooth::hci_get_bdaddr(), local_addr_, register_service(), and status_.

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

Definition at line 198 of file BluetoothSDP.cc.

References sess_.


Member Function Documentation

bool oasys::BluetoothServiceRegistration::success (  )  [inline]

Definition at line 88 of file BluetoothSDP.h.

References status_.

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

Definition at line 89 of file BluetoothSDP.h.

References local_addr_.

bool oasys::BluetoothServiceRegistration::register_service ( const char *  name  )  [protected]

Definition at line 206 of file BluetoothSDP.cc.

References local_addr_, OASYS_BLUETOOTH_SDP_UUID, and sess_.

Referenced by BluetoothServiceRegistration().


Member Data Documentation

sdp_session_t* oasys::BluetoothServiceRegistration::sess_ [protected]

Definition at line 96 of file BluetoothSDP.h.

Referenced by register_service(), and ~BluetoothServiceRegistration().

bool oasys::BluetoothServiceRegistration::status_ [protected]

Definition at line 97 of file BluetoothSDP.h.

Referenced by BluetoothServiceRegistration(), and success().

bdaddr_t oasys::BluetoothServiceRegistration::local_addr_ [protected]

Definition at line 98 of file BluetoothSDP.h.

Referenced by BluetoothServiceRegistration(), get_local_addr(), and register_service().


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 08:43:50 2007 for DTN Reference Implementation by  doxygen 1.5.3