BT Core Spec v5.2: Vol 4, Part E HCI: 7.1.6 Disconnect command.
More...
#include <HCITypes.hpp>
|
| | HCIDisconnectCmd (const uint16_t handle, HCIStatusCode reason) |
| |
| | HCIDisconnectCmd (const uint8_t *buffer, const jau::nsize_t buffer_len) |
| |
| constexpr uint16_t | getHandle () const noexcept |
| |
| HCIStatusCode | getReason () const 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 |
| |
BT Core Spec v5.2: Vol 4, Part E HCI: 7.1.6 Disconnect command.
HCIPacket:
- uint8_t packet_type
- HCICommand:
- uint16_t command_type
- uint8_t packet_len (total = 4 + packet_len)
- HCIDisconnectCmd:
- uint16_t handle
- uint8_t reason
Definition at line 720 of file HCITypes.hpp.
◆ HCIDisconnectCmd() [1/2]
| direct_bt::HCIDisconnectCmd::HCIDisconnectCmd |
( |
const uint8_t * |
buffer, |
|
|
const jau::nsize_t |
buffer_len |
|
) |
| |
|
inline |
◆ HCIDisconnectCmd() [2/2]
| direct_bt::HCIDisconnectCmd::HCIDisconnectCmd |
( |
const uint16_t |
handle, |
|
|
HCIStatusCode |
reason |
|
) |
| |
|
inline |
◆ nameString()
| std::string direct_bt::HCIDisconnectCmd::nameString |
( |
| ) |
const |
|
inlineoverrideprotectedvirtualnoexcept |
◆ valueString()
| std::string direct_bt::HCIDisconnectCmd::valueString |
( |
| ) |
const |
|
inlineoverrideprotectedvirtualnoexcept |
◆ getHandle()
| constexpr uint16_t direct_bt::HCIDisconnectCmd::getHandle |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ getReason()
The documentation for this class was generated from the following file: