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

L2CAP Singleton runtime environment properties. More...

#include <L2CAPComm.hpp>

Inheritance diagram for direct_bt::L2CAPEnv:
Collaboration diagram for direct_bt::L2CAPEnv:

Static Public Member Functions

static L2CAPEnvget () 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 GATT Data communication. More...
 
const int32_t L2CAP_READER_POLL_TIMEOUT
 L2CAP poll timeout for reading, defaults to 10s. More...
 
const int32_t L2CAP_RESTART_COUNT_ON_ERROR
 Debugging facility: L2CAP restart count on transmission errors, defaults to 5 attempts. More...
 

Detailed Description

L2CAP Singleton runtime environment properties.

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

Definition at line 69 of file L2CAPComm.hpp.

Member Function Documentation

◆ get()

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

Definition at line 104 of file L2CAPComm.hpp.

Member Data Documentation

◆ L2CAP_READER_POLL_TIMEOUT

const int32_t direct_bt::L2CAPEnv::L2CAP_READER_POLL_TIMEOUT

L2CAP poll timeout for reading, defaults to 10s.

Environment variable is 'direct_bt.l2cap.reader.timeout'.

Definition at line 82 of file L2CAPComm.hpp.

◆ L2CAP_RESTART_COUNT_ON_ERROR

const int32_t direct_bt::L2CAPEnv::L2CAP_RESTART_COUNT_ON_ERROR

Debugging facility: L2CAP restart count on transmission errors, defaults to 5 attempts.

If negative, L2CAPComm will abort() the program.

Environment variable is 'direct_bt.l2cap.restart.count'.

Definition at line 93 of file L2CAPComm.hpp.

◆ DEBUG_DATA

const bool direct_bt::L2CAPEnv::DEBUG_DATA

Debug all GATT Data communication.

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

Definition at line 101 of file L2CAPComm.hpp.


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