GoldenGateConnectionManager / com.fitbit.goldengate.bt.gatt.scanner / BluetoothScanner

BluetoothScanner

interface BluetoothScanner

Functions

scanForDevice

abstract fun scanForDevice(macAddress: String): Single<GattConnection>

Scans for a device with a specific mac address

scanForDevices

abstract fun scanForDevices(): Observable<GattConnection>

Scans for devices

scanForName

abstract fun scanForName(name: String): Observable<GattConnection>

Scans for devices matching a specific name