Package-level declarations

Types

Link copied to clipboard

What the Connections UI should do when the user takes a TCP-connect action that may need ACCESS_LOCAL_NETWORK.

Link copied to clipboard

How a connect stashed behind an in-flight permission request should be resolved once the status moves.

Functions

Link copied to clipboard
fun ConnectionsScreen(connectionsViewModel: ConnectionsViewModel = koinViewModel(), scanModel: ScannerViewModel = koinViewModel(), onClickNodeChip: (Int) -> Unit, onNavigateToNodeDetails: (Int) -> Unit, onConfigNavigate: (Route) -> Unit)

Composable screen for managing device connections (BLE, TCP, USB). It displays connection status.

Link copied to clipboard

Pure classifier for gating a TCP-connect action on ACCESS_LOCAL_NETWORK. Kept side-effect-free and platform-agnostic so it can be unit-tested in commonTest without an Android Activity.

Link copied to clipboard

Resolves a TCP connect stashed while a permission request was in flight, given the status at stash time and now.