#include <BluetoothSDP.h>
Inheritance diagram for oasys::BluetoothServiceRegistration:
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_ |
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] |
bool oasys::BluetoothServiceRegistration::success | ( | ) | [inline] |
void oasys::BluetoothServiceRegistration::get_local_addr | ( | bdaddr_t & | addr | ) | [inline] |
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().
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().