Update Readme to have docs PDF build instructions
by straithe 2 years 9 months
2e4a2a9e
Merge pull request #1168 from martinling/flush-cal...
by Michael Ossmann 2 years 9 months
Merge pull request #1168 from martinling/flush-callback

Provide a callback for TX flush, rather than a wait function.
5b98cf92
If TX callback sets valid_length to 0, treat as en...
by Martin Ling 2 years 9 months
If TX callback sets valid_length to 0, treat as end of data.
2e73a4f2
Don't repeat file that can't advance its position.
by Michael Ossmann 2 years 9 months
Don't repeat file that can't advance its position.

This avoids a confusing condition when hackrf_transfer is reading from
stdin with -R in which it does not repeat previous data but repeatedly
restarts reading new data after the user types Ctrl-D to indicate EOF.

The -R option should repeat previous data or should do nothing if the
input file cannot be rewound.
45504ff3
Improve handling of file read results.
by Michael Ossmann 2 years 9 months
8fbaf133
Revert rename of byte_count now that we only have ...
by Martin Ling 2 years 9 months
Revert rename of byte_count now that we only have one count.
db33e1bd
Indicate success or failure to flush callback.
by Martin Ling 2 years 9 months
0becbc6b
Fold transfer_finished function into libusb transf...
by Martin Ling 2 years 9 months
Fold transfer_finished function into libusb transfer callback.
4810d1f9
Expand lock scope in libusb transfer callback.
by Martin Ling 2 years 9 months
Expand lock scope in libusb transfer callback.

This is required since cancel_transfers will also cancel the flush.
1484b78c
Cancel flush transfer if shutting down.
by Martin Ling 2 years 9 months
770416f1
Report a bug