Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

ActiveCharacteristicNotification - Class in com.polidea.rxandroidble2.internal.util
 
ActiveCharacteristicNotification(<any>, boolean) - Constructor for class com.polidea.rxandroidble2.internal.util.ActiveCharacteristicNotification
 
adapterDisabled(String) - Static method in exception com.polidea.rxandroidble2.exceptions.BleDisconnectedException
 
AdvertisedServiceUUIDExtractor - Class in com.polidea.rxandroidble2.helpers
 
AdvertisedServiceUUIDExtractor() - Constructor for class com.polidea.rxandroidble2.helpers.AdvertisedServiceUUIDExtractor
 
AndroidScanObjectsConverter - Class in com.polidea.rxandroidble2.internal.scan
 
AndroidScanObjectsConverter(int) - Constructor for class com.polidea.rxandroidble2.internal.scan.AndroidScanObjectsConverter
 
applicationContext(Context) - Method in interface com.polidea.rxandroidble2.ClientComponent.Builder
 
apply(<any>) - Method in class com.polidea.rxandroidble2.internal.connection.ImmediateSerializedBatchAckStrategy
 
apply(<any>) - Method in class com.polidea.rxandroidble2.internal.connection.NoRetryStrategy
 
apply(RxBleInternalScanResult) - Method in class com.polidea.rxandroidble2.internal.scan.InternalToExternalScanResultConverter
 
apply(<any>) - Method in class com.polidea.rxandroidble2.utils.ConnectionSharingAdapter
Deprecated.
 
asErrorOnlyObservable() - Method in interface com.polidea.rxandroidble2.internal.connection.DisconnectionRouterOutput
Function returning an Observable that will only throw error in case of a disconnection (will never emit value)
asObservable(BluetoothGatt, RxBleGattCallback, Scheduler) - Method in interface com.polidea.rxandroidble2.RxBleCustomOperation
Return an observable that implement a custom operation using low-level Android BLE API.
asObservable(BluetoothGatt, RxBleGattCallback, Scheduler) - Method in interface com.polidea.rxandroidble2.RxBleRadioOperationCustom
Deprecated.
Return an observable that implement a custom radio operation using low-level Android BLE API.
asValueOnlyObservable() - Method in interface com.polidea.rxandroidble2.internal.connection.DisconnectionRouterOutput
Function returning an Observable that will only emit value in case of a disconnection (will never emit an error)
AttributeLogWrapper(UUID, byte[], boolean) - Constructor for class com.polidea.rxandroidble2.internal.logger.LoggerUtil.AttributeLogWrapper
 
AUTO_CONNECT - Static variable in class com.polidea.rxandroidble2.internal.connection.ConnectionComponent.NamedBooleans
 
autoConnect - Variable in class com.polidea.rxandroidble2.ConnectionSetup
Flag related with BluetoothDevice.connectGatt(Context, boolean, BluetoothGattCallback) autoConnect flag.
autoConnect(boolean) - Method in interface com.polidea.rxandroidble2.internal.connection.ConnectionComponent.Builder
 
awaitRelease() - Method in interface com.polidea.rxandroidble2.internal.serialization.QueueAwaitReleaseInterface
 

B

BackgroundScanner - Interface in com.polidea.rxandroidble2.scan
 
BackgroundScannerImpl - Class in com.polidea.rxandroidble2.internal.scan
 
BASE_UUID - Static variable in class com.polidea.rxandroidble2.internal.util.UUIDUtil
Deprecated.
 
BleAdapterDisabledException - Exception in com.polidea.rxandroidble2.exceptions
 
BleAdapterDisabledException() - Constructor for exception com.polidea.rxandroidble2.exceptions.BleAdapterDisabledException
 
BleAlreadyConnectedException - Exception in com.polidea.rxandroidble2.exceptions
An exception being emitted from an io.reactivex.Observable returned by the function RxBleDevice.establishConnection(boolean) or other establishConnection() overloads when this kind of observable was already subscribed and RxBleConnection is currently being established or active.
BleAlreadyConnectedException(String) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleAlreadyConnectedException
 
BleCannotSetCharacteristicNotificationException - Exception in com.polidea.rxandroidble2.exceptions
 
BleCannotSetCharacteristicNotificationException(BluetoothGattCharacteristic) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleCannotSetCharacteristicNotificationException
Deprecated.
BleCannotSetCharacteristicNotificationException(BluetoothGattCharacteristic, int, Throwable) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleCannotSetCharacteristicNotificationException
 
BleCannotSetCharacteristicNotificationException.Reason - Annotation Type in com.polidea.rxandroidble2.exceptions
 
BleCharacteristicNotFoundException - Exception in com.polidea.rxandroidble2.exceptions
An exception being emitted from RxBleDeviceServices.getCharacteristic(UUID) or any RxBleConnection function that accepts UUID in case the said UUID is not found in the discovered device services.
BleCharacteristicNotFoundException(UUID) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleCharacteristicNotFoundException
 
BleConflictingNotificationAlreadySetException - Exception in com.polidea.rxandroidble2.exceptions
An exception being emitted from RxBleConnection.setupNotification(UUID)/ RxBleConnection.setupIndication(UUID) or overloads in case when an opposite type (indication/notification) was already set.
BleConflictingNotificationAlreadySetException(UUID, boolean) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleConflictingNotificationAlreadySetException
 
BleConnectionCompat - Class in com.polidea.rxandroidble2.internal.util
 
BleConnectionCompat(Context) - Constructor for class com.polidea.rxandroidble2.internal.util.BleConnectionCompat
 
BleDescriptorNotFoundException - Exception in com.polidea.rxandroidble2.exceptions
 
BleDescriptorNotFoundException(UUID) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleDescriptorNotFoundException
 
BleDisconnectedException - Exception in com.polidea.rxandroidble2.exceptions
Exception emitted when the BLE link has been disconnected either when the connection was already established or was in pending connection state.
BleDisconnectedException() - Constructor for exception com.polidea.rxandroidble2.exceptions.BleDisconnectedException
Deprecated.
In general, there's no place in a public API that requires you to instantiate this exception directly. If you use it anyway, please switch to BleDisconnectedException.BleDisconnectedException(String, int)
BleDisconnectedException(Throwable, String) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleDisconnectedException
Deprecated.
In general, there's no place in a public API that requires you to instantiate this exception directly. If you use it anyway, please switch to BleDisconnectedException.BleDisconnectedException(Throwable, String, int)
BleDisconnectedException(String) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleDisconnectedException
Deprecated.
In general, there's no place in a public API that requires you to instantiate this exception directly. If you use it anyway, please switch to BleDisconnectedException.BleDisconnectedException(String, int) or don't use it.
BleDisconnectedException(Throwable, String, int) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleDisconnectedException
 
BleDisconnectedException(String, int) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleDisconnectedException
 
BleException - Exception in com.polidea.rxandroidble2.exceptions
Base class of exceptions in this project.
BleException() - Constructor for exception com.polidea.rxandroidble2.exceptions.BleException
 
BleException(String) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleException
 
BleException(Throwable) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleException
 
BleException(String, Throwable) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleException
 
BleGattCallbackTimeoutException - Exception in com.polidea.rxandroidble2.exceptions
This exception is used when a call on a BluetoothGatt has returned true (succeeded) but the corresponding BluetoothGattCallback callback was not called after a certain time (usually 30 seconds) which is considered a Android OS BLE Stack misbehaviour
BleGattCallbackTimeoutException(BluetoothGatt, BleGattOperationType) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleGattCallbackTimeoutException
 
BleGattCannotStartException - Exception in com.polidea.rxandroidble2.exceptions
An exception emitted from RxBleConnection functions when the underlying BluetoothGatt returns `false` from BluetoothGatt.readRemoteRssi() or other functions associated with device interaction.
BleGattCannotStartException(BleGattOperationType) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleGattCannotStartException
Deprecated.
BleGattCannotStartException(BluetoothGatt, BleGattOperationType) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleGattCannotStartException
 
BleGattCharacteristicException - Exception in com.polidea.rxandroidble2.exceptions
An exception being emitted from RxBleConnection.readCharacteristic(BluetoothGattCharacteristic) or other characteristic related observables when the BluetoothGattCallback is called with status other than BluetoothGatt.GATT_SUCCESS
BleGattCharacteristicException(BluetoothGatt, BluetoothGattCharacteristic, int, BleGattOperationType) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleGattCharacteristicException
 
BleGattDescriptorException - Exception in com.polidea.rxandroidble2.exceptions
 
BleGattDescriptorException(BluetoothGatt, BluetoothGattDescriptor, int, BleGattOperationType) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleGattDescriptorException
 
BleGattException - Exception in com.polidea.rxandroidble2.exceptions
Exception emitted when the BLE link has been interrupted as a result of an error.
BleGattException(int, BleGattOperationType) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleGattException
Deprecated.
BleGattException(BluetoothGatt, int, BleGattOperationType) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleGattException
 
BleGattException(BluetoothGatt, BleGattOperationType) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleGattException
 
BleGattOperationType - Class in com.polidea.rxandroidble2.exceptions
 
BleIllegalOperationException - Exception in com.polidea.rxandroidble2.internal
This exception is thrown when a non-supported operation has been requested upon a characteristic, eg.
BleIllegalOperationException(String, UUID, int, int) - Constructor for exception com.polidea.rxandroidble2.internal.BleIllegalOperationException
 
BleScanException - Exception in com.polidea.rxandroidble2.exceptions
Exception emitted as a result of faulty scan operation.
BleScanException(int) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleScanException
 
BleScanException(int, Date) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleScanException
 
BleScanException(int, Throwable) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleScanException
 
BleScanException.Reason - Annotation Type in com.polidea.rxandroidble2.exceptions
 
BleServiceNotFoundException - Exception in com.polidea.rxandroidble2.exceptions
An exception emitted from RxBleDeviceServices or RxBleConnection functions that take service's UUID as a param in case the service with the corresponding UUID is not found in the discovered services.
BleServiceNotFoundException(UUID) - Constructor for exception com.polidea.rxandroidble2.exceptions.BleServiceNotFoundException
 
BLUETOOTH_CALLBACKS - Static variable in class com.polidea.rxandroidble2.ClientComponent.NamedExecutors
 
BLUETOOTH_CALLBACKS - Static variable in class com.polidea.rxandroidble2.ClientComponent.NamedSchedulers
 
BLUETOOTH_CANNOT_START - Static variable in exception com.polidea.rxandroidble2.exceptions.BleScanException
Scan did not start correctly because of unspecified error.
BLUETOOTH_DISABLED - Static variable in exception com.polidea.rxandroidble2.exceptions.BleScanException
Scan did not start correctly because the Bluetooth adapter was disabled.
BLUETOOTH_INTERACTION - Static variable in class com.polidea.rxandroidble2.ClientComponent.NamedExecutors
 
BLUETOOTH_INTERACTION - Static variable in class com.polidea.rxandroidble2.ClientComponent.NamedSchedulers
 
BLUETOOTH_NOT_AVAILABLE - Static variable in exception com.polidea.rxandroidble2.exceptions.BleScanException
Scan did not start correctly because the device does not support it.
bluetoothDeviceAddress - Variable in exception com.polidea.rxandroidble2.exceptions.BleDisconnectedException
 
BluetoothGattCharacteristicProperty - Annotation Type in com.polidea.rxandroidble2.internal
Annotation denoting that annotated int is either one or combination of flags describing characteristic properties from BluetoothGattCharacteristic.
BluetoothGattProvider - Class in com.polidea.rxandroidble2.internal.connection
 
BOOL_IS_ANDROID_WEAR - Static variable in class com.polidea.rxandroidble2.ClientComponent.PlatformConstants
 
build() - Method in interface com.polidea.rxandroidble2.ClientComponent.Builder
 
build() - Method in class com.polidea.rxandroidble2.ConnectionSetup.Builder
 
build() - Method in interface com.polidea.rxandroidble2.internal.connection.ConnectionComponent.Builder
 
build() - Method in class com.polidea.rxandroidble2.internal.connection.LongWriteOperationBuilderImpl
 
build() - Method in interface com.polidea.rxandroidble2.internal.DeviceComponent.Builder
 
build(ScanSettings, ScanFilter...) - Method in interface com.polidea.rxandroidble2.internal.scan.ScanSetupBuilder
 
build(ScanSettings, ScanFilter...) - Method in class com.polidea.rxandroidble2.internal.scan.ScanSetupBuilderImplApi18
 
build(ScanSettings, ScanFilter...) - Method in class com.polidea.rxandroidble2.internal.scan.ScanSetupBuilderImplApi21
 
build(ScanSettings, ScanFilter...) - Method in class com.polidea.rxandroidble2.internal.scan.ScanSetupBuilderImplApi23
 
build() - Method in class com.polidea.rxandroidble2.LogOptions.Builder
 
build() - Method in interface com.polidea.rxandroidble2.RxBleConnection.LongWriteOperationBuilder
Build function for the long write
build() - Method in class com.polidea.rxandroidble2.scan.ScanFilter.Builder
Build ScanFilter.
build() - Method in class com.polidea.rxandroidble2.scan.ScanSettings.Builder
Builder() - Constructor for class com.polidea.rxandroidble2.ConnectionSetup.Builder
 
Builder() - Constructor for class com.polidea.rxandroidble2.LogOptions.Builder
 
Builder() - Constructor for class com.polidea.rxandroidble2.scan.ScanFilter.Builder
 
Builder() - Constructor for class com.polidea.rxandroidble2.scan.ScanSettings.Builder
 
ByteArrayBatchObservable - Class in com.polidea.rxandroidble2.helpers
TODO It may be possible to introduce backpressure here.
ByteArrayBatchObservable(byte[], int) - Constructor for class com.polidea.rxandroidble2.helpers.ByteArrayBatchObservable
Constructor
ByteAssociation<T> - Class in com.polidea.rxandroidble2.internal.util
 
ByteAssociation(T, byte[]) - Constructor for class com.polidea.rxandroidble2.internal.util.ByteAssociation
 
ByteAssociationUtil - Class in com.polidea.rxandroidble2.internal.util
 
bytesToHex(byte[]) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 

C

CALLBACK_TYPE_ALL_MATCHES - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
Trigger a callback for every Bluetooth advertisement found that matches the filter criteria.
CALLBACK_TYPE_FIRST_MATCH - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
A result callback is only triggered for the first advertisement packet received that matches the filter criteria.
CALLBACK_TYPE_MATCH_LOST - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
Receive a callback when advertisements are no longer received from a device that has been previously reported by a first match callback.
cancel() - Method in class com.polidea.rxandroidble2.internal.util.QueueReleasingEmitterWrapper
 
CANNOT_FIND_CLIENT_CHARACTERISTIC_CONFIG_DESCRIPTOR - Static variable in exception com.polidea.rxandroidble2.exceptions.BleCannotSetCharacteristicNotificationException
Used when a call to BluetoothGattCharacteristic.getDescriptor(UUID) does not return the Client Characteristic Configuration Descriptor ("00002902-0000-1000-8000-00805f9b34fb").
CANNOT_SET_LOCAL_NOTIFICATION - Static variable in exception com.polidea.rxandroidble2.exceptions.BleCannotSetCharacteristicNotificationException
Used when call to BluetoothGatt.setCharacteristicNotification(BluetoothGattCharacteristic, boolean) returns false.
CANNOT_WRITE_CLIENT_CHARACTERISTIC_CONFIG_DESCRIPTOR - Static variable in exception com.polidea.rxandroidble2.exceptions.BleCannotSetCharacteristicNotificationException
Used when a call to writing to Client Characteristic Configuration Descriptor fails due to BluetoothGatt.writeDescriptor(BluetoothGattDescriptor) returns `false` or BluetoothGattCallback.onDescriptorWrite(BluetoothGatt, BluetoothGattDescriptor, int) is called with status other than BluetoothGatt.GATT_SUCCESS.
characteristic - Variable in exception com.polidea.rxandroidble2.exceptions.BleGattCharacteristicException
 
CHARACTERISTIC_CHANGED - Static variable in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
CHARACTERISTIC_LONG_WRITE - Static variable in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
CHARACTERISTIC_READ - Static variable in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
CHARACTERISTIC_WRITE - Static variable in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
CharacteristicChangedEvent - Class in com.polidea.rxandroidble2.internal.util
 
CharacteristicChangedEvent(UUID, Integer, byte[]) - Constructor for class com.polidea.rxandroidble2.internal.util.CharacteristicChangedEvent
 
CharacteristicLongWriteOperation - Class in com.polidea.rxandroidble2.internal.operations
 
CharacteristicNotificationId - Class in com.polidea.rxandroidble2.internal.util
 
CharacteristicNotificationId(UUID, Integer) - Constructor for class com.polidea.rxandroidble2.internal.util.CharacteristicNotificationId
 
CharacteristicPropertiesParser - Class in com.polidea.rxandroidble2.internal.util
 
CharacteristicPropertiesParser(int, int, int, int, int, int, int) - Constructor for class com.polidea.rxandroidble2.internal.util.CharacteristicPropertiesParser
 
CharacteristicReadOperation - Class in com.polidea.rxandroidble2.internal.operations
 
characteristicUUID - Variable in exception com.polidea.rxandroidble2.internal.BleIllegalOperationException
 
characteristicUUIDPredicate(UUID) - Static method in class com.polidea.rxandroidble2.internal.util.ByteAssociationUtil
 
CharacteristicWriteOperation - Class in com.polidea.rxandroidble2.internal.operations
 
checkAnyPropertyMatches(BluetoothGattCharacteristic, int) - Method in class com.polidea.rxandroidble2.internal.connection.IllegalOperationChecker
This method checks whether the supplied characteristic possesses properties supporting the requested kind of operation, specified by the supplied bitmask.
CheckerLocationPermission - Class in com.polidea.rxandroidble2.internal.util
 
CheckerLocationPermission(Context) - Constructor for class com.polidea.rxandroidble2.internal.util.CheckerLocationPermission
 
CheckerLocationProvider - Class in com.polidea.rxandroidble2.internal.util
 
clear() - Method in class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 
ClientComponent - Interface in com.polidea.rxandroidble2
 
ClientComponent.BluetoothConstants - Class in com.polidea.rxandroidble2
 
ClientComponent.Builder - Interface in com.polidea.rxandroidble2
 
ClientComponent.ClientComponentFinalizer - Interface in com.polidea.rxandroidble2
 
ClientComponent.ClientModule - Class in com.polidea.rxandroidble2
 
ClientComponent.NamedBooleanObservables - Class in com.polidea.rxandroidble2
 
ClientComponent.NamedExecutors - Class in com.polidea.rxandroidble2
 
ClientComponent.NamedSchedulers - Class in com.polidea.rxandroidble2
 
ClientComponent.PlatformConstants - Class in com.polidea.rxandroidble2
 
ClientModule() - Constructor for class com.polidea.rxandroidble2.ClientComponent.ClientModule
 
ClientOperationQueue - Interface in com.polidea.rxandroidble2.internal.serialization
Interface used for serialization of Operation execution.
ClientOperationQueueImpl - Class in com.polidea.rxandroidble2.internal.serialization
 
ClientOperationQueueImpl(Scheduler) - Constructor for class com.polidea.rxandroidble2.internal.serialization.ClientOperationQueueImpl
 
ClientScope - Annotation Type in com.polidea.rxandroidble2
 
ClientStateObservable - Class in com.polidea.rxandroidble2.internal.util
The Observable class which emits changes to the Client State.
ClientStateObservable(RxBleAdapterWrapper, <any>, <any>, LocationServicesStatus, Scheduler) - Constructor for class com.polidea.rxandroidble2.internal.util.ClientStateObservable
 
com.polidea.rxandroidble2 - package com.polidea.rxandroidble2
 
com.polidea.rxandroidble2.exceptions - package com.polidea.rxandroidble2.exceptions
 
com.polidea.rxandroidble2.helpers - package com.polidea.rxandroidble2.helpers
 
com.polidea.rxandroidble2.internal - package com.polidea.rxandroidble2.internal
 
com.polidea.rxandroidble2.internal.cache - package com.polidea.rxandroidble2.internal.cache
 
com.polidea.rxandroidble2.internal.connection - package com.polidea.rxandroidble2.internal.connection
 
com.polidea.rxandroidble2.internal.logger - package com.polidea.rxandroidble2.internal.logger
 
com.polidea.rxandroidble2.internal.operations - package com.polidea.rxandroidble2.internal.operations
 
com.polidea.rxandroidble2.internal.scan - package com.polidea.rxandroidble2.internal.scan
 
com.polidea.rxandroidble2.internal.serialization - package com.polidea.rxandroidble2.internal.serialization
 
com.polidea.rxandroidble2.internal.util - package com.polidea.rxandroidble2.internal.util
 
com.polidea.rxandroidble2.scan - package com.polidea.rxandroidble2.scan
 
com.polidea.rxandroidble2.utils - package com.polidea.rxandroidble2.utils
 
commonMacMessage(BluetoothGatt) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
commonMacMessage(String) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
compareTo(Operation) - Method in class com.polidea.rxandroidble2.internal.QueueOperation
The function for determining which position in Bluetooth Radio's Priority Blocking Queue this operation should take
COMPUTATION - Static variable in class com.polidea.rxandroidble2.ClientComponent.NamedSchedulers
 
CONNECT_TIMEOUT - Static variable in class com.polidea.rxandroidble2.internal.DeviceModule
 
connectGatt(BluetoothDevice, boolean, BluetoothGattCallback) - Method in class com.polidea.rxandroidble2.internal.util.BleConnectionCompat
 
CONNECTION_PRIORITY_CHANGE - Static variable in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
CONNECTION_QUEUE - Static variable in class com.polidea.rxandroidble2.ClientComponent.NamedExecutors
 
CONNECTION_STATE - Static variable in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
ConnectionComponent - Interface in com.polidea.rxandroidble2.internal.connection
 
ConnectionComponent.Builder - Interface in com.polidea.rxandroidble2.internal.connection
 
ConnectionComponent.NamedBooleans - Class in com.polidea.rxandroidble2.internal.connection
 
ConnectionComponent.NamedInts - Class in com.polidea.rxandroidble2.internal.connection
 
ConnectionModule - Class in com.polidea.rxandroidble2.internal.connection
 
ConnectionModule() - Constructor for class com.polidea.rxandroidble2.internal.connection.ConnectionModule
 
ConnectionOperationQueue - Interface in com.polidea.rxandroidble2.internal.serialization
ConnectionOperationQueueImpl - Class in com.polidea.rxandroidble2.internal.serialization
 
ConnectionParameters - Interface in com.polidea.rxandroidble2
An interface representing connection parameters update
ConnectionParametersImpl - Class in com.polidea.rxandroidble2.internal.connection
 
ConnectionPriorityChangeOperation - Class in com.polidea.rxandroidble2.internal.operations
 
ConnectionScope - Annotation Type in com.polidea.rxandroidble2.internal.connection
 
ConnectionSetup - Class in com.polidea.rxandroidble2
Container for various connection parameters.
ConnectionSetup.Builder - Class in com.polidea.rxandroidble2
 
ConnectionSharingAdapter - Class in com.polidea.rxandroidble2.utils
Deprecated.
As of RxAndroidBLE 1.6.0, the connection sharing adapter is deprecated. Consider implementing your own way of maintaining the connection state or use ReplayingShare (http://github.com/JakeWharton/RxReplayingShare)
ConnectionSharingAdapter() - Constructor for class com.polidea.rxandroidble2.utils.ConnectionSharingAdapter
Deprecated.
 
ConnectionStateChangeListener - Interface in com.polidea.rxandroidble2.internal.connection
 
ConnectionSubscriptionWatcher - Interface in com.polidea.rxandroidble2.internal.connection
Interface for all classes that should be called when the user subscribes/unsubscribes to RxBleDevice.establishConnection(boolean) The binding which injects the interface to a ConnectorImpl is in ConnectionModule
connectionSubscriptionWatchers() - Method in interface com.polidea.rxandroidble2.internal.connection.ConnectionComponent
 
connectOperation() - Method in interface com.polidea.rxandroidble2.internal.connection.ConnectionComponent
 
ConnectOperation - Class in com.polidea.rxandroidble2.internal.operations
 
Connector - Interface in com.polidea.rxandroidble2.internal.connection
 
ConnectorImpl - Class in com.polidea.rxandroidble2.internal.connection
 
ConnectorImpl(ClientOperationQueue, ConnectionComponent.Builder, Scheduler) - Constructor for class com.polidea.rxandroidble2.internal.connection.ConnectorImpl
 
containsKey(Object) - Method in class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 
containsValue(Object) - Method in class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 
create(BluetoothDevice, int, byte[]) - Method in class com.polidea.rxandroidble2.internal.scan.InternalScanResultCreator
 
create(ScanResult) - Method in class com.polidea.rxandroidble2.internal.scan.InternalScanResultCreator
 
create(int, ScanResult) - Method in class com.polidea.rxandroidble2.internal.scan.InternalScanResultCreator
 
create(T, byte[]) - Static method in class com.polidea.rxandroidble2.internal.util.ByteAssociation
 
create(Context) - Static method in class com.polidea.rxandroidble2.RxBleClient
Returns instance of RxBleClient using application context.
createInstance(Context) - Static method in class com.polidea.rxandroidble2.helpers.LocationServicesOkObservable
 
createMismatchMessage(BluetoothGattCharacteristic, int) - Method in class com.polidea.rxandroidble2.internal.connection.IllegalOperationMessageCreator
 
createNewLongWriteBuilder() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
createNewLongWriteBuilder() - Method in interface com.polidea.rxandroidble2.RxBleConnection
Returns a LongWriteOperationBuilder used for creating atomic write operations divided into multiple writes.
CREATOR - Static variable in class com.polidea.rxandroidble2.scan.ScanFilter
A Parcelable.Creator to create ScanFilter from parcel.
CREATOR - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
 

D

d(String, Object...) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
d(Throwable, String, Object...) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
data - Variable in class com.polidea.rxandroidble2.internal.util.CharacteristicChangedEvent
 
DEBUG - Static variable in class com.polidea.rxandroidble2.internal.RxBleLog
Deprecated.
DEBUG - Static variable in class com.polidea.rxandroidble2.LogConstants
LogConstants.INFO + info needed to debug the library if a wrong behaviour is observed
DEFAULT_OPERATION_TIMEOUT - Static variable in class com.polidea.rxandroidble2.ConnectionSetup
 
definedPriority() - Method in interface com.polidea.rxandroidble2.internal.operations.Operation
 
definedPriority() - Method in class com.polidea.rxandroidble2.internal.QueueOperation
A function returning the priority of this operation
describeContents() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
 
describeContents() - Method in class com.polidea.rxandroidble2.scan.ScanSettings
 
descriptor - Variable in exception com.polidea.rxandroidble2.exceptions.BleGattDescriptorException
 
DESCRIPTOR_READ - Static variable in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
DESCRIPTOR_WRITE - Static variable in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
descriptorPredicate(BluetoothGattDescriptor) - Static method in class com.polidea.rxandroidble2.internal.util.ByteAssociationUtil
 
DescriptorReadOperation - Class in com.polidea.rxandroidble2.internal.operations
 
DescriptorWriteOperation - Class in com.polidea.rxandroidble2.internal.operations
 
DeviceComponent - Interface in com.polidea.rxandroidble2.internal
 
DeviceComponent.Builder - Interface in com.polidea.rxandroidble2.internal
 
DeviceComponentCache - Class in com.polidea.rxandroidble2.internal.cache
 
DeviceComponentCache() - Constructor for class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 
DeviceModule - Class in com.polidea.rxandroidble2.internal
 
DeviceModule() - Constructor for class com.polidea.rxandroidble2.internal.DeviceModule
 
DeviceScope - Annotation Type in com.polidea.rxandroidble2.internal
 
DISABLE_NOTIFICATION_VALUE - Static variable in class com.polidea.rxandroidble2.ClientComponent.BluetoothConstants
 
DISCONNECT_TIMEOUT - Static variable in class com.polidea.rxandroidble2.internal.DeviceModule
 
DisconnectionRouterOutput - Interface in com.polidea.rxandroidble2.internal.connection
Interface to output disconnection error causes.
DisconnectOperation - Class in com.polidea.rxandroidble2.internal.operations
 
discoverServices() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
discoverServices(long, TimeUnit) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
discoverServices() - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs GATT service discovery and emits discovered results.
discoverServices(long, TimeUnit) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs GATT service discovery and emits discovered results.
disposableObserver(<any>) - Static method in class com.polidea.rxandroidble2.internal.util.DisposableUtil
 
disposableObserverFromEmitter(<any>) - Static method in class com.polidea.rxandroidble2.internal.util.DisposableUtil
 
disposableSingleObserverFromEmitter(<any>) - Static method in class com.polidea.rxandroidble2.internal.util.DisposableUtil
 
disposableSingleObserverFromEmitter(<any>) - Static method in class com.polidea.rxandroidble2.internal.util.DisposableUtil
 
DisposableUtil - Class in com.polidea.rxandroidble2.internal.util
 

E

e(String, Object...) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
e(Throwable, String, Object...) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
empty() - Static method in class com.polidea.rxandroidble2.scan.ScanFilter
A function that returns an empty filter
EmulatedScanFilterMatcher - Class in com.polidea.rxandroidble2.internal.scan
 
EmulatedScanFilterMatcher(ScanFilterInterface...) - Constructor for class com.polidea.rxandroidble2.internal.scan.EmulatedScanFilterMatcher
 
ENABLE_INDICATION_VALUE - Static variable in class com.polidea.rxandroidble2.ClientComponent.BluetoothConstants
 
ENABLE_NOTIFICATION_VALUE - Static variable in class com.polidea.rxandroidble2.ClientComponent.BluetoothConstants
 
entrySet() - Method in class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 
equals(Object) - Method in class com.polidea.rxandroidble2.internal.util.ByteAssociation
 
equals(Object) - Method in class com.polidea.rxandroidble2.internal.util.CharacteristicChangedEvent
 
equals(Object) - Method in class com.polidea.rxandroidble2.scan.ScanFilter
 
ERROR - Static variable in class com.polidea.rxandroidble2.internal.RxBleLog
Deprecated.
ERROR - Static variable in class com.polidea.rxandroidble2.LogConstants
Only critical library errors will be logged
establishConnection(boolean) - Method in interface com.polidea.rxandroidble2.RxBleDevice
Establishes connection with a given BLE device.
establishConnection(boolean, Timeout) - Method in interface com.polidea.rxandroidble2.RxBleDevice
Establishes connection with a given BLE device.
ExternalScanSettingsExtension - Interface in com.polidea.rxandroidble2.internal.scan
An interface that describes what library extensions should be added to ScanSettings
ExternalScanSettingsExtension.Builder<T extends ExternalScanSettingsExtension.Builder<T>> - Interface in com.polidea.rxandroidble2.internal.scan
 
extractUUIDs(byte[]) - Method in class com.polidea.rxandroidble2.helpers.AdvertisedServiceUUIDExtractor
 
extractUUIDs(byte[]) - Method in class com.polidea.rxandroidble2.internal.util.UUIDUtil
Deprecated.
 

F

first - Variable in class com.polidea.rxandroidble2.internal.util.ByteAssociation
 
FORMAT_FLOAT - Static variable in class com.polidea.rxandroidble2.helpers.ValueInterpreter
Characteristic value format type float (32-bit float)
FORMAT_SFLOAT - Static variable in class com.polidea.rxandroidble2.helpers.ValueInterpreter
Characteristic value format type sfloat (16-bit float)
FORMAT_SINT16 - Static variable in class com.polidea.rxandroidble2.helpers.ValueInterpreter
Characteristic value format type sint16
FORMAT_SINT32 - Static variable in class com.polidea.rxandroidble2.helpers.ValueInterpreter
Characteristic value format type sint32
FORMAT_SINT8 - Static variable in class com.polidea.rxandroidble2.helpers.ValueInterpreter
Characteristic value format type sint8
FORMAT_UINT16 - Static variable in class com.polidea.rxandroidble2.helpers.ValueInterpreter
Characteristic value format type uint16
FORMAT_UINT32 - Static variable in class com.polidea.rxandroidble2.helpers.ValueInterpreter
Characteristic value format type uint32
FORMAT_UINT8 - Static variable in class com.polidea.rxandroidble2.helpers.ValueInterpreter
Characteristic value format type uint8

G

GATT_MTU_MAXIMUM - Static variable in interface com.polidea.rxandroidble2.RxBleConnection
The maximum supported value for MTU (Maximum Transfer Unit) used by a bluetooth connection on Android OS.
GATT_MTU_MINIMUM - Static variable in interface com.polidea.rxandroidble2.RxBleConnection
The minimum (default) value for MTU (Maximum Transfer Unit) used by a bluetooth connection.
GATT_READ_MTU_OVERHEAD - Static variable in interface com.polidea.rxandroidble2.RxBleConnection
The overhead value that is subtracted from the amount of bytes available when reading from a characteristic.
GATT_WRITE_MTU_OVERHEAD - Static variable in interface com.polidea.rxandroidble2.RxBleConnection
The overhead value that is subtracted from the amount of bytes available when writing to a characteristic.
gattCallback() - Method in interface com.polidea.rxandroidble2.internal.connection.ConnectionComponent
 
GattStatusParser - Class in com.polidea.rxandroidble2.utils
 
get(Object) - Method in class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 
get() - Method in class com.polidea.rxandroidble2.internal.util.LocationServicesOkObservableApi23Factory
 
getAdvertiseFlags() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplCompat
Returns the advertising flags indicating the discoverable mode and capability of the device.
getAdvertiseFlags() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplNativeWrapper
 
getAdvertiseFlags() - Method in interface com.polidea.rxandroidble2.scan.ScanRecord
Returns the advertising flags indicating the discoverable mode and capability of the device.
getBackgroundScanner() - Method in class com.polidea.rxandroidble2.RxBleClient
Returns a background scanner instance that can be used to handle background scans, even if your process is stopped.
getBatchIndex() - Method in class com.polidea.rxandroidble2.RxBleConnection.WriteOperationRetryStrategy.LongWriteFailure
Get the batch index of the failed write request
getBleDevice(String) - Method in class com.polidea.rxandroidble2.internal.RxBleDeviceProvider
 
getBleDevice(String) - Method in class com.polidea.rxandroidble2.RxBleClient
Obtain instance of RxBleDevice for provided MAC address.
getBleDevice() - Method in class com.polidea.rxandroidble2.RxBleScanResult
Returns RxBleDevice which is a handle for Bluetooth operations on a device.
getBleDevice() - Method in class com.polidea.rxandroidble2.scan.ScanResult
 
getBleGattOperationType() - Method in exception com.polidea.rxandroidble2.exceptions.BleGattException
 
getBluetoothDevice() - Method in class com.polidea.rxandroidble2.internal.scan.RxBleInternalScanResult
 
getBluetoothDevice() - Method in class com.polidea.rxandroidble2.internal.scan.RxBleInternalScanResultLegacy
 
getBluetoothDevice() - Method in interface com.polidea.rxandroidble2.RxBleDevice
The underlying android.bluetooth.BluetoothDevice.
getBluetoothGatt() - Method in class com.polidea.rxandroidble2.internal.connection.BluetoothGattProvider
Provides most recent instance of the BluetoothGatt.
getBluetoothGattCallback() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
getBluetoothGattCharacteristic() - Method in exception com.polidea.rxandroidble2.exceptions.BleCannotSetCharacteristicNotificationException
 
getBluetoothGattServices() - Method in class com.polidea.rxandroidble2.RxBleDeviceServices
List of all GATT services supported by the device
getBondedDevices() - Method in class com.polidea.rxandroidble2.internal.util.RxBleAdapterWrapper
 
getBondedDevices() - Method in class com.polidea.rxandroidble2.RxBleClient
A function returning a set of currently bonded devices If Bluetooth state is not STATE_ON, this API will return an empty set.
getBytes() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplCompat
Returns raw bytes of scan record.
getBytes() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplNativeWrapper
 
getBytes() - Method in interface com.polidea.rxandroidble2.scan.ScanRecord
Returns raw bytes of scan record.
getBytesFromAssociation() - Static method in class com.polidea.rxandroidble2.internal.util.ByteAssociationUtil
 
getCallback(RxBleGattCallback) - Method in class com.polidea.rxandroidble2.internal.operations.CharacteristicReadOperation
 
getCallback(RxBleGattCallback) - Method in class com.polidea.rxandroidble2.internal.operations.CharacteristicWriteOperation
 
getCallback(RxBleGattCallback) - Method in class com.polidea.rxandroidble2.internal.operations.ConnectionPriorityChangeOperation
 
getCallback(RxBleGattCallback) - Method in class com.polidea.rxandroidble2.internal.operations.DescriptorReadOperation
 
getCallback(RxBleGattCallback) - Method in class com.polidea.rxandroidble2.internal.operations.DescriptorWriteOperation
 
getCallback(RxBleGattCallback) - Method in class com.polidea.rxandroidble2.internal.operations.MtuRequestOperation
 
getCallback(RxBleGattCallback) - Method in class com.polidea.rxandroidble2.internal.operations.ReadRssiOperation
 
getCallback(RxBleGattCallback) - Method in class com.polidea.rxandroidble2.internal.operations.ServiceDiscoveryOperation
 
getCallback(RxBleGattCallback) - Method in class com.polidea.rxandroidble2.internal.SingleResponseOperation
A function that should return Observable derived from the passed RxBleGattCallback.
getCallbackType() - Method in class com.polidea.rxandroidble2.scan.ScanResult
 
getCallbackType() - Method in class com.polidea.rxandroidble2.scan.ScanSettings
 
getCause() - Method in class com.polidea.rxandroidble2.RxBleConnection.WriteOperationRetryStrategy.LongWriteFailure
Get the failed cause of the write request
getCharacteristic(UUID) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
Deprecated.
getCharacteristic(UUID) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Deprecated.
getCharacteristic(UUID) - Method in class com.polidea.rxandroidble2.RxBleDeviceServices
Creates an observable emitting BluetoothGattCharacteristic with matching characteristic UUID.
getCharacteristic(UUID, UUID) - Method in class com.polidea.rxandroidble2.RxBleDeviceServices
Creates an observable emitting BluetoothGattCharacteristics with matching service UUID and characteristic UUID.
getCharacteristicName(UUID) - Static method in class com.polidea.rxandroidble2.utils.StandardUUIDsParser
 
getCharacteristicUuid() - Method in exception com.polidea.rxandroidble2.exceptions.BleConflictingNotificationAlreadySetException
 
getCharactersisticUUID() - Method in exception com.polidea.rxandroidble2.exceptions.BleCharacteristicNotFoundException
 
getConnectionInterval() - Method in interface com.polidea.rxandroidble2.ConnectionParameters
Returns the connection interval used on this connection, 1.25ms unit.
getConnectionInterval() - Method in class com.polidea.rxandroidble2.internal.connection.ConnectionParametersImpl
 
getConnectionParametersUpdates() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
getConnectionState() - Method in interface com.polidea.rxandroidble2.RxBleDevice
Returns current connection state of the device's BluetoothGatt
getDescriptor(UUID, UUID) - Method in class com.polidea.rxandroidble2.RxBleDeviceServices
 
getDescriptor(UUID, UUID, UUID) - Method in class com.polidea.rxandroidble2.RxBleDeviceServices
 
getDescriptorName(UUID) - Static method in class com.polidea.rxandroidble2.utils.StandardUUIDsParser
 
getDescriptorUUID() - Method in exception com.polidea.rxandroidble2.exceptions.BleDescriptorNotFoundException
 
getDeviceAddress() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
 
getDeviceName() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplCompat
Returns the local name of the BLE device.
getDeviceName() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplNativeWrapper
 
getDeviceName() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
Returns the filter set the device name field of Bluetooth advertisement data.
getDeviceName() - Method in interface com.polidea.rxandroidble2.scan.ScanRecord
Returns the local name of the BLE device.
getFloatValue(byte[], int, int) - Static method in class com.polidea.rxandroidble2.helpers.ValueInterpreter
Return the float value interpreted from the passed byte array.
getGattCallbackStatusDescription(int) - Static method in class com.polidea.rxandroidble2.utils.GattStatusParser
 
getIntValue(byte[], int, int) - Static method in class com.polidea.rxandroidble2.helpers.ValueInterpreter
Return the integer value interpreted from the passed byte array.
getLogger() - Method in class com.polidea.rxandroidble2.LogOptions
 
getLogLevel() - Method in class com.polidea.rxandroidble2.LogOptions
 
getMacAddress() - Method in exception com.polidea.rxandroidble2.exceptions.BleGattException
 
getMacAddress() - Method in interface com.polidea.rxandroidble2.RxBleDevice
MAC address of the corresponding device.
getMacAddressLogSetting() - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
getMacAddressLogSetting() - Method in class com.polidea.rxandroidble2.LogOptions
 
getManufacturerData() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
 
getManufacturerDataMask() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
 
getManufacturerId() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
Returns the manufacturer id.
getManufacturerSpecificData() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplCompat
Returns a sparse array of manufacturer identifier and its corresponding manufacturer specific data.
getManufacturerSpecificData(int) - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplCompat
Returns the manufacturer specific data associated with the manufacturer id.
getManufacturerSpecificData() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplNativeWrapper
 
getManufacturerSpecificData(int) - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplNativeWrapper
 
getManufacturerSpecificData() - Method in interface com.polidea.rxandroidble2.scan.ScanRecord
Returns a sparse array of manufacturer identifier and its corresponding manufacturer specific data.
getManufacturerSpecificData(int) - Method in interface com.polidea.rxandroidble2.scan.ScanRecord
Returns the manufacturer specific data associated with the manufacturer id.
getMatchMode() - Method in class com.polidea.rxandroidble2.scan.ScanSettings
 
getMtu() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
getMtu() - Method in interface com.polidea.rxandroidble2.RxBleConnection
Get currently negotiated MTU value.
getName() - Method in interface com.polidea.rxandroidble2.RxBleDevice
Name of the device.
getNumOfMatches() - Method in class com.polidea.rxandroidble2.scan.ScanSettings
 
getOnCharacteristicChanged() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
getOnCharacteristicRead() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
getOnCharacteristicWrite() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
getOnConnectionStateChange() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
getOnDescriptorRead() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
getOnDescriptorWrite() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
getOnMtuChanged() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
getOnRssiRead() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
getOnServicesDiscovered() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
getPayloadSizeLimit() - Method in interface com.polidea.rxandroidble2.internal.connection.PayloadSizeLimitProvider
 
getReason() - Method in exception com.polidea.rxandroidble2.exceptions.BleCannotSetCharacteristicNotificationException
getReason() - Method in exception com.polidea.rxandroidble2.exceptions.BleScanException
Returns the reason code of scan failure.
getRemoteDevice(String) - Method in class com.polidea.rxandroidble2.internal.util.RxBleAdapterWrapper
 
getReportDelayMillis() - Method in class com.polidea.rxandroidble2.scan.ScanSettings
Returns report delay timestamp based on the device clock.
getRetryDateSuggestion() - Method in exception com.polidea.rxandroidble2.exceptions.BleScanException
Returns a Date suggestion when a particular BleScanException.Reason should no longer be valid
getRssi() - Method in class com.polidea.rxandroidble2.internal.scan.RxBleInternalScanResult
 
getRssi() - Method in class com.polidea.rxandroidble2.internal.scan.RxBleInternalScanResultLegacy
 
getRssi() - Method in class com.polidea.rxandroidble2.RxBleScanResult
Returns signal strength indication received during scan operation.
getRssi() - Method in class com.polidea.rxandroidble2.scan.ScanResult
 
getScanCallbackType() - Method in class com.polidea.rxandroidble2.internal.scan.RxBleInternalScanResult
 
getScanMode() - Method in class com.polidea.rxandroidble2.scan.ScanSettings
 
getScanRecord() - Method in class com.polidea.rxandroidble2.internal.scan.RxBleInternalScanResult
 
getScanRecord() - Method in class com.polidea.rxandroidble2.internal.scan.RxBleInternalScanResultLegacy
 
getScanRecord() - Method in class com.polidea.rxandroidble2.RxBleScanResult
The scan record of Bluetooth LE advertisement.
getScanRecord() - Method in class com.polidea.rxandroidble2.scan.ScanResult
 
getService(UUID) - Method in class com.polidea.rxandroidble2.RxBleDeviceServices
Creates an observable emitting BluetoothGattService with matching service UUID.
getServiceData() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplCompat
Returns a map of service UUID and its corresponding service data.
getServiceData(ParcelUuid) - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplCompat
Returns the service data byte array associated with the serviceUuid.
getServiceData() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplNativeWrapper
 
getServiceData(ParcelUuid) - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplNativeWrapper
 
getServiceData() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
 
getServiceData() - Method in interface com.polidea.rxandroidble2.scan.ScanRecord
Returns a map of service UUID and its corresponding service data.
getServiceData(ParcelUuid) - Method in interface com.polidea.rxandroidble2.scan.ScanRecord
Returns the service data byte array associated with the serviceUuid.
getServiceDataMask() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
 
getServiceDataUuid() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
 
getServiceName(UUID) - Static method in class com.polidea.rxandroidble2.utils.StandardUUIDsParser
 
getServiceUUID() - Method in exception com.polidea.rxandroidble2.exceptions.BleServiceNotFoundException
 
getServiceUuid() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
Returns the filter set on the service uuid.
getServiceUuidMask() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
 
getServiceUuids() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplCompat
Returns a list of service UUIDs within the advertisement that are used to identify the bluetooth GATT services.
getServiceUuids() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplNativeWrapper
 
getServiceUuids() - Method in interface com.polidea.rxandroidble2.scan.ScanRecord
Returns a list of service UUIDs within the advertisement that are used to identify the bluetooth GATT services.
getShouldLogAttributeValues() - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
getShouldLogAttributeValues() - Method in class com.polidea.rxandroidble2.LogOptions
 
getShouldLogScannedPeripherals() - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
getShouldLogScannedPeripherals() - Method in class com.polidea.rxandroidble2.LogOptions
 
getSlaveLatency() - Method in interface com.polidea.rxandroidble2.ConnectionParameters
Returns the slave latency for the connection in number of connection events.
getSlaveLatency() - Method in class com.polidea.rxandroidble2.internal.connection.ConnectionParametersImpl
 
getState() - Method in class com.polidea.rxandroidble2.RxBleClient
Returns the current state of the RxBleClient environment, which may be helpful in deciding if particular functionality should be used at a given moment.
getStatus() - Method in exception com.polidea.rxandroidble2.exceptions.BleGattException
 
getStringValue(byte[], int) - Static method in class com.polidea.rxandroidble2.helpers.ValueInterpreter
Return the string value interpreted from the passed byte array.
getSupervisionTimeout() - Method in interface com.polidea.rxandroidble2.ConnectionParameters
Returns the supervision timeout for this connection, in 10ms unit.
getSupervisionTimeout() - Method in class com.polidea.rxandroidble2.internal.connection.ConnectionParametersImpl
 
getTimestampNanos() - Method in class com.polidea.rxandroidble2.internal.scan.RxBleInternalScanResult
 
getTimestampNanos() - Method in class com.polidea.rxandroidble2.scan.ScanResult
 
getTxPowerLevel() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplCompat
Returns the transmission power level of the packet in dBm.
getTxPowerLevel() - Method in class com.polidea.rxandroidble2.internal.scan.ScanRecordImplNativeWrapper
 
getTxPowerLevel() - Method in interface com.polidea.rxandroidble2.scan.ScanRecord
Returns the transmission power level of the packet in dBm.
getUuidLogSetting() - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
getUuidLogSetting() - Method in class com.polidea.rxandroidble2.LogOptions
 
getUuidSetToLog(Set<UUID>) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
getUuidToLog(UUID) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 

H

handleMismatchData(BluetoothGattCharacteristic, int) - Method in class com.polidea.rxandroidble2.internal.connection.IllegalOperationHandler
 
handleMismatchData(BluetoothGattCharacteristic, int) - Method in class com.polidea.rxandroidble2.internal.connection.LoggingIllegalOperationHandler
This method logs a warning.
handleMismatchData(BluetoothGattCharacteristic, int) - Method in class com.polidea.rxandroidble2.internal.connection.ThrowingIllegalOperationHandler
This method logs an error and returns a BleIllegalOperationException.
hasBluetoothAdapter() - Method in class com.polidea.rxandroidble2.internal.util.RxBleAdapterWrapper
 
hashCode() - Method in class com.polidea.rxandroidble2.internal.util.ByteAssociation
 
hashCode() - Method in class com.polidea.rxandroidble2.internal.util.CharacteristicChangedEvent
 
hashCode() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
 
HiddenBluetoothGattCallback - Interface in com.polidea.rxandroidble2
An interface that represents methods hidden in BluetoothGattCallback
HIGH - Static variable in class com.polidea.rxandroidble2.internal.Priority
 

I

i(String, Object...) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
i(Throwable, String, Object...) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
identityTransformer() - Static method in class com.polidea.rxandroidble2.internal.util.ObservableUtil
 
IllegalOperationChecker - Class in com.polidea.rxandroidble2.internal.connection
Class for checking whether the requested operation is legal on chosen characteristic.
IllegalOperationChecker(IllegalOperationHandler) - Constructor for class com.polidea.rxandroidble2.internal.connection.IllegalOperationChecker
 
IllegalOperationHandler - Class in com.polidea.rxandroidble2.internal.connection
IllegalOperationMessageCreator - Class in com.polidea.rxandroidble2.internal.connection
 
IllegalOperationMessageCreator(CharacteristicPropertiesParser) - Constructor for class com.polidea.rxandroidble2.internal.connection.IllegalOperationMessageCreator
 
ImmediateSerializedBatchAckStrategy - Class in com.polidea.rxandroidble2.internal.connection
 
ImmediateSerializedBatchAckStrategy() - Constructor for class com.polidea.rxandroidble2.internal.connection.ImmediateSerializedBatchAckStrategy
 
indicationAlreadySet() - Method in exception com.polidea.rxandroidble2.exceptions.BleConflictingNotificationAlreadySetException
 
INFO - Static variable in class com.polidea.rxandroidble2.internal.RxBleLog
Deprecated.
INFO - Static variable in class com.polidea.rxandroidble2.LogConstants
LogConstants.WARN + info needed to understand what is happening with the Android OS BLE interactions
INT_DEVICE_SDK - Static variable in class com.polidea.rxandroidble2.ClientComponent.PlatformConstants
 
INT_TARGET_SDK - Static variable in class com.polidea.rxandroidble2.ClientComponent.PlatformConstants
 
InternalScanResultCreator - Class in com.polidea.rxandroidble2.internal.scan
 
InternalScanResultCreator(UUIDUtil) - Constructor for class com.polidea.rxandroidble2.internal.scan.InternalScanResultCreator
 
InternalToExternalScanResultConverter - Class in com.polidea.rxandroidble2.internal.scan
 
InternalToExternalScanResultConverter(RxBleDeviceProvider) - Constructor for class com.polidea.rxandroidble2.internal.scan.InternalToExternalScanResultConverter
 
isAllFieldsEmpty() - Method in interface com.polidea.rxandroidble2.internal.scan.ScanFilterInterface
 
isAllFieldsEmpty() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
Checks if the scanfilter is empty
isAtLeast(int) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
isBluetoothEnabled() - Method in class com.polidea.rxandroidble2.internal.util.RxBleAdapterWrapper
 
isEmpty() - Method in class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 
isEmpty() - Method in class com.polidea.rxandroidble2.internal.scan.EmulatedScanFilterMatcher
 
isIndication - Variable in class com.polidea.rxandroidble2.internal.util.ActiveCharacteristicNotification
 
isLocationPermissionOk() - Method in interface com.polidea.rxandroidble2.internal.util.LocationServicesStatus
 
isLocationPermissionOk() - Method in class com.polidea.rxandroidble2.internal.util.LocationServicesStatusApi18
 
isLocationPermissionOk() - Method in class com.polidea.rxandroidble2.internal.util.LocationServicesStatusApi23
 
isLocationProviderEnabled() - Method in class com.polidea.rxandroidble2.internal.util.CheckerLocationProvider
 
isLocationProviderOk() - Method in interface com.polidea.rxandroidble2.internal.util.LocationServicesStatus
 
isLocationProviderOk() - Method in class com.polidea.rxandroidble2.internal.util.LocationServicesStatusApi18
 
isLocationProviderOk() - Method in class com.polidea.rxandroidble2.internal.util.LocationServicesStatusApi23
 
isUsable() - Method in class com.polidea.rxandroidble2.RxBleAdapterStateObservable.BleAdapterState
 
isWrappedEmitterUnsubscribed() - Method in class com.polidea.rxandroidble2.internal.util.QueueReleasingEmitterWrapper
 

J

justOnNext(T) - Static method in class com.polidea.rxandroidble2.internal.util.ObservableUtil
 

K

keySet() - Method in class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 

L

LegacyScanOperation - Class in com.polidea.rxandroidble2.internal.operations
 
LegacyScanOperation(UUID[], RxBleAdapterWrapper, UUIDUtil) - Constructor for class com.polidea.rxandroidble2.internal.operations.LegacyScanOperation
 
LOCATION_PERMISSION_MISSING - Static variable in exception com.polidea.rxandroidble2.exceptions.BleScanException
Scan did not start correctly because the user did not accept access to location services.
LOCATION_SERVICES_DISABLED - Static variable in exception com.polidea.rxandroidble2.exceptions.BleScanException
Scan did not start because location services are disabled on the device.
LOCATION_SERVICES_OK - Static variable in class com.polidea.rxandroidble2.ClientComponent.NamedBooleanObservables
 
locationServicesOkObservable() - Method in interface com.polidea.rxandroidble2.ClientComponent
 
LocationServicesOkObservable - Class in com.polidea.rxandroidble2.helpers
An Observable that emits false if an attempt to scan with RxBleClient.scanBleDevices(UUID...) would cause the exception BleScanException.LOCATION_SERVICES_DISABLED; otherwise emits true.
LocationServicesOkObservableApi23Factory - Class in com.polidea.rxandroidble2.internal.util
 
LocationServicesStatus - Interface in com.polidea.rxandroidble2.internal.util
 
LocationServicesStatusApi18 - Class in com.polidea.rxandroidble2.internal.util
 
LocationServicesStatusApi23 - Class in com.polidea.rxandroidble2.internal.util
 
log(RxBleDeviceServices, BluetoothDevice) - Method in class com.polidea.rxandroidble2.internal.logger.LoggerUtilBluetoothServices
 
log(int, String, String) - Method in interface com.polidea.rxandroidble2.internal.RxBleLog.Logger
Deprecated.
 
log(int, String, String) - Method in interface com.polidea.rxandroidble2.LogOptions.Logger
 
logCallback(String, BluetoothGatt, int, BluetoothGattCharacteristic, boolean) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
logCallback(String, BluetoothGatt, BluetoothGattCharacteristic, boolean) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
logCallback(String, BluetoothGatt, int, BluetoothGattDescriptor, boolean) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
logCallback(String, BluetoothGatt, int) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
logCallback(String, BluetoothGatt, int, int) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
logConnectionUpdateCallback(String, BluetoothGatt, int, int, int, int) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
LogConstants - Class in com.polidea.rxandroidble2
 
LogConstants.LogLevel - Annotation Type in com.polidea.rxandroidble2
 
LogConstants.MacAddressLogSetting - Annotation Type in com.polidea.rxandroidble2
 
LogConstants.UuidLogSetting - Annotation Type in com.polidea.rxandroidble2
 
logger - Variable in class com.polidea.rxandroidble2.internal.logger.LoggerSetup
 
LoggerSetup - Class in com.polidea.rxandroidble2.internal.logger
 
LoggerSetup(int, int, int, boolean, boolean, LogOptions.Logger) - Constructor for class com.polidea.rxandroidble2.internal.logger.LoggerSetup
 
LoggerUtil - Class in com.polidea.rxandroidble2.internal.logger
 
LoggerUtil.AttributeLogWrapper - Class in com.polidea.rxandroidble2.internal.logger
 
LoggerUtilBluetoothServices - Class in com.polidea.rxandroidble2.internal.logger
--------------- ====== Printing peripheral content ====== --------------- PERIPHERAL ADDRESS: AA-BB-CC-DD-EE-FF PERIPHERAL NAME: Device name ------------------------------------------------------------------------- Primary Service - Weight Scale (ce029566-f9eb-11e7-8c3f-9a214cf093ae) Instance ID: 1111
LoggingIllegalOperationHandler - Class in com.polidea.rxandroidble2.internal.connection
Implementation of IllegalOperationHandler.
LoggingIllegalOperationHandler(IllegalOperationMessageCreator) - Constructor for class com.polidea.rxandroidble2.internal.connection.LoggingIllegalOperationHandler
 
logLevel - Variable in class com.polidea.rxandroidble2.internal.logger.LoggerSetup
 
logOperationFinished(Operation, long, long) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
logOperationQueued(Operation) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
logOperationRemoved(Operation) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
logOperationRunning(Operation) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
logOperationSkippedBecauseDisposedWhenAboutToRun(Operation) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
logOperationStarted(Operation) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
LogOptions - Class in com.polidea.rxandroidble2
Data class for new logger options used inside the library.
LogOptions.Builder - Class in com.polidea.rxandroidble2
The builder for #LogOptions(Integer, Integer, Integer, Boolean, Boolean, Logger) If a particular setting will not be defined on the builder the produced #LogOptions(Integer, Integer, Integer, Boolean, Boolean, Logger) will not overwrite them in the library when passed to RxBleClient.updateLogOptions(LogOptions).
LogOptions.Logger - Interface in com.polidea.rxandroidble2
Simple logging interface for log messages from RxAndroidBle
LongWriteFailure(int, BleGattException) - Constructor for class com.polidea.rxandroidble2.RxBleConnection.WriteOperationRetryStrategy.LongWriteFailure
Default constructor
LongWriteOperationBuilderImpl - Class in com.polidea.rxandroidble2.internal.connection
 
LOW - Static variable in class com.polidea.rxandroidble2.internal.Priority
 

M

MAC_ADDRESS - Static variable in class com.polidea.rxandroidble2.internal.DeviceModule
 
MAC_ADDRESS_FULL - Static variable in class com.polidea.rxandroidble2.LogConstants
Full MAC address will be logged i.e.
MAC_ADDRESS_TRUNCATED - Static variable in class com.polidea.rxandroidble2.LogConstants
Truncated MAC address will be logged i.e.
macAddress(String) - Method in interface com.polidea.rxandroidble2.internal.DeviceComponent.Builder
 
macAddressLogSetting - Variable in class com.polidea.rxandroidble2.internal.logger.LoggerSetup
 
MATCH_MODE_AGGRESSIVE - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
In Aggressive mode, hw will determine a match sooner even with feeble signal strength and few number of sightings/match in a duration.
MATCH_MODE_STICKY - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
For sticky mode, higher threshold of signal strength and sightings is required before reporting by hw
MATCH_NUM_FEW_ADVERTISEMENT - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
Match few advertisement per filter, depends on current capability and availability of the resources in hw
MATCH_NUM_MAX_ADVERTISEMENT - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
Match as many advertisement per filter as hw could allow, depends on current capability and availibility of the resources in hw
MATCH_NUM_ONE_ADVERTISEMENT - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
Match one advertisement per filter
matches(RxBleInternalScanResult) - Method in class com.polidea.rxandroidble2.internal.scan.EmulatedScanFilterMatcher
 
matches(RxBleInternalScanResult) - Method in interface com.polidea.rxandroidble2.internal.scan.ScanFilterInterface
 
matches(RxBleInternalScanResult) - Method in class com.polidea.rxandroidble2.scan.ScanFilter
Check if the scan filter matches a scanResult.
merge(LogOptions) - Method in class com.polidea.rxandroidble2.internal.logger.LoggerSetup
 
messageCreator - Variable in class com.polidea.rxandroidble2.internal.connection.IllegalOperationHandler
 
MtuRequestOperation - Class in com.polidea.rxandroidble2.internal.operations
 

N

neededProperties - Variable in exception com.polidea.rxandroidble2.internal.BleIllegalOperationException
 
NONE - Static variable in class com.polidea.rxandroidble2.internal.RxBleLog
Deprecated.
NONE - Static variable in class com.polidea.rxandroidble2.LogConstants
Nothing will be logged in the respective setting
NoRetryStrategy - Class in com.polidea.rxandroidble2.internal.connection
 
NoRetryStrategy() - Constructor for class com.polidea.rxandroidble2.internal.connection.NoRetryStrategy
 
NORMAL - Static variable in class com.polidea.rxandroidble2.internal.Priority
 
notificationAlreadySet() - Method in exception com.polidea.rxandroidble2.exceptions.BleConflictingNotificationAlreadySetException
 
notificationObservable - Variable in class com.polidea.rxandroidble2.internal.util.ActiveCharacteristicNotification
 
NotificationSetupMode - Enum in com.polidea.rxandroidble2
 

O

ObservableUtil - Class in com.polidea.rxandroidble2.internal.util
 
observeConnectionParametersUpdates() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
observeConnectionParametersUpdates() - Method in interface com.polidea.rxandroidble2.RxBleConnection
Allows observing of connection parameters updates.
observeConnectionStateChanges() - Method in interface com.polidea.rxandroidble2.RxBleDevice
Observe changes to connection state of the device's BluetoothGatt.
observeDisconnect() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
observeStateChanges() - Method in class com.polidea.rxandroidble2.RxBleClient
Returns an observable emitting state _changes_ of the RxBleClient environment which may be helpful in deciding if particular functionality should be used at a given moment.
ON_MTU_CHANGED - Static variable in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
onComplete() - Method in class com.polidea.rxandroidble2.internal.util.QueueReleasingEmitterWrapper
 
onConnectionStateChange(RxBleConnection.RxBleConnectionState) - Method in interface com.polidea.rxandroidble2.internal.connection.ConnectionStateChangeListener
 
onConnectionSubscribed() - Method in interface com.polidea.rxandroidble2.internal.connection.ConnectionSubscriptionWatcher
Method to be called when the user subscribes to an individual RxBleDevice.establishConnection(boolean)
onConnectionSubscribed() - Method in class com.polidea.rxandroidble2.internal.serialization.ConnectionOperationQueueImpl
 
onConnectionUnsubscribed() - Method in interface com.polidea.rxandroidble2.internal.connection.ConnectionSubscriptionWatcher
Method to be called when the user unsubscribes to an individual RxBleDevice.establishConnection(boolean)
onConnectionUnsubscribed() - Method in class com.polidea.rxandroidble2.internal.serialization.ConnectionOperationQueueImpl
 
onConnectionUpdated(BluetoothGatt, int, int, int, int) - Method in interface com.polidea.rxandroidble2.HiddenBluetoothGattCallback
 
onError(Throwable) - Method in class com.polidea.rxandroidble2.internal.util.QueueReleasingEmitterWrapper
 
onFinalize() - Method in interface com.polidea.rxandroidble2.ClientComponent.ClientComponentFinalizer
 
onNext(T) - Method in class com.polidea.rxandroidble2.internal.util.QueueReleasingEmitterWrapper
 
onScanResultReceived(Intent) - Method in class com.polidea.rxandroidble2.internal.scan.BackgroundScannerImpl
 
onScanResultReceived(Intent) - Method in interface com.polidea.rxandroidble2.scan.BackgroundScanner
Callback that may be used to map received Intent from a PendingIntent based scan to a handy RxAndroidBLE enabled ScanResult
onSubscribe(Disposable) - Method in class com.polidea.rxandroidble2.internal.util.QueueReleasingEmitterWrapper
 
Operation<T> - Interface in com.polidea.rxandroidble2.internal.operations
 
OPERATION_TIMEOUT - Static variable in class com.polidea.rxandroidble2.internal.connection.ConnectionModule
 
OPERATION_TIMEOUT - Static variable in class com.polidea.rxandroidble2.internal.DeviceModule
 
OperationsProvider - Interface in com.polidea.rxandroidble2.internal.operations
 
OperationsProviderImpl - Class in com.polidea.rxandroidble2.internal.operations
 
operationTimeout - Variable in class com.polidea.rxandroidble2.ConnectionSetup
Timeout in seconds after which the operation will be considered as broken.
operationTimeout(Timeout) - Method in interface com.polidea.rxandroidble2.internal.connection.ConnectionComponent.Builder
 

P

parseFromBytes(byte[]) - Method in class com.polidea.rxandroidble2.internal.util.UUIDUtil
Deprecated.
Method is copied from post lollipop ScanRecord
PayloadSizeLimitProvider - Interface in com.polidea.rxandroidble2.internal.connection
 
prepareConnection(ConnectionSetup) - Method in interface com.polidea.rxandroidble2.internal.connection.Connector
 
prepareConnection(ConnectionSetup) - Method in class com.polidea.rxandroidble2.internal.connection.ConnectorImpl
 
prepareConnection(boolean) - Method in interface com.polidea.rxandroidble2.RxBleConnection.Connector
Deprecated.
 
Priority - Class in com.polidea.rxandroidble2.internal
The class representing a priority with which an QueueOperation should be executed.
propertiesIntToString(int) - Method in class com.polidea.rxandroidble2.internal.util.CharacteristicPropertiesParser
 
protectedRun(<any>, QueueReleaseInterface) - Method in class com.polidea.rxandroidble2.internal.operations.CharacteristicLongWriteOperation
 
protectedRun(<any>, QueueReleaseInterface) - Method in class com.polidea.rxandroidble2.internal.operations.ConnectOperation
 
protectedRun(<any>, QueueReleaseInterface) - Method in class com.polidea.rxandroidble2.internal.operations.DisconnectOperation
 
protectedRun(<any>, QueueReleaseInterface) - Method in class com.polidea.rxandroidble2.internal.operations.ScanOperation
 
protectedRun(<any>, QueueReleaseInterface) - Method in class com.polidea.rxandroidble2.internal.QueueOperation
This method must be overridden in a concrete operation implementations and should contain specific operation logic.
protectedRun(<any>, QueueReleaseInterface) - Method in class com.polidea.rxandroidble2.internal.SingleResponseOperation
 
provideConnectionPriorityChangeOperation(int, long, TimeUnit) - Method in interface com.polidea.rxandroidble2.internal.operations.OperationsProvider
 
provideConnectionPriorityChangeOperation(int, long, TimeUnit) - Method in class com.polidea.rxandroidble2.internal.operations.OperationsProviderImpl
 
provideDevice() - Method in interface com.polidea.rxandroidble2.internal.DeviceComponent
 
provideException(DeadObjectException) - Method in class com.polidea.rxandroidble2.internal.operations.CharacteristicLongWriteOperation
 
provideException(DeadObjectException) - Method in class com.polidea.rxandroidble2.internal.operations.ConnectOperation
 
provideException(DeadObjectException) - Method in class com.polidea.rxandroidble2.internal.operations.DisconnectOperation
 
provideException(DeadObjectException) - Method in class com.polidea.rxandroidble2.internal.operations.ScanOperation
 
provideException(DeadObjectException) - Method in class com.polidea.rxandroidble2.internal.QueueOperation
This function will be overridden in concrete operation implementations to provide an exception with needed context
provideException(DeadObjectException) - Method in class com.polidea.rxandroidble2.internal.SingleResponseOperation
 
provideLongWriteOperation(BluetoothGattCharacteristic, RxBleConnection.WriteOperationAckStrategy, RxBleConnection.WriteOperationRetryStrategy, PayloadSizeLimitProvider, byte[]) - Method in interface com.polidea.rxandroidble2.internal.operations.OperationsProvider
 
provideLongWriteOperation(BluetoothGattCharacteristic, RxBleConnection.WriteOperationAckStrategy, RxBleConnection.WriteOperationRetryStrategy, PayloadSizeLimitProvider, byte[]) - Method in class com.polidea.rxandroidble2.internal.operations.OperationsProviderImpl
 
provideMtuChangeOperation(int) - Method in interface com.polidea.rxandroidble2.internal.operations.OperationsProvider
 
provideMtuChangeOperation(int) - Method in class com.polidea.rxandroidble2.internal.operations.OperationsProviderImpl
 
provideReadCharacteristic(BluetoothGattCharacteristic) - Method in interface com.polidea.rxandroidble2.internal.operations.OperationsProvider
 
provideReadCharacteristic(BluetoothGattCharacteristic) - Method in class com.polidea.rxandroidble2.internal.operations.OperationsProviderImpl
 
provideReadDescriptor(BluetoothGattDescriptor) - Method in interface com.polidea.rxandroidble2.internal.operations.OperationsProvider
 
provideReadDescriptor(BluetoothGattDescriptor) - Method in class com.polidea.rxandroidble2.internal.operations.OperationsProviderImpl
 
provideRssiReadOperation() - Method in interface com.polidea.rxandroidble2.internal.operations.OperationsProvider
 
provideRssiReadOperation() - Method in class com.polidea.rxandroidble2.internal.operations.OperationsProviderImpl
 
provideServiceDiscoveryOperation(long, TimeUnit) - Method in interface com.polidea.rxandroidble2.internal.operations.OperationsProvider
 
provideServiceDiscoveryOperation(long, TimeUnit) - Method in class com.polidea.rxandroidble2.internal.operations.OperationsProviderImpl
 
provideWriteCharacteristic(BluetoothGattCharacteristic, byte[]) - Method in interface com.polidea.rxandroidble2.internal.operations.OperationsProvider
 
provideWriteCharacteristic(BluetoothGattCharacteristic, byte[]) - Method in class com.polidea.rxandroidble2.internal.operations.OperationsProviderImpl
 
provideWriteDescriptor(BluetoothGattDescriptor, byte[]) - Method in interface com.polidea.rxandroidble2.internal.operations.OperationsProvider
 
provideWriteDescriptor(BluetoothGattDescriptor, byte[]) - Method in class com.polidea.rxandroidble2.internal.operations.OperationsProviderImpl
 
put(String, DeviceComponent) - Method in class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 
putAll(Map<? extends String, ? extends DeviceComponent>) - Method in class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 

Q

queue(RxBleCustomOperation<T>) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
queue(RxBleCustomOperation<T>, Priority) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
queue(Operation<T>) - Method in interface com.polidea.rxandroidble2.internal.serialization.ClientOperationQueue
Function that queues an Operation for execution.
queue(Operation<T>) - Method in class com.polidea.rxandroidble2.internal.serialization.ClientOperationQueueImpl
 
queue(Operation<T>) - Method in class com.polidea.rxandroidble2.internal.serialization.ConnectionOperationQueueImpl
 
queue(RxBleCustomOperation<T>) - Method in interface com.polidea.rxandroidble2.RxBleConnection
This method requires deep knowledge of RxAndroidBLE internals.
queue(RxBleCustomOperation<T>, Priority) - Method in interface com.polidea.rxandroidble2.RxBleConnection
This method requires deep knowledge of RxAndroidBLE internals.
QueueAwaitReleaseInterface - Interface in com.polidea.rxandroidble2.internal.serialization
Interface used for blocking the Operation Queue before executing next command.
QueueOperation<T> - Class in com.polidea.rxandroidble2.internal
The base class for all operations that are executed on the Bluetooth Queue.
QueueOperation() - Constructor for class com.polidea.rxandroidble2.internal.QueueOperation
 
QueueReleaseInterface - Interface in com.polidea.rxandroidble2.internal.serialization
Interface used for releasing the Operation Queue so it may proceed with execution of the next operation
QueueReleasingEmitterWrapper<T> - Class in com.polidea.rxandroidble2.internal.util
A convenience class to use in QueueOperation subclasses.
QueueReleasingEmitterWrapper(<any>, QueueReleaseInterface) - Constructor for class com.polidea.rxandroidble2.internal.util.QueueReleasingEmitterWrapper
 

R

READ_RSSI - Static variable in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
readCharacteristic(UUID) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
readCharacteristic(BluetoothGattCharacteristic) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
readCharacteristic(UUID) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs GATT read operation on a characteristic with given UUID.
readCharacteristic(BluetoothGattCharacteristic) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs GATT read operation on a given characteristic.
readDescriptor(UUID, UUID, UUID) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
readDescriptor(BluetoothGattDescriptor) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
readDescriptor(UUID, UUID, UUID) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs GATT read operation on a descriptor from a characteristic with a given UUID from a service with a given UUID.
readDescriptor(BluetoothGattDescriptor) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs GATT read operation on a descriptor from a characteristic with a given UUID from a service with a given UUID.
readRssi() - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
readRssi() - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs GATT read rssi operation.
ReadRssiOperation - Class in com.polidea.rxandroidble2.internal.operations
 
release() - Method in interface com.polidea.rxandroidble2.internal.serialization.QueueReleaseInterface
 
RELIABLE_WRITE_COMPLETED - Static variable in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
remove(Object) - Method in class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 
requestConnectionPriority(int, long, TimeUnit) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
requestConnectionPriority(int, long, TimeUnit) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs a GATT request connection priority operation, which requests a connection parameter update on the remote device.
requestMtu(int) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
requestMtu(int) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs GATT MTU (Maximum Transfer Unit) request.
run(QueueReleaseInterface) - Method in interface com.polidea.rxandroidble2.internal.operations.Operation
 
run(QueueReleaseInterface) - Method in class com.polidea.rxandroidble2.internal.QueueOperation
A function that returns this operation as an Observable.
RxBleAdapterStateObservable - Class in com.polidea.rxandroidble2
Observes Bluetooth adapter state.
RxBleAdapterStateObservable(Context) - Constructor for class com.polidea.rxandroidble2.RxBleAdapterStateObservable
 
RxBleAdapterStateObservable.BleAdapterState - Class in com.polidea.rxandroidble2
 
RxBleAdapterWrapper - Class in com.polidea.rxandroidble2.internal.util
 
RxBleAdapterWrapper(BluetoothAdapter) - Constructor for class com.polidea.rxandroidble2.internal.util.RxBleAdapterWrapper
 
rxBleClient() - Method in interface com.polidea.rxandroidble2.ClientComponent
 
RxBleClient - Class in com.polidea.rxandroidble2
 
RxBleClient() - Constructor for class com.polidea.rxandroidble2.RxBleClient
 
RxBleClient.State - Enum in com.polidea.rxandroidble2
 
rxBleConnection() - Method in interface com.polidea.rxandroidble2.internal.connection.ConnectionComponent
 
RxBleConnection - Interface in com.polidea.rxandroidble2
The BLE connection handle, supporting GATT operations.
RxBleConnection.ConnectionPriority - Annotation Type in com.polidea.rxandroidble2
Description of correct values of connection priority
RxBleConnection.Connector - Interface in com.polidea.rxandroidble2
Deprecated.
RxBleConnection.LongWriteOperationBuilder - Interface in com.polidea.rxandroidble2
The interface of a CharacteristicLongWriteOperation builder.
RxBleConnection.RxBleConnectionState - Enum in com.polidea.rxandroidble2
 
RxBleConnection.WriteOperationAckStrategy - Interface in com.polidea.rxandroidble2
 
RxBleConnection.WriteOperationRetryStrategy - Interface in com.polidea.rxandroidble2
Retry strategy allows retrying a long write operation.
RxBleConnection.WriteOperationRetryStrategy.LongWriteFailure - Class in com.polidea.rxandroidble2
 
RxBleConnectionImpl - Class in com.polidea.rxandroidble2.internal.connection
 
RxBleConnectionImpl(ConnectionOperationQueue, RxBleGattCallback, BluetoothGatt, ServiceDiscoveryManager, NotificationAndIndicationManager, MtuProvider, DescriptorWriter, OperationsProvider, <any>, Scheduler, IllegalOperationChecker) - Constructor for class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
RxBleCustomOperation<T> - Interface in com.polidea.rxandroidble2
Represents a custom operation that will be enqueued for future execution within the client instance.
RxBleDevice - Interface in com.polidea.rxandroidble2
 
RxBleDeviceProvider - Class in com.polidea.rxandroidble2.internal
 
RxBleDeviceProvider(DeviceComponentCache, <any>) - Constructor for class com.polidea.rxandroidble2.internal.RxBleDeviceProvider
 
RxBleDeviceServices - Class in com.polidea.rxandroidble2
Service discovery result containing list of services and characteristics within the services.
RxBleDeviceServices(List<BluetoothGattService>) - Constructor for class com.polidea.rxandroidble2.RxBleDeviceServices
 
RxBleGattCallback - Class in com.polidea.rxandroidble2.internal.connection
 
RxBleGattCallback(Scheduler, BluetoothGattProvider, DisconnectionRouter, NativeCallbackDispatcher) - Constructor for class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
 
RxBleInternalScanResult - Class in com.polidea.rxandroidble2.internal.scan
 
RxBleInternalScanResult(BluetoothDevice, int, long, ScanRecord, ScanCallbackType) - Constructor for class com.polidea.rxandroidble2.internal.scan.RxBleInternalScanResult
 
RxBleInternalScanResultLegacy - Class in com.polidea.rxandroidble2.internal.scan
 
RxBleInternalScanResultLegacy(BluetoothDevice, int, byte[]) - Constructor for class com.polidea.rxandroidble2.internal.scan.RxBleInternalScanResultLegacy
 
RxBleLog - Class in com.polidea.rxandroidble2.internal
This file is a modification of Timber logging library -> https://github.com/JakeWharton/timber
RxBleLog.Logger - Interface in com.polidea.rxandroidble2.internal
RxBleLog.LogLevel - Annotation Type in com.polidea.rxandroidble2.internal
 
RxBleRadioOperationCustom<T> - Interface in com.polidea.rxandroidble2
Deprecated.
RxBleScanResult - Class in com.polidea.rxandroidble2
Represents a scan result from Bluetooth LE scan.
RxBleScanResult(RxBleDevice, int, byte[]) - Constructor for class com.polidea.rxandroidble2.RxBleScanResult
 

S

SCAN_FAILED_ALREADY_STARTED - Static variable in exception com.polidea.rxandroidble2.exceptions.BleScanException
Fails to start scan as BLE scan with the same settings is already started by the app.
SCAN_FAILED_APPLICATION_REGISTRATION_FAILED - Static variable in exception com.polidea.rxandroidble2.exceptions.BleScanException
Fails to start scan as app cannot be registered.
SCAN_FAILED_FEATURE_UNSUPPORTED - Static variable in exception com.polidea.rxandroidble2.exceptions.BleScanException
Fails to start power optimized scan as this feature is not supported.
SCAN_FAILED_INTERNAL_ERROR - Static variable in exception com.polidea.rxandroidble2.exceptions.BleScanException
Fails to start scan due an internal error.
SCAN_FAILED_OUT_OF_HARDWARE_RESOURCES - Static variable in exception com.polidea.rxandroidble2.exceptions.BleScanException
Fails to start scan as it is out of hardware resources.
SCAN_MODE_BALANCED - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
Perform Bluetooth LE scan in balanced power mode.
SCAN_MODE_LOW_LATENCY - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
Scan using highest duty cycle.
SCAN_MODE_LOW_POWER - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
Perform Bluetooth LE scan in low power mode.
SCAN_MODE_OPPORTUNISTIC - Static variable in class com.polidea.rxandroidble2.scan.ScanSettings
A special Bluetooth LE scan mode.
scanBleDeviceInBackground(PendingIntent, ScanSettings, ScanFilter...) - Method in class com.polidea.rxandroidble2.internal.scan.BackgroundScannerImpl
 
scanBleDeviceInBackground(PendingIntent, ScanSettings, ScanFilter...) - Method in interface com.polidea.rxandroidble2.scan.BackgroundScanner
Submits a scan request that will work even if your process gets killed by the system.
scanBleDevices(UUID...) - Method in class com.polidea.rxandroidble2.RxBleClient
scanBleDevices(ScanSettings, ScanFilter...) - Method in class com.polidea.rxandroidble2.RxBleClient
Returns an infinite observable emitting BLE scan results.
ScanCallbackType - Enum in com.polidea.rxandroidble2.scan
 
ScanFilter - Class in com.polidea.rxandroidble2.scan
Criteria for filtering result from Bluetooth LE scans.
ScanFilter.Builder - Class in com.polidea.rxandroidble2.scan
Builder class for ScanFilter.
ScanFilterInterface - Interface in com.polidea.rxandroidble2.internal.scan
 
ScanOperation<SCAN_RESULT_TYPE,SCAN_CALLBACK_TYPE> - Class in com.polidea.rxandroidble2.internal.operations
A class that handles starting and stopping BLE scans.
scanOperation - Variable in class com.polidea.rxandroidble2.internal.scan.ScanSetup
The scan operation for the device API level
ScanOperationApi18 - Class in com.polidea.rxandroidble2.internal.operations
 
ScanOperationApi18(RxBleAdapterWrapper, InternalScanResultCreator, EmulatedScanFilterMatcher) - Constructor for class com.polidea.rxandroidble2.internal.operations.ScanOperationApi18
 
ScanOperationApi21 - Class in com.polidea.rxandroidble2.internal.operations
 
ScanOperationApi21(RxBleAdapterWrapper, InternalScanResultCreator, AndroidScanObjectsConverter, ScanSettings, EmulatedScanFilterMatcher, ScanFilter[]) - Constructor for class com.polidea.rxandroidble2.internal.operations.ScanOperationApi21
 
scanOperationBehaviourEmulatorTransformer - Variable in class com.polidea.rxandroidble2.internal.scan.ScanSetup
Some functionality (behaviour) is not supported by hardware on older APIs.
ScanPreconditionsVerifier - Interface in com.polidea.rxandroidble2.internal.scan
 
ScanPreconditionsVerifierApi18 - Class in com.polidea.rxandroidble2.internal.scan
 
ScanPreconditionsVerifierApi18(RxBleAdapterWrapper, LocationServicesStatus) - Constructor for class com.polidea.rxandroidble2.internal.scan.ScanPreconditionsVerifierApi18
 
ScanPreconditionsVerifierApi24 - Class in com.polidea.rxandroidble2.internal.scan
 
ScanPreconditionsVerifierApi24(ScanPreconditionsVerifierApi18, Scheduler) - Constructor for class com.polidea.rxandroidble2.internal.scan.ScanPreconditionsVerifierApi24
 
ScanRecord - Interface in com.polidea.rxandroidble2.scan
 
ScanRecordImplCompat - Class in com.polidea.rxandroidble2.internal.scan
Copy of v21 ScanRecord without parsing code
ScanRecordImplCompat(List<ParcelUuid>, SparseArray<byte[]>, Map<ParcelUuid, byte[]>, int, int, String, byte[]) - Constructor for class com.polidea.rxandroidble2.internal.scan.ScanRecordImplCompat
 
ScanRecordImplNativeWrapper - Class in com.polidea.rxandroidble2.internal.scan
 
ScanRecordImplNativeWrapper(ScanRecord) - Constructor for class com.polidea.rxandroidble2.internal.scan.ScanRecordImplNativeWrapper
 
ScanResult - Class in com.polidea.rxandroidble2.scan
 
ScanResult(RxBleDevice, int, long, ScanCallbackType, ScanRecord) - Constructor for class com.polidea.rxandroidble2.scan.ScanResult
 
ScanSettings - Class in com.polidea.rxandroidble2.scan
Bluetooth LE scan settings are passed to BluetoothLeScanner.startScan(android.bluetooth.le.ScanCallback) to define the parameters for the scan.
ScanSettings.Builder - Class in com.polidea.rxandroidble2.scan
Builder for ScanSettings.
ScanSettings.CallbackType - Annotation Type in com.polidea.rxandroidble2.scan
 
ScanSettings.MatchMode - Annotation Type in com.polidea.rxandroidble2.scan
 
ScanSettings.MatchNum - Annotation Type in com.polidea.rxandroidble2.scan
 
ScanSettings.ScanMode - Annotation Type in com.polidea.rxandroidble2.scan
 
ScanSettingsEmulator - Class in com.polidea.rxandroidble2.internal.scan
 
ScanSettingsEmulator(Scheduler) - Constructor for class com.polidea.rxandroidble2.internal.scan.ScanSettingsEmulator
 
ScanSetup - Class in com.polidea.rxandroidble2.internal.scan
 
ScanSetup(Operation<RxBleInternalScanResult>, <any>) - Constructor for class com.polidea.rxandroidble2.internal.scan.ScanSetup
 
ScanSetupBuilder - Interface in com.polidea.rxandroidble2.internal.scan
 
ScanSetupBuilderImplApi18 - Class in com.polidea.rxandroidble2.internal.scan
 
ScanSetupBuilderImplApi21 - Class in com.polidea.rxandroidble2.internal.scan
 
ScanSetupBuilderImplApi23 - Class in com.polidea.rxandroidble2.internal.scan
 
second - Variable in class com.polidea.rxandroidble2.internal.util.ByteAssociation
 
SERVICE_DISCOVERY - Static variable in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
ServiceDiscoveryOperation - Class in com.polidea.rxandroidble2.internal.operations
 
setAutoConnect(boolean) - Method in class com.polidea.rxandroidble2.ConnectionSetup.Builder
Autoconnect concept may be misleading at first glance.
setBytes(byte[]) - Method in class com.polidea.rxandroidble2.internal.connection.LongWriteOperationBuilderImpl
 
setBytes(byte[]) - Method in interface com.polidea.rxandroidble2.RxBleConnection.LongWriteOperationBuilder
Setter for a byte array to write This function MUST be called prior to RxBleConnection.LongWriteOperationBuilder.build()
setCallbackType(int) - Method in class com.polidea.rxandroidble2.scan.ScanSettings.Builder
Set callback type for Bluetooth LE scan.
setCharacteristic(BluetoothGattCharacteristic) - Method in class com.polidea.rxandroidble2.internal.connection.LongWriteOperationBuilderImpl
 
setCharacteristic(BluetoothGattCharacteristic) - Method in interface com.polidea.rxandroidble2.RxBleConnection.LongWriteOperationBuilder
Setter for a BluetoothGattCharacteristic to write to This function or RxBleConnection.LongWriteOperationBuilder.setCharacteristicUuid(UUID) MUST be called prior to RxBleConnection.LongWriteOperationBuilder.build()
setCharacteristicUuid(UUID) - Method in class com.polidea.rxandroidble2.internal.connection.LongWriteOperationBuilderImpl
 
setCharacteristicUuid(UUID) - Method in interface com.polidea.rxandroidble2.RxBleConnection.LongWriteOperationBuilder
Setter for a UUID of the BluetoothGattCharacteristic to write to This function or RxBleConnection.LongWriteOperationBuilder.setCharacteristic(BluetoothGattCharacteristic) MUST be called prior to RxBleConnection.LongWriteOperationBuilder.build()
setDeviceAddress(String) - Method in class com.polidea.rxandroidble2.scan.ScanFilter.Builder
Set filter on device address.
setDeviceName(String) - Method in class com.polidea.rxandroidble2.scan.ScanFilter.Builder
Set filter on device name.
setHiddenNativeCallback(HiddenBluetoothGattCallback) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
RxBleGattCallback.setNativeCallback(BluetoothGattCallback) Since Android 8.0 (API 26) BluetoothGattCallback has some hidden method(s).
setLogger(RxBleLog.Logger) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
setLogger(LogOptions.Logger) - Method in class com.polidea.rxandroidble2.LogOptions.Builder
Set the logger to get the output
setLogLevel(int) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
setLogLevel(Integer) - Method in class com.polidea.rxandroidble2.LogOptions.Builder
Set the log level of the library.
setLogLevel(int) - Static method in class com.polidea.rxandroidble2.RxBleClient
setMacAddressLogSetting(Integer) - Method in class com.polidea.rxandroidble2.LogOptions.Builder
Set how to log mac addresses:
setManufacturerData(int, byte[]) - Method in class com.polidea.rxandroidble2.scan.ScanFilter.Builder
Set filter on on manufacturerData.
setManufacturerData(int, byte[], byte[]) - Method in class com.polidea.rxandroidble2.scan.ScanFilter.Builder
Set filter on partial manufacture data.
setMaxBatchSize(int) - Method in class com.polidea.rxandroidble2.internal.connection.LongWriteOperationBuilderImpl
 
setMaxBatchSize(int) - Method in interface com.polidea.rxandroidble2.RxBleConnection.LongWriteOperationBuilder
Setter for a maximum size of a byte array that may be write at once If this is not specified - the default value of the connection's MTU is used
setNativeCallback(BluetoothGattCallback) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleGattCallback
A native callback allows to omit RxJava's abstraction on the BluetoothGattCallback.
setOperationTimeout(Timeout) - Method in class com.polidea.rxandroidble2.ConnectionSetup.Builder
 
setScanMode(int) - Method in class com.polidea.rxandroidble2.scan.ScanSettings.Builder
Set scan mode for Bluetooth LE scan.
setServiceData(ParcelUuid, byte[]) - Method in class com.polidea.rxandroidble2.scan.ScanFilter.Builder
Set filtering on service data.
setServiceData(ParcelUuid, byte[], byte[]) - Method in class com.polidea.rxandroidble2.scan.ScanFilter.Builder
Set partial filter on service data.
setServiceUuid(ParcelUuid) - Method in class com.polidea.rxandroidble2.scan.ScanFilter.Builder
Set filter on service uuid.
setServiceUuid(ParcelUuid, ParcelUuid) - Method in class com.polidea.rxandroidble2.scan.ScanFilter.Builder
Set filter on partial service uuid.
setShouldCheckLocationServicesState(boolean) - Method in interface com.polidea.rxandroidble2.internal.scan.ExternalScanSettingsExtension.Builder
Set whether a check if Location Services are (any Location Provider is) turned on before scheduling a BLE scan start.
setShouldCheckLocationServicesState(boolean) - Method in class com.polidea.rxandroidble2.scan.ScanSettings.Builder
Set whether a check if Location Services are (any Location Provider is) turned on before scheduling a BLE scan start.
setShouldLogAttributeValues(Boolean) - Method in class com.polidea.rxandroidble2.LogOptions.Builder
Set how to log byte array values:
setShouldLogScannedPeripherals(Boolean) - Method in class com.polidea.rxandroidble2.LogOptions.Builder
Set if scan results should be logged.
setSuppressIllegalOperationCheck(boolean) - Method in class com.polidea.rxandroidble2.ConnectionSetup.Builder
 
setupIndication(UUID) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
setupIndication(BluetoothGattCharacteristic) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
setupIndication(UUID, NotificationSetupMode) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
setupIndication(BluetoothGattCharacteristic, NotificationSetupMode) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
setupIndication(UUID) - Method in interface com.polidea.rxandroidble2.RxBleConnection
 
setupIndication(BluetoothGattCharacteristic) - Method in interface com.polidea.rxandroidble2.RxBleConnection
 
setupIndication(UUID, NotificationSetupMode) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Setup characteristic indication in order to receive callbacks when given characteristic has been changed.
setupIndication(BluetoothGattCharacteristic, NotificationSetupMode) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Setup characteristic indication in order to receive callbacks when given characteristic has been changed.
setupNotification(UUID) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
setupNotification(BluetoothGattCharacteristic) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
setupNotification(UUID, NotificationSetupMode) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
setupNotification(BluetoothGattCharacteristic, NotificationSetupMode) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
setupNotification(UUID) - Method in interface com.polidea.rxandroidble2.RxBleConnection
 
setupNotification(BluetoothGattCharacteristic) - Method in interface com.polidea.rxandroidble2.RxBleConnection
 
setupNotification(UUID, NotificationSetupMode) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Setup characteristic notification in order to receive callbacks when given characteristic has been changed.
setupNotification(BluetoothGattCharacteristic, NotificationSetupMode) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Setup characteristic notification in order to receive callbacks when given characteristic has been changed.
setUuidsLogSetting(Integer) - Method in class com.polidea.rxandroidble2.LogOptions.Builder
Set how to log uuids:
setWriteOperationAckStrategy(RxBleConnection.WriteOperationAckStrategy) - Method in class com.polidea.rxandroidble2.internal.connection.LongWriteOperationBuilderImpl
 
setWriteOperationAckStrategy(RxBleConnection.WriteOperationAckStrategy) - Method in interface com.polidea.rxandroidble2.RxBleConnection.LongWriteOperationBuilder
Setter for a strategy used to mark batch write completed.
setWriteOperationRetryStrategy(RxBleConnection.WriteOperationRetryStrategy) - Method in class com.polidea.rxandroidble2.internal.connection.LongWriteOperationBuilderImpl
 
setWriteOperationRetryStrategy(RxBleConnection.WriteOperationRetryStrategy) - Method in interface com.polidea.rxandroidble2.RxBleConnection.LongWriteOperationBuilder
Setter for a retry strategy in case something goes wrong when writing data.
shouldCheckLocationProviderState() - Method in interface com.polidea.rxandroidble2.internal.scan.ExternalScanSettingsExtension
 
shouldCheckLocationProviderState() - Method in class com.polidea.rxandroidble2.scan.ScanSettings
 
shouldLogAttributeValues - Variable in class com.polidea.rxandroidble2.internal.logger.LoggerSetup
 
shouldLogScannedPeripherals - Variable in class com.polidea.rxandroidble2.internal.logger.LoggerSetup
 
SingleResponseOperation<T> - Class in com.polidea.rxandroidble2.internal
A convenience class intended to use with BluetoothGatt functions that fire one-time actions.
SingleResponseOperation(BluetoothGatt, RxBleGattCallback, BleGattOperationType, TimeoutConfiguration) - Constructor for class com.polidea.rxandroidble2.internal.SingleResponseOperation
 
size() - Method in class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 
StandardUUIDsParser - Class in com.polidea.rxandroidble2.utils
 
startLegacyLeScan(BluetoothAdapter.LeScanCallback) - Method in class com.polidea.rxandroidble2.internal.util.RxBleAdapterWrapper
 
startLeScan(List<ScanFilter>, ScanSettings, ScanCallback) - Method in class com.polidea.rxandroidble2.internal.util.RxBleAdapterWrapper
 
startLeScan(List<ScanFilter>, ScanSettings, PendingIntent) - Method in class com.polidea.rxandroidble2.internal.util.RxBleAdapterWrapper
 
startOperation(BluetoothGatt) - Method in class com.polidea.rxandroidble2.internal.operations.CharacteristicReadOperation
 
startOperation(BluetoothGatt) - Method in class com.polidea.rxandroidble2.internal.operations.CharacteristicWriteOperation
 
startOperation(BluetoothGatt) - Method in class com.polidea.rxandroidble2.internal.operations.ConnectionPriorityChangeOperation
 
startOperation(BluetoothGatt) - Method in class com.polidea.rxandroidble2.internal.operations.DescriptorReadOperation
 
startOperation(BluetoothGatt) - Method in class com.polidea.rxandroidble2.internal.operations.DescriptorWriteOperation
 
startOperation(BluetoothGatt) - Method in class com.polidea.rxandroidble2.internal.operations.MtuRequestOperation
 
startOperation(BluetoothGatt) - Method in class com.polidea.rxandroidble2.internal.operations.ReadRssiOperation
 
startOperation(BluetoothGatt) - Method in class com.polidea.rxandroidble2.internal.operations.ServiceDiscoveryOperation
 
startOperation(BluetoothGatt) - Method in class com.polidea.rxandroidble2.internal.SingleResponseOperation
A function that should call the passed BluetoothGatt and return `true` if the call has succeeded.
state - Variable in exception com.polidea.rxandroidble2.exceptions.BleDisconnectedException
 
STATE_OFF - Static variable in class com.polidea.rxandroidble2.RxBleAdapterStateObservable.BleAdapterState
 
STATE_ON - Static variable in class com.polidea.rxandroidble2.RxBleAdapterStateObservable.BleAdapterState
 
STATE_TURNING_OFF - Static variable in class com.polidea.rxandroidble2.RxBleAdapterStateObservable.BleAdapterState
 
STATE_TURNING_ON - Static variable in class com.polidea.rxandroidble2.RxBleAdapterStateObservable.BleAdapterState
 
stopBackgroundBleScan(PendingIntent) - Method in class com.polidea.rxandroidble2.internal.scan.BackgroundScannerImpl
 
stopBackgroundBleScan(PendingIntent) - Method in interface com.polidea.rxandroidble2.scan.BackgroundScanner
Stops previously initiated scan with a PendingIntent callback.
stopLegacyLeScan(BluetoothAdapter.LeScanCallback) - Method in class com.polidea.rxandroidble2.internal.util.RxBleAdapterWrapper
 
stopLeScan(PendingIntent) - Method in class com.polidea.rxandroidble2.internal.util.RxBleAdapterWrapper
 
stopLeScan(ScanCallback) - Method in class com.polidea.rxandroidble2.internal.util.RxBleAdapterWrapper
 
subscribeActual(<any>) - Method in class com.polidea.rxandroidble2.helpers.ByteArrayBatchObservable
 
subscribeActual(<any>) - Method in class com.polidea.rxandroidble2.helpers.LocationServicesOkObservable
 
subscribeActual(<any>) - Method in class com.polidea.rxandroidble2.internal.util.ClientStateObservable
 
subscribeActual(<any>) - Method in class com.polidea.rxandroidble2.RxBleAdapterStateObservable
 
supportedProperties - Variable in exception com.polidea.rxandroidble2.internal.BleIllegalOperationException
 
SUPPRESS_OPERATION_CHECKS - Static variable in class com.polidea.rxandroidble2.internal.connection.ConnectionComponent.NamedBooleans
 
suppressOperationCheck - Variable in class com.polidea.rxandroidble2.ConnectionSetup
Flag describing the method of operation viability checking.
suppressOperationChecks(boolean) - Method in interface com.polidea.rxandroidble2.internal.connection.ConnectionComponent.Builder
 

T

terminate(BleException) - Method in interface com.polidea.rxandroidble2.internal.serialization.ConnectionOperationQueue
A method for terminating all operations that are still queued on the connection.
terminate(BleException) - Method in class com.polidea.rxandroidble2.internal.serialization.ConnectionOperationQueueImpl
 
ThrowingIllegalOperationHandler - Class in com.polidea.rxandroidble2.internal.connection
Implementation of IllegalOperationHandler.
ThrowingIllegalOperationHandler(IllegalOperationMessageCreator) - Constructor for class com.polidea.rxandroidble2.internal.connection.ThrowingIllegalOperationHandler
 
TIMEOUT - Static variable in class com.polidea.rxandroidble2.ClientComponent.NamedSchedulers
 
timeout - Variable in class com.polidea.rxandroidble2.internal.operations.TimeoutConfiguration
 
Timeout - Class in com.polidea.rxandroidble2
 
Timeout(long, TimeUnit) - Constructor for class com.polidea.rxandroidble2.Timeout
 
timeout - Variable in class com.polidea.rxandroidble2.Timeout
 
TimeoutConfiguration - Class in com.polidea.rxandroidble2.internal.operations
 
TimeoutConfiguration(long, TimeUnit, Scheduler) - Constructor for class com.polidea.rxandroidble2.internal.operations.TimeoutConfiguration
 
timeoutFallbackProcedure(BluetoothGatt, RxBleGattCallback, Scheduler) - Method in class com.polidea.rxandroidble2.internal.operations.ServiceDiscoveryOperation
Sometimes it happens that the BluetoothGatt will receive all BluetoothGattService's, BluetoothGattCharacteristic's and BluetoothGattDescriptor but it won't receive the final callback that the service discovery was completed.
timeoutFallbackProcedure(BluetoothGatt, RxBleGattCallback, Scheduler) - Method in class com.polidea.rxandroidble2.internal.SingleResponseOperation
 
timeoutScheduler - Variable in class com.polidea.rxandroidble2.internal.operations.TimeoutConfiguration
 
timeoutTimeUnit - Variable in class com.polidea.rxandroidble2.internal.operations.TimeoutConfiguration
 
timeUnit - Variable in class com.polidea.rxandroidble2.Timeout
 
toDistinctSet(UUID[]) - Method in class com.polidea.rxandroidble2.helpers.AdvertisedServiceUUIDExtractor
 
toDistinctSet(UUID[]) - Method in class com.polidea.rxandroidble2.internal.util.UUIDUtil
Deprecated.
 
toNativeFilters(ScanFilter...) - Method in class com.polidea.rxandroidble2.internal.scan.AndroidScanObjectsConverter
 
toNativeSettings(ScanSettings) - Method in class com.polidea.rxandroidble2.internal.scan.AndroidScanObjectsConverter
 
toString() - Method in class com.polidea.rxandroidble2.exceptions.BleGattOperationType
 
toString() - Method in class com.polidea.rxandroidble2.internal.logger.LoggerSetup
 
toString() - Method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil.AttributeLogWrapper
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.CharacteristicLongWriteOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.CharacteristicReadOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.CharacteristicWriteOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.ConnectionPriorityChangeOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.ConnectOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.DescriptorReadOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.DescriptorWriteOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.DisconnectOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.LegacyScanOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.MtuRequestOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.ReadRssiOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.ScanOperationApi18
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.ScanOperationApi21
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.ServiceDiscoveryOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.operations.TimeoutConfiguration
 
toString() - Method in class com.polidea.rxandroidble2.internal.scan.EmulatedScanFilterMatcher
 
toString() - Method in class com.polidea.rxandroidble2.internal.SingleResponseOperation
 
toString() - Method in class com.polidea.rxandroidble2.internal.util.ByteAssociation
 
toString() - Method in class com.polidea.rxandroidble2.internal.util.CharacteristicChangedEvent
 
toString() - Method in class com.polidea.rxandroidble2.internal.util.CharacteristicNotificationId
 
toString() - Method in class com.polidea.rxandroidble2.LogOptions
 
toString() - Method in class com.polidea.rxandroidble2.RxBleAdapterStateObservable.BleAdapterState
 
toString() - Method in enum com.polidea.rxandroidble2.RxBleConnection.RxBleConnectionState
 
toString() - Method in class com.polidea.rxandroidble2.RxBleScanResult
 
toString() - Method in class com.polidea.rxandroidble2.scan.ScanFilter
 
toString() - Method in class com.polidea.rxandroidble2.scan.ScanResult
 

U

UNDOCUMENTED_SCAN_THROTTLE - Static variable in exception com.polidea.rxandroidble2.exceptions.BleScanException
On API >=25 there is an undocumented scan throttling mechanism.
UNKNOWN - Static variable in exception com.polidea.rxandroidble2.exceptions.BleCannotSetCharacteristicNotificationException
Deprecated.
UNKNOWN_ERROR_CODE - Static variable in exception com.polidea.rxandroidble2.exceptions.BleScanException
Unknown error code.
UNKNOWN_STATUS - Static variable in exception com.polidea.rxandroidble2.exceptions.BleDisconnectedException
Set when the state is not available, for example when the adapter has been switched off.
UNKNOWN_STATUS - Static variable in exception com.polidea.rxandroidble2.exceptions.BleGattException
 
updateBluetoothGatt(BluetoothGatt) - Method in class com.polidea.rxandroidble2.internal.connection.BluetoothGattProvider
Updates GATT instance storage if it wasn't initialized previously.
updateLogOptions(LogOptions) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
Method to update current logger setup with new LogOptions.
updateLogOptions(LogOptions) - Static method in class com.polidea.rxandroidble2.RxBleClient
Method for updating logging options.
UUID_BYTES_128_BIT - Static variable in class com.polidea.rxandroidble2.internal.util.UUIDUtil
Deprecated.
Length of bytes for 128 bit UUID
UUID_BYTES_16_BIT - Static variable in class com.polidea.rxandroidble2.internal.util.UUIDUtil
Deprecated.
Length of bytes for 16 bit UUID
UUID_BYTES_32_BIT - Static variable in class com.polidea.rxandroidble2.internal.util.UUIDUtil
Deprecated.
Length of bytes for 32 bit UUID
uuidLogSetting - Variable in class com.polidea.rxandroidble2.internal.logger.LoggerSetup
 
UUIDS_FULL - Static variable in class com.polidea.rxandroidble2.LogConstants
Full UUID will be logged
UUIDUtil - Class in com.polidea.rxandroidble2.internal.util
Deprecated.
use AdvertisedServiceUUIDExtractor instead. This class may change in later releases.
UUIDUtil() - Constructor for class com.polidea.rxandroidble2.internal.util.UUIDUtil
Deprecated.
 

V

v(String, Object...) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
v(Throwable, String, Object...) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
ValueInterpreter - Class in com.polidea.rxandroidble2.helpers
A helper class intended for interpreting Integers, Floats and Strings that may be stored in byte arrays retrieved by RxBleConnection.readCharacteristic(UUID) or RxBleConnection.setupIndication(UUID).
ValueInterpreter.FloatFormatType - Annotation Type in com.polidea.rxandroidble2.helpers
 
ValueInterpreter.IntFormatType - Annotation Type in com.polidea.rxandroidble2.helpers
 
valueOf(String) - Static method in enum com.polidea.rxandroidble2.NotificationSetupMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.polidea.rxandroidble2.RxBleClient.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.polidea.rxandroidble2.RxBleConnection.RxBleConnectionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.polidea.rxandroidble2.scan.ScanCallbackType
Returns the enum constant of this type with the specified name.
values() - Method in class com.polidea.rxandroidble2.internal.cache.DeviceComponentCache
 
values() - Static method in enum com.polidea.rxandroidble2.NotificationSetupMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.polidea.rxandroidble2.RxBleClient.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.polidea.rxandroidble2.RxBleConnection.RxBleConnectionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.polidea.rxandroidble2.scan.ScanCallbackType
Returns an array containing the constants of this enum type, in the order they are declared.
VERBOSE - Static variable in class com.polidea.rxandroidble2.internal.RxBleLog
Deprecated.
VERBOSE - Static variable in class com.polidea.rxandroidble2.LogConstants
LogConstants.DEBUG + some internal library logs
verify(boolean) - Method in interface com.polidea.rxandroidble2.internal.scan.ScanPreconditionsVerifier
 
verify(boolean) - Method in class com.polidea.rxandroidble2.internal.scan.ScanPreconditionsVerifierApi18
 
verify(boolean) - Method in class com.polidea.rxandroidble2.internal.scan.ScanPreconditionsVerifierApi24
 

W

w(String, Object...) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
w(Throwable, String, Object...) - Static method in class com.polidea.rxandroidble2.internal.RxBleLog
 
WARN - Static variable in class com.polidea.rxandroidble2.internal.RxBleLog
Deprecated.
WARN - Static variable in class com.polidea.rxandroidble2.LogConstants
LogConstants.ERROR + warnings that are handled gracefully or API misuse will be logged
wrap(BluetoothGattCharacteristic, boolean) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
wrap(BluetoothGattDescriptor, boolean) - Static method in class com.polidea.rxandroidble2.internal.logger.LoggerUtil
 
writeCharacteristic(UUID, byte[]) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
writeCharacteristic(BluetoothGattCharacteristic, byte[]) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
writeCharacteristic(UUID, byte[]) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs GATT write operation on a characteristic with given UUID.
writeCharacteristic(BluetoothGattCharacteristic, byte[]) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs GATT write operation on a given characteristic.
writeDescriptor(UUID, UUID, UUID, byte[]) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
writeDescriptor(BluetoothGattDescriptor, byte[]) - Method in class com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl
 
writeDescriptor(UUID, UUID, UUID, byte[]) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs GATT write operation on a descriptor from a characteristic with a given UUID from a service with a given UUID.
writeDescriptor(BluetoothGattDescriptor, byte[]) - Method in interface com.polidea.rxandroidble2.RxBleConnection
Performs GATT write operation on a given descriptor.
writeToParcel(Parcel, int) - Method in class com.polidea.rxandroidble2.scan.ScanFilter
 
writeToParcel(Parcel, int) - Method in class com.polidea.rxandroidble2.scan.ScanSettings
 
A B C D E F G H I J K L M N O P Q R S T U V W