RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx / com.fitbit.bluetooth.fbgatt.GattTransaction / runTxReactive

runTxReactive

fun GattTransaction.runTxReactive(gattConnection: GattConnection): Single<TransactionResult>

Extension function to create reactive method around GattTransaction.runTx

Parameters

gattConnection - for peripheral this transaction is executed for

fun GattTransaction.runTxReactive(gattServerConnection: GattServerConnection): Single<TransactionResult>

Extension function to create reactive method around GattTransaction.runTx

Parameters

gattServerConnection - for the service that transaction is executed for