BluetoothUnsupportedException
class BluetoothUnsupportedException(cause: Throwable) : IllegalStateException, ExpectedCondition(source)
The device has no Bluetooth LE hardware, so no scan or connection can ever succeed (e.g. an Android XR headset).
An ExpectedCondition: the hardware said no, which is not a defect anyone can fix.
Functions
Link copied to clipboard
Inspects this Throwable and returns a BleExceptionInfo if it is a known Kable exception, or null if it is unrelated to the BLE layer.
Link copied to clipboard
Returns true if this throwable indicates the BLE session is irrecoverably broken and should be torn down (triggering reconnection), as opposed to a transient condition that can be retried.