Skip to content

Add MQTT neighbors functionality and update interval constraints#27

Merged
agessaman merged 2 commits into
mqtt-bridge-implementation-flexfrom
feat/flex-fetch-neighboring-scopes
Jul 17, 2026
Merged

Add MQTT neighbors functionality and update interval constraints#27
agessaman merged 2 commits into
mqtt-bridge-implementation-flexfrom
feat/flex-fetch-neighboring-scopes

Conversation

@agessaman

Copy link
Copy Markdown
Owner

No description provided.

- Introduced commands for periodic neighbors publishing: `get mqtt.neighbors`, `set mqtt.neighbors on|off`, `get mqtt.neighbors.interval`, and `set mqtt.neighbors.interval <hours>`.
- Updated MQTT topics to include a new neighbors topic for cached zero-hop repeater neighbors.
- Added JSON message format for neighbors, including fields for SNR, last-heard age, and status.
- Enhanced CLI documentation to reflect new commands and settings.
- Implemented neighbor discovery logic in MyMesh class, including handling responses and publishing neighbor data.
- Adjusted MQTTBridge to manage neighbors JSON buffer and publish logic.

This update enhances the MQTT implementation by allowing devices to share neighbor information, improving network awareness and connectivity.
Adjusted the valid range for the `mqtt.neighbors.interval` setting from
12-8760 hours to 12-336 hours to reflect new constraints. Updated
related documentation and CLI commands to ensure consistency across
the codebase. This change improves clarity and prevents potential
misconfigurations in neighbor publishing intervals.
@agessaman
agessaman merged commit 144e8f2 into mqtt-bridge-implementation-flex Jul 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant