RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx.client / RssiValueUpdater

RssiValueUpdater

class RssiValueUpdater

Reactive wrapper for updating rssi value for given connection

Constructors

<init>

RssiValueUpdater(readRssiTransactionProvider: (GattConnection) -> ReadRssiTransaction = { ReadRssiTransaction(it, READ_RSSI_SUCCESS) }, gattClientConnectionStateSetter: GattClientConnectionStateSetter = GattClientConnectionStateSetter())

Reactive wrapper for updating rssi value for given connection

Functions

update

fun update(gattConnection: GattConnection): Single<GattConnection>

Update Rssi value for given gattConnection