BluetoothInterfaceSpec

class BluetoothInterfaceSpec @Inject constructor(factory: BluetoothInterfaceFactory, bluetoothRepository: BluetoothRepository) : InterfaceSpec<BluetoothInterface> , Logging

Bluetooth backend implementation.

Constructors

Link copied to clipboard
@Inject
constructor(factory: BluetoothInterfaceFactory, bluetoothRepository: BluetoothRepository)

Functions

Link copied to clipboard
open override fun addressValid(rest: String): Boolean

Return true if this address is still acceptable. For BLE that means, still bonded

Link copied to clipboard
open override fun createInterface(rest: String): BluetoothInterface