Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
BT Core Spec v5.2: Vol 4, Part E HCI: 5.4 Exchange of HCI-specific information. More...
#include <HCITypes.hpp>
Public Member Functions | |
HCIPacket (const HCIPacketType type, const jau::nsize_t total_packet_size) | |
HCIPacket (const uint8_t *packet_data, const jau::nsize_t total_packet_size) | |
Persistent memory, w/ ownership . More... | |
virtual | ~HCIPacket () noexcept |
constexpr jau::nsize_t | getTotalSize () const noexcept |
TROOctets & | getPDU () noexcept |
Return the underlying octets read only. More... | |
HCIPacketType | getPacketType () noexcept |
std::string | toString () const noexcept |
Static Public Member Functions | |
template<class T > | |
static T * | clone (const T &source) noexcept |
Clone template for convenience, based on derived class's copy-constructor. More... | |
Protected Member Functions | |
virtual std::string | nameString () const noexcept |
virtual std::string | baseString () const noexcept |
virtual std::string | valueString () const noexcept |
Static Protected Member Functions | |
static void | checkPacketType (const HCIPacketType type) |
Protected Attributes | |
POctets | pdu |
Friends | |
template<typename T > | |
class | HCIStructCmdCompleteEvtWrap |
template<typename T > | |
class | HCIStructCmdCompleteMetaEvtWrap |
BT Core Spec v5.2: Vol 4, Part E HCI: 5.4 Exchange of HCI-specific information.
BT Core Spec v5.2: Vol 4, Part E HCI: 5.4.1 HCI Command packet
BT Core Spec v5.2: Vol 4, Part E HCI: 5.4.4 HCI Event packet
__u8 packet_type;
Definition at line 463 of file HCITypes.hpp.
|
inline |
|
inline |
Persistent memory, w/ ownership .
Definition at line 502 of file HCITypes.hpp.
|
inlinevirtualnoexcept |
Definition at line 511 of file HCITypes.hpp.
|
inlineprotectedvirtualnoexcept |
Reimplemented in direct_bt::HCIMetaEvent, direct_bt::HCICommandStatusEvent, direct_bt::HCICommandCompleteEvent, direct_bt::HCIDisconnectionCompleteEvent, direct_bt::HCIEvent, and direct_bt::HCICommand.
Definition at line 487 of file HCITypes.hpp.
|
inlinestaticprotected |
Definition at line 471 of file HCITypes.hpp.
|
inlinestaticnoexcept |
Clone template for convenience, based on derived class's copy-constructor.
T | The derived definite class type, deducible by source argument |
source | the source to be copied |
Definition at line 520 of file HCITypes.hpp.
|
inlinenoexcept |
Definition at line 527 of file HCITypes.hpp.
|
inlinenoexcept |
Return the underlying octets read only.
Definition at line 525 of file HCITypes.hpp.
|
inlineconstexprnoexcept |
Definition at line 522 of file HCITypes.hpp.
|
inlineprotectedvirtualnoexcept |
Reimplemented in direct_bt::HCIMetaEvent, direct_bt::HCICommandStatusEvent, direct_bt::HCICommandCompleteEvent, direct_bt::HCIDisconnectionCompleteEvent, direct_bt::HCIEvent, direct_bt::HCIStructCommand< hcistruct >, direct_bt::HCIDisconnectCmd, and direct_bt::HCICommand.
Definition at line 485 of file HCITypes.hpp.
|
inlinenoexcept |
Definition at line 529 of file HCITypes.hpp.
|
inlineprotectedvirtualnoexcept |
Reimplemented in direct_bt::HCIEvent, and direct_bt::HCICommand.
Definition at line 489 of file HCITypes.hpp.
|
friend |
Definition at line 465 of file HCITypes.hpp.
|
friend |
Definition at line 466 of file HCITypes.hpp.
|
protected |
Definition at line 469 of file HCITypes.hpp.