#include <BluetoothSDP.h>
Inheritance diagram for oasys::BluetoothServiceDiscoveryClient:
Definition at line 98 of file BluetoothSDP.h.
Public Member Functions | |
BluetoothServiceDiscoveryClient (const char *logpath="/dtn/bt/sdp/client") | |
~BluetoothServiceDiscoveryClient () | |
bool | is_dtn_router (bdaddr_t addr) |
void | set_local_addr (bdaddr_t &addr) |
void | get_local_addr (bdaddr_t &addr) |
Protected Member Functions | |
sdp_record_t * | get_next_service_record () |
bool | connect () |
bool | close () |
sdp_list_t * | do_search () |
Protected Attributes | |
bdaddr_t | remote_addr_ |
bdaddr_t | local_addr_ |
SDPListHead * | response_list_ |
sdp_session_t * | session_handle_ |
oasys::BluetoothServiceDiscoveryClient::BluetoothServiceDiscoveryClient | ( | const char * | logpath = "/dtn/bt/sdp/client" |
) |
oasys::BluetoothServiceDiscoveryClient::~BluetoothServiceDiscoveryClient | ( | ) |
bool oasys::BluetoothServiceDiscoveryClient::is_dtn_router | ( | bdaddr_t | addr | ) |
Definition at line 166 of file BluetoothSDP.cc.
References errno, get_next_service_record(), log_debug, and remote_addr_.
Referenced by dtn::BluetoothConvergenceLayer::NeighborDiscovery::run().
void oasys::BluetoothServiceDiscoveryClient::set_local_addr | ( | bdaddr_t & | addr | ) | [inline] |
Definition at line 106 of file BluetoothSDP.h.
References local_addr_.
Referenced by dtn::BluetoothConvergenceLayer::NeighborDiscovery::run().
void oasys::BluetoothServiceDiscoveryClient::get_local_addr | ( | bdaddr_t & | addr | ) | [inline] |
sdp_record_t * oasys::BluetoothServiceDiscoveryClient::get_next_service_record | ( | ) | [protected] |
Definition at line 135 of file BluetoothSDP.cc.
References do_search(), oasys::SDPListHead::next(), and response_list_.
Referenced by is_dtn_router().
bool oasys::BluetoothServiceDiscoveryClient::connect | ( | ) | [protected] |
Definition at line 44 of file BluetoothSDP.cc.
References errno, local_addr_, log_debug, remote_addr_, and session_handle_.
Referenced by do_search().
bool oasys::BluetoothServiceDiscoveryClient::close | ( | ) | [protected] |
Definition at line 66 of file BluetoothSDP.cc.
References session_handle_.
Referenced by ~BluetoothServiceDiscoveryClient().
sdp_list_t * oasys::BluetoothServiceDiscoveryClient::do_search | ( | ) | [protected] |
Definition at line 78 of file BluetoothSDP.cc.
References connect(), errno, log_debug, OASYS_BLUETOOTH_SDP_UUID, and session_handle_.
Referenced by get_next_service_record().
bdaddr_t oasys::BluetoothServiceDiscoveryClient::remote_addr_ [protected] |
bdaddr_t oasys::BluetoothServiceDiscoveryClient::local_addr_ [protected] |
Definition at line 127 of file BluetoothSDP.h.
Referenced by BluetoothServiceDiscoveryClient(), connect(), get_local_addr(), and set_local_addr().
Definition at line 128 of file BluetoothSDP.h.
Referenced by get_next_service_record(), and ~BluetoothServiceDiscoveryClient().
sdp_session_t* oasys::BluetoothServiceDiscoveryClient::session_handle_ [protected] |