Read/Write HCI communication channel.
More...
#include <HCIComm.hpp>
Read/Write HCI communication channel.
Definition at line 52 of file HCIComm.hpp.
◆ HCIComm() [1/2]
direct_bt::HCIComm::HCIComm |
( |
const uint16_t |
dev_id, |
|
|
const uint16_t |
channel |
|
) |
| |
|
noexcept |
Constructing a newly opened HCI communication channel instance.
Definition at line 105 of file HCIComm.cpp.
◆ HCIComm() [2/2]
direct_bt::HCIComm::HCIComm |
( |
const HCIComm & |
| ) |
|
|
delete |
◆ ~HCIComm()
direct_bt::HCIComm::~HCIComm |
( |
| ) |
|
|
inlinenoexcept |
◆ close()
void direct_bt::HCIComm::close |
( |
| ) |
|
|
noexcept |
◆ filter_all_events()
static void direct_bt::HCIComm::filter_all_events |
( |
hci_ufilter * |
f | ) |
|
|
inlinestaticnoexcept |
◆ filter_all_ptypes()
static void direct_bt::HCIComm::filter_all_ptypes |
( |
hci_ufilter * |
f | ) |
|
|
inlinestaticnoexcept |
◆ filter_clear()
static void direct_bt::HCIComm::filter_clear |
( |
hci_ufilter * |
f | ) |
|
|
inlinestaticnoexcept |
◆ filter_clear_event()
static void direct_bt::HCIComm::filter_clear_event |
( |
int |
e, |
|
|
hci_ufilter * |
f |
|
) |
| |
|
inlinestaticnoexcept |
◆ filter_clear_opcode()
static void direct_bt::HCIComm::filter_clear_opcode |
( |
hci_ufilter * |
f | ) |
|
|
inlinestaticnoexcept |
◆ filter_clear_ptype()
static void direct_bt::HCIComm::filter_clear_ptype |
( |
int |
t, |
|
|
hci_ufilter * |
f |
|
) |
| |
|
inlinestaticnoexcept |
◆ filter_set_event()
static void direct_bt::HCIComm::filter_set_event |
( |
int |
e, |
|
|
hci_ufilter * |
f |
|
) |
| |
|
inlinestaticnoexcept |
◆ filter_set_opcode()
static void direct_bt::HCIComm::filter_set_opcode |
( |
uint16_t |
opcode, |
|
|
hci_ufilter * |
f |
|
) |
| |
|
inlinestaticnoexcept |
◆ filter_set_ptype()
static void direct_bt::HCIComm::filter_set_ptype |
( |
int |
t, |
|
|
hci_ufilter * |
f |
|
) |
| |
|
inlinestaticnoexcept |
◆ filter_test_event()
static int direct_bt::HCIComm::filter_test_event |
( |
int |
e, |
|
|
hci_ufilter * |
f |
|
) |
| |
|
inlinestaticnoexcept |
◆ filter_test_opcode()
static int direct_bt::HCIComm::filter_test_opcode |
( |
uint16_t |
opcode, |
|
|
hci_ufilter * |
f |
|
) |
| |
|
inlinestaticnoexcept |
◆ filter_test_ptype()
static int direct_bt::HCIComm::filter_test_ptype |
( |
int |
t, |
|
|
hci_ufilter * |
f |
|
) |
| |
|
inlinestaticnoexcept |
◆ getSocketDescriptor()
int direct_bt::HCIComm::getSocketDescriptor |
( |
| ) |
const |
|
inlinenoexcept |
Return this HCI socket descriptor.
Definition at line 84 of file HCIComm.hpp.
◆ isOpen()
bool direct_bt::HCIComm::isOpen |
( |
| ) |
const |
|
inlinenoexcept |
◆ mutex_write()
std::recursive_mutex& direct_bt::HCIComm::mutex_write |
( |
| ) |
|
|
inlinenoexcept |
Return the recursive write mutex for multithreading access.
Definition at line 87 of file HCIComm.hpp.
◆ operator=()
void direct_bt::HCIComm::operator= |
( |
const HCIComm & |
| ) |
|
|
delete |
◆ read()
Generic read w/ own timeoutMS, w/o locking suitable for a unique ringbuffer sink.
Definition at line 141 of file HCIComm.cpp.
◆ write()
◆ channel
const uint16_t direct_bt::HCIComm::channel |
◆ dev_id
const uint16_t direct_bt::HCIComm::dev_id |
The documentation for this class was generated from the following files:
- /usr/local/projects/direct_bt/api/direct_bt/HCIComm.hpp
- /usr/local/projects/direct_bt/src/direct_bt/HCIComm.cpp