RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx / PeripheralDisconnector / disconnect

disconnect

fun disconnect(bluetoothAddress: String): Completable

Disconnect given device if its connected

Parameters

bluetoothAddress - BT address of Peripheral to disconnect

fun disconnect(connection: GattConnection): Completable

Disconnect given device if its connected

Parameters

connection - for Peripheral to disconnect