Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Vol 3, Part H: 3.5.5 Pairing Failed message. More...
#include <SMPTypes.hpp>
Public Member Functions | |
SMPPairFailedMsg (const uint8_t *source, const jau::nsize_t length) | |
SMPPairFailedMsg (const ReasonCode rc) | |
constexpr_cxx20 jau::nsize_t | getDataSize () const noexcept override |
Returns the required data size according to the specified packet, which should be within 0-22 or 64 octets. More... | |
constexpr ReasonCode | getReasonCode () const noexcept |
constexpr_cxx20 std::string | getName () const noexcept override |
Public Member Functions inherited from direct_bt::SMPPDUMsg | |
SMPPDUMsg (const uint8_t *source, const jau::nsize_t size) | |
Persistent memory, w/ ownership . More... | |
SMPPDUMsg (const Opcode opc, const jau::nsize_t size) | |
Persistent memory, w/ ownership . More... | |
virtual | ~SMPPDUMsg () noexcept |
constexpr uint64_t | getTimestamp () const noexcept |
constexpr Opcode | getOpcode () const noexcept |
SMP Command Codes Vol 3, Part H (SM): 3.3. More... | |
constexpr jau::nsize_t | getPDUParamSize () const noexcept |
Returns the actual PDU size less one octet for the opcode, which should result in 0-22 octets or 64 octets. More... | |
constexpr jau::nsize_t | getDataOffset () const noexcept |
Returns the octet offset to the data segment in this PDU including the mandatory opcode, i.e. More... | |
virtual std::string | toString () const noexcept |
Static Public Member Functions | |
static constexpr uint8_t | number (const ReasonCode rhs) noexcept |
static std::string | getReasonCodeString (const ReasonCode reasonCode) noexcept |
Static Public Member Functions inherited from direct_bt::SMPPDUMsg | |
static constexpr uint8_t | number (const Opcode rhs) noexcept |
static std::string | getOpcodeString (const Opcode opc) noexcept |
static std::unique_ptr< const SMPPDUMsg > | getSpecialized (const uint8_t *buffer, jau::nsize_t const buffer_size) noexcept |
Return a newly created specialized instance pointer to base class. More... | |
template<class T > | |
static T * | clone (const T &source) noexcept |
Clone template for convenience, based on derived class's copy-constructor. More... | |
Protected Member Functions | |
std::string | valueString () const noexcept override |
Protected Member Functions inherited from direct_bt::SMPPDUMsg | |
void | checkOpcode (const Opcode expected) const |
void | checkOpcode (const Opcode exp1, const Opcode exp2) const |
virtual std::string | baseString () const noexcept |
Additional Inherited Members | |
Protected Attributes inherited from direct_bt::SMPPDUMsg | |
POctets | pdu |
actual received PDU More... | |
uint64_t | ts_creation |
creation timestamp in milliseconds More... | |
Vol 3, Part H: 3.5.5 Pairing Failed message.
Vol 3 (Host), Part H (SM): 3 (SMP), 3.5 Pairing Methods
[uint8_t opcode] uint8_t reason_code
Definition at line 1187 of file SMPTypes.hpp.
|
strong |
Definition at line 1190 of file SMPTypes.hpp.
|
inline |
|
inline |
|
inlineoverridevirtualnoexcept |
Returns the required data size according to the specified packet, which should be within 0-22 or 64 octets.
Reimplemented from direct_bt::SMPPDUMsg.
Definition at line 1222 of file SMPTypes.hpp.
|
inlineoverridevirtualnoexcept |
Reimplemented from direct_bt::SMPPDUMsg.
Definition at line 1230 of file SMPTypes.hpp.
|
inlineconstexprnoexcept |
Definition at line 1226 of file SMPTypes.hpp.
|
staticnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlineoverrideprotectedvirtualnoexcept |
Reimplemented from direct_bt::SMPPDUMsg.
Definition at line 1235 of file SMPTypes.hpp.