Commit Graph

862 Commits

Author SHA1 Message Date
Michael Black W9MDB
f88c3f4a4c Fix mingw compilation errors on new rig_debug macro 2021-03-05 12:03:40 -06:00
Michael Black W9MDB
c3a1b489b7 Add return code to debug statements
Remove some RETURNFUNC that don't work with this change
2021-03-05 11:51:56 -06:00
Michael Black W9MDB
635372ae84 Remove debug from rigctl_parse.c 2021-03-04 15:29:57 -06:00
Michael Black W9MDB
247c90d4b0 Should fix icom power on
A little more cleanup to come
https://github.com/Hamlib/Hamlib/issues/583
2021-03-04 12:18:00 -06:00
Michael Black W9MDB
20a7111c54 Changing testrigcaps to give a warning on power_max instead of an error
Added comments to rig_state explain fragility of shared library effects
vfo_list is the only known item that really matters to if that changes it will fail make check
https://github.com/Hamlib/Hamlib/issues/581
2021-03-03 09:09:48 -06:00
Michael Black W9MDB
82126a4f09 Phase 1 of changing sprintflst functions to use buffer length
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 08:03:18 -06:00
Michael Black W9MDB
10fbe9bd4a Change get_vfo_info to also return split
Since this is still a new call in 4.2 not considering this an API breakage
since it shouldn't be in common use yet
2021-03-01 14:56:21 -06:00
Michael Black W9MDB
f5e14a09b6 Fix cppcheck warnings in testrigcaps.c and testrigopen.c 2021-02-28 12:43:23 -06:00
Michael Black W9MDB
ee60a68bec astyle files 2021-02-28 09:46:01 -06:00
Michael Black W9MDB
0aec4d8bea rigctl now aborts after 3 retries to open the rig again
https://github.com/Hamlib/Hamlib/issues/560
2021-02-22 23:13:29 -06:00
Michael Black W9MDB
965ad4c642 Add some info to simyaesu.c 2021-02-21 23:38:21 -06:00
Michael Black W9MDB
c915d373e7 Add simyaeus to help test yaesu commands 2021-02-21 23:36:57 -06:00
Michael Black W9MDB
529685ab69 Disable rigctld error check with rig_close/rig_open -- more investigation needed
https://github.com/Hamlib/Hamlib/issues/556
2021-02-20 10:24:08 -06:00
Michael Black W9MDB
185a938a76 Add twiddle_timeout and twiddle_rit --set-conf options
rigctld --set-conf=twiddle_timeout=5,twiddle_rit=1
This will set the twiddle timeout to 5 seconds and turn on twiddle_rit
For twiddle timeout VFOB will not be poller for 5 seconds after VFO twiddling is detected.  For RIT VFOB get_freq is suppressed and returns the cached value only (set_freq on VFOB still works).
rigctld --twiddle is deprecated and will be removed in 5.0
https://github.com/Hamlib/Hamlib/issues/444
2021-02-18 11:15:02 -06:00
Michael Black W9MDB
636d64d114 Fix compile warning try#2 in rigctl_parse.c 2021-02-18 07:11:03 -06:00
Michael Black W9MDB
bd2384e55e Fix compile warning in rigctl_parse.c 2021-02-18 07:04:21 -06:00
Michael Black W9MDB
06723c959b Limit the error retry in rigctld.c to 4 times
https://github.com/Hamlib/Hamlib/issues/551
2021-02-18 06:48:06 -06:00
Michael Black W9MDB
64b0b37d49 Move comma correct to outer level to apply in both usage cases 2021-02-11 15:52:29 -06:00
Michael Black W9MDB
4f73d24666 Correct for commas in set_level values done by Java in international mode 2021-02-11 15:25:44 -06:00
Michael Black W9MDB
6ffbf168d0 Add get_vfo_list command so rigctl can see available vfos
Should allow Log4OM to query VFOB/Sub freq now
Another fix to argumenet prompting with rigctl/rigctld
Add 2nd line of return for rigerror -- we well gradually be improving error info
https://github.com/Hamlib/Hamlib/issues/530
2021-02-10 17:32:59 -06:00
Michael Black W9MDB
9251dfa909 FIx rigctl/rigctl parsing of extended commands and arg prompting
https://github.com/Hamlib/Hamlib/issues/530
2021-02-10 12:35:50 -06:00
Michael Black W9MDB
306345442c Fix 2nd argument parsing in rigctl_parse.c 2021-02-08 16:59:07 -06:00
Michael Black W9MDB
b3c23f82ef Fix extra VFO: print out when rigctl --vfo is used and VFO argument is given
https://github.com/Hamlib/Hamlib/issues/535
2021-02-08 10:42:24 -06:00
Michael Black W9MDB
418e963c86 Add \get_vfo_info to rigctl and rigctld to allow geting freq/mode/width by vfo in one call
Overcomes limitation of f command where vfo swapping is needed if not in --vfo mode
rig_get_vfo_info function added
Log4OM should be able to get VFOB frequency on most rigs
https://github.com/Hamlib/Hamlib/issues/530
2021-02-07 12:45:59 -06:00
Michael Black W9MDB
1d8a010493 Fix 2nd arg prompt for rigctl
https://github.com/Hamlib/Hamlib/issues/447
https://github.com/Hamlib/Hamlib/issues/339
2021-02-05 17:40:10 -06:00
Michael Black W9MDB
9394a6cfe4 Fix link error with testloc.c 2021-01-30 22:16:14 -06:00
Michael Black W9MDB
620c97fe12 Remove debug from rigctl.c 2021-01-28 14:35:53 -06:00
Michael Black W9MDB
c717bb5d76 Improve -V version info 2021-01-25 22:24:57 -06:00
Michael Black W9MDB
1b89407a8d Fix compilation of rigctld.c on mingw 2021-01-24 17:19:58 -06:00
Michael Black W9MDB
2be172ac4e Improve robustness of rigctld
Now retries opening indefinitely
Improved client side too
Error message should now show timeout if rig disappears
2021-01-24 10:51:19 -06:00
Michael Black W9MDB
e7b6e61ed0 astyle files prepping for 4.1 release 2021-01-22 10:41:30 -06:00
Michael Black W9MDB
d6baea110e Add 32-bit Intel and 32-bit Arm checks to rigtestcaps.c 2021-01-21 23:54:21 -06:00
Michael Black W9MDB
39e4aad778 Another attempt to get testrigcaps to recognize compiler differences 2021-01-21 12:04:46 -06:00
Michael Black W9MDB
fbce397f3b Fix testrigcaps for ming32, ming64, and all others
Structure packing may be different yet on some other compilers
2021-01-21 09:36:46 -06:00
Michael Black W9MDB
619e130483 Add 32-bit values to testrigcaps.c
This may still need changes for different compilers with different structure packing
2021-01-21 08:15:55 -06:00
Michael Black W9MDB
8cad9dc200 Adding testrigopen.c 2021-01-20 11:16:48 -06:00
Michael Black W9MDB
a4d9dac5ce Add testritgcaps to make clean 2021-01-20 11:15:12 -06:00
Michael Black W9MDB
05728f74eb Fix testrigcaps.c 2021-01-20 10:46:07 -06:00
Michael Black W9MDB
e32e47a858 Add testrigcaps to catch potential shared library problems
Add testrigopen to test time it takes to timeout when rig is powered off
2021-01-20 10:44:37 -06:00
Michael Black W9MDB
6fbf33e8ed Undo changes on testrig.c 2021-01-09 23:17:37 -06:00
Michael Black W9MDB
6e8b90aeec Fix cppcheck warnings 2021-01-09 15:19:19 -06:00
Michael Black W9MDB
ca8ed30f8f astyle files 2021-01-09 10:13:17 -06:00
Michael Black W9MDB
0089964af7 Add some dumpcaps values to allow for set/get_freq and set/get_vfo functions
https://github.com/Hamlib/Hamlib/issues/490
2021-01-08 16:37:53 -06:00
Michael Black W9MDB
7a9e909b61 Add Barrett 950
https://github.com/Hamlib/Hamlib/issues/483
2020-12-30 23:15:42 -06:00
Michael Black W9MDB
15958c8aab Fix parsing of SH command in newcat.c
Remove get_vfo from FT-891
https://github.com/Hamlib/Hamlib/issues/455
2020-12-06 22:54:47 -06:00
Michael Black W9MDB
1b2236bb2e Fix example.c to include rotator.h 2020-12-06 08:49:13 -06:00
Michael Black W9MDB
99d568df72 Fix compilation with libxml2
https://github.com/Hamlib/Hamlib/issues/456
2020-12-05 10:01:55 -06:00
Mikael Nousiainen
457211a7e3 Add get_status command for rotator status flags. Add missing rotator caps in dumpcaps output. 2020-12-03 21:40:34 +02:00
Mikael Nousiainen
a661bee283 Add rotator funcs/levels/parms to rotator caps dump 2020-12-02 22:35:38 +02:00
Mikael Nousiainen
bb315270bf Merge branch 'master' into rotator-speed-control-and-status 2020-12-02 21:46:23 +02:00