Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Application toolkit providing BT device registration of processed and awaited devices. More...
Classes | |
class | DeviceID |
Specifies unique device identities, using BDAddressAndType as key. More... | |
class | DeviceQuery |
Specifies devices queries to act upon. More... | |
interface | DeviceQueryMatch |
Interface for user defined DeviceQuery matching criteria and algorithm. More... | |
Static Public Member Functions | |
static void | addToWaitForDevices (final String addrOrNameSub) |
static boolean | isWaitingForAnyDevice () |
static int | getWaitForDevicesCount () |
static String | getWaitForDevicesString () |
static List< DeviceQuery > | getWaitForDevices () |
Returns the reference of the current list of DeviceQuery, not a copy. More... | |
static void | clearWaitForDevices () |
Clears internal list. More... | |
static void | addToProcessedDevices (final BDAddressAndType a, final String n) |
static boolean | isDeviceProcessed (final BDAddressAndType a) |
static int | getProcessedDeviceCount () |
static String | getProcessedDevicesString () |
static List< DeviceID > | getProcessedDevices () |
Returns a copy of the current collection of processed DeviceID. More... | |
static void | clearProcessedDevices () |
Clears internal list. More... | |
static boolean | isWaitingForDevice (final EUI48 address, final String name, final DeviceQueryMatch m) |
Returns. More... | |
static boolean | isWaitingForDevice (final EUI48 address, final String name) |
Returns. More... | |
static boolean | areAllDevicesProcessed (final DeviceQueryMatch m) |
Returns. More... | |
static boolean | areAllDevicesProcessed () |
Returns. More... | |
static void | addToProcessingDevices (final BDAddressAndType a, final String n) |
static boolean | removeFromProcessingDevices (final BDAddressAndType a) |
static boolean | isDeviceProcessing (final BDAddressAndType a) |
static int | getProcessingDeviceCount () |
static List< DeviceID > | getProcessingDevices () |
Returns a copy of the current collection of processing DeviceID. More... | |
static void | clearProcessingDevices () |
Clears internal list. More... | |
Application toolkit providing BT device registration of processed and awaited devices.
The latter on a pattern matching basis, i.e. EUI48Sub or name-sub.
Definition at line 40 of file BTDeviceRegistry.java.
|
static |
Definition at line 165 of file BTDeviceRegistry.java.
|
static |
Definition at line 294 of file BTDeviceRegistry.java.
|
static |
Definition at line 133 of file BTDeviceRegistry.java.
|
static |
Returns.
if all awaited devices have been processed.
Matching criteria is either the awaited device's DeviceQuery#addressSub or DeviceQuery#nameSub, whichever is set.
Matching algorithm is a simple
pattern match, i.e. the processed DeviceID contains one element of DeviceQuery.
Definition at line 287 of file BTDeviceRegistry.java.
|
static |
Returns.
if all awaited devices have been processed.
Matching criteria and algorithm is defined by the given DeviceQueryMatch.
Definition at line 258 of file BTDeviceRegistry.java.
|
static |
Clears internal list.
Definition at line 186 of file BTDeviceRegistry.java.
|
static |
Clears internal list.
Definition at line 315 of file BTDeviceRegistry.java.
|
static |
Clears internal list.
Definition at line 161 of file BTDeviceRegistry.java.
|
static |
|
static |
Returns a copy of the current collection of processed DeviceID.
Definition at line 180 of file BTDeviceRegistry.java.
|
static |
|
static |
Definition at line 303 of file BTDeviceRegistry.java.
|
static |
Returns a copy of the current collection of processing DeviceID.
Definition at line 309 of file BTDeviceRegistry.java.
|
static |
Returns the reference of the current list of DeviceQuery, not a copy.
Definition at line 155 of file BTDeviceRegistry.java.
|
static |
|
static |
|
static |
Definition at line 168 of file BTDeviceRegistry.java.
|
static |
Definition at line 300 of file BTDeviceRegistry.java.
|
static |
|
static |
Returns.
if the given
and/or
matches any of the awaited devices.
Matching criteria is either the awaited device's DeviceQuery#addressSub or DeviceQuery#nameSub, whichever is set.
Matching algorithm is a simple
pattern match, i.e. the given
or
contains the corresponding DeviceQuery element.
Definition at line 243 of file BTDeviceRegistry.java.
|
static |
Returns.
if the given
and/or
matches any of the awaited devices.
Matching criteria and algorithm is defined by the given DeviceQueryMatch.
Definition at line 219 of file BTDeviceRegistry.java.
|
static |
Definition at line 297 of file BTDeviceRegistry.java.