aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-02-01 16:33:36 +0100
committerSven Gothel <[email protected]>2021-02-01 16:33:36 +0100
commitb59336ba412fb61046d7f896320b26e797d834e4 (patch)
tree4a138adc72bb3f0be5182a6426877b63135d369c
parentd19ada36815a992733b9530e8e218cdc97f26dc0 (diff)
HCIHandle: Expose const HCIEnv singleton instance
-rw-r--r--api/direct_bt/HCIHandler.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/direct_bt/HCIHandler.hpp b/api/direct_bt/HCIHandler.hpp
index 2fe37b48..50de109f 100644
--- a/api/direct_bt/HCIHandler.hpp
+++ b/api/direct_bt/HCIHandler.hpp
@@ -168,6 +168,8 @@ namespace direct_bt {
static const pid_t pidSelf;
+ const HCIEnv & env;
+
private:
class HCIConnection {
private:
@@ -214,7 +216,6 @@ namespace direct_bt {
static MgmtEvent::Opcode translate(HCIEventType evt, HCIMetaEventType met) noexcept;
- const HCIEnv & env;
const uint16_t dev_id;
POctets rbuffer;
HCIComm comm;