Michael Black W9MDB
18d50bf7c4
Add auto_power_off option from JTDX team
2021-03-02 13:02:13 -06:00
Michael Black W9MDB
8371f335cd
Add modeB to caching
...
update rig_vfo_get_info to recognize different VFO caches
https://github.com/Hamlib/Hamlib/issues/578
2021-03-02 11:11:12 -06:00
Michael Black W9MDB
396d985261
Change rig_get_vfo_info to use only cached values
...
This will avoid any vfo swapping on all rigs
Apps like Log4OM can now poll VFOA and VFOB without bothering the rig at all
2021-03-02 08:36:37 -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
52703c35d5
Fix cppcheck warning in rig.c
2021-02-28 12:37:54 -06:00
Michael Black W9MDB
ee60a68bec
astyle files
2021-02-28 09:46:01 -06:00
Michael Black W9MDB
c9913526be
Fix clang compile warning in rig.c
2021-02-28 06:57:09 -06:00
Michael Black W9MDB
26cfe0bb3f
Improve rig_set_freq to not rety when WSJT-X is doing it's 55Hz check
...
And don't confirm freq if no get_get exists
2021-02-26 23:53:31 -06:00
Michael Black W9MDB
4729f2a0f2
Small change to rig_set_freq retry
2021-02-26 23:37:25 -06:00
Michael Black W9MDB
bb00c35980
In rig_set_ptt allow rig_get_ptt to fail and retry
...
IC-9700 seems unable to query ptt right after setting it
https://github.com/Hamlib/Hamlib/issues/571
2021-02-26 11:35:53 -06:00
Michael Black W9MDB
84e4a6a88c
Fix compilation warnings in rig.c
2021-02-26 11:07:32 -06:00
Michael Black W9MDB
7eb50d0d97
Add verification of set_ptt with get_ptt
2021-02-24 22:39:45 -06:00
Michael Black W9MDB
e64c1e8eb7
Add freq check in rig_set_split_freq_mode to ensure requested freq is actually set
...
https://github.com/Hamlib/Hamlib/issues/558
2021-02-23 07:44:16 -06:00
Michael Black W9MDB
c83eb29e25
Add retry in rig_set_split_freq to ensure freq is actually changed
...
https://github.com/Hamlib/Hamlib/issues/558
2021-02-21 16:44:28 -06:00
Michael Black W9MDB
f4748ebf8a
Change rig.c to query freq after set freq to ensure it gets set
...
Up to 4 retries
https://github.com/Hamlib/Hamlib/issues/549
2021-02-16 15:58:12 -06:00
Michael Black W9MDB
b35191d6ad
Fix extra LF in rigerror output
...
ENTERFUNC/RETURNFUNC in dummy.c
https://github.com/Hamlib/Hamlib/issues/514
2021-02-10 22:58:45 -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
02fffca989
Update currVFO cache freq before figuring out the real vfo in rig.c
2021-02-10 12:44:00 -06:00
Michael Black W9MDB
5b59868191
Add resetting of all VFO caches via set_cache_freq using RIG_VFO_ALL
...
https://github.com/Hamlib/Hamlib/issues/539
2021-02-09 15:41:33 -06:00
Michael Black W9MDB
a23a3b4882
Add a little debug to rig.c
...
https://github.com/Hamlib/Hamlib/issues/539
2021-02-08 17:36:48 -06:00
Michael Black W9MDB
2bb74f77d2
Fix debug msg formatting in rig.c
2021-02-08 17:31:43 -06:00
Michael Black W9MDB
54aca79671
Change ptt check in newcat.c set_freq to check ptt only for affected rigs
...
https://github.com/Hamlib/Hamlib/issues/540
2021-02-08 16:29:04 -06:00
Michael Black W9MDB
ad9d464822
Remove MainC from caching due to effect on rig_caps structure offsets
...
https://github.com/Hamlib/Hamlib/issues/537
2021-02-08 12:54:33 -06:00
Michael Black W9MDB
b05a1638a8
Add caching of MEM and MAINC vfos
2021-02-07 15:03:43 -06:00
Michael Black W9MDB
e0e743ee90
Update rig.c docs
2021-02-07 14:58:33 -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
96e2cc7829
Fix extra LF in debug messages
2021-02-03 09:59:14 -06:00
root
228cc10aeb
Fix compile warnings with -O2 flag
2021-02-03 06:13:12 +01:00
Michael Black W9MDB
84ce231daf
Fix link error for debugmsgsave on MacOS and perhaps others
2021-01-31 07:08:08 -06:00
Michael Black W9MDB
431b5dfc37
Make lack of tx_range_list non-fatal -- some rigs don't have this
2021-01-29 08:30:35 -06:00
c vw
f38f35beeb
corrected bug
2021-01-29 09:50:11 +01: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
85205abd45
Keep debug msg for rig_check_rig_caps on all the time for now
2021-01-22 07:52:15 -06:00
Michael Black W9MDB
0058cffcc7
Add rig_check_rig_caps to check that shared library compatibility is good
...
Returns -RIG_EINTERNAL if bad, RIG_OK if good
Prints out WARN level message if bad
2021-01-21 17:18:45 -06:00
Michael Black W9MDB
1e96b1f4d7
Remove get_freq -- seems to be causing a problem with FLRig
2021-01-19 12:12:24 -06:00
Michael Black W9MDB
bc607bfc1d
Add rig_get_freq to rig_open to set up internal status correctly
2021-01-19 06:30:00 -06:00
Michael Black W9MDB
2654503779
small improvement on caching check logic
2021-01-18 08:48:10 -06:00
Michael Black W9MDB
60279707e2
Fix VFOB caching
2021-01-18 08:28:20 -06:00
Michael Black W9MDB
5cd82c4026
Change print format on a few freq items
2021-01-17 22:24:39 -06:00
Michael Black W9MDB
b1b6a0a771
Fix range_list check in src.c
2021-01-17 11:59:26 -06:00
Michael Black W9MDB
544777f935
Fixed ENTER func error
2021-01-17 07:32:42 -06:00
Michael Black W9MDB
c5c60f0f43
First phase of improving debug messages
2021-01-17 07:25:28 -06:00
Michael Black W9MDB
598b105e79
astyle files prepping for 4.1 release
2021-01-15 16:48:32 -06:00
Michael Black W9MDB
612de9762e
Fix intialization of rx_range_list
...
https://github.com/Hamlib/Hamlib/issues/504
2021-01-11 14:53:35 -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
1d74711a00
Fix filling of range_list which affects vfo_list
...
See also
https://github.com/Hamlib/Hamlib/issues/498
https://github.com/Hamlib/Hamlib/issues/490
2021-01-08 17:49:56 -06:00
Michael Black W9MDB
cf858bfa3c
Change rig.c to return RIG_ENAVAIL instead of RIG_ENTARGET when set_vfo==NULL
...
Add IC706* to rigs that don't do dsp settings
Remove dynamic detection of transceive status in icom/frame.c
https://github.com/Hamlib/Hamlib/issues/490
2021-01-08 12:04:25 -06:00
Michael Black W9MDB
19e819948f
Add RIG_TARGETABLE_ANT and fix Yaesu rigs -- Yaesu are only ones needing this right now
...
https://github.com/Hamlib/Hamlib/pull/495
2021-01-08 07:16:45 -06:00
Michael Black W9MDB
5fdf5f0e63
Fix freq_new error
...
https://github.com/Hamlib/Hamlib/issues/485
2021-01-02 16:32:16 -06:00