Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Functions | Variables
BTManager.cpp File Reference
#include <cstring>
#include <string>
#include <memory>
#include <cstdint>
#include <cstdio>
#include <algorithm>
#include <jau/debug.hpp>
#include <jau/basic_algos.hpp>
#include "BTIoctl.hpp"
#include "HCIIoctl.hpp"
#include "HCIComm.hpp"
#include "BTTypes1.hpp"
#include "SMPHandler.hpp"
#include "BTAdapter.hpp"
#include "BTManager.hpp"
#include <inttypes.h>
#include <unistd.h>
#include <poll.h>
#include <signal.h>
Include dependency graph for BTManager.cpp:

Go to the source code of this file.

Functions

static void mgmthandler_sigaction (int sig, siginfo_t *info, void *ucontext) noexcept
 

Variables

static MgmtAdapterEventCallbackList::equal_comparator _mgmtAdapterEventCallbackEqComp_ID_CB
 
static MgmtAdapterEventCallbackList::equal_comparator _mgmtAdapterEventCallbackEqComp_CB
 
static MgmtAdapterEventCallbackList::equal_comparator _mgmtAdapterEventCallbackEqComp_ID
 
static ChangedAdapterSetCallbackList::equal_comparator _changedAdapterSetCallbackEqComp
 ChangedAdapterSetCallback handling. More...
 

Function Documentation

◆ mgmthandler_sigaction()

static void mgmthandler_sigaction ( int  sig,
siginfo_t *  info,
void *  ucontext 
)
staticnoexcept

Definition at line 176 of file BTManager.cpp.

Variable Documentation

◆ _changedAdapterSetCallbackEqComp

ChangedAdapterSetCallbackList::equal_comparator _changedAdapterSetCallbackEqComp
static
Initial value:
=
[](const ChangedAdapterSetCallback& a, const ChangedAdapterSetCallback& b) -> bool { return a == b; }

ChangedAdapterSetCallback handling.

Definition at line 1226 of file BTManager.cpp.

◆ _mgmtAdapterEventCallbackEqComp_CB

MgmtAdapterEventCallbackList::equal_comparator _mgmtAdapterEventCallbackEqComp_CB
static
Initial value:
=
[](const MgmtAdapterEventCallback &a, const MgmtAdapterEventCallback &b) -> bool { return a.getCallback() == b.getCallback(); }

Definition at line 1111 of file BTManager.cpp.

◆ _mgmtAdapterEventCallbackEqComp_ID

MgmtAdapterEventCallbackList::equal_comparator _mgmtAdapterEventCallbackEqComp_ID
static
Initial value:
=
[](const MgmtAdapterEventCallback &a, const MgmtAdapterEventCallback &b) -> bool { return a.getDevID() == b.getDevID(); }

Definition at line 1114 of file BTManager.cpp.

◆ _mgmtAdapterEventCallbackEqComp_ID_CB

MgmtAdapterEventCallbackList::equal_comparator _mgmtAdapterEventCallbackEqComp_ID_CB
static
Initial value:
=
[](const MgmtAdapterEventCallback &a, const MgmtAdapterEventCallback &b) -> bool { return a == b; }

Definition at line 1108 of file BTManager.cpp.

direct_bt::MgmtAdapterEventCallback::getDevID
int getDevID() const noexcept
Unique adapter index filter or -1 to listen for all adapter.
Definition: MgmtTypes.hpp:2254
direct_bt::MgmtAdapterEventCallback
Definition: MgmtTypes.hpp:2235
jau::FunctionDef
Definition: function_def.hpp:309
direct_bt::MgmtAdapterEventCallback::getCallback
MgmtEventCallback & getCallback() noexcept
MgmtEventCallback reference.
Definition: MgmtTypes.hpp:2257