Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
ATT Protocol PDUs Vol 3, Part F 3.4.2.2. More...
#include <ATTPDUTypes.hpp>
Public Member Functions | |
AttExchangeMTU (const uint8_t *source, const jau::nsize_t length) | |
AttExchangeMTU (const uint16_t mtuSize) | |
constexpr_cxx20 jau::nsize_t | getPDUValueOffset () const noexcept override |
opcode + mtu-size More... | |
constexpr uint16_t | getMTUSize () const noexcept |
constexpr_cxx20 std::string | getName () const noexcept override |
Public Member Functions inherited from direct_bt::AttPDUMsg | |
AttPDUMsg (const uint8_t *source, const jau::nsize_t size) | |
Persistent memory, w/ ownership . More... | |
AttPDUMsg (const Opcode opc, const jau::nsize_t size) | |
Persistent memory, w/ ownership . More... | |
AttPDUMsg (const AttPDUMsg &o) noexcept=default | |
AttPDUMsg (AttPDUMsg &&o) noexcept=default | |
AttPDUMsg & | operator= (const AttPDUMsg &o) noexcept=delete |
AttPDUMsg & | operator= (AttPDUMsg &&o) noexcept=delete |
virtual | ~AttPDUMsg () noexcept |
constexpr Opcode | getOpcode () const noexcept |
ATT PDU Format Vol 3, Part F 3.3.1. More... | |
constexpr Opcode | getOpMethod () const noexcept |
ATT PDU Format Vol 3, Part F 3.3.1. More... | |
constexpr bool | getOpCommandFlag () const noexcept |
ATT PDU Format Vol 3, Part F 3.3.1. More... | |
constexpr bool | getOpAuthSigFlag () const noexcept |
ATT PDU Format Vol 3, Part F 3.3.1. More... | |
constexpr jau::nsize_t | getAuthSigSize () const noexcept |
ATT PDU Format Vol 3, Part F 3.3.1. More... | |
constexpr jau::nsize_t | getPDUParamSize () const noexcept |
ATT PDU Format Vol 3, Part F 3.3.1. More... | |
constexpr_cxx20 jau::nsize_t | getPDUMinSize () const noexcept |
Returns this PDU's minimum size, i.e. More... | |
constexpr_cxx20 jau::nsize_t | getPDUValueSize () const noexcept |
Returns the octet size of the value attributes in this PDI, i.e. More... | |
constexpr_cxx20 jau::nsize_t | getMaxPDUValueSize (const jau::nsize_t mtu) const noexcept |
Returns the theoretical maximum value size of a PDU. More... | |
virtual std::string | toString () const noexcept |
Protected Member Functions | |
std::string | valueString () const noexcept override |
Protected Member Functions inherited from direct_bt::AttPDUMsg | |
void | checkOpcode (const Opcode expected) const |
void | checkOpcode (const Opcode exp1, const Opcode exp2) const |
virtual std::string | baseString () const noexcept |
ATT Protocol PDUs Vol 3, Part F 3.4.2.2.
ATT_EXCHANGE_MTU_REQ, ATT_EXCHANGE_MTU_RSP
Used in:
BT Core Spec v5.2: Vol 3, Part G GATT: 4.3.1 Exchange MTU (Server configuration)
Definition at line 636 of file ATTPDUTypes.hpp.
|
inline |
|
inline |
|
inlineconstexprnoexcept |
Definition at line 652 of file ATTPDUTypes.hpp.
|
inlineoverridevirtualnoexcept |
Reimplemented from direct_bt::AttPDUMsg.
Definition at line 654 of file ATTPDUTypes.hpp.
|
inlineoverridevirtualnoexcept |
opcode + mtu-size
Reimplemented from direct_bt::AttPDUMsg.
Definition at line 650 of file ATTPDUTypes.hpp.
|
inlineoverrideprotectedvirtualnoexcept |
Reimplemented from direct_bt::AttPDUMsg.
Definition at line 659 of file ATTPDUTypes.hpp.