X Tutup
Skip to content

Add MSP functions to get/set binding information#3554

Draft
CapnBry wants to merge 7 commits intoExpressLRS:masterfrom
CapnBry:msp-bindphrase
Draft

Add MSP functions to get/set binding information#3554
CapnBry wants to merge 7 commits intoExpressLRS:masterfrom
CapnBry:msp-bindphrase

Conversation

@CapnBry
Copy link
Member

@CapnBry CapnBry commented Feb 23, 2026

Adds support for our own MSP_RX_CONFIG / MSP_SET_RX_CONFIG MSP messages to support get/set the UID and set the UID by binding phrase. This allows lua scripts or engineering QA to programmatically set / clear the binding information without going through the binding process. Both receiver and transmitter support this message.

Status: Maybe loses the active ModelID on the TX so you have been warned. This needs some cleanup of common code and rebooting the radio isn't the greatest.

Details

Not much to say, the MSP message has to fit in one packet so bind phrases need to be less than 52 characters.

Lua test

elrs-phrase.zip

screen-2000-01-01-035345

A little EdgeTX lvgl demo tool script for being able to test this function. I would unalive myself if I had to enter my bind phrase on a B&W screen, but the function works on B&W radios too if someone wants to manage their bind phrase with a scroll wheel like they just got the high score on Space Invaders.

Set which device you want to change the phrase on, hit Set. You can also get the current UID with the Refresh button.

@CapnBry CapnBry marked this pull request as draft February 23, 2026 22:36
@CapnBry
Copy link
Member Author

CapnBry commented Feb 24, 2026

Oh Lorde help me, there's no saving ourselves from the layout of this project! 😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement 🪄 New feature or request V4.1 🍑

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

X Tutup