Martin Ling
c0d13de598
Add braces to all control statements without them.
2022-08-03 23:46:46 +01:00
Martin Ling
c3fdf402d7
Reformat all code to new clang-format standard.
2022-08-03 23:46:44 +01:00
Mike Walters
8660e44575
Merge pull request #1018 from greatscottgadgets/oc-bugs
...
Fix Opera Cake bugs
2022-01-12 17:37:58 +00:00
Michael Ossmann
b1b11e6269
update Opera Cake documentation ( #1017 )
2021-12-12 17:06:53 -05:00
Michael Ossmann
3b8c317800
hackrf_operacake: fix long options with arguments
2021-12-11 17:37:36 -07:00
Mike Walters
f5a7132805
hackrf_operacake: make main options mutually exclusive
...
ref #930
2021-10-15 14:45:38 +01:00
Mike Walters
4ecbd5d2c9
hackrf_operacake: add option for default dwell time
...
This allows for usage like this:
$ hackrf_operacake -m time -w 1e6 -t A1 -t A2 -t A3
$ hackrf_transfer -r /dev/null -s 1e6
ref #930
2021-10-15 14:45:38 +01:00
Mike Walters
38ed075437
operacake: replace hackrf_set_operacake_ranges with hackrf_set_operacake_freq_ranges
2021-10-15 14:45:38 +01:00
Mike Walters
0e68be7771
hackrf_operacake: simplify frequency range parsing
2021-10-15 14:45:38 +01:00
Mike Walters
07a9dd73d8
hackrf_operacake: swap argument order for frequency-switching
...
ref #930
2021-10-15 14:45:38 +01:00
Mike Walters
f9b923fce2
hackrf_operacake: default to address 0
...
ref #930
2021-10-15 14:45:38 +01:00
Mike Walters
e41314f130
operacake: add API function to set port dwell times
2021-10-14 14:41:52 +01:00
Mike Walters
c50ebb1a36
operacake: add time switching mode
2021-10-14 14:41:52 +01:00
Mike Walters
790b5d35cf
operacake: add get/set switching mode functions
2021-10-14 14:36:18 +01:00
Mike Walters
6aa64a80d5
hackrf_operacake: clarify output of list command
...
Now that addresses are in the range 0-7, this would previously output
"Operacakes found: 0" for the default board address. This is confusing
as it looks like it found no Opera Cakes.
2021-07-14 18:35:31 +01:00
Mike Walters
0293cf23db
Opera Cake: use 0-7 instead of I2C addresses & bump USB API version
2021-07-14 18:35:31 +01:00
Dominic Spill
b701579906
Allow portapack and opera cake to coexist and still enable the PP UI
...
The side effect of this is to disable GPIO mode for OC, but I2C still
works
Using both addons together is super unlikely
2019-02-01 12:04:40 -07:00
Dominic Spill
82656b8f14
HackRF Opera Cake - GPIO test mode
2018-11-09 22:10:16 -07:00
Dominic Spill
4e881efa7b
match opera cake port designations to silkscreen - closed #531
2018-10-03 14:13:59 -06:00
Dominic Spill
4c2146aa7a
Clean up opera cake range parsing code and improve error handling
2018-10-03 11:58:15 -06:00
bl4krat
540f86a5b0
Fixed operation of switch --list
2018-09-07 04:25:19 +01:00
Dominic Spill
4c2a039a01
hackrf_operacake: cleanup Windows precision warnings
2018-03-26 18:39:56 -06:00
Joshua Hill
42924698c5
OperaCake: fixes travis build errors
2017-07-11 19:54:44 -04:00
Joshua Hill
3ad2dc9d2a
fixed ports to allow users to pass port name on board
2017-07-11 19:07:38 -04:00
Dominic Spill
8c7941b0ef
Opera glasses: allow user specified ranges for operacake ports
...
- HackRF switches antenna when tuning
- ports specified using hackrf_operacake cmdline tool
hackrf_operacake -f 2350:2800:0 -f 0:400:1 -f 400:700:2 -f 700:6000:3
2017-05-16 17:18:54 -06:00
Dominic Spill
bcbb7cc2e3
Remove unused test for result in opt parsing
2017-02-04 00:07:30 -07:00
Dominic Spill
b8aaee6e72
Correct usage for -d <serial number>
2017-02-03 12:07:07 -07:00
Dominic Spill
feeb7a9c95
Add selection by device serial number to rffc5071 and max2837 tools
2017-02-03 10:20:23 -07:00
Dominic Spill
55d7e7f2d2
Standardize device selection options in hackrf-tools
...
Fixes issue #318
2017-02-03 10:08:41 -07:00
Dominic Spill
255b7b4705
Add USB API versioning
2017-01-30 18:30:17 -07:00
Michael Ossmann
0b061134b0
Filled in some missing long options for command line tools that use long options.
2017-01-29 18:32:11 -07:00
Michael Ossmann
9211b70770
Added -h/-? option for help to all command line tools.
2017-01-29 17:37:29 -07:00
Dominic Spill
8e4850d36e
Add HackRF tool to change operacake ports
2017-01-23 15:52:38 -07:00