Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Typedefs | Functions | Variables
direct_bt::BTSecurityRegistry Namespace Reference

Application toolkit providing BT security setup and its device association on a pattern matching basis, i.e. More...

Classes

struct  Entry
 

Typedefs

typedef bool(* AddressNameEntryMatchFunc) (const EUI48 &address, const std::string &name, const Entry &e)
 Function for user defined EUI48 address and name BTSecurityRegistry::Entry matching criteria and algorithm. More...
 
typedef bool(* AddressSubNameEntryMatchFunc) (const EUI48Sub &addressSub, const std::string &name, const Entry &e)
 Function for user defined EUI48Sub addressSub and name BTSecurityRegistry::Entry matching criteria and algorithm. More...
 
typedef bool(* NameEntryMatchFunc) (const std::string &name, const Entry &e)
 Function for user defined std::string name BTSecurityRegistry::Entry matching criteria and algorithm. More...
 

Functions

std::string allToString () noexcept
 
void clear () noexcept
 Clears internal list. More...
 
Entryget (const EUI48 &addr, const std::string &name, AddressNameEntryMatchFunc m) noexcept
 Returns a matching BTSecurityRegistry::Entry with the given addr and/or name. More...
 
Entryget (const EUI48Sub &addrSub, const std::string &name, AddressSubNameEntryMatchFunc m) noexcept
 Returns a matching BTSecurityRegistry::Entry with the given addrSub and/or name. More...
 
Entryget (const std::string &name, NameEntryMatchFunc m) noexcept
 Returns a matching BTSecurityRegistry::Entry with the given name. More...
 
jau::darray< Entry > & getEntries () noexcept
 Returns the reference of the current list of Entry, not a copy. More...
 
EntrygetEqual (const EUI48Sub &addrSub, const std::string &name) noexcept
 Returns a matching Entry,. More...
 
EntrygetEqual (const std::string &name) noexcept
 Returns a matching Entry, which Entry::nameSub is set and the given name starts with Entry::nameSub. More...
 
EntrygetOrCreate (const std::string &addrOrNameSub) noexcept
 Determines whether the given addrOrNameSub is a EUI48Sub or just a name and retrieves an entry. More...
 
EntrygetStartOf (const EUI48 &addr, const std::string &name) noexcept
 Returns a matching Entry,. More...
 
EntrygetStartOf (const EUI48Sub &addrSub, const std::string &name) noexcept
 Returns a matching Entry,. More...
 
EntrygetStartOf (const std::string &name) noexcept
 Returns a matching Entry, which Entry::nameSub is set and the given name starts with Entry::nameSub. More...
 

Variables

static jau::darray< EntrydevicesSecDetails
 

Detailed Description

Application toolkit providing BT security setup and its device association on a pattern matching basis, i.e.

EUI48Sub or name-sub.

Variable Documentation

◆ devicesSecDetails

jau::darray<Entry> direct_bt::BTSecurityRegistry::devicesSecDetails
static

Definition at line 34 of file BTSecurityRegistry.cpp.