Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Public Member Functions | Public Attributes | List of all members
direct_bt::MgmtLinkKeyInfo Struct Reference

Used for MgmtLoadLinkKeyCmd and MgmtEvtNewLinkKey. More...

#include <MgmtTypes.hpp>

Collaboration diagram for direct_bt::MgmtLinkKeyInfo:

Public Member Functions

SMPLinkKey toSMPLinkKeyInfo (const bool isResponder) const noexcept
 
std::string toString () const noexcept
 

Public Attributes

EUI48 address
 
BDAddressType address_type
 
jau::uint128dp_t key
 
MgmtLinkKeyType key_type
 
uint8_t pin_length
 

Detailed Description

Used for MgmtLoadLinkKeyCmd and MgmtEvtNewLinkKey.

Notable: No endian wise conversion shall occur on this data, since the encryption values are interpreted as a byte stream.

Definition at line 345 of file MgmtTypes.hpp.

Member Function Documentation

◆ toString()

std::string direct_bt::MgmtLinkKeyInfo::toString ( ) const
inlinenoexcept

Definition at line 345 of file MgmtTypes.hpp.

◆ toSMPLinkKeyInfo()

SMPLinkKey direct_bt::MgmtLinkKeyInfo::toSMPLinkKeyInfo ( const bool  isResponder) const
inlinenoexcept
  • Convert this instance into its platform agnostic SMPLinkKeyInfo type.

Definition at line 345 of file MgmtTypes.hpp.

Member Data Documentation

◆ address

EUI48 direct_bt::MgmtLinkKeyInfo::address

Definition at line 345 of file MgmtTypes.hpp.

◆ address_type

BDAddressType direct_bt::MgmtLinkKeyInfo::address_type

Definition at line 345 of file MgmtTypes.hpp.

◆ key_type

MgmtLinkKeyType direct_bt::MgmtLinkKeyInfo::key_type

Definition at line 345 of file MgmtTypes.hpp.

◆ key

jau::uint128dp_t direct_bt::MgmtLinkKeyInfo::key

Definition at line 345 of file MgmtTypes.hpp.

◆ pin_length

uint8_t direct_bt::MgmtLinkKeyInfo::pin_length

Definition at line 345 of file MgmtTypes.hpp.


The documentation for this struct was generated from the following file: