ConnectingDeviceInfo

fun ConnectingDeviceInfo(deviceName: String, deviceAddress: String, connectionState: ConnectionState, onClickDisconnect: () -> Unit, modifier: Modifier = Modifier, restartExpected: Boolean = false, isBluetooth: Boolean = false, onClickConnect: () -> Unit = {})(source)

Displays the currently connecting (or connected) device with its name, address and connection status. The status line names the step in progress or the countdown to the next attempt, the line under it says why the last attempt failed, and a client that stopped trying offers Connect next to the disconnect button.