Merge pull request #1155 from greatscottgadgets/pl...
by Michael Ossmann 2 years 9 months
Merge pull request #1155 from greatscottgadgets/platform-detect

Detect hardware platform at run-time.
75e3137d
Merge pull request #1154 from greatscottgadgets/cl...
by Michael Ossmann 2 years 9 months
Merge pull request #1154 from greatscottgadgets/clkout-source

firmware: use consistent clock source
4f779aae
Correct the calculation of dBfs signal level.
by Martin Ling 2 years 9 months
Correct the calculation of dBfs signal level.

dBFS is defined in AES Standard AES17-1998, IEC 61606, and ITU-T Recs.
P.381 and P.382, such that the RMS value of a full-scale sine wave is
designated 0 dBFS.

A full scale sine wave on HackRF has the range -127 to 127.

We calculate the full scale ratio relative to a signal in which both I
and Q are held at 127. This represents a signal with sqrt(2) times
the amplitude, and thus twice the power, of a full scale sine wave.

Therefore to obtain dBfs by the above definition, we add 3dB.
f1e34b7c
In CW mode, set only the I component to the specif...
by Martin Ling 2 years 9 months
In CW mode, set only the I component to the specified amplitude.
66fa76c5
Restrict CW mode amplitude to 127.
by Martin Ling 2 years 9 months
d5d2b09f
Add commentary to TX callback.
by Martin Ling 2 years 9 months
f2d00ada
Don't return -1 from the TX callback that provides...
by Martin Ling 2 years 9 months
Don't return -1 from the TX callback that provides the last data.
e38534b9
Set valid_length correctly in hackrf_transfer TX c...
by Martin Ling 2 years 9 months
Set valid_length correctly in hackrf_transfer TX callback.
5ad08cfd
Make libhackrf honour the valid_length set by TX c...
by Martin Ling 2 years 9 months
Make libhackrf honour the valid_length set by TX callback.
22846b56
Rearrange to avoid duplicating sample limit return...
by Martin Ling 2 years 9 months
Rearrange to avoid duplicating sample limit return path.
9905e960
Report a bug