BleRadioTransport
constructor(scope: CoroutineScope, scanner: BleScanner, bluetoothRepository: BluetoothRepository, connectionFactory: BleConnectionFactory, callback: RadioTransportCallback, address: String)(source)
Parameters
scope
The coroutine scope to use for launching coroutines.
scanner
The BLE scanner.
bluetoothRepository
The Bluetooth repository.
connectionFactory
The BLE connection factory.
callback
The RadioTransportCallback to use for handling radio events.
address
The BLE address of the device to connect to.