Testing a full Bluetooth server and client lifecycle of operations, requiring two BT adapter:
More...
#include <dbt_client_server1x.hpp>
|
void | set_client_reset_at_ready (const bool v) noexcept |
|
void | set_server_reset_at_ready (const bool v) noexcept |
|
void | test8x_fullCycle (const std::string &suffix, const int max_connections_per_session, const bool expSuccess, const bool server_client_order, const std::shared_ptr< DBTServerTest > &server, const BTSecurityLevel secLevelServer, const ExpectedPairing serverExpPairing, const std::shared_ptr< DBTClientTest > &client, const BTSecurityLevel secLevelClient, const ExpectedPairing clientExpPairing) |
|
void | test8x_fullCycle (const std::string &suffix, const int protocolSessionCount, const bool server_client_order, const bool serverSC, const BTSecurityLevel secLevelServer, const ExpectedPairing serverExpPairing, const BTSecurityLevel secLevelClient, const ExpectedPairing clientExpPairing) |
|
Testing a full Bluetooth server and client lifecycle of operations, requiring two BT adapter:
- start server advertising
- start client discovery and connect to server when discovered
- client/server processing of connection when ready
- client disconnect
- server stop advertising
- security-level: NONE, ENC_ONLY freshly-paired and ENC_ONLY pre-paired
- reuse server-adapter for client-mode discovery (just toggle on/off)
Definition at line 50 of file dbt_client_server1x.hpp.
◆ set_client_reset_at_ready()
void DBTClientServer1x::set_client_reset_at_ready |
( |
const bool |
v | ) |
|
|
inlinenoexcept |
◆ set_server_reset_at_ready()
void DBTClientServer1x::set_server_reset_at_ready |
( |
const bool |
v | ) |
|
|
inlinenoexcept |
◆ test8x_fullCycle() [1/2]
void DBTClientServer1x::test8x_fullCycle |
( |
const std::string & |
suffix, |
|
|
const int |
protocolSessionCount, |
|
|
const bool |
server_client_order, |
|
|
const bool |
serverSC, |
|
|
const BTSecurityLevel |
secLevelServer, |
|
|
const ExpectedPairing |
serverExpPairing, |
|
|
const BTSecurityLevel |
secLevelClient, |
|
|
const ExpectedPairing |
clientExpPairing |
|
) |
| |
|
inline |
◆ test8x_fullCycle() [2/2]
The documentation for this class was generated from the following file: