Skip to content

Route requests and route replies #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 9 commits into
base: dev
Choose a base branch
from
Draft

Route requests and route replies #14

wants to merge 9 commits into from

Conversation

puddly
Copy link
Contributor

@puddly puddly commented May 5, 2025

This PR aims to integrate routing and route discovery tables into ziggurat. More precisely:

  1. We no longer allow single-hop route-less sending: routes to devices need to be calculated.
  2. To do that, we send route requests.
  3. And process route replies, both expected an unsolicited.

Relaying route reply broadcasts is a work in progress. In addition, there is no notification mechanism yet for route discovery to happen before a request: we rely on zigpy to time out and eventually succeed after a few retries. We should probably use a channel for this.

A future PR will properly age routes, propagate routing errors, and hopefully stabilize network management into a state where ziggurat can be tested on a real network.

@puddly puddly moved this to In progress in ZHA May 7, 2025
@puddly puddly added this to ZHA May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

1 participant