All Methods Static Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
static boolean |
accepted(DescriptorFilter.Please please) |
static boolean |
ack(ScanFilter.Please please) |
static int |
bleDeviceStatePurgeableMask() |
static java.lang.Boolean |
bond_private(BondFilter.Please please) |
static BondListener |
bondListener(BondFilter.Please please) |
static DeviceReconnectFilter.Timing |
bondTiming(BondListener.Status status) |
static boolean |
bool(java.lang.Boolean bool1,
java.lang.Boolean bool2) |
static boolean |
boolOrDefault(java.lang.Boolean bool) |
static boolean |
canFailConnection(BondListener.Status status) |
static BleOp |
createBleOp(java.util.UUID serviceUuid,
java.util.UUID charUuid,
java.util.UUID descUuid,
DescriptorFilter filter,
byte[] data,
ReadWriteListener.Type type) |
static <T extends BleOp> T |
createDuplicate(T op) |
static BleOp |
createNewOp(BleOp op) |
static boolean |
doMtuTest(MtuTestCallback.Please please) |
static BleDeviceConfig |
fromPlease(ScanFilter.Please please) |
static int |
gattStatus(IncomingListener.Please please) |
static java.util.UUID |
getCharUuid(MtuTestCallback.Please please) |
static int |
getConnectionOrdinal(BleDeviceState state) |
static byte[] |
getData(MtuTestCallback.Please please) |
static FutureData |
getFutureData(IncomingListener.Please please) |
static IBleDevice |
getIBleDevice(BleDevice device) |
static IBleManager |
getIBleManager(BleManager mgr) |
static IBleServer |
getIBleServer(BleServer server) |
static IBleTransaction |
getIBleTransaction(BleTransaction txn) |
static int |
getNativeBit(BleDeviceState state) |
static OutgoingListener |
getOutgoingListener(IncomingListener.Please please) |
static int |
getPersistanceLevel(BleNodeConfig.HistoricalDataLogFilter.Please please) |
static int |
getProperties(BleCharacteristic ch) |
static java.util.UUID |
getServiceUuid(MtuTestCallback.Please please) |
static BleManagerState |
getState(int nativeStateInt) |
static ReadWriteListener.Type |
getWriteType(MtuTestCallback.Please please) |
static void |
initTaskTimeoutRequestEvent(TaskTimeoutRequestFilter.TaskTimeoutRequestEvent event,
BleManager manager,
BleDevice device,
BleServer server,
BleTask task,
java.util.UUID charUuid,
java.util.UUID descUuid) |
static P_ConnectFailPlease |
internalPlease(ReconnectFilter.ConnectFailPlease please) |
static Interval |
interval(ReconnectFilter.ConnectionLostPlease please) |
static boolean |
isRetry(ReconnectFilter.ConnectFailPlease please) |
static java.lang.Boolean |
isUnitTest(BleManagerConfig config) |
static AdvertisingListener.AdvertisingEvent |
newAdvertisingEvent(BleServer server,
AdvertisingListener.Status status) |
static AssertListener.AssertEvent |
newAssertEvent(IBleManager mgr,
java.lang.String msg,
java.lang.StackTraceElement[] stackTrace) |
static BondFilter.CharacteristicEvent |
newBondCharEvent(BleDevice device,
java.util.UUID uuid,
BondFilter.CharacteristicEventType charType) |
static BondFilter.ConnectionBugEvent |
newBondConnectionBugEvent(BleDevice device) |
static BondListener.BondEvent |
newBondEvent(BleDevice device,
BondListener.BondEvent.Type bondType,
BondListener.Status status,
int failReason,
State.ChangeIntent intent) |
static BondListener.BondEvent |
newBondEventNULL(BleDevice device) |
static BondRetryFilter.RetryEvent |
newBondRetryEvent(BleDevice device,
int failCode,
int retryAttempts,
boolean direct,
boolean userPrompted) |
static DeviceConnectListener.ConnectEvent |
newConnectEvent(BleDevice device) |
static DeviceConnectListener.ConnectEvent |
newConnectEvent(BleDevice device,
DeviceReconnectFilter.ConnectFailEvent failEvent,
boolean willRetry) |
static DeviceReconnectFilter.ConnectFailEvent |
newConnectFailEARLYOUT(BleDevice device,
DeviceReconnectFilter.Status status) |
static DeviceReconnectFilter.ConnectFailEvent |
newConnectFailEvent(BleDevice device,
int failureCountSoFar,
P_DisconnectReason reason,
BleDeviceState highestStateReached_total,
Interval latestAttemptTime,
Interval totalAttemptTime) |
static DeviceReconnectFilter.ConnectFailEvent |
newConnectFailNULL(IBleDevice device) |
static ReconnectFilter.ConnectionLostEvent |
newConnectLostEvent(BleNode node,
java.lang.String macAddress,
int failureCount,
Interval totalTimeReconnecting,
Interval previousDelay,
ReconnectFilter.ConnectFailEvent connectionFailEvent,
ReconnectFilter.Type type) |
static DescriptorFilter.DescriptorEvent |
newDescriptorEvent(android.bluetooth.BluetoothGattService service,
android.bluetooth.BluetoothGattCharacteristic characteristic,
android.bluetooth.BluetoothGattDescriptor descriptor,
FutureData data) |
static BleDevice |
newDevice(IBleDevice deviceImpl) |
static IBluetoothDevice |
newDeviceLayer(IBleManager mgr,
IBleDevice device) |
static DeviceStateListener.StateEvent |
newDeviceStateEvent(BleDevice device,
int oldStateBits,
int newStateBits,
int intentMask,
int gattStatus) |
static DiscoveryListener.DiscoveryEvent |
newDiscoveryEvent(BleDevice device,
DiscoveryListener.LifeCycle lifeCycle) |
static IBluetoothGatt |
newGattLayer(BleDeviceConfig config,
BleDevice device) |
static HistoricalDataLoadListener.HistoricalDataLoadEvent |
newHistoricalDataLoadEvent(BleNode node,
java.lang.String macAddress,
java.util.UUID uuid,
EpochTimeRange range,
HistoricalDataLoadListener.Status status) |
static BleNodeConfig.HistoricalDataLogFilter.HistoricalDataLogEvent |
newHistoricalDataLogEvent(BleNode node,
java.lang.String macAddress,
java.util.UUID charUuid,
byte[] data,
EpochTime epochTime,
BleNodeConfig.HistoricalDataLogFilter.Source source) |
static HistoricalDataQueryListener.HistoricalDataQueryEvent |
newHistoricalDataQueryEvent(BleNode node,
java.util.UUID uuid,
android.database.Cursor cursor,
HistoricalDataQueryListener.Status status,
java.lang.String rawQuery) |
static IncomingListener.IncomingEvent |
newIncomingEvent(BleServer server,
P_DeviceHolder nativeDevice,
java.util.UUID serviceUuid,
java.util.UUID charUuid,
java.util.UUID descUuid,
ExchangeListener.Type type,
ExchangeListener.Target target,
byte[] data_in,
int requestId,
int offSet,
boolean responseNeeded) |
static ManagerStateListener.StateEvent |
newManagerStateEvent(BleManager manager,
int oldStateBits,
int newStateBits,
int intentMask) |
static MtuTestCallback.MtuTestEvent |
newMtuTestEvent(BleDevice device,
int mtu) |
static NotificationListener.NotificationEvent |
newNotificationEvent(BleDevice device,
BleNotify notify,
NotificationListener.Type type,
NotificationListener.Status status,
int gattStatus,
double totalTime,
double transitTime,
boolean solicited) |
static OutgoingListener.OutgoingEvent |
newOutgoingEarlyOut(BleServer server,
P_DeviceHolder device,
java.util.UUID serviceUuid,
java.util.UUID charUuid,
FutureData data,
OutgoingListener.Status status) |
static OutgoingListener.OutgoingEvent |
newOutgoingEvent(BleServer server,
P_DeviceHolder nativeDevice,
java.util.UUID serviceUuid,
java.util.UUID charUuid,
java.util.UUID descUuid,
ExchangeListener.Type type,
ExchangeListener.Target target,
byte[] data_received,
byte[] data_sent,
int requestId,
int offset,
boolean responseNeeded,
OutgoingListener.Status status,
int gattStatus_sent,
int gattStatus_received,
boolean solicited) |
static OutgoingListener.OutgoingEvent |
newOutgoingEvent(IncomingListener.IncomingEvent e,
byte[] data_sent,
OutgoingListener.Status status,
int gattStatus_sent,
int gattStatus_received) |
static ReadWriteListener.ReadWriteEvent |
newReadWriteEvent(BleDevice device,
BleOp bleOp,
ReadWriteListener.Type type,
ReadWriteListener.Target target,
ReadWriteListener.Status status,
int gattStatus,
double totalTime,
double transitTime,
boolean solicited) |
static ReadWriteListener.ReadWriteEvent |
newReadWriteEventConnectionPriority(BleDevice device,
BleConnectionPriority connectionPriority,
ReadWriteListener.Status status,
int gattStatus,
double totalTime,
double transitTime,
boolean solicited) |
static ReadWriteListener.ReadWriteEvent |
newReadWriteEventMtu(BleDevice device,
int mtu,
ReadWriteListener.Status status,
int gattStatus,
double totalTime,
double transitTime,
boolean solicited) |
static ReadWriteListener.ReadWriteEvent |
newReadWriteEventNULL(BleDevice device) |
static ReadWriteListener.ReadWriteEvent |
newReadWriteEventPhy(BleDevice device,
ReadWriteListener.Status status,
int gattStatus,
Phy options,
double totalTime,
double transitTime,
boolean solicited) |
static ReadWriteListener.ReadWriteEvent |
newReadWriteEventRssi(BleDevice device,
ReadWriteListener.Type type,
int rssi,
ReadWriteListener.Status status,
int gattStatus,
double totalTime,
double transitTime,
boolean solicited) |
static ResetListener.ResetEvent |
newResetEvent(BleManager mgr,
ResetListener.Progress progress) |
static ScanFilter.ScanEvent |
newScanEventFromRecord(android.bluetooth.BluetoothDevice device_native,
java.lang.String rawDeviceName,
java.lang.String normalizedDeviceName,
int rssi,
State.ChangeIntent lastDisconnectIntent,
byte[] scanRecord) |
static BleServer |
newServer(IBleServer serverImpl) |
static ServerConnectListener.ConnectEvent |
newServerConnectEvent(BleServer server,
java.lang.String macAddress,
ServerReconnectFilter.ConnectFailEvent failEvent) |
static ServerReconnectFilter.ConnectFailEvent |
newServerConnectFailEvent(BleServer server,
android.bluetooth.BluetoothDevice nativeDevice,
ServerReconnectFilter.Status status,
int failureCountSoFar,
Interval lastAttemptTime,
Interval totalAttemptTime,
int gattStatus,
ReconnectFilter.AutoConnectUsage autoConnectUsage,
java.util.ArrayList<ServerReconnectFilter.ConnectFailEvent> history) |
static ServerReconnectFilter.ConnectFailEvent |
newServerEarlyOut(BleServer server,
android.bluetooth.BluetoothDevice device,
ServerReconnectFilter.Status status) |
static ServerStateListener.StateEvent |
newServerStateEvent(BleServer server,
java.lang.String macAddress,
int oldBits,
int newBits,
int intentMask,
int gattStatus) |
static AddServiceListener.ServiceAddEvent |
newServiceAddEvent_EARLY_OUT(BleServer server,
android.bluetooth.BluetoothGattService service,
AddServiceListener.Status status) |
static AddServiceListener.ServiceAddEvent |
newServiceAddEvent_NULL(BleServer server,
android.bluetooth.BluetoothGattService service) |
static AddServiceListener.ServiceAddEvent |
newServiceAddEvent(BleServer server,
android.bluetooth.BluetoothGattService service,
AddServiceListener.Status status,
int gattStatus,
boolean solicited) |
static BondFilter.StateChangeEvent |
newStateChangeEvent(BleDevice device,
int oldStateBits,
int newStateBits,
int intentMask,
int gattStatus) |
static MtuTestCallback.TestResult |
newTestResult(BleDevice device,
MtuTestCallback.TestResult.Result result,
ReadWriteListener.Status writeStatus) |
static BleTransaction |
newTransaction(IBleTransaction txn,
P_ITransaction.Type type,
P_Bridge_User.TransactionHolder holder) |
static UhOhListener.UhOhEvent |
newUhOhEvent(BleManager mgr,
UhOhListener.UhOh uhOh) |
static BleManagerConfig |
nullConfig() |
static OutgoingListener.OutgoingEvent |
outgoingNULL(BleServer server,
P_DeviceHolder device,
java.util.UUID serviceUuid,
java.util.UUID charUuid) |
static boolean |
respond(IncomingListener.Please please) |
static ServerReconnectFilter.ConnectFailEvent |
serverNULL(BleServer server,
android.bluetooth.BluetoothDevice device) |
static boolean |
setCharValue(BleCharacteristic ch,
byte[] value) |
static void |
setCharWriteType(BleCharacteristic ch,
ReadWriteListener.Type type) |
static boolean |
setDescValue(BleDescriptor desc,
byte[] value) |
static void |
setUnitTest(BleManagerConfig config,
boolean isUnitTest) |
static boolean |
shouldPersist(ReconnectFilter.ConnectionLostPlease please) |
static boolean |
shouldRetry(BondRetryFilter.Please please) |
static boolean |
shouldTryConnectionBugFix(BondFilter.ConnectionBugEvent.Please please) |
static boolean |
stopPeriodicScan(ScanFilter.Please please)
Deprecated.
|
static boolean |
stopScan(ScanFilter.Please please) |
static Interval |
timeout(ReconnectFilter.ConnectionLostPlease please) |
static boolean |
wasExplicit(DeviceReconnectFilter.Status status) |