DisconnectReason
Platform-agnostic reason for a BLE disconnect.
Mapped from Kable's com.juul.kable.State.Disconnected.Status in KableStateMapping.
Inheritors
Types
Link copied to clipboard
The connection was explicitly cancelled.
Link copied to clipboard
A connection attempt failed to establish.
Link copied to clipboard
An encryption or authentication failure occurred.
Link copied to clipboard
The local app/central initiated the disconnect.
Link copied to clipboard
Platform-specific status code that doesn't map to a known reason.
Link copied to clipboard
The remote peripheral (firmware) initiated the disconnect.
Link copied to clipboard
The BLE link supervision timed out (device went out of range).
Link copied to clipboard
Cause is unknown or the platform did not report one.