Kotlin BLE Library
Toggle table of contents
2.0.0-alpha16
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Kotlin BLE Library
client-core
/
no.nordicsemi.kotlin.ble.client.exception
/
ConnectionFailedException
Connection
Failed
Exception
class
ConnectionFailedException
(
val
reason
:
ConnectionState.Disconnected.Reason
)
:
GattException
Thrown when the connection to the peripheral has failed.
Members
Constructors
Connection
Failed
Exception
Link copied to clipboard
constructor
(
reason
:
ConnectionState.Disconnected.Reason
)
Properties
cause
Link copied to clipboard
open
val
cause
:
Throwable
?
message
Link copied to clipboard
open
val
message
:
String
?
reason
Link copied to clipboard
val
reason
:
ConnectionState.Disconnected.Reason
The reason of the failure.