Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
Application toolkit providing BT security setup and its device association on a pattern matching basis, i.e. More...
Classes | |
interface | AddressNameEntryMatch |
Interface for user defined EUI48 address and name BTSecurityRegistry.Entry matching criteria and algorithm. More... | |
interface | AddressSubNameEntryMatch |
Interface for user defined EUI48Sub addressSub and name BTSecurityRegistry.Entry matching criteria and algorithm. More... | |
class | Entry |
Entry specifying SMP security details associated to a device query via EUI48Sub or nameSub . More... | |
interface | NameEntryMatch |
Interface for user defined name BTSecurityRegistry.Entry matching criteria and algorithm. More... | |
Static Public Member Functions | |
static String | allToString () |
static void | clear () |
Clears internal list. More... | |
static BTSecurityRegistry.Entry | get (final EUI48 addr, final String name, final AddressNameEntryMatch m) |
Returns a matching BTSecurityRegistry.Entry with the given addr and/or name @endiliteral. More... | |
static BTSecurityRegistry.Entry | get (final EUI48Sub addrSub, final String name, final AddressSubNameEntryMatch m) |
Returns a matching BTSecurityRegistry.Entry with the given addrSub and/or name . More... | |
static BTSecurityRegistry.Entry | get (final String name, final NameEntryMatch m) |
Returns a matching BTSecurityRegistry.Entry with the given name . More... | |
static List< BTSecurityRegistry.Entry > | getEntries () |
Returns the reference of the current list of BTSecurityRegistry.Entry , not a copy. More... | |
static BTSecurityRegistry.Entry | getEqual (final EUI48Sub addrSub, final String name) |
Returns a matching BTSecurityRegistry.Entry ,. More... | |
static BTSecurityRegistry.Entry | getEqual (final String name) |
Returns a matching BTSecurityRegistry.Entry ,. More... | |
static BTSecurityRegistry.Entry | getOrCreate (final String addrOrNameSub) |
Determines whether the given addrOrNameSub is a EUI48Sub or just a name and retrieves an entry. More... | |
static BTSecurityRegistry.Entry | getStartOf (final EUI48 addr, final String name) |
Returns a matching BTSecurityRegistry.Entry ,. More... | |
static BTSecurityRegistry.Entry | getStartOf (final EUI48Sub addrSub, final String name) |
Returns a matching BTSecurityRegistry.Entry ,. More... | |
static BTSecurityRegistry.Entry | getStartOf (final String name) |
Returns a matching BTSecurityRegistry.Entry ,. More... | |
Static Public Attributes | |
static final int | NO_PASSKEY = -1 |
Application toolkit providing BT security setup and its device association on a pattern matching basis, i.e.
EUI48Sub or name-sub.
Definition at line 41 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry
with the given addr
and/or name @endiliteral.
Matching criteria and algorithm is defined by the given AddressNameEntryMatch
.
Definition at line 134 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry
with the given addrSub
and/or name
.
Matching criteria and algorithm is defined by the given AddressSubNameEntryMatch
.
Definition at line 149 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry
with the given name
.
Matching criteria and algorithm is defined by the given NameEntryMatch
.
Definition at line 164 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry
,.
BTSecurityRegistry.Entry#addrSub
is set and the given addr
starts with BTSecurityRegistry.Entry#addrSub
, orBTSecurityRegistry.Entry#nameSub
is set and the given name
starts with BTSecurityRegistry.Entry#nameSub
.Otherwise null
is returned.
Definition at line 181 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry
,.
BTSecurityRegistry.Entry#addrSub
is set and the given addrSub
starts with BTSecurityRegistry.Entry#addrSub
, orBTSecurityRegistry.Entry#nameSub
is set and the given name
starts with BTSecurityRegistry.Entry#nameSub
.Otherwise null
is returned.
Definition at line 194 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry
,.
BTSecurityRegistry.Entry#nameSub
is set and the given name
starts with BTSecurityRegistry.Entry#nameSub
.Otherwise null
is returned.
Definition at line 206 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry
,.
BTSecurityRegistry.Entry#addrSub
is set and the given addrSub
is equal with BTSecurityRegistry.Entry#addrSub
, orBTSecurityRegistry.Entry#nameSub
is set and the given name
is equal with BTSecurityRegistry.Entry#nameSub
.Otherwise null
is returned.
Definition at line 219 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry
,.
BTSecurityRegistry.Entry#nameSub
is set and the given name
is equal with BTSecurityRegistry.Entry#nameSub
.Otherwise null
is returned.
Definition at line 231 of file BTSecurityRegistry.java.
|
static |
Returns the reference of the current list of BTSecurityRegistry.Entry
, not a copy.
Definition at line 240 of file BTSecurityRegistry.java.
|
static |
Determines whether the given addrOrNameSub
is a EUI48Sub
or just a name
and retrieves an entry.
If no entry exists, creates a new entry.
Implementation uses getEqual(EUI48Sub, String)
to find a pre-existing entry.
addrOrNameSub | either a EUI48Sub or just a name |
Definition at line 253 of file BTSecurityRegistry.java.
|
static |
Clears internal list.
Definition at line 276 of file BTSecurityRegistry.java.
|
static |
|
static |
Definition at line 42 of file BTSecurityRegistry.java.