Direct-BT
2.3.1
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. More... | |
interface | NameEntryMatch |
Interface for user defined name BTSecurityRegistry.Entry matching criteria and algorithm. More... | |
Static Public Member Functions | |
static BTSecurityRegistry.Entry | get (final EUI48 addr, final String name, final AddressNameEntryMatch m) |
Returns a matching BTSecurityRegistry.Entry with the given. More... | |
static BTSecurityRegistry.Entry | get (final EUI48Sub addrSub, final String name, final AddressSubNameEntryMatch m) |
Returns a matching BTSecurityRegistry.Entry with the given. More... | |
static BTSecurityRegistry.Entry | get (final String name, final NameEntryMatch m) |
Returns a matching BTSecurityRegistry.Entry with the given. 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 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 List< BTSecurityRegistry.Entry > | getEntries () |
Returns the reference of the current list of BTSecurityRegistry.Entry, not a copy. More... | |
static BTSecurityRegistry.Entry | getOrCreate (final String addrOrNameSub) |
Determines whether the given. More... | |
static void | clear () |
Clears internal list. More... | |
static String | allToString () |
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 37 of file BTSecurityRegistry.java.
|
static |
|
static |
Clears internal list.
Definition at line 272 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry with the given.
and/or
Matching criteria and algorithm is defined by the given AddressNameEntryMatch.
Definition at line 130 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry with the given.
and/or
.
Matching criteria and algorithm is defined by the given AddressSubNameEntryMatch.
Definition at line 145 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry with the given.
.
Matching criteria and algorithm is defined by the given NameEntryMatch.
Definition at line 160 of file BTSecurityRegistry.java.
|
static |
Returns the reference of the current list of BTSecurityRegistry.Entry, not a copy.
Definition at line 236 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry,.
Otherwise
is returned.
Definition at line 215 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry,.
Otherwise
is returned.
Definition at line 227 of file BTSecurityRegistry.java.
|
static |
Determines whether the given.
is a EUI48Sub or just a
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 249 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry,.
Otherwise
is returned.
Definition at line 177 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry,.
Otherwise
is returned.
Definition at line 190 of file BTSecurityRegistry.java.
|
static |
Returns a matching BTSecurityRegistry.Entry,.
Otherwise
is returned.
Definition at line 202 of file BTSecurityRegistry.java.
|
static |
Definition at line 38 of file BTSecurityRegistry.java.