Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Go to the documentation of this file.
39 for (; first != last; ++first) {
40 if( m(addr, name, *first) ) {
49 for (; first != last; ++first) {
50 if( m(addrSub, name, *first) ) {
59 for (; first != last; ++first) {
60 if( m(name, *first) ) {
77 if(
nullptr == sec ) {
83 if(
nullptr == sec ) {
97 const Entry& sec = *iter;
Entry * getOrCreate(const std::string &addrOrNameSub) noexcept
Determines whether the given.
std::string allToString() noexcept
bool(* NameEntryMatchFunc)(const std::string &name, const Entry &e)
Function for user defined std::string name BTSecurityRegistry::Entry matching criteria and algorithm.
Application toolkit providing BT security setup and its device association on a pattern matching basi...
static jau::darray< Entry > devicesSecDetails
static bool scanEUI48Sub(const std::string &str, EUI48Sub &dest, std::string &errmsg)
Fills given EUI48Sub instance via given string representation.
std::string toString() const noexcept
A 48 bit EUI-48 sub-identifier, see EUI48.
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 algo...
Implementation of a dynamic linear array storage, aka vector.
jau::darray< Entry > & getEntries() noexcept
Returns the reference of the current list of Entry, not a copy.
Entry * getEqual(const EUI48Sub &addrSub, const std::string &name) noexcept
Returns a matching Entry,.
Entry * get(const EUI48 &addr, const std::string &name, AddressNameEntryMatchFunc m) noexcept
Returns a matching BTSecurityRegistry::Entry with the given.
bool(* AddressSubNameEntryMatchFunc)(const EUI48Sub &addressSub, const std::string &name, const Entry &e)
Function for user defined EUI48Sub addressSub and name BTSecurityRegistry::Entry matching criteria an...
A packed 48 bit EUI-48 identifier, formerly known as MAC-48 or simply network device MAC address (Med...
void clear() noexcept
Clears internal list.