JvmSerialDevicePresence

JVM/Desktop implementation of SerialDevicePresence.

The desktop serial transport (SerialTransport backed by jSerialComm) does not currently publish a hot-plug device set, so this implementation reports a perpetually-empty set. Transport recovery on replug is therefore a no-op on JVM until/unless jSerialComm enumeration is exposed as a flow.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val deviceKeys: StateFlow<Set<String>>

The set of currently-connected serial device keys (the rest part of an s$rest SERIAL address).