RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx.server / GattCharacteristicNotifier

GattCharacteristicNotifier

class GattCharacteristicNotifier

Notify GATT Characteristic change

Constructors

<init>

GattCharacteristicNotifier(device: BluetoothDevice)GattCharacteristicNotifier(fitbitDevice: FitbitBluetoothDevice, bitgatt: FitbitGatt = FitbitGatt.getInstance(), notifyTransactionProvider: NotifyGattServerCharacteristicTransactionProvider = NotifyGattServerCharacteristicTransactionProvider(), scheduler: Scheduler = GattCharacteristicNotifierProvider.scheduler, notifierLock: Semaphore = GattCharacteristicNotifierLock.lock)

Notify GATT Characteristic change

Functions

notify

fun notify(serviceId: UUID, characteristicId: UUID, data: ByteArray): Completable

Send a notification or indication that local GATT Characteristic has been updated