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
Move duplicated code to one place.
by Martin Ling 2 years 9 months
16f93d9b
Clarify variables used in TX callback.
by Martin Ling 2 years 9 months
Clarify variables used in TX callback.

The power measurement depends on the number of bytes that were valid
from the previous use of the transfer buffer.

The number of bytes to be read to fill the next transfer, is the full
size of the buffer.
29787cd2
Detect hardware platform at run-time.
by Michael Ossmann 2 years 9 months
Detect hardware platform at run-time.

Firmware now detects the hardware it is running on at startup and
refuses to run if it is compiled for the wrong platform. The board ID
returned by firmware to the host is now derived from run-time detection
rather than a compile-time value. A separate method to retrieve
compile-time supported platform is added.

On HackRF One, pin straps are checked to determine hardware revision.
This is informational to aid troubleshooting and does not affect any
function.
9329c5e4
Report a bug