Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
HCI Singleton runtime environment properties. More...
#include <HCIHandler.hpp>
Static Public Member Functions | |
static HCIEnv & | get () 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_EVENT |
Debug all HCI event communication. More... | |
const bool | DEBUG_SCAN_AD_EIR |
Debug all scanned HCI 'Advertising Data' (AD) 'Extended Inquiry Response' (EIR) packages. More... | |
const jau::fraction_i64 | HCI_COMMAND_COMPLETE_REPLY_TIMEOUT |
Timeout for HCI command complete replies, defaults to 10s. More... | |
const jau::fraction_i64 | HCI_COMMAND_POLL_PERIOD |
Poll period for certain HCI commands actively waiting for clearance, defaults to 125ms. More... | |
const jau::fraction_i64 | HCI_COMMAND_STATUS_REPLY_TIMEOUT |
Timeout for HCI command status replies, excluding command complete, defaults to 3s. More... | |
const int32_t | HCI_EVT_RING_CAPACITY |
Small ringbuffer capacity for synchronized commands, defaults to 64 messages. More... | |
const jau::fraction_i64 | HCI_READER_THREAD_POLL_TIMEOUT |
Poll timeout for HCI reader thread, defaults to 10s. More... | |
Friends | |
class | HCIHandler |
HCI Singleton runtime environment properties.
Also see DBTEnv::getExplodingProperties(const std::string & prefixDomain)
.
Definition at line 74 of file HCIHandler.hpp.
|
inlinestaticnoexcept |
|
friend |
Definition at line 75 of file HCIHandler.hpp.
const jau::fraction_i64 direct_bt::HCIEnv::HCI_READER_THREAD_POLL_TIMEOUT |
Poll timeout for HCI reader thread, defaults to 10s.
Environment variable is 'direct_bt.hci.reader.timeout'.
Definition at line 89 of file HCIHandler.hpp.
const jau::fraction_i64 direct_bt::HCIEnv::HCI_COMMAND_STATUS_REPLY_TIMEOUT |
Timeout for HCI command status replies, excluding command complete, defaults to 3s.
Environment variable is 'direct_bt.hci.cmd.status.timeout'.
Definition at line 97 of file HCIHandler.hpp.
const jau::fraction_i64 direct_bt::HCIEnv::HCI_COMMAND_COMPLETE_REPLY_TIMEOUT |
Timeout for HCI command complete replies, defaults to 10s.
This timeout is rather longer, as it may include waiting for pending command complete.
Environment variable is 'direct_bt.hci.cmd.complete.timeout'.
Definition at line 106 of file HCIHandler.hpp.
const jau::fraction_i64 direct_bt::HCIEnv::HCI_COMMAND_POLL_PERIOD |
Poll period for certain HCI commands actively waiting for clearance, defaults to 125ms.
Used for LE_Create_Connection or Create_Connection when waiting for any pending connection commands or the addressed device's disconnect command to been completed up to HCI_COMMAND_COMPLETE_REPLY_TIMEOUT.
Environment variable is 'direct_bt.hci.cmd.complete.timeout'.
Definition at line 119 of file HCIHandler.hpp.
const int32_t direct_bt::HCIEnv::HCI_EVT_RING_CAPACITY |
Small ringbuffer capacity for synchronized commands, defaults to 64 messages.
Environment variable is 'direct_bt.hci.ringsize'.
Definition at line 127 of file HCIHandler.hpp.
const bool direct_bt::HCIEnv::DEBUG_EVENT |
Debug all HCI event communication.
Environment variable is 'direct_bt.debug.hci.event'.
Definition at line 135 of file HCIHandler.hpp.
const bool direct_bt::HCIEnv::DEBUG_SCAN_AD_EIR |
Debug all scanned HCI 'Advertising Data' (AD) 'Extended Inquiry Response' (EIR) packages.
Environment variable is 'direct_bt.debug.hci.scan_ad_eir'.
Definition at line 143 of file HCIHandler.hpp.