-
Notifications
You must be signed in to change notification settings - Fork 330
CLI: Set current limit and RX boosted gain mode (SX126X and SX127X) #1164
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
base: dev
Are you sure you want to change the base?
CLI: Set current limit and RX boosted gain mode (SX126X and SX127X) #1164
Conversation
|
Instead of duplicating the setters and getters for each target, can we directly call the functions from the app code using the global |
|
Can you explain why this is needed and what advantages these changes have? In what cases do these parameters need to be changed? |
Didn't want to change the existing architecture:
Are you serious on this one ? |
Got it, thanks!
Absolutely. Why does this need to be a user-facing parameter? Why is a hardcoded value per variant not enough? Sorry for my lack of knowledge here. I'm not an expert, just interested in what this is about. |
|
I would call it more "sysadmin facing" as the main target is repeaters: You might hang a repeater [with a proper antenna] in a difficult to access place to find out that there is a lot of QRM and RX is deaf; most of the situations where I faced this, disabling the Boosted Gain helped a lot with the problem. When we use small out-of-tune antennas (the ones shipping with the boards) having a boost on the RX helps, this is usually the client situation. For repeater where we usually have proper antennas it's a question of testing with it ON and OFF and check what gives you better performance. For the OCP there is no big use case but I had a couple of situations where tweaking the OCP helped with random resets of the radio. |
|
Thanks for the detailed explanations. Makes sense to me. I didn't know that disabling the RX boost can be benefitial for repeaters with proper antennas. |
|
These enhancements are good (should be done for all radios ...) but this is really up to @ripplebiz ;) |
1 similar comment
|
These enhancements are good (should be done for all radios ...) but this is really up to @ripplebiz ;) |
This pull request adds support for configuring and persisting radio current limit and RX boosted gain settings for SX12xx series radios (SX1262, SX1268, SX1276) across the codebase. These settings are now stored in preferences, can be set and queried via CLI commands, and are applied during radio initialization.