Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
#include <dbt_server_test.hpp>
Public Member Functions | |
virtual BTSecurityLevel | getSecurityLevel ()=0 |
virtual HCIStatusCode | startAdvertising (const std::string &msg)=0 |
Public Member Functions inherited from DBTEndpoint | |
virtual | ~DBTEndpoint ()=default |
virtual void | close (const std::string &msg)=0 |
virtual BTAdapterRef | getAdapter ()=0 |
Return the adapter for this endpoint. More... | |
virtual int | getDisconnectCount ()=0 |
virtual std::string | getName ()=0 |
Return name of this endpoint, which becomes the adapter's name. More... | |
virtual int | getProtocolSessionsDoneSuccess ()=0 |
virtual int | getProtocolSessionsDoneTotal ()=0 |
virtual int | getProtocolSessionsLeft ()=0 |
virtual bool | initAdapter (BTAdapterRef adapter)=0 |
Initialize the given adapter for this endpoint. More... | |
virtual void | setAdapter (BTAdapterRef a)=0 |
Set the server adapter for this endpoint. More... | |
virtual void | setProtocolSessionsLeft (const int v)=0 |
Static Public Member Functions | |
static void | startAdvertising (const DBTServerTestRef &server, const bool current_exp_advertising_state, const std::string &msg) |
static void | stop (const DBTServerTestRef &server, const std::string &msg) |
Static Public Member Functions inherited from DBTEndpoint | |
static void | checkInitializedState (const DBTEndpointRef &endp) |
static ChangedAdapterSetCallback | initChangedAdapterSetListener (const BTManagerRef &manager, std::vector< DBTEndpointRef > endpts) |
static void | myChangedAdapterSetFunc (const bool added, BTAdapterRef &adapter) |
static void | startDiscovery (const BTAdapterRef &adapter, const bool current_exp_discovering_state) |
static void | stopDiscovery (const BTAdapterRef &adapter, const bool current_exp_discovering_state) |
Additional Inherited Members | |
Static Public Attributes inherited from DBTEndpoint | |
static std::vector< DBTEndpointRef > | cas_endpts |
static std::mutex | mtx_cas_endpts |
Definition at line 33 of file dbt_server_test.hpp.
|
pure virtual |
Implemented in DBTServer01.
|
pure virtual |
|
inlinestatic |
Definition at line 40 of file dbt_server_test.hpp.
|
inlinestatic |