Update hackrf_transfer for new libhackrf / radio API's (4/n)#1787
Draft
antoinevg wants to merge 8 commits into
Draft
Update hackrf_transfer for new libhackrf / radio API's (4/n)#1787antoinevg wants to merge 8 commits into
antoinevg wants to merge 8 commits into
Conversation
327ad5c to
c069dc9
Compare
d922d47 to
f436cb0
Compare
f436cb0 to
ff7d055
Compare
mildsunrise
added a commit
to mildsunrise/hackrf
that referenced
this pull request
Jul 1, 2026
now that we have hardware-enforced sample rate limits, I think it'd be nice to align the checks done in hackrf_transfer with those. if worried about expanding these limits breaking older firmware, I can add an USB API check for >= 1.11. related to greatscottgadgets#1787 but seems to have no conflicts, feel free to close if you want to add that patch there :)
ff7d055 to
2c863b1
Compare
…uency_explicit()' and 'hackrf_radio_set_sample_rate()'
2c863b1 to
11dac44
Compare
11dac44 to
22c5314
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR depends on #1772
This PR adds support to
hackrf_transferfor specifying fractional sample rates and frequencies:TODO
strtod-style notation parsing tohackrf_str_to_fp64