Skip to content

Handle broadcast routing in deliverMessageTo - #3483

Merged
pkendall64 merged 2 commits into
ExpressLRS:masterfrom
pkendall64:4.0/fix-broadcast-routing
Jan 12, 2026
Merged

pkendall64 merged 2 commits into
ExpressLRS:masterfrom
pkendall64:4.0/fix-broadcast-routing

Conversation

@pkendall64

Copy link
Copy Markdown
Collaborator

Issue

I was just making sure all the features work for 4.0 and found that the VTX Admin was not setting the channels on the FC, but was on the VRX (goggles)

Cause

The VTX Admin packets are broadcast MSP packets. The AddMspMessage build the message and wrapped it in CRSF and use the deliverMessageTo passing BROADCAST address, but deliverMessageTo did NOT handle broadcast messages. It just asks which connector handles messages for the given destination address and delivers to that connector.

Solution

deliverMessageTo must deliver to all connectors for BROADCAST messages.
As an aside, the AddMspMessage should have been using the CRSF_SYNC_BYTE as the first byte of the CRSF message buffer.

@CapnBry CapnBry left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Golly. Real egg on my face for not noticing this one. Thanks!
EDIT: Tested with master, no VTX Admin working with Betaflight. With PR, we're back.

@pkendall64
pkendall64 merged commit 06d83ef into ExpressLRS:master Jan 12, 2026
@pkendall64
pkendall64 deleted the 4.0/fix-broadcast-routing branch January 12, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants