Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Static Public Member Functions | Public Attributes | Friends | List of all members
direct_bt::MgmtEnv Class Reference

Managment Singleton runtime environment properties. More...

#include <BTManager.hpp>

Inheritance diagram for direct_bt::MgmtEnv:
Collaboration diagram for direct_bt::MgmtEnv:

Static Public Member Functions

static MgmtEnvget () noexcept
 

Public Attributes

const bool DEBUG_GLOBAL
 Global Debug flag, retrieved first to triggers DBTEnv initialization. More...
 
const int32_t MGMT_READER_THREAD_POLL_TIMEOUT
 Poll timeout for mgmt reader thread, defaults to 10s. More...
 
const int32_t 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 bool DEBUG_EVENT
 Debug all Mgmt event communication. More...
 
const BTMode DEFAULT_BTMODE
 Default BTMode when initializing new adapter. More...
 

Friends

class BTManager
 

Detailed Description

Managment Singleton runtime environment properties.

Also see DBTEnv::getExplodingProperties(const std::string & prefixDomain).

Definition at line 60 of file BTManager.hpp.

Member Function Documentation

◆ get()

static MgmtEnv& direct_bt::MgmtEnv::get ( )
inlinestaticnoexcept

Definition at line 123 of file BTManager.hpp.

Friends And Related Function Documentation

◆ BTManager

friend class BTManager
friend

Definition at line 61 of file BTManager.hpp.

Member Data Documentation

◆ DEBUG_EVENT

const bool direct_bt::MgmtEnv::DEBUG_EVENT

Debug all Mgmt event communication.

Environment variable is 'direct_bt.debug.mgmt.event'.

Definition at line 105 of file BTManager.hpp.

◆ DEBUG_GLOBAL

const bool direct_bt::MgmtEnv::DEBUG_GLOBAL

Global Debug flag, retrieved first to triggers DBTEnv initialization.

Definition at line 68 of file BTManager.hpp.

◆ DEFAULT_BTMODE

const BTMode direct_bt::MgmtEnv::DEFAULT_BTMODE

Default BTMode when initializing new adapter.

Environment variable is 'direct_bt.mgmt.btmode' first, then try 'org.tinyb.btmode'.

Default is BTMode::DUAL, if non of the above environment variable is set.

Definition at line 116 of file BTManager.hpp.

◆ MGMT_COMMAND_REPLY_TIMEOUT

const int32_t 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 89 of file BTManager.hpp.

◆ MGMT_EVT_RING_CAPACITY

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 97 of file BTManager.hpp.

◆ MGMT_READER_THREAD_POLL_TIMEOUT

const int32_t 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 81 of file BTManager.hpp.


The documentation for this class was generated from the following files: