Direct-BT v3.3.0-1-gc2d430c
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 (std::string nameSub_)
 
constexpr const SMPIOCapabilitygetIOCap () const noexcept
 
constexpr bool getPairingNumericComparison () const noexcept
 
constexpr int getPairingPasskey () const noexcept
 
constexpr const BTSecurityLevelgetSecLevel () const noexcept
 
constexpr const SMPIOCapabilitygetSecurityAutoIOCap () const noexcept
 
constexpr bool isSecLevelOrIOCapSet () const noexcept
 
constexpr bool isSecurityAutoEnabled () const noexcept
 
std::string toString () const noexcept
 

Public Attributes

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

Static Public Attributes

static constexpr int NO_PASSKEY = -1
 

Detailed Description

Examples
dbt_peripheral00.cpp, dbt_repeater00.cpp, and dbt_scanner10.cpp.

Definition at line 52 of file BTSecurityRegistry.hpp.

Constructor & Destructor Documentation

◆ Entry() [1/2]

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

Definition at line 63 of file BTSecurityRegistry.hpp.

◆ Entry() [2/2]

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

Definition at line 66 of file BTSecurityRegistry.hpp.

Member Function Documentation

◆ isSecLevelOrIOCapSet()

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

Definition at line 69 of file BTSecurityRegistry.hpp.

Here is the caller graph for this function:

◆ getSecLevel()

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

Definition at line 72 of file BTSecurityRegistry.hpp.

Here is the caller graph for this function:

◆ getIOCap()

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

Definition at line 73 of file BTSecurityRegistry.hpp.

Here is the caller graph for this function:

◆ isSecurityAutoEnabled()

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

Definition at line 75 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_repeater00.cpp, and dbt_scanner10.cpp.

Definition at line 78 of file BTSecurityRegistry.hpp.

Here is the caller graph for this function:

◆ getPairingPasskey()

constexpr int direct_bt::BTSecurityRegistry::Entry::getPairingPasskey ( ) const
inlineconstexprnoexcept

◆ getPairingNumericComparison()

constexpr bool direct_bt::BTSecurityRegistry::Entry::getPairingNumericComparison ( ) const
inlineconstexprnoexcept

◆ toString()

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

Definition at line 84 of file BTSecurityRegistry.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ NO_PASSKEY

constexpr int direct_bt::BTSecurityRegistry::Entry::NO_PASSKEY = -1
staticconstexpr

Definition at line 53 of file BTSecurityRegistry.hpp.

◆ addrSub

EUI48Sub direct_bt::BTSecurityRegistry::Entry::addrSub

Definition at line 55 of file BTSecurityRegistry.hpp.

◆ nameSub

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

Definition at line 56 of file BTSecurityRegistry.hpp.

◆ sec_level

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

Definition at line 58 of file BTSecurityRegistry.hpp.

◆ io_cap

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

Definition at line 59 of file BTSecurityRegistry.hpp.

◆ io_cap_auto

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

Definition at line 60 of file BTSecurityRegistry.hpp.

◆ passkey

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

Definition at line 61 of file BTSecurityRegistry.hpp.


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