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

GATT Singleton runtime environment properties. More...

#include <BTGattHandler.hpp>

Inheritance diagram for direct_bt::BTGattEnv:
Collaboration diagram for direct_bt::BTGattEnv:

Static Public Member Functions

static BTGattEnvget () noexcept
 

Public Attributes

const int32_t GATT_READ_COMMAND_REPLY_TIMEOUT
 Timeout for GATT read command replies, defaults to 500ms. More...
 
const int32_t GATT_WRITE_COMMAND_REPLY_TIMEOUT
 Timeout for GATT write command replies, defaults to 500ms. More...
 
const int32_t GATT_INITIAL_COMMAND_REPLY_TIMEOUT
 Timeout for l2cap initial command reply, defaults to 2500ms. More...
 
const int32_t ATTPDU_RING_CAPACITY
 Medium ringbuffer capacity, defaults to 128 messages. More...
 
const bool DEBUG_DATA
 Debug all GATT Data communication. More...
 

Detailed Description

GATT Singleton runtime environment properties.

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

Definition at line 67 of file BTGattHandler.hpp.

Member Function Documentation

◆ get()

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

Definition at line 115 of file BTGattHandler.hpp.

Member Data Documentation

◆ ATTPDU_RING_CAPACITY

const int32_t direct_bt::BTGattEnv::ATTPDU_RING_CAPACITY

Medium ringbuffer capacity, defaults to 128 messages.

Environment variable is 'direct_bt.gatt.ringsize'.

Definition at line 104 of file BTGattHandler.hpp.

◆ DEBUG_DATA

const bool direct_bt::BTGattEnv::DEBUG_DATA

Debug all GATT Data communication.

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

Definition at line 112 of file BTGattHandler.hpp.

◆ GATT_INITIAL_COMMAND_REPLY_TIMEOUT

const int32_t direct_bt::BTGattEnv::GATT_INITIAL_COMMAND_REPLY_TIMEOUT

Timeout for l2cap initial command reply, defaults to 2500ms.

Environment variable is 'direct_bt.gatt.cmd.init.timeout'.

Definition at line 96 of file BTGattHandler.hpp.

◆ GATT_READ_COMMAND_REPLY_TIMEOUT

const int32_t direct_bt::BTGattEnv::GATT_READ_COMMAND_REPLY_TIMEOUT

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

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

Definition at line 80 of file BTGattHandler.hpp.

◆ GATT_WRITE_COMMAND_REPLY_TIMEOUT

const int32_t direct_bt::BTGattEnv::GATT_WRITE_COMMAND_REPLY_TIMEOUT

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

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

Definition at line 88 of file BTGattHandler.hpp.


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