Skip to content
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

Configurable maxage for SondeHub #471

Open
wants to merge 1 commit into
base: dev2
Choose a base branch
from
Open

Configurable maxage for SondeHub #471

wants to merge 1 commit into from

Conversation

ae5au
Copy link

@ae5au ae5au commented Oct 29, 2024

Added configurable parameter replacing "define SONDEHUB_MAXAGE 15". This is particularly helpful for the DFM radiosondes and emulates the guidance that projecthorus gives for auto_rx.

https://github.com/projecthorus/sondehub-infra/wiki/DFM-radiosonde-above-1000-and-not-enough-data-to-perform-z-check

Ideally, the logic would be to submit every 10 valid decoded packets whether that took 10 seconds or a minute (maybe with a max timeout) when decoding a DFM sonde, but that's beyond my comfort with the codebase at this point.

I did set a minimum of 15 seconds in case someone updates the firmware without updating the filesystem. If that should be handled differently, feel free to update or let me know how you'd like it fixed.

@ae5au
Copy link
Author

ae5au commented Oct 29, 2024

When looking at other PRs, I just noticed that there is a version for the filesystem in version.h. I'll leave it as-is and let whomever merges set it to the next version at that time.

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