fix(kiss): periodic noise floor calibration and AGC reset#1591
Open
agessaman wants to merge 1 commit intomeshcore-dev:devfrom
Open
fix(kiss): periodic noise floor calibration and AGC reset#1591agessaman wants to merge 1 commit intomeshcore-dev:devfrom
agessaman wants to merge 1 commit intomeshcore-dev:devfrom
Conversation
- Trigger noise floor calibration every 2s and AGC reset every 30s in main loop. - Reorder loop to match Dispatcher: calibrate + radio.loop() before AGC reset and recvRaw() so RSSI is never sampled right after startReceive(). - Update protocol doc with calibration intervals and typical noise floor range. - Variant platformio.ini updates (heltec_v3, rak4631).
Contributor
Author
ripplebiz
reviewed
Feb 5, 2026
| next_noise_floor_calib_ms = millis(); | ||
| } | ||
| radio_driver.loop(); | ||
|
|
Collaborator
There was a problem hiding this comment.
Are there plans to add some Listen-Before-Talk logic here?
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.

In the previous implementation, the noise floor was calibrated once and the value was returned for the entire time the radio was active. This makes a change to: