Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
Representing ACL Datas' L2CAP Frame. More...
#include <HCITypes.hpp>
Public Types | |
enum class | PBFlag : uint8_t { START_NON_AUTOFLUSH_HOST = 0b00 , CONTINUING_FRAGMENT = 0b01 , START_AUTOFLUSH = 0b10 , COMPLETE_L2CAP_AUTOFLUSH = 0b11 } |
The Packet_Boundary_Flag. More... | |
Public Member Functions | |
l2cap_frame (const uint16_t handle_, const PBFlag pb_flag_, const uint8_t bc_flag_, const L2CAP_CID cid_, const L2CAP_PSM psm_, const uint16_t len_) | |
Oly for manual injection, usually using casted pointer. More... | |
constexpr bool | isGATT () const noexcept |
constexpr bool | isSMP () const noexcept |
std::string | toString () const noexcept |
std::string | toString (const uint8_t *l2cap_data) const noexcept |
Static Public Member Functions | |
static constexpr uint8_t | number (const PBFlag v) noexcept |
static std::string | toString (const PBFlag v) noexcept |
Public Attributes | |
const uint8_t | bc_flag |
The Broadcast_Flag. More... | |
const L2CAP_CID | cid |
const uint16_t | handle |
The connection handle. More... | |
const uint16_t | len |
const PBFlag | pb_flag |
const L2CAP_PSM | psm |
Representing ACL Datas' L2CAP Frame.
BT Core Spec v5.2: Vol 4, Part E HCI: 5.4.2 HCI ACL Data packets
Definition at line 977 of file HCITypes.hpp.
|
strong |
The Packet_Boundary_Flag.
BT Core Spec v5.2: Vol 4, Part E HCI: 5.4.2 HCI ACL Data packets
Definition at line 984 of file HCITypes.hpp.
|
inline |
Oly for manual injection, usually using casted pointer.
Definition at line 1007 of file HCITypes.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 994 of file HCITypes.hpp.
|
staticnoexcept |
|
inlineconstexprnoexcept |
Definition at line 1012 of file HCITypes.hpp.
|
inlineconstexprnoexcept |
Definition at line 1014 of file HCITypes.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 1021 of file HCITypes.hpp.
const uint16_t direct_bt::HCIACLData::l2cap_frame::handle |
The connection handle.
Definition at line 998 of file HCITypes.hpp.
const PBFlag direct_bt::HCIACLData::l2cap_frame::pb_flag |
Definition at line 999 of file HCITypes.hpp.
const uint8_t direct_bt::HCIACLData::l2cap_frame::bc_flag |
The Broadcast_Flag.
Definition at line 1001 of file HCITypes.hpp.
const L2CAP_CID direct_bt::HCIACLData::l2cap_frame::cid |
Definition at line 1002 of file HCITypes.hpp.
const L2CAP_PSM direct_bt::HCIACLData::l2cap_frame::psm |
Definition at line 1003 of file HCITypes.hpp.
const uint16_t direct_bt::HCIACLData::l2cap_frame::len |
Definition at line 1004 of file HCITypes.hpp.