|
| 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...
|
|
| HCICommand (const uint8_t *buffer, const jau::nsize_t buffer_len, const jau::nsize_t exp_param_size) |
| Persistent memory, w/ ownership . More...
|
|
| ~HCICommand () noexcept override=default |
|
HCIOpcode | getOpcode () const noexcept |
|
const uint8_t * | getParam () const noexcept |
|
jau::nsize_t | getParamSize () const noexcept |
|
void | trimParamSize (const jau::nsize_t param_size) |
|
| 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 |
|
template<typename hcistruct>
class direct_bt::HCIStructCommand< hcistruct >
Generic HCICommand wrapper for any HCI IOCTL structure.
- Template Parameters
-
hcistruct | the template typename, e.g. 'hci_cp_create_conn' for 'struct hci_cp_create_conn' |
Definition at line 928 of file HCITypes.hpp.