BT Core Spec v5.2: Vol 4, Part E HCI: 5.4.2 HCI ACL Data packets.
More...
#include <HCITypes.hpp>
|
static std::unique_ptr< HCIACLData > | getSpecialized (const uint8_t *buffer, jau::nsize_t const buffer_size) noexcept |
| Return a newly created specialized instance pointer to base class. More...
|
|
constexpr static uint16_t | get_handle (const uint16_t handle_and_flags) noexcept |
| Returns the handle. More...
|
|
constexpr static uint8_t | get_pbflag (const uint16_t handle_and_flags) noexcept |
| Returns the Packet_Boundary_Flag. More...
|
|
constexpr static uint8_t | get_bcflag (const uint16_t handle_and_flags) noexcept |
| Returns the Broadcast_Flag. More...
|
|
template<class T > |
static T * | clone (const T &source) noexcept |
| Clone template for convenience, based on derived class's copy-constructor. More...
|
|
BT Core Spec v5.2: Vol 4, Part E HCI: 5.4.2 HCI ACL Data packets.
BT Core Spec v5.2: Vol 4, Part E HCI: 7.7 Events
ACL Data allows us to receive SMPPDUMsg inside an HCIACLData::l2cap_frame via HCIACLData::getL2CAPFrame() and HCIACLData::l2cap_frame::getSMPPDUMsg().
uint16_t handle;
uint16_t len;
uint8_t data[len];
Definition at line 663 of file HCITypes.hpp.
◆ HCIACLData()
direct_bt::HCIACLData::HCIACLData |
( |
const uint8_t * |
buffer, |
|
|
const jau::nsize_t |
buffer_len |
|
) |
| |
|
inline |
Persistent memory, w/ ownership .
Definition at line 742 of file HCITypes.hpp.
◆ get_bcflag()
constexpr static uint8_t direct_bt::HCIACLData::get_bcflag |
( |
const uint16_t |
handle_and_flags | ) |
|
|
inlinestaticconstexprnoexcept |
◆ get_handle()
constexpr static uint16_t direct_bt::HCIACLData::get_handle |
( |
const uint16_t |
handle_and_flags | ) |
|
|
inlinestaticconstexprnoexcept |
◆ get_pbflag()
constexpr static uint8_t direct_bt::HCIACLData::get_pbflag |
( |
const uint16_t |
handle_and_flags | ) |
|
|
inlinestaticconstexprnoexcept |
Returns the Packet_Boundary_Flag.
Definition at line 734 of file HCITypes.hpp.
◆ getHandleAndFlags()
uint16_t direct_bt::HCIACLData::getHandleAndFlags |
( |
| ) |
const |
|
inlinenoexcept |
◆ getL2CAPFrame()
◆ getParam()
const uint8_t* direct_bt::HCIACLData::getParam |
( |
| ) |
const |
|
inlinenoexcept |
◆ getParamSize()
◆ getSpecialized()
std::unique_ptr< HCIACLData > direct_bt::HCIACLData::getSpecialized |
( |
const uint8_t * |
buffer, |
|
|
jau::nsize_t const |
buffer_size |
|
) |
| |
|
staticnoexcept |
Return a newly created specialized instance pointer to base class.
Returned memory reference is managed by caller (delete etc)
Definition at line 351 of file HCITypes.cpp.
◆ toString() [1/2]
std::string direct_bt::HCIACLData::toString |
( |
| ) |
const |
|
inlinenoexcept |
◆ toString() [2/2]
std::string direct_bt::HCIACLData::toString |
( |
const l2cap_frame & |
l2cap, |
|
|
const uint8_t * |
l2cap_data |
|
) |
| const |
|
inlinenoexcept |
The documentation for this class was generated from the following files: