mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-08-07 09:13:04 +02:00
Plumb through total neighbor count from radio and expose that in the UI. Closes #310.
This commit is contained in:
@@ -672,6 +672,14 @@ class RepeaterNeighborsResponse(BaseModel):
|
||||
neighbors: list[NeighborInfo] = Field(
|
||||
default_factory=list, description="List of neighbors seen by repeater"
|
||||
)
|
||||
reported_count: int | None = Field(
|
||||
default=None,
|
||||
description=(
|
||||
"Total neighbor count reported by the repeater firmware, independent of "
|
||||
"how many entries were actually returned. May exceed len(neighbors) when a "
|
||||
"multi-chunk fetch is incomplete (dropped follow-up query / duty-cycle throttle)."
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
class RepeaterAclResponse(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user