Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Generic HCICommand wrapper for any HCI IOCTL structure. More...
#include <HCITypes.hpp>
Public Member Functions | |
HCIStructCommand (const HCIOpcode opc) | |
Enabling manual construction of command with zero value. More... | |
HCIStructCommand (const HCIOpcode opc, const hcistruct &cp) | |
Enabling manual construction of command with given value. More... | |
const hcistruct * | getStruct () const noexcept |
hcistruct * | getWStruct () noexcept |
Public Member Functions inherited from direct_bt::HCICommand | |
HCICommand (const HCIOpcode opc, const jau::nsize_t param_size) | |
Enabling manual construction of command without given value. More... | |
HCICommand (const HCIOpcode opc, const uint8_t *param, const jau::nsize_t param_size) | |
Enabling manual construction of command with given value. More... | |
virtual | ~HCICommand () noexcept |
HCIOpcode | getOpcode () const noexcept |
jau::nsize_t | getParamSize () const noexcept |
const uint8_t * | getParam () const noexcept |
Public Member Functions inherited from direct_bt::HCIPacket | |
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 |
Protected Member Functions | |
std::string | nameString () const noexcept override |
Protected Member Functions inherited from direct_bt::HCICommand | |
std::string | baseString () const noexcept override |
std::string | valueString () const noexcept override |
Additional Inherited Members | |
Static Public Member Functions inherited from direct_bt::HCIPacket | |
template<class T > | |
static T * | clone (const T &source) noexcept |
Clone template for convenience, based on derived class's copy-constructor. More... | |
Static Protected Member Functions inherited from direct_bt::HCICommand | |
static void | checkOpcode (const HCIOpcode has, const HCIOpcode min, const HCIOpcode max) |
Static Protected Member Functions inherited from direct_bt::HCIPacket | |
static void | checkPacketType (const HCIPacketType type) |
Protected Attributes inherited from direct_bt::HCIPacket | |
POctets | pdu |
Generic HCICommand wrapper for any HCI IOCTL structure.
hcistruct | the template typename, e.g. 'hci_cp_create_conn' for 'struct hci_cp_create_conn' |
Definition at line 623 of file HCITypes.hpp.
|
inline |
Enabling manual construction of command with zero value.
Definition at line 630 of file HCITypes.hpp.
|
inline |
Enabling manual construction of command with given value.
Definition at line 638 of file HCITypes.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 643 of file HCITypes.hpp.
|
inlineoverrideprotectedvirtualnoexcept |
Reimplemented from direct_bt::HCICommand.
Definition at line 626 of file HCITypes.hpp.