RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx

Package com.fitbit.bluetooth.fbgatt.rx

Types

BaseFitbitGattCallback

abstract class BaseFitbitGattCallback : FitbitGattCallback

An abstract adapter class of FitbitGattCallback that provides no implementation for all callbacks, given implementation ability to only add implementation for specific callback method

CentralConnectionChangeListener

class CentralConnectionChangeListener

GattCharacteristicSubscriptionStatus

enum class GattCharacteristicSubscriptionStatus

GATT characteristic subscription status

KnownGattConnectionFinder

class KnownGattConnectionFinder

Finds known GattConnection

MtuUpdateListener

class MtuUpdateListener

Listener to observe MTU changes from BitGatt callbacks

PeripheralConnectionChangeListener

class PeripheralConnectionChangeListener

Listener to observer peripheral connection state changes

PeripheralConnectionStatus

enum class PeripheralConnectionStatus

Peripheral bluetooth connectivity status with remote devices

PeripheralDisconnector

class PeripheralDisconnector

Utility to disconnect a peripheral

Exceptions

GattCharacteristicException

class GattCharacteristicException : Exception

Exception indicating GATT characteristic not found

GattServerNotFoundException

class GattServerNotFoundException : Exception

Exception indicating local GATT server not found

GattServiceNotFoundException

class GattServiceNotFoundException : Exception

Exception indicating GATT service not found

GattTransactionException

class GattTransactionException : Exception

Exception thrown when com.fitbit.bluetooth.fbgatt.GattTransaction fails with result other than TransactionResult.TransactionResultStatus.SUCCESS

Extensions for External Classes

android.bluetooth.BluetoothGattService

com.fitbit.bluetooth.fbgatt.FitbitGatt

com.fitbit.bluetooth.fbgatt.GattConnection

com.fitbit.bluetooth.fbgatt.GattServerConnection

com.fitbit.bluetooth.fbgatt.GattTransaction

Properties

CLIENT_CONFIG_UUID

val CLIENT_CONFIG_UUID: UUID

File grouping all UUIDs together

DEFAULT_UUID_MASK

const val DEFAULT_UUID_MASK: String

GOLDEN_GATE_SERVICE_UUID_MASK

const val GOLDEN_GATE_SERVICE_UUID_MASK: String