Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Namespaces | Typedefs | Functions
BTSecurityRegistry.hpp File Reference
#include <string>
#include <cstdio>
#include <direct_bt/DirectBT.hpp>
Include dependency graph for BTSecurityRegistry.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  direct_bt::BTSecurityRegistry::Entry
 

Namespaces

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

Typedefs

typedef bool(* direct_bt::BTSecurityRegistry::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(* direct_bt::BTSecurityRegistry::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(* direct_bt::BTSecurityRegistry::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 direct_bt::BTSecurityRegistry::allToString () noexcept
 
void direct_bt::BTSecurityRegistry::clear () noexcept
 Clears internal list. More...
 
Entry * direct_bt::BTSecurityRegistry::get (const EUI48 &addr, const std::string &name, AddressNameEntryMatchFunc m) noexcept
 Returns a matching BTSecurityRegistry::Entry with the given addr and/or name. More...
 
Entry * direct_bt::BTSecurityRegistry::get (const EUI48Sub &addrSub, const std::string &name, AddressSubNameEntryMatchFunc m) noexcept
 Returns a matching BTSecurityRegistry::Entry with the given addrSub and/or name. More...
 
Entry * direct_bt::BTSecurityRegistry::get (const std::string &name, NameEntryMatchFunc m) noexcept
 Returns a matching BTSecurityRegistry::Entry with the given name. More...
 
jau::darray< Entry > & direct_bt::BTSecurityRegistry::getEntries () noexcept
 Returns the reference of the current list of Entry, not a copy. More...
 
Entry * direct_bt::BTSecurityRegistry::getEqual (const EUI48Sub &addrSub, const std::string &name) noexcept
 Returns a matching Entry,. More...
 
Entry * direct_bt::BTSecurityRegistry::getEqual (const std::string &name) noexcept
 Returns a matching Entry, which Entry::nameSub is set and the given name starts with Entry::nameSub. More...
 
Entry * direct_bt::BTSecurityRegistry::getOrCreate (const std::string &addrOrNameSub) noexcept
 Determines whether the given addrOrNameSub is a EUI48Sub or just a name and retrieves an entry. More...
 
Entry * direct_bt::BTSecurityRegistry::getStartOf (const EUI48 &addr, const std::string &name) noexcept
 Returns a matching Entry,. More...
 
Entry * direct_bt::BTSecurityRegistry::getStartOf (const EUI48Sub &addrSub, const std::string &name) noexcept
 Returns a matching Entry,. More...
 
Entry * direct_bt::BTSecurityRegistry::getStartOf (const std::string &name) noexcept
 Returns a matching Entry, which Entry::nameSub is set and the given name starts with Entry::nameSub. More...