RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx / KnownGattConnectionFinder / findByService

findByService

fun findByService(services: List<UUID>, filterPredicate: (GattConnection) -> Boolean = { true }): Single<List<GattConnection>>

Finds known GattConnections matching given remote services and filterPredicate filter

Parameters

services - list of remote GATT service UUID's to match

filterPredicate - filter to apply to known GattConnection

Return
Returns a Single that will emit all known GattConnection