Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
Managment Singleton runtime environment properties. More...
#include <BTManager.hpp>
Static Public Member Functions | |
static MgmtEnv & | get () noexcept |
Static Public Member Functions inherited from jau::root_environment | |
static bool | is_terminating () noexcept |
Returns true if program is terminating as detected via atexit() callback or set_terminating() has been called. More... | |
static void | set_terminating () noexcept |
Optional path to signal early termination, i.e. More... | |
Public Attributes | |
const bool | DEBUG_EVENT |
Debug all Mgmt event communication. More... | |
const bool | DEBUG_GLOBAL |
Global Debug flag, retrieved first to triggers DBTEnv initialization. More... | |
const jau::fraction_i64 | MGMT_COMMAND_REPLY_TIMEOUT |
Timeout for mgmt command replies, defaults to 3s. More... | |
const int32_t | MGMT_EVT_RING_CAPACITY |
Small ringbuffer capacity for synchronized commands, defaults to 64 messages. More... | |
const jau::fraction_i64 | MGMT_READER_THREAD_POLL_TIMEOUT |
Poll timeout for mgmt reader thread, defaults to 10s. More... | |
const jau::fraction_i64 | MGMT_SET_POWER_COMMAND_TIMEOUT |
Timeout for mgmt SET_POWER command reply, defaults to max(MGMT_COMMAND_REPLY_TIMEOUT, 6s). More... | |
Friends | |
class | BTManager |
Managment Singleton runtime environment properties.
Also see DBTEnv::getExplodingProperties(const std::string & prefixDomain)
.
Definition at line 67 of file BTManager.hpp.
|
inlinestaticnoexcept |
Definition at line 126 of file BTManager.hpp.
|
friend |
Definition at line 68 of file BTManager.hpp.
const bool direct_bt::MgmtEnv::DEBUG_GLOBAL |
Global Debug flag, retrieved first to triggers DBTEnv initialization.
Definition at line 75 of file BTManager.hpp.
const jau::fraction_i64 direct_bt::MgmtEnv::MGMT_READER_THREAD_POLL_TIMEOUT |
Poll timeout for mgmt reader thread, defaults to 10s.
Environment variable is 'direct_bt.mgmt.reader.timeout'.
Definition at line 87 of file BTManager.hpp.
const jau::fraction_i64 direct_bt::MgmtEnv::MGMT_COMMAND_REPLY_TIMEOUT |
Timeout for mgmt command replies, defaults to 3s.
Environment variable is 'direct_bt.mgmt.cmd.timeout'.
Definition at line 95 of file BTManager.hpp.
const jau::fraction_i64 direct_bt::MgmtEnv::MGMT_SET_POWER_COMMAND_TIMEOUT |
Timeout for mgmt SET_POWER command reply, defaults to max(MGMT_COMMAND_REPLY_TIMEOUT, 6s).
Environment variable is 'direct_bt.mgmt.setpower.timeout'.
Definition at line 103 of file BTManager.hpp.
const int32_t direct_bt::MgmtEnv::MGMT_EVT_RING_CAPACITY |
Small ringbuffer capacity for synchronized commands, defaults to 64 messages.
Environment variable is 'direct_bt.mgmt.ringsize'.
Definition at line 111 of file BTManager.hpp.
const bool direct_bt::MgmtEnv::DEBUG_EVENT |
Debug all Mgmt event communication.
Environment variable is 'direct_bt.debug.mgmt.event'.
Definition at line 119 of file BTManager.hpp.