Show node name if we find it in the DB already. Closes #128.

This commit is contained in:
Jack Kingsman
2026-03-30 12:28:26 -07:00
parent 7aa4f76064
commit db248302e9
6 changed files with 49 additions and 3 deletions
+4
View File
@@ -681,6 +681,10 @@ class RadioDiscoveryResult(BaseModel):
"""One mesh node heard during a discovery sweep."""
public_key: str = Field(description="Discovered node public key as hex")
name: str | None = Field(
default=None,
description="Known name for this node from contacts DB, if any",
)
node_type: Literal["repeater", "sensor"] = Field(description="Discovered node class")
heard_count: int = Field(default=1, description="How many responses were heard from this node")
local_snr: float | None = Field(