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

Emit current SDR gain in the local receiver stats #203

Merged
merged 2 commits into from
Oct 10, 2022

Conversation

mutability
Copy link

@mutability mutability commented Oct 6, 2022

Always emit this, even if adaptive gain is disabled.

For backwards compatibility the gain is still emitted in the old stats location as well if adaptive gain is enabled.

sample output:

{
  "latest": {
    "start": 1665032717.8,
    "end": 1665032777,
    "local": {      
      "samples_processed": 142213120,
      "samples_dropped": 0,
      "modeac": 0,
      "modes": 875641,
      "bad": 3471481,
      "unknown_icao": 369459,
      "accepted": [
        0
      ],
      "noise": -11.1,
      "strong_signals": 0,
      "gain_db": 49.6              <-------
    },
...

Always emit this, even if adaptive gain is disabled.

For backwards compatibility the gain is still emitted in the old stats location as well
if adaptive gain is enabled.
@mutability
Copy link
Author

@wiedehopf does this fit OK with graphs1090?

@wiedehopf
Copy link

Made a change to graphs1090, it should grab either version.

@mutability mutability merged commit 261d1e4 into dev Oct 10, 2022
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.

None yet

2 participants