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
Fix handling of EOF and error conditions after fre...
by Martin Ling 2 years 9 months
c089bb0b
Fix empty report when TX ends soon after the last ...
by Martin Ling 2 years 9 months
Fix empty report when TX ends soon after the last report.
eae70492
Provide a callback for completion of a TX transfer...
by Martin Ling 2 years 9 months
Provide a callback for completion of a TX transfer.
14093fe7
Report a bug