observeUsbDevices

suspend fun ExternalNfcReaderStore.observeUsbDevices(pollInterval: Duration = 1.seconds)

Monitors attached USB devices on Desktop JVM and automatically adds newly attached USB CCID (bInterfaceClass == 0x0B) NFC readers to this ExternalNfcReaderStore.

Keeps running until the calling coroutine is cancelled.

Parameters

pollInterval

how frequently to scan for newly attached USB CCID devices.