Direct-BT  2.3.1
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
 

Public Attributes

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...
 
const bool DEBUG_DATA
 Debug all GATT Data communication. More...
 

Detailed Description

L2CAP Singleton runtime environment properties.

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

Definition at line 59 of file L2CAPComm.hpp.

Member Function Documentation

◆ get()

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

Definition at line 94 of file L2CAPComm.hpp.

Member Data Documentation

◆ 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 91 of file L2CAPComm.hpp.

◆ 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 72 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 83 of file L2CAPComm.hpp.


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