Skip to content
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

Cancel rebroadcast in Tx queue upon receiving another rebroadcast #2538

Merged
merged 3 commits into from
Jun 1, 2023

Conversation

GUVWAF
Copy link
Member

@GUVWAF GUVWAF commented Jun 1, 2023

If we receive a rebroadcast for an already received packet (wasSeenRecently is true), cancel the rebroadcast that’s currently in the Tx queue (if there was one).

This will reduce channel utilization due to duplicates and therefore the chance of collisions, but the downside is that we lose some redundancy that we apparently had (not by design).

One broadcast from node 0 using current master in the interactive simulator:
image
With this PR:
image

I will ask burr in Discord (who found it) to test this.

(Also updated the platform-native reference to let portduino build again.)

@github-actions
Copy link
Contributor

github-actions bot commented Jun 1, 2023

🤖 Pull request artifacts

file commit
pr2538-firmware-2.1.15.9c85beb.zip 9c85beb

thebentern added a commit to meshtastic/artifacts that referenced this pull request Jun 1, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Jun 1, 2023
@thebentern thebentern merged commit 344baf7 into meshtastic:master Jun 1, 2023
46 checks passed
@GUVWAF GUVWAF deleted the cancelSendingRebroadcast branch July 28, 2023 17:46
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.

None yet

2 participants