BleExceptionInfo

data class BleExceptionInfo(val isPermanent: Boolean, val gattStatus: Int? = null, val message: String)(source)

Classification of a BLE-layer exception for the transport layer to act on.

Constructors

Link copied to clipboard
constructor(isPermanent: Boolean, gattStatus: Int? = null, message: String)

Properties

Link copied to clipboard

the platform GATT status code when available (Android-specific).

Link copied to clipboard

true if the condition cannot resolve without explicit user re-selection of the device. Currently always false — all known BLE exceptions can resolve without user intervention (BT toggling, permission grants, transient GATT errors). Reserved for future use.

Link copied to clipboard

a human-readable description of the failure.