OperationFailedException

data class OperationFailedException(val reason: OperationStatus, val errorCode: Int? = null) : GattException

Thrown when the GATT operation failed.

Constructors

Link copied to clipboard
constructor(reason: OperationStatus, errorCode: Int? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

An optional status code of the failure.

Link copied to clipboard
open val message: String?
Link copied to clipboard

The reason of the failure.