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

GattServiceRefresher

class GattServiceRefresher

Constructors

<init>

GattServiceRefresher(refreshTransactionProvider: GattClientRefreshGattTransactionProvider = GattClientRefreshGattTransactionProvider(), provideBitGattPeer: (GattConnection) -> BitGattPeer = { BitGattPeer(it) })

Functions

refresh

fun refresh(gattConnection: GattConnection): Completable

Performs service refresh on the peripheral If the gattConnection is not connected we will first try to connect