WifiListItem

fun WifiListItem(wifiAddress: Int, wifiEntry: VirtualNode.LastOriginatorMessage, onClick: (nodeAddress: String) -> Unit? = null)

Displays a single Wi-Fi node in a list with device information and mesh network status.

This composable shows the device icon, name (from IP address), IP in dot notation, and mesh network details including ping time and hop count.

Parameters

wifiAddress

The integer IP address of the Wi-Fi node.

wifiEntry

The VirtualNode.LastOriginatorMessage containing the node's mesh message data.

onClick

Optional lambda invoked when the list item is clicked, providing the node's IP in dot notation.