BT Core Spec v5.2: Vol 4, Part E HCI: 5.4.2 HCI ACL Data packets.
More...
#include <HCITypes.hpp>
|
static constexpr uint8_t | get_bcflag (const uint16_t handle_and_flags) noexcept |
| Returns the Broadcast_Flag. More...
|
|
static constexpr uint16_t | get_handle (const uint16_t handle_and_flags) noexcept |
| Returns the handle. More...
|
|
static constexpr uint8_t | get_pbflag (const uint16_t handle_and_flags) noexcept |
| Returns the Packet_Boundary_Flag. More...
|
|
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...
|
|
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 968 of file HCITypes.hpp.
◆ HCIACLData()
direct_bt::HCIACLData::HCIACLData |
( |
const uint8_t * |
buffer, |
|
|
const jau::nsize_t |
buffer_len |
|
) |
| |
|
inline |
◆ 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 404 of file HCITypes.cpp.
◆ get_handle()
static constexpr uint16_t direct_bt::HCIACLData::get_handle |
( |
const uint16_t |
handle_and_flags | ) |
|
|
inlinestaticconstexprnoexcept |
◆ get_pbflag()
static constexpr uint8_t direct_bt::HCIACLData::get_pbflag |
( |
const uint16_t |
handle_and_flags | ) |
|
|
inlinestaticconstexprnoexcept |
◆ get_bcflag()
static constexpr uint8_t direct_bt::HCIACLData::get_bcflag |
( |
const uint16_t |
handle_and_flags | ) |
|
|
inlinestaticconstexprnoexcept |
◆ getHandleAndFlags()
uint16_t direct_bt::HCIACLData::getHandleAndFlags |
( |
| ) |
const |
|
inlinenoexcept |
◆ getParamSize()
◆ getParam()
const uint8_t * direct_bt::HCIACLData::getParam |
( |
| ) |
const |
|
inlinenoexcept |
◆ getL2CAPFrame()
◆ 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: