mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-02 12:43:43 +00:00
A room server is an endpoint, not a repeater. Strip the repeater machinery the role inherited from the RepeaterMesh clone: - allowPacketForward() returns false unconditionally — never relays transit traffic. (Upstream's simple_room_server gates this on disable_fwd; hard-off here since the role should never repeat.) - neighbour tracking: NeighbourInfo/neighbours[], putNeighbour, onAdvertRecv, removeNeighbor; formatNeighborsReply -> "not supported" - node discovery: onControlDataRecv, sendNodeDiscoverReq, the discover.neighbors CLI, discover rate-limiter + pending state - loop detection: isLooped + max_loop_* tables + loop_detect pref - dead code: RepeaterStats struct, GET_NEIGHBOURS handler, simple_sort -344 lines net. Builds clean (FLASH 30.7% / RAM 32.2%); login, post, push/sync, read-only guest and admin remote-management all hardware-verified on the GAT562 kit.