Commit graph

587 commits

Author SHA1 Message Date
Robert Ghilduta
b9c41b87e4 bladeRF-cli: clear up nomeclature in set samplerate 2023-02-28 04:42:00 -08:00
Robert Ghilduta
ce85cf17fb bladeRF-cli: bump to version 1.9.0
This version includes expanded support for abbreviations and improved help menus.
For example, set freq can be used as an alias for set frequency.
2023-02-13 03:28:19 -08:00
Robert Ghilduta
df5b47e651 libbladeRF: rename bladerf_set_feature to bladerf_enable_feature 2023-02-13 03:28:19 -08:00
Ryan Thompson
26bba04947 Revert "bladeRF-cli: experimental TX warning when OVERSAMPLE enabled"
This reverts commit 8b249c2446e5ab3c48b40d8b8518c441976fe1c0.
2023-02-13 03:28:19 -08:00
Ryan Thompson
de7ba9076b bladeRF-cli: 8bit mode requires bladeRF 2.0 device 2023-02-13 03:28:19 -08:00
Ryan Thompson
8b6323b7f3 bladeRF-cli: bitmode error handling cleaned up 2023-02-13 03:28:19 -08:00
Ryan Thompson
739946c676 bladeRF-cli: incorporated better error handling in set_feature 2023-02-13 03:28:19 -08:00
Ryan Thompson
0dac86aaa8 bladeRF-cli: register clear moved to feature set
bladeRF reboot will take place when the the feature is set back to default. This resets the OC register config.
2023-02-13 03:28:19 -08:00
Ryan Thompson
06d2fb1b84 bladeRF-cli: 8bit binary file format added and 8bit RX write corrected 2023-02-13 03:28:19 -08:00
Ryan Thompson
c6095de4a8 bladeRF-cli: generalized CSV file format
With the introduction of 8bit formats, it doesn't make much sense to
make a 16bit CSV format. It works just the same as 8bit would.
2023-02-13 03:28:19 -08:00
Ryan Thompson
a37f40045e libbladeRF: BLADERF_FEATURE prefix prepended to feature names 2023-02-13 03:28:19 -08:00
Ryan Thompson
92d77fb8fb bladeRF-cli: experimental TX warning when OVERSAMPLE enabled 2023-02-13 03:28:19 -08:00
Ryan Thompson
746e528718 bladeRF-cli: OVERSAMPLE feature assign warns user to set samplerate
The bitmode warning has been transferred to a feature set warning as
the feature is now responsible for telling libbladeRF to OC the
AD9361.
2023-02-13 03:28:19 -08:00
Ryan Thompson
28f3c7afb6 libbladeRF: get samplerate OC compensation move to libbladeRF
libbladeRF now doubles the returned sample rate when OVERSAMPLE feature
is enabled. This is necessary as the AD9361 is not self aware of its
overclock but libbladeRF is.
2023-02-13 03:28:19 -08:00
Ryan Thompson
da14b08f5c libbladeRF: OVERSAMPLE and DEFAULT sample rate guards implemented
Setting the sample rate will now check with the currently enabled 
feature. It tests if the sample rate is possible like before
and then checks if the currently enabled feature allows it.
2023-02-13 03:28:19 -08:00
Ryan Thompson
8903adb0ea libbladeRF: set samplerate OC compensation moved to libbladeRF
libbladeRF now halves the sent sample rate when OVERSAMPLE feature
is enabled. This is necessary as the AD9361 is not self aware of its
overclock but libbladeRF is.
2023-02-13 03:28:19 -08:00
Ryan Thompson
86a4cda5bd libbladeRF: AD9361 OC moved to libbladeRF
AD9361 OC moved from bladeRF-cli to libbladeRF
2023-02-13 03:28:19 -08:00
Ryan Thompson
8ab43dff7f bladeRF-cli: over sample feature blocks 16bit bitmode when enabled
When 8bit bitmode is enabled with oversample is set, the user is
notified that it is not permitted.
2023-02-13 03:28:19 -08:00
Ryan Thompson
d018efdde1 bladeRF-cli: OC now feature dependent 2023-02-13 03:28:19 -08:00
Ryan Thompson
89f909e174 bladeRF-cli: feature set/get added to cli 2023-02-13 03:28:19 -08:00
Ryan Thompson
d27db404c4 bladeRF-cli: 8bit interactive help added to tx, rx, and generate 2023-02-13 03:28:19 -08:00
Ryan Thompson
6c1ce329c9 bladeRF-cli: 8bit csv conversion notification
CSV conversion notification corrected for CSV->SC8 Q7 conversion
2023-02-13 03:28:19 -08:00
Ryan Thompson
dcd50e2bf3 bladeRF-cli: bitmode change limited
The bit mode is only assigned if the requested bit mode is different
than the current bit mode.
2023-02-13 03:28:19 -08:00
Ryan Thompson
14cc910436 bladeRF-cli: print samplerate 8bit mode support 2023-02-13 03:28:19 -08:00
Ryan Thompson
ae79cfa35c bladeRF-cli: set samplerate prints appropriate values for 8bit mode 2023-02-13 03:28:19 -08:00
Ryan Thompson
b87a231e5e bladeRF-cli: fast sample rate recommendation
Samples rates set between 61.44MHz and 122.88MHz will receive a
recommendation to swtich to 8bit mode.
2023-02-13 03:28:19 -08:00
Ryan Thompson
d44aeea715 bladeRF-cli: AD9361 OC added
Setting the bit mode to 8bit along with a sample rate reassignment
will over clock the AD9361
2023-02-13 03:28:19 -08:00
Ryan Thompson
5ce0abfba1 bladeRF-cli: rxtx_data resolved through cli_state 2023-02-13 03:28:19 -08:00
Ryan Thompson
b5d792a970 bladeRF-cli: tx_csv_to_sc16q11() changed to tx_csv_to_bladerf_format() 2023-02-13 03:28:19 -08:00
Ryan Thompson
3998f35749 bladeRF-cli: RX accepts 8bit samples
RX can decode and write incoming 8bit samples to a CSV
given the bitmode has been set to 8bit.
2023-02-13 03:28:19 -08:00
Ryan Thompson
da350b0b4a bladeRF-cli: generate magnitude reduced for 8bit samples 2023-02-13 03:28:19 -08:00
Robert Ghilduta
c15525d640 bladeRF-cli: 8bit CSV sample conversion implemented in TX 2023-02-13 03:28:19 -08:00
Ryan Thompson
6162224ebb bladeRF-cli: print and set bitmode functions implemented 2023-02-13 03:28:19 -08:00
Ryan Thompson
781bc5d93d bladeRF-cli: bitmode state added 2023-02-13 03:28:19 -08:00
Robert Ghilduta
d7bd9e7c14 bladeRF-cli: missing return value check 2023-02-13 03:28:19 -08:00
Robert Ghilduta
630ffda3e9 bladeRF-cli: standardize capitalization 2023-02-13 03:28:19 -08:00
Robert Ghilduta
362b9ac741 bladeRF-cli: add generate function 2023-02-13 03:28:19 -08:00
Robert Ghilduta
f5f9fc1803 bladeRF-cli: print/set now takes short hand notation 2023-02-13 03:28:19 -08:00
Robert Ghilduta
52d6163848 bladeRF-cli: output usage when paremeter or argument count is incorrect 2023-02-13 03:28:19 -08:00
Ryan Thompson
43ccfd49e2 bladeRF-cli: bitmode added to interactive help 2023-02-13 03:28:19 -08:00
Ryan Thompson
15b7d9c3b6 host: squashed cmake warnings
updated cmake requirement from 2.8 to 2.8.12
2023-02-13 03:28:19 -08:00
Robert Ghilduta
7740242c7b add bladeRF 2.0 micro xA5 support to libbladeRF and FPGA 2022-04-03 19:39:10 -07:00
Robert Ghilduta
60f2ddfbd5 bladeRF-cli: print command to indicate when packet capable core is present 2020-11-23 19:27:49 -08:00
Robert Ghilduta
e1f137890d bladeRF-cli: make flash_init_cal not require FPGA to be loaded 2019-09-01 22:51:27 -07:00
Robert Ghilduta
9e67b80ac4 host: bladeRF-cli v1.8.0 2019-07-31 18:28:12 -05:00
Robert Ghilduta
896d2431b3 bladeRF-cli: display error if querying the FPGA size fails 2019-05-05 02:06:01 -07:00
Robert Ghilduta
708ccad94d bladeRF-cli: determine and remember the kind of a bladeRF a device is 2019-04-02 01:59:25 -07:00
Robert Ghilduta
a64c948c2b bladeRF-cli: provide more help hints 2019-04-02 01:59:18 -07:00
Robert Ghilduta
150bc1bbdf bladeRF-cli: add tuning_mode print/set parameter
libbladeRF supports host and FPGA based tuning. This print/set can be used to
query and set a device's tuning mode by running:

> print tuning_mode
> set tuning_mode <FPGA|host>
2019-04-02 01:59:07 -07:00
Rey Tucker
be841717d7 host: bladeRF-cli: help: clean up 'print' and 'set'
The line lengths were long enough in some sections that the output would
end up with extra newlines between rows.
2019-01-28 14:08:48 -05:00