Add fixed-point support for setting center frequency and sample rate. (3/n)#1772
Draft
antoinevg wants to merge 9 commits into
Draft
Add fixed-point support for setting center frequency and sample rate. (3/n)#1772antoinevg wants to merge 9 commits into
antoinevg wants to merge 9 commits into
Conversation
antoinevg
force-pushed
the
antoinevg/radio-fp
branch
3 times, most recently
from
June 2, 2026 08:21
81dae90 to
59f47b8
Compare
6 tasks
antoinevg
force-pushed
the
antoinevg/radio-fp
branch
3 times, most recently
from
June 9, 2026 13:21
92c865a to
608c92f
Compare
antoinevg
force-pushed
the
antoinevg/radio-fp
branch
6 times, most recently
from
June 16, 2026 12:43
5bfa644 to
0ba92b8
Compare
antoinevg
force-pushed
the
antoinevg/radio-fp
branch
5 times, most recently
from
June 23, 2026 09:31
fc93b26 to
5a597e0
Compare
3 tasks
antoinevg
force-pushed
the
antoinevg/radio-fp
branch
6 times, most recently
from
June 30, 2026 09:22
226aeaf to
a3c32ba
Compare
antoinevg
force-pushed
the
antoinevg/radio-fp
branch
from
July 1, 2026 14:14
a3c32ba to
792b29f
Compare
antoinevg
force-pushed
the
antoinevg/radio-fp
branch
2 times, most recently
from
July 7, 2026 10:16
754425a to
2824232
Compare
antoinevg
force-pushed
the
antoinevg/radio-fp
branch
5 times, most recently
from
July 23, 2026 14:19
9b21a13 to
1319426
Compare
antoinevg
force-pushed
the
antoinevg/radio-fp
branch
from
July 24, 2026 07:50
d0f4cbc to
e52b5ea
Compare
…uency_explicit()' and 'hackrf_radio_set_sample_rate()'
antoinevg
force-pushed
the
antoinevg/radio-fp
branch
3 times, most recently
from
July 24, 2026 10:30
1c243a7 to
3fce78a
Compare
antoinevg
force-pushed
the
antoinevg/radio-fp
branch
from
July 24, 2026 10:54
3fce78a to
83a49c3
Compare
antoinevg
force-pushed
the
antoinevg/radio-fp
branch
from
July 24, 2026 11:32
10fb83f to
23813d6
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 #1774
This PR adds the following new methods to
libhackrf:hackrf_radio_set_frequency(hackrf_device* device, const fp_40_24_t freq_hz);hackrf_radio_set_frequency_explicit(hackrf_device* device, const fp_40_24_t if_freq_hz, const fp_40_24_t lo_freq_hz, const enum rf_path_filter path);hackrf_radio_set_sample_rate(hackrf_device* device, const fp_28_36_t rate_hz);hackrf_str_to_fp64(uint8_t Qn, char* str, char* endptr, uint64_t* const value);FREQ_FP_HZ(u64),FP_FREQ_HZ(u64),SR_FP_HZ(u64),FP_SR_HZ(u64)hackrf_library_version_major/minor/patch()TODO