Skip to content

fix: expose radio.rxgain CLI to Companion firmware#2259

Open
jirogit wants to merge 1 commit intomeshcore-dev:devfrom
jirogit:fix/companion-rxgain
Open

fix: expose radio.rxgain CLI to Companion firmware#2259
jirogit wants to merge 1 commit intomeshcore-dev:devfrom
jirogit:fix/companion-rxgain

Conversation

@jirogit
Copy link
Copy Markdown

@jirogit jirogit commented Apr 5, 2026

Problem

get/set radio.rxgain commands were only available on Repeater and
Room Server firmware via CommonCLI. Companion firmware returned
"unknown config" for these commands.

This was noted as a follow-up in PR #1653 by jbrazio:

"That could probably be added in a follow up PR"

Changes

  • Added get radio.rxgain to Companion CLI rescue mode
  • Added set radio.rxgain on/off to Companion CLI rescue mode
  • Setting is persisted via savePrefs() and applied immediately
    via radio_driver.setRxBoostedGainMode()

Testing

Tested on WisMesh Tag (nRF52840 + SX1262):

  • get radio.rxgain → returns current state
  • set radio.rxgain on / set radio.rxgain off → confirmed working
  • Setting persists after reboot

Add get/set radio.rxgain commands to Companion's CLI rescue mode.
Previously only available on Repeater and Room Server via CommonCLI.
Noted as follow-up in PR meshcore-dev#1653 by jbrazio.
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.

1 participant