Make CRSF telemetry accessible over WIFI as UDP broadcast#211
Open
xNuclearSquirrel wants to merge 3 commits intoExpressLRS:masterfrom
Open
Make CRSF telemetry accessible over WIFI as UDP broadcast#211xNuclearSquirrel wants to merge 3 commits intoExpressLRS:masterfrom
xNuclearSquirrel wants to merge 3 commits intoExpressLRS:masterfrom
Conversation
Author
Allain18
reviewed
Feb 20, 2026
| if (config.GetTelemMode() == BACKPACK_TELEM_MODE_WIFI) | ||
| { | ||
| sendMSPViaWiFiUDP(packet); | ||
| sendMSPViaEspnow(packet); |
Contributor
There was a problem hiding this comment.
Just check it on my pocket, when in WIFI espnow packets are not send. So no need to keep this line
Author
There was a problem hiding this comment.
Ok, good to know. I left it in since it was like that previously, in case that was an intentional choice.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR adds access to CRSF telemetry over Wi-Fi, which currently only works for MAVLink while CRSF telemetry is only available over ESP-NOW.
This is a minimal implementation that broadcasts CRSF telemetry packets via UDP. It reuses the existing Wi-Fi/MAVLink networking path and uses
mavlinkUDP.write()onMavlinkSendPort.UDP broadcast is active when telemetry mode is set to
WIFIin the ELRS Lua script.This should not interfere with MAVLink in normal use, since CRSF and MAVLink telemetry are not used at the same time as far as I know. I could not test how it behaves with real ESP-NOW receivers since I don't have the hardware.
Previously, ESP-NOW was active whenever telemetry mode was not
OFF(so even when set toWIFI). I kept this behavior in place and added UDP broadcast. The behavior is now:WIFI: CRSF telemetry is sent via ESP-NOW and UDP broadcast.ESP-NOW: CRSF telemetry is sent via ESP-NOW only.OFF: no telemetry forwarding.In my tests, this works in both AP and STA mode. I can receive the packets over UDP and parse/display telemetry fields successfully.