Skip to content

Question: Why is noise_floor clamped to -120 dB? #1352

@michal-konopinski

Description

@michal-konopinski

I noticed that noise_floor is clamped to -120 dB in the code:

src/helpers/radiolib/RadioLibWrappers.cpp:

if (_noise_floor < -120) {
_noise_floor = -120;
}

Is there a reason why noise_floor is clamped to -120 dB?
I’m working with devices that report a noise floor of exactly -120 dB, so this makes it impossible to tell whether the value is real or the result of clamping.

Is this limit based on hardware constraints or historical assumptions?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions