State

sealed interface State

The state of the transport.

A Bluetooth LE transport reports more than the ConnectionObserver does, as setting up a connection takes a noticeable amount of time: the device has to be connected, its services discovered, and the SMP service set up.

Inheritors

Types

Link copied to clipboard

The device is connected and its SMP service is ready to exchange SMP packets.

Link copied to clipboard

The transport cannot exchange SMP packets.

Link copied to clipboard

The device is being connected, or its SMP service is being set up.