Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
ATT Protocol PDUs Vol 3, Part F 3.4.3.2. More...
#include <ATTPDUTypes.hpp>
Classes | |
class | Element |
element := { uint16_t handle, UUID value }, with a UUID of UUID16 or UUID128 More... | |
Public Member Functions | |
AttFindInfoRsp (const uint8_t *source, const jau::nsize_t length) | |
constexpr_cxx20 jau::nsize_t | getPDUValueOffset () const noexcept override |
opcode + format More... | |
jau::nsize_t | getElementTotalSize () const override |
Returns size of each element, i.e. More... | |
jau::nsize_t | getElementValueSize () const override |
Net element-value size, i.e. More... | |
jau::nsize_t | getElementCount () const override |
Element | getElement (const jau::nsize_t elementIdx) const |
uint16_t | getElementHandle (const jau::nsize_t elementIdx) const |
std::unique_ptr< const uuid_t > | getElementValue (const jau::nsize_t elementIdx) const |
constexpr_cxx20 std::string | getName () const noexcept override |
Public Member Functions inherited from direct_bt::AttElementList | |
virtual | ~AttElementList () noexcept override |
jau::nsize_t | getElementPDUOffset (const jau::nsize_t elementIdx) const |
uint8_t const * | getElementPtr (const jau::nsize_t elementIdx) const |
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 | addValueString () const override |
std::string | elementString (const jau::nsize_t idx) const override |
Protected Member Functions inherited from direct_bt::AttElementList | |
AttElementList (const uint8_t *source, const jau::nsize_t length) | |
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.3.2.
ATT_FIND_INFORMATION_RSP
Contains a list of elements, each comprised of { handle, [UUID16 | UUID128] } pair. The handle is comprised of two octets, i.e. uint16_t. The UUID is either comprised of 2 octets for UUID16 or 16 octets for UUID128 depending on the given format.
element := { uint16_t handle, UUID value }, with a UUID of UUID16 or UUID128
Used in:
BT Core Spec v5.2: Vol 3, Part G GATT: 4.7.1 Discover All Characteristic Descriptors
Definition at line 1395 of file ATTPDUTypes.hpp.
|
inline |
|
inlineoverrideprotectedvirtual |
Reimplemented from direct_bt::AttElementList.
Definition at line 1469 of file ATTPDUTypes.hpp.
|
inlineoverrideprotectedvirtual |
Reimplemented from direct_bt::AttElementList.
Definition at line 1471 of file ATTPDUTypes.hpp.
|
inline |
|
inlineoverridevirtual |
Implements direct_bt::AttElementList.
Definition at line 1448 of file ATTPDUTypes.hpp.
|
inline |
Definition at line 1456 of file ATTPDUTypes.hpp.
|
inlineoverridevirtual |
Returns size of each element, i.e.
handle-value tuple.
Implements direct_bt::AttElementList.
Definition at line 1434 of file ATTPDUTypes.hpp.
|
inline |
Definition at line 1460 of file ATTPDUTypes.hpp.
|
inlineoverridevirtual |
Net element-value size, i.e.
element size less handles.
element := { uint16_t handle, UUID value }, with a UUID of UUID16 or UUID128
Implements direct_bt::AttElementList.
Definition at line 1444 of file ATTPDUTypes.hpp.
|
inlineoverridevirtualnoexcept |
Reimplemented from direct_bt::AttElementList.
Definition at line 1464 of file ATTPDUTypes.hpp.
|
inlineoverridevirtualnoexcept |
opcode + format
Reimplemented from direct_bt::AttPDUMsg.
Definition at line 1431 of file ATTPDUTypes.hpp.