Direct-BT v3.3.0-1-gc2d430c
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=default |
HCIPacketType | getPacketType () noexcept |
jau::TROOctets & | getPDU () noexcept |
Return the underlying octets read only. More... | |
constexpr jau::nsize_t | getTotalSize () const 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 | baseString () const noexcept |
virtual std::string | nameString () const noexcept |
virtual std::string | valueString () const noexcept |
Static Protected Member Functions | |
static void | checkPacketType (const HCIPacketType type) |
Protected Attributes | |
jau::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
Definition at line 531 of file HCITypes.hpp.
|
inline |
Definition at line 560 of file HCITypes.hpp.
|
inline |
Persistent memory, w/ ownership .
Definition at line 570 of file HCITypes.hpp.
|
virtualdefaultnoexcept |
|
inlinestaticprotected |
|
inlineprotectedvirtualnoexcept |
Reimplemented in direct_bt::HCICommand, direct_bt::HCIDisconnectCmd, direct_bt::HCILEEnableEncryptionCmd, direct_bt::HCILELTKReplyAckCmd, direct_bt::HCILELTKReplyRejCmd, direct_bt::HCIStructCommand< hcistruct >, direct_bt::HCIEvent, direct_bt::HCIDisconnectionCompleteEvent, direct_bt::HCICommandCompleteEvent, direct_bt::HCICommandStatusEvent, direct_bt::HCIMetaEvent, and direct_bt::HCILELTKReqEvent.
Definition at line 553 of file HCITypes.hpp.
|
inlineprotectedvirtualnoexcept |
Reimplemented in direct_bt::HCICommand, direct_bt::HCIEvent, direct_bt::HCIDisconnectionCompleteEvent, direct_bt::HCICommandCompleteEvent, direct_bt::HCICommandStatusEvent, and direct_bt::HCIMetaEvent.
Definition at line 555 of file HCITypes.hpp.
|
inlineprotectedvirtualnoexcept |
Reimplemented in direct_bt::HCICommand, direct_bt::HCIDisconnectCmd, direct_bt::HCILEEnableEncryptionCmd, direct_bt::HCILELTKReplyAckCmd, direct_bt::HCILELTKReplyRejCmd, direct_bt::HCIEvent, and direct_bt::HCILELTKReqEvent.
Definition at line 557 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 588 of file HCITypes.hpp.
|
inlineconstexprnoexcept |
|
inlinenoexcept |
Return the underlying octets read only.
Definition at line 593 of file HCITypes.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |
Definition at line 533 of file HCITypes.hpp.
|
friend |
Definition at line 534 of file HCITypes.hpp.
|
protected |
Definition at line 537 of file HCITypes.hpp.