PeripheralNotReadyException

class PeripheralNotReadyException(val serviceUuid: Uuid, val characteristicUuid: Uuid, val currentState: State) : PeripheralCodecException

Raised when the peripheral is not ready to resolve the characteristic: discovery has not completed, the cached service list is pending invalidation (State.Connected.ServiceChanged), or the peripheral is disconnecting/disconnected. Retry after Peripheral.state reaches State.Connected.Ready, reconnecting first if necessary. The currentState is captured at dispatch time for diagnostics.

Constructors

Link copied to clipboard
constructor(serviceUuid: Uuid, characteristicUuid: Uuid, currentState: State)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
val currentState: State
Link copied to clipboard
expect open val message: String?
Link copied to clipboard