DiscoveredServices

A Connected State indicating all Service have been discovered

Inheritors

Properties

Link copied to clipboard

Transitions into a Disconnected State

Link copied to clipboard

Transitions into a Disconnecting State

Link copied to clipboard
abstract val reconnect: suspend () -> ConnectableDeviceState.Connecting

Transitions into a Connecting State

Link copied to clipboard

The ConnectionSettings.ReconnectionSettings to use for reconnecting when the device disconnects unexpectedly

Link copied to clipboard
abstract val services: List<RemoteService>

The list of RemoteService hat where discovered

Functions

Link copied to clipboard
abstract suspend fun pair(): PairingResult

Attempts to pair this device

Link copied to clipboard
abstract suspend fun readRssi()

Reads the RSSI

Link copied to clipboard
open fun <S : KalugaState> remain(): suspend () -> S
Link copied to clipboard
abstract fun startDisconnected()

Starts transitioning to a Disconnected State

Link copied to clipboard
abstract suspend fun unpair(): PairingResult

Attempts to unpair the Device

Link copied to clipboard

Transitions into a Connected state where the the Connected.reconnectionSettings have been updated to reconnectionSettings