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

notify

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

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

Parameters

serviceId - ID of the local service to notify

characteristicId - ID of the local characteristic to notify

data - data to update GATT Characteristic with

Exceptions

GattServerNotFoundException - if GATT server is not available

GattServiceNotFoundException - if GATT service was not found

GattCharacteristicException - if GATT Characteristic is not found