Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Static Public Member Functions | Public Attributes | List of all members
direct_bt::SMPEnv Class Reference

SMP Singleton runtime environment properties. More...

#include <SMPHandler.hpp>

Inheritance diagram for direct_bt::SMPEnv:
Collaboration diagram for direct_bt::SMPEnv:

Static Public Member Functions

static SMPEnvget () 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_DATA
 Debug all SMP Data communication. More...
 
const int32_t SMP_READ_COMMAND_REPLY_TIMEOUT
 Timeout for SMP read command replies, defaults to 500ms. More...
 
const int32_t SMP_WRITE_COMMAND_REPLY_TIMEOUT
 Timeout for SMP write command replies, defaults to 500ms. More...
 
const int32_t SMPPDU_RING_CAPACITY
 Medium ringbuffer capacity, defaults to 128 messages. More...
 

Detailed Description

SMP Singleton runtime environment properties.

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

Definition at line 93 of file SMPHandler.hpp.

Member Function Documentation

◆ get()

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

Definition at line 133 of file SMPHandler.hpp.

Member Data Documentation

◆ SMP_READ_COMMAND_REPLY_TIMEOUT

const int32_t direct_bt::SMPEnv::SMP_READ_COMMAND_REPLY_TIMEOUT

Timeout for SMP read command replies, defaults to 500ms.

Environment variable is 'direct_bt.smp.cmd.read.timeout'.

Definition at line 106 of file SMPHandler.hpp.

◆ SMP_WRITE_COMMAND_REPLY_TIMEOUT

const int32_t direct_bt::SMPEnv::SMP_WRITE_COMMAND_REPLY_TIMEOUT

Timeout for SMP write command replies, defaults to 500ms.

Environment variable is 'direct_bt.smp.cmd.write.timeout'.

Definition at line 114 of file SMPHandler.hpp.

◆ SMPPDU_RING_CAPACITY

const int32_t direct_bt::SMPEnv::SMPPDU_RING_CAPACITY

Medium ringbuffer capacity, defaults to 128 messages.

Environment variable is 'direct_bt.smp.ringsize'.

Definition at line 122 of file SMPHandler.hpp.

◆ DEBUG_DATA

const bool direct_bt::SMPEnv::DEBUG_DATA

Debug all SMP Data communication.

Environment variable is 'direct_bt.debug.smp.data'.

Definition at line 130 of file SMPHandler.hpp.


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