tracerouteHopName

fun tracerouteHopName(nodeNum: Int, user: User, unknownHopLabel: String, displayName: String = "", viaMqtt: Boolean = false): String(source)

Display name for a traceroute hop. A node missing from the node DB comes back from the repository as a placeholder user with no hardware model and a generated "Meshtastic xxxx" name; that case is named by its full node id. Firmware fills a relay that did not add itself with the broadcast address, which is not a node, so it gets unknownHopLabel. A non-blank local displayName replaces the broadcast long name. A node last heard over MQTT (viaMqtt) is marked MQTT once, since a hop across MQTT is not an RF hop and its signal reading means something else.