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

What is amplitude -inf dBfs ? #1121

Closed
engantonio opened this issue Jul 21, 2022 · 7 comments
Closed

What is amplitude -inf dBfs ? #1121

engantonio opened this issue Jul 21, 2022 · 7 comments

Comments

@engantonio
Copy link

I am trying to generate a spoofer with hackRF but when i run it appear :

5.2 MiB / 1.006 sec = 5.2 MiB/second, amplitude -inf dBfs
5.2 MiB / 1.006 sec = 5.2 MiB/second, amplitude -inf dBfs
5.2 MiB / 1.007 sec = 5.2 MiB/second, amplitude -inf dBfs
5.2 MiB / 1.009 sec = 5.2 MiB/second, amplitude -inf dBfs

Please what is "amplitude -inf dBfs" ?

@martinling
Copy link
Member

It's a bug, already filed as #902. The amplitude isn't calculated during TX. There is a PR to fix it at #1116 which I need to review.

@martinling martinling closed this as not planned Won't fix, can't repro, duplicate, stale Jul 21, 2022
@engantonio
Copy link
Author

But

It's a bug, already filed as #902. The amplitude isn't calculated during TX. There is a PR to fix it at #1116 which I need to review.

But how can i solve this ?

@martinling
Copy link
Member

What do you need to solve? The message doesn't mean it's not transmitting. It just displays -inf because hackrf_transfer doesn't calculate the amplitude of the sample stream during TX. That amplitude display feature was intended to help with adjusting RX gains when receiving a signal. If you're transmitting a signal, the amplitude of the TX sample stream is whatever you generated it to be.

@engantonio
Copy link
Author

What do you need to solve? The message doesn't mean it's not transmitting. It just displays -inf because hackrf_transfer doesn't calculate the amplitude of the sample stream during TX. That amplitude display feature was intended to help with adjusting RX gains when receiving a signal. If you're transmitting a signal, the amplitude of the TX sample stream is whatever you generated it to be.

I understood then. But I find it strange because although it is transmitting it is not affecting my cell phone's gps. So I figured that could be it.

@engantonio
Copy link
Author

Both generating in linux or in windows the spoofer is not working.... but its transmiting...

@ardyitjen
Copy link

is there any update? i got sampe problem with portapack h2

@martinling
Copy link
Member

martinling commented Apr 19, 2024

The -inf dBfs message was fixed in #1116 and that fix was shipped in 2022.09.1 and subsequent releases of the host tools. In any case, this message is almost certainly nothing to do with your problem. It does not mean nothing is being transmitted, it was just a display bug. You would get the same message no matter what data you supplied to hackrf_transfer.

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

No branches or pull requests

3 participants