BluetoothError

data class BluetoothError(code: Int) : UnitController.Status

There was an error reported by the mobile device bluetooth radio. That's a direct result from android.bluetooth.le.ScanCallback.onScanFailed. The UnitController will keep trying to scan thou.

Constructors

BluetoothError
Link copied to clipboard
fun BluetoothError(code: Int)

Functions

toString
Link copied to clipboard
open override fun toString(): String

Properties

code
Link copied to clipboard
val code: Int

Error code from the bluetooth scanner. One of android.bluetooth.le.ScanCallback.SCAN_FAILED_* values.