Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
direct_bt::BTSecurityRegistry::Entry Struct Reference

#include <BTSecurityRegistry.hpp>

Collaboration diagram for direct_bt::BTSecurityRegistry::Entry:

Public Member Functions

 Entry (const EUI48Sub &addrSub_)
 
 Entry (const std::string &nameSub_)
 
constexpr bool isSecLevelOrIOCapSet () const noexcept
 
constexpr const BTSecurityLevelgetSecLevel () const noexcept
 
constexpr const SMPIOCapabilitygetIOCap () const noexcept
 
constexpr bool isSecurityAutoEnabled () const noexcept
 
constexpr const SMPIOCapabilitygetSecurityAutoIOCap () const noexcept
 
constexpr int getPairingPasskey () const noexcept
 
constexpr bool getPairingNumericComparison () const noexcept
 
std::string toString () const noexcept
 

Public Attributes

EUI48Sub addrSub
 
std::string nameSub
 
BTSecurityLevel sec_level { BTSecurityLevel::UNSET }
 
SMPIOCapability io_cap { SMPIOCapability::UNSET }
 
SMPIOCapability io_cap_auto { SMPIOCapability::UNSET }
 
int passkey = NO_PASSKEY
 

Static Public Attributes

static constexpr int NO_PASSKEY = -1
 

Detailed Description

Examples
dbt_scanner10.cpp.

Definition at line 42 of file BTSecurityRegistry.hpp.

Constructor & Destructor Documentation

◆ Entry() [1/2]

direct_bt::BTSecurityRegistry::Entry::Entry ( const EUI48Sub addrSub_)
inline

Definition at line 53 of file BTSecurityRegistry.hpp.

◆ Entry() [2/2]

direct_bt::BTSecurityRegistry::Entry::Entry ( const std::string &  nameSub_)
inline

Definition at line 56 of file BTSecurityRegistry.hpp.

Member Function Documentation

◆ getIOCap()

constexpr const SMPIOCapability& direct_bt::BTSecurityRegistry::Entry::getIOCap ( ) const
inlineconstexprnoexcept
Examples
dbt_scanner10.cpp.

Definition at line 63 of file BTSecurityRegistry.hpp.

Here is the caller graph for this function:

◆ getPairingNumericComparison()

constexpr bool direct_bt::BTSecurityRegistry::Entry::getPairingNumericComparison ( ) const
inlineconstexprnoexcept
Examples
dbt_scanner10.cpp.

Definition at line 72 of file BTSecurityRegistry.hpp.

◆ getPairingPasskey()

constexpr int direct_bt::BTSecurityRegistry::Entry::getPairingPasskey ( ) const
inlineconstexprnoexcept
Examples
dbt_scanner10.cpp.

Definition at line 70 of file BTSecurityRegistry.hpp.

◆ getSecLevel()

constexpr const BTSecurityLevel& direct_bt::BTSecurityRegistry::Entry::getSecLevel ( ) const
inlineconstexprnoexcept
Examples
dbt_scanner10.cpp.

Definition at line 62 of file BTSecurityRegistry.hpp.

Here is the caller graph for this function:

◆ getSecurityAutoIOCap()

constexpr const SMPIOCapability& direct_bt::BTSecurityRegistry::Entry::getSecurityAutoIOCap ( ) const
inlineconstexprnoexcept
Examples
dbt_scanner10.cpp.

Definition at line 68 of file BTSecurityRegistry.hpp.

Here is the caller graph for this function:

◆ isSecLevelOrIOCapSet()

constexpr bool direct_bt::BTSecurityRegistry::Entry::isSecLevelOrIOCapSet ( ) const
inlineconstexprnoexcept
Examples
dbt_scanner10.cpp.

Definition at line 59 of file BTSecurityRegistry.hpp.

Here is the caller graph for this function:

◆ isSecurityAutoEnabled()

constexpr bool direct_bt::BTSecurityRegistry::Entry::isSecurityAutoEnabled ( ) const
inlineconstexprnoexcept
Examples
dbt_scanner10.cpp.

Definition at line 65 of file BTSecurityRegistry.hpp.

Here is the caller graph for this function:

◆ toString()

std::string direct_bt::BTSecurityRegistry::Entry::toString ( ) const
inlinenoexcept
Examples
dbt_scanner10.cpp.

Definition at line 74 of file BTSecurityRegistry.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ addrSub

EUI48Sub direct_bt::BTSecurityRegistry::Entry::addrSub

Definition at line 45 of file BTSecurityRegistry.hpp.

◆ io_cap

SMPIOCapability direct_bt::BTSecurityRegistry::Entry::io_cap { SMPIOCapability::UNSET }
Examples
dbt_scanner10.cpp.

Definition at line 49 of file BTSecurityRegistry.hpp.

◆ io_cap_auto

SMPIOCapability direct_bt::BTSecurityRegistry::Entry::io_cap_auto { SMPIOCapability::UNSET }
Examples
dbt_scanner10.cpp.

Definition at line 50 of file BTSecurityRegistry.hpp.

◆ nameSub

std::string direct_bt::BTSecurityRegistry::Entry::nameSub

Definition at line 46 of file BTSecurityRegistry.hpp.

◆ NO_PASSKEY

constexpr int direct_bt::BTSecurityRegistry::Entry::NO_PASSKEY = -1
staticconstexpr
Examples
dbt_scanner10.cpp.

Definition at line 43 of file BTSecurityRegistry.hpp.

◆ passkey

int direct_bt::BTSecurityRegistry::Entry::passkey = NO_PASSKEY
Examples
dbt_scanner10.cpp.

Definition at line 51 of file BTSecurityRegistry.hpp.

◆ sec_level

BTSecurityLevel direct_bt::BTSecurityRegistry::Entry::sec_level { BTSecurityLevel::UNSET }
Examples
dbt_scanner10.cpp.

Definition at line 48 of file BTSecurityRegistry.hpp.


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