#include <BluetoothSDP.h>
Inheritance diagram for oasys::BluetoothServiceDiscoveryClient:
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_ |
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.
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] |
u_int8_t oasys::BluetoothServiceDiscoveryClient::channel | ( | ) | [inline] |
const std::string& oasys::BluetoothServiceDiscoveryClient::remote_eid | ( | ) | [inline] |
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] |
u_int8_t oasys::BluetoothServiceDiscoveryClient::channel_ [protected] |
Definition at line 75 of file BluetoothSDP.h.
Referenced by BluetoothServiceDiscoveryClient(), channel(), and is_dtn_router().