Mike Black W9MDB
ca090e258c
Force rig_set_split_freq_mode to use VFOB
...
https://github.com/Hamlib/Hamlib/issues/640
2021-03-31 22:55:36 -05:00
Mike Black W9MDB
ebbf96efac
Fix spelling error in rig.c
2021-03-31 07:41:16 -05:00
Mike Black W9MDB
169c0ed2b5
Fix rig_set_split_vfo to use tx_vfo on non-vfo swap check
...
https://github.com/Hamlib/Hamlib/issues/640
2021-03-30 23:05:04 -05:00
Mike Black W9MDB
f6dc32778b
Reduce verbosity in iofunc.c
2021-03-29 13:01:26 -05:00
Michael Black W9MDB
6cc8e5a20f
Change LIBUSB definitions to cover both conditions
...
https://github.com/Hamlib/Hamlib/issues/634
2021-03-27 15:35:12 -05:00
Michael Black W9MDB
753cd792d3
Add debug to iofunc.c
...
https://github.com/Hamlib/Hamlib/issues/635
2021-03-27 15:17:52 -05:00
Michael Black W9MDB
4135a65503
Add TARGETABLE_FREQ and TARGETABLE mode to IC7300 IC7610 IC7800 IC785X IC9700
...
This reduces VFO swapping during get_freq and get_mode operations
Log4OMV2 2.0.12 supports vfo mode using new get_vfo_info call
New debug level RIG_DEBUG_CACHE as it can get very verbose
https://github.com/Hamlib/Hamlib/issues/626
2021-03-26 10:54:11 -05:00
Michael Black W9MDB
86ca6de85f
Change rig_get_freq call to use VFO_CURR instead of vfo to avoid looping
...
https://github.com/Hamlib/Hamlib/issues/625
2021-03-23 11:03:57 -05:00
Michael Black W9MDB
cb9d2e064c
Comment out loop logic in rig_set_split_freq_mode -- seems to causing a permanent loop -- why?
...
https://github.com/Hamlib/Hamlib/issues/625
2021-03-23 08:57:45 -05:00
Michael Black W9MDB
b90cd8b8c7
Fix MainB caching
...
Satmode ops now maps Sub vfo to Sub_A
https://github.com/Hamlib/Hamlib/issues/620
2021-03-23 08:08:21 -05:00
Michael Black W9MDB
3b84802846
Fix MainB in misc.c
2021-03-22 15:35:12 -05:00
Michael Black W9MDB
ae3fef1e0c
Disable set_ptt confirmation logic. Seems many rigs can't deal with it.
...
https://github.com/Hamlib/Hamlib/issues/623
2021-03-20 16:57:46 -05:00
Michael Black W9MDB
1224e9f6ba
Move hamlibdatetime.h generation to src directory
...
https://github.com/Hamlib/Hamlib/issues/617
2021-03-19 23:14:13 -05:00
Michael Black W9MDB
6eee309b56
Improve rig_get_version and hamlib_version2 information to include commit information
...
https://github.com/Hamlib/Hamlib/issues/617
2021-03-19 22:56:18 -05:00
Michael Black W9MDB
b9cc75c4a0
Remove all frequency verification as it seems to create problems on some rigs
...
https://github.com/Hamlib/Hamlib/issues/615
2021-03-18 15:40:32 -05:00
Michael Black W9MDB
30eaa78034
astyle rig.c
2021-03-18 08:16:06 -05:00
Michael Black W9MDB
c7c5cd81bc
In rig.c change RETURNFUNC calls with functions into separate lines
...
https://github.com/Hamlib/Hamlib/issues/615
2021-03-18 07:09:58 -05:00
Michael Black W9MDB
ab59951e97
astyle files
2021-03-17 07:56:27 -05:00
Michael Black W9MDB
8817f12180
Fix rig_set_freq and set_cache_freq so if freq=0 cache is expired
...
https://github.com/Hamlib/Hamlib/issues/610
2021-03-15 22:55:45 -05:00
Michael Black W9MDB
3bc39aaec1
astyle files is preparation for 4.2 release
2021-03-15 17:51:22 -05:00
Michael Black W9MDB
1ba72fa725
Improve caching
...
https://github.com/Hamlib/Hamlib/issues/280
https://github.com/Hamlib/Hamlib/issues/606
2021-03-15 11:16:11 -05:00
Michael Black W9MDB
d816d27c74
Fix FlRig conditon where 0Hz can be returned on a network error
...
Was returning a bad error code
If any rig returns 0 Hz freq will be returned from cache instead
I don't think there's anytime we want a zero Hz frequency
2021-03-12 09:02:26 -06:00
Michael Black W9MDB
8e20613771
Fix mingw bogus compiler warning
2021-03-11 13:14:42 -06:00
Michael Black W9MDB
2f40735ed7
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2021-03-11 13:12:47 -06:00
Michael Black W9MDB
0f82f0d1a8
Fix for mingw compiler bogus warning message
2021-03-11 13:12:17 -06:00
Michael Black W9MDB
198f1cb43e
Remove some cache debug
2021-03-11 08:51:30 -06:00
Michael Black W9MDB
3f83cb6b6d
Reduce debug in misc.c cache info
2021-03-11 08:44:29 -06:00
Michael Black W9MDB
1d23fb6358
Fix some errors with the HAMLIB_ macro changes
2021-03-11 06:42:21 -06:00
Michael Black W9MDB
7b58661d12
Fix RETURNFUNC -- when RETURNFUNC(function) was used is was calling the function multiple times
...
https://github.com/Hamlib/Hamlib/issues/595
2021-03-10 08:24:33 -06:00
Michael Black W9MDB
74a10af560
Increase msg size
2021-03-09 17:29:29 -06:00
Michael Black W9MDB
59dcb2e9b6
Remove RIG_TARGETABLE_PURE as it was not referenced in any rig
...
https://github.com/Hamlib/Hamlib/issues/414
2021-03-09 00:01:05 -06:00
Michael Black W9MDB
79f58bce6f
Finish rig_get_vfo_list and \get_vfo_list
...
https://github.com/Hamlib/Hamlib/issues/577
2021-03-08 23:42:35 -06:00
Michael Black W9MDB
207f28b256
Add debug to rig.c
...
https://github.com/Hamlib/Hamlib/issues/593
2021-03-08 16:59:22 -06:00
Michael Black W9MDB
0ad32a4f8a
Update logic to suppress bogus set freq error
2021-03-08 16:44:29 -06:00
Michael Black W9MDB
2fa65f11fd
Fix rc return in RETURNFUNC to parenthesize it
2021-03-08 09:56:59 -06:00
Michael Black W9MDB
57ba6800f1
More debug info when frequency cannot be set
2021-03-08 07:31:21 -06:00
Michael Black W9MDB
c1f539b1f6
Add one more level of debug msg history
2021-03-07 12:02:26 -06:00
Michael Black W9MDB
a35f39840c
Fix gai_error to print the status instead of errno
...
https://github.com/Hamlib/Hamlib/issues/589
2021-03-07 11:50:13 -06:00
Michael Black W9MDB
307858f60c
Add RETURNFUNC/ENTERFUNC to network.c
...
https://github.com/Hamlib/Hamlib/issues/514
2021-03-07 11:42:01 -06:00
Michael Black W9MDB
f2586d0acb
Fix macro in usb_port.c
2021-03-06 16:56:22 -06:00
Michael Black W9MDB
2fb96a34b9
astyle sprintflst.c
2021-03-06 14:49:34 -06:00
Michael Black W9MDB
6577c0f564
Common routine for buffer overflow error in sprintflst.c
...
https://github.com/Hamlib/Hamlib/issues/580
2021-03-06 14:49:01 -06:00
Michael Black W9MDB
3d613519d5
Rename macros to avoid collisions with other software
2021-03-06 12:37:53 -06:00
Michael Black W9MDB
3aac60b5df
Add a 50ms sleep between set_ptt and get_ptt -- give the relays a chance
...
https://github.com/Hamlib/Hamlib/issues/587
2021-03-06 09:08:13 -06:00
Michael Black W9MDB
b9afd75110
Expire cache in set_ptt before get_ptt to ensure we read the real ptt status
...
https://github.com/Hamlib/Hamlib/issues/587
2021-03-06 08:47:00 -06:00
Michael Black W9MDB
a33a4ee098
Fix more mingw compilation warnings
2021-03-05 12:10:29 -06:00
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
3405ac2d11
Add export to sprintflst functions
2021-03-04 14:34:10 -06:00
Michael Black W9MDB
50c00cd115
Add debug error message if buffer overflow occurs in sprintflst functions
...
Needs extensive testing
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 10:16:08 -06:00
Michael Black W9MDB
f5135650b3
Add constants for sprintflst.c
...
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 09:33:29 -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
221d87c2e4
Add auto_power_off option from JTDX team
...
Change rig_get_vfo_info to do real calls intstead of cache
2021-03-02 13:03:30 -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
7326f16291
Fix misc.c compile warning
2021-02-28 09:47:37 -06:00
Michael Black W9MDB
ee60a68bec
astyle files
2021-02-28 09:46:01 -06:00
Michael Black W9MDB
abd8829df1
Revert rig_get_caps_int -- did not need this change and don't want to break
...
shared library compatiblity
2021-02-28 08:59:57 -06:00
Michael Black W9MDB
1d7df86348
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2021-02-28 15:52:57 +01:00
Michael Black W9MDB
83c47fad42
Android NDK now builds -- check README.android for info on libusb
...
https://github.com/Hamlib/Hamlib/issues/546
2021-02-28 15:50:36 +01:00
Michael Black W9MDB
c9913526be
Fix clang compile warning in rig.c
2021-02-28 06:57:09 -06:00
Michael Black W9MDB
df549c2d0f
Fix compile warning on android/hamlib-compile
2021-02-27 23:57:57 -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
da5a4ddc6e
Reduce debug in serial.c
2021-02-26 23:38:15 -06:00
Michael Black W9MDB
4729f2a0f2
Small change to rig_set_freq retry
2021-02-26 23:37:25 -06:00
Michael Black W9MDB
8ccc9f0737
Fix rig_caps_get_int to use long long instead of enum
...
enum was coming out as 32-bit instead of 64-bit
https://github.com/Hamlib/Hamlib/issues/562
2021-02-26 15:00:15 -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
b835c47b23
Fix compilation warnings in mem.c
2021-02-26 11:06:37 -06:00
Michael Black W9MDB
dc5e1bf6ed
Fix rig_get_caps_int to return long long for cross platform compatibility
...
https://github.com/Hamlib/Hamlib/issues/562
2021-02-25 11:55:57 -06:00
Michael Black W9MDB
35cdf5fc3f
Fix compilation error on serial.c
2021-02-25 11:07:08 -06:00
Michael Black W9MDB
252f939105
Add do while for RETURNFUNC -- helps catch syntax errors
2021-02-25 06:35:56 -06:00
Michael Black W9MDB
a3eaac9faf
Change some return to RETURNFUNC in serial.c
2021-02-25 06:07:51 -06:00
Michael Black W9MDB
4c68bc25af
Improve formatting of RETURNFUNC macro
...
003bc93dd0 (commitcomment-47545928)
2021-02-25 06:02:06 -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
Nate Bargmann
171aa9e89a
Update and refine Doxygen comments for extension levels, etc.
2021-02-21 13:07:45 -06:00
Nate Bargmann
707fe151d0
Update Doxygen comments in rot_conf.c
2021-02-20 07:15:25 -06:00
Nate Bargmann
132d896e89
Add amp_internal subgroup to Doxygen documentation
...
The amp_internal subgroup will document those items intended for Hamlib
interal use, i.e. not a part of the public API.
2021-02-20 07:13:55 -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
Stephane Fillod
64e88e2461
typo
2021-02-17 18:36:21 +01: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
Nate Bargmann
2556f4fcd1
Udate amplifier documentation for consistency
2021-02-15 15:38:20 -06:00
Nate Bargmann
9dce43fc50
Update Docygen comments in rotator.c
...
Create new group for rot_internal that Doxygen shows under the Modules
tab.
2021-02-15 15:36:47 -06:00
Michael Black W9MDB
fc890004f3
Fix too verbose debug in serial.c
2021-02-14 23:51:14 -06:00
Michael Black W9MDB
ab34e83adc
RETURNFUNC ENTERFUNC for serial.c
...
https://github.com/Hamlib/Hamlib/issues/514
2021-02-14 23:46:05 -06:00
Nate Bargmann
2bf4a49f5d
Update Doxygen comments for amplifier group
...
Aim for consistency in Doxygen comments structure.
2021-02-12 12:46:01 -06:00
Michael Black W9MDB
6141e5098f
Merge branch 'master' of http://github.com/Hamlib/Hamlib
2021-02-11 07:53:46 -06:00
Nate Bargmann
d31f6ef441
Unify the amplifier API into a single group
2021-02-11 03:09:17 -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
31b28202ee
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2021-02-08 12:55:24 -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
Nate Bargmann
f4899caf17
Update public API Doxygen comments in amp_settings.c
2021-02-08 12:41:40 -06:00
Nate Bargmann
b97b4218cb
Update public API Doxygen comments in amp_conf.c
2021-02-08 12:40:01 -06:00
Nate Bargmann
07fa93bf43
Update Doxygen comment sections in amplifier.c
2021-02-07 18:56:24 -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
8e313ecc3d
Add RIG_CAPS_HAS_GET_LEVEL
2021-02-07 06:56:48 -06:00
Michael Black W9MDB
d8bd6a5d4e
Reduce debug level in network.c
2021-02-04 23:47: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
7b04640cea
Fix read_string timeout display value
2021-01-28 12:22:52 -06:00
Michael Black W9MDB
03924db38c
Modify __FILE__ to use __FILENAME__ macro to avoid full path in misc.c
2021-01-28 10:25:05 -06:00
Michael Black W9MDB
f2b7893a2b
Another attempt to get clock_gettime compiling for all Mac flavors
2021-01-27 11:00:58 -06:00
Michael Black W9MDB
30eca94210
Change MacOS detection logic for clock_gettime to hopefully cover all flavors
2021-01-26 15:05:43 -06:00
Michael Black W9MDB
a81b4db9be
Fix clock_gettime for Big Sur and hopefully older MacOS too
2021-01-26 07:28:55 -06:00
Michael Black W9MDB
54fc0e10f6
Add clock change to misc.c to allow building hamlib on some mac platforms
2021-01-25 12:23:05 -06:00
Michael Black
14eb9af7fe
Merge pull request #518 from code-posse/master
...
SatEL rotator support
2021-01-25 11:15:17 -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
Joshua Lynch
e6fa200152
initial SatEL rotator support
2021-01-23 23:26:01 -06:00
Michael Black W9MDB
e7b6e61ed0
astyle files prepping for 4.1 release
2021-01-22 10:41:30 -06:00
Michael Black W9MDB
1fe2efb315
Reduce a debug level in serial.c
2021-01-22 08:26:03 -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
5fec08b262
Add disable_yaesu_bandselect option
2021-01-20 11:34:30 -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
dd0765309e
Added CACHE_RESET macro
...
newcat_set_cmd_validate now queries VFO freq instead of using cache
2021-01-19 07:17:07 -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
ce96f42483
Fix RETURNFUNC in misc.h
2021-01-17 17:16:50 -06:00
Michael Black W9MDB
b1b6a0a771
Fix range_list check in src.c
2021-01-17 11:59:26 -06:00
Michael Black W9MDB
a8d841182b
Improve comments in misc.c
2021-01-17 08:22:07 -06:00
Michael Black W9MDB
9db79eb841
Reduce debug level
2021-01-17 08:19:12 -06:00
Michael Black W9MDB
70f27a0a03
Improve comment in misc.c
2021-01-17 08:09:06 -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
0ebdaee747
Change rig_init logic to allow first char of '/' to mean a pathname and not a hostname
...
https://github.com/Hamlib/Hamlib/issues/492
2021-01-11 14:43:08 -06:00
Michael Black W9MDB
4571dcb2a5
Fix rig_get_function_ptr return value
...
https://github.com/Hamlib/Hamlib/issues/502
2021-01-10 14:39:39 -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
98d0f20daa
Change RIG_TARGETABLE_PURE to appropriate RIG_TARGETABLE -- might actually work now
...
No rig has/had this flag
This change affects rig_set_func, rig_get_func, rig_set_ext_level, rig_get_ext_func, rig_set_level, rig_get_level
https://github.com/Hamlib/Hamlib/issues/414
2021-01-03 22:52:56 -06:00
Michael Black W9MDB
54ab3b951d
Add RIG_CAPS_STATUS_CPTR
...
WSJT-X HamlibTransceiver.cpp now has no dependencies on structure offsets
https://github.com/Hamlib/Hamlib/issues/484
2021-01-03 09:16:20 -06:00
Michael Black W9MDB
90bdf5248c
Add rig_list_foreach_model
...
https://github.com/Hamlib/Hamlib/issues/484
2021-01-02 23:37:54 -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
Michael Black W9MDB
92c6d98e8e
Fix set_freq to not call get_freq if get_freq is not available
...
Correct cache setting for set_freq
https://github.com/Hamlib/Hamlib/issues/485
2021-01-02 15:22:01 -06:00
Michael Black W9MDB
9726e07db6
Change rig_get_function_ptr, rig_get_caps_intg, and rig_get_caps_cptr to use rig_model_t instead of RIG*
...
https://github.com/Hamlib/Hamlib/issues/484
2021-01-02 09:22:02 -06:00
Michael Black W9MDB
a59bdad6f5
https://github.com/Hamlib/Hamlib/issues/484
2021-01-01 15:13:17 -06:00
Michael Black W9MDB
aafaafd473
Added rig_get_caps_int and rig_get_caps_cptr functions to replace using caps-> values
...
https://github.com/Hamlib/Hamlib/issues/484
2021-01-01 10:59:36 -06:00
Michael Black W9MDB
325dc8497b
Rename RIG_FUNCTION in misc.c
...
https://github.com/Hamlib/Hamlib/issues/484
2020-12-31 23:39:05 -06:00
Michael Black W9MDB
f7ff96fec8
Adding rig_get_function to replace use of rig->caps->set_vfo and such
...
https://github.com/Hamlib/Hamlib/issues/484
2020-12-31 23:05:54 -06:00
Michael Black W9MDB
31dedcf4f7
Allow rig_load_all_backends to be called more than once
2020-12-30 08:06:02 -06:00
Michael Black W9MDB
dbb06f9e7b
Add debug to show vfos in vfo_list
...
https://github.com/Hamlib/Hamlib/issues/482
2020-12-29 16:15:54 -06:00
Michael Black W9MDB
f484c4fdc8
Update copyright
2020-12-29 09:09:14 -06:00
Michael Black W9MDB
41f5e8d24a
Add RIG_MODE_SPEC to misc.c
2020-12-27 15:33:21 -06:00
Michael Black W9MDB
18e9d56b47
Add some debug for set_mode stuff
2020-12-22 17:01:06 -06:00
Michael Black W9MDB
3211e3aea1
astyle files
2020-12-21 23:50:29 -06:00
Michael Black W9MDB
2b1bce89bf
Fix icom default filter settings
...
https://github.com/Hamlib/Hamlib/issues/471
2020-12-19 14:30:31 -06:00
Michael Black W9MDB
2a0deb3415
Add RIG_LEVEL_RFPOWER_METER_WATTS
...
Old level of 0-1 just doesn't work well with the varying power levels in rigs now
2020-12-16 17:47:49 -06:00
Michael Black W9MDB
1e1f7529fa
Fix debug statements in rig.c
2020-12-13 10:20:02 -06:00
Michael Black W9MDB
8c265a85f2
Fix debug statement in rig.c
2020-12-13 10:00:37 -06:00
Michael Black
1f7ad94438
Merge pull request #453 from mikaelnousiainen/rotator-speed-control-and-status
...
Rotator API: Add funcs/levels/parms, implement speed control, add status flags
2020-12-03 16:13:18 -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
Michael Black W9MDB
c4e1deb8b6
Add flushx parameter to rotctl
...
https://github.com/Hamlib/Hamlib/issues/371
2020-12-02 23:47:30 -06: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
Michael Black W9MDB
5fc36df249
astyle files
2020-11-30 14:53:55 -06:00
Michael Black W9MDB
c70d841b83
Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
...
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
Michael Black W9MDB
d782fde5e5
Some notes about microham router
2020-11-28 22:34:15 -06:00
Michael Black W9MDB
8827f081dd
Add flushx option for MicroHam devices to allow flushing by read instead of tcflush.
...
The special name of uh-rig only works on Linux and has other purposes apparently for ptt use
https://github.com/Hamlib/Hamlib/issues/446
2020-11-25 08:40:24 -06:00
Mikael Nousiainen
a48f149955
Implement funcs, levels and parms + the ext variants for rotators. Add option to not change rotator speed when using the move command. Add rotator status flags. Work in progress.
2020-11-24 21:51:10 +02:00
Michael Black W9MDB
8ecf7b15ba
clean up a couple of compile warnings
2020-11-18 16:31:09 -06:00
Nonoo
8ba011eaf7
Add INDI rotator backend
...
This backend lets Hamlib control an astronomical (telescope) rotator through an
INDI (https://indilib.org/ ) server.
2020-11-15 12:46:35 +01:00
Mikael Nousiainen
7cbe39d5ab
Add routines to convert between morse code dot duration and milliseconds. Implement Yaesu break-in delay level correctly using these conversion routines.
2020-11-07 15:03:54 +02:00
Michael Black W9MDB
5721db70be
Added two more targetable flags for MEM and BANK to avoid VFO swapping
...
https://github.com/Hamlib/Hamlib/issues/430
https://github.com/Hamlib/Hamlib/issues/414
2020-11-01 07:48:52 -06:00
Michael Black W9MDB
74356b3a99
Add RIG_TARGETABLE_PTT and RIG_TARGETABLE_RITXIT
...
For most rigs these are non-vfo specific commands so we can avoid doing VFO switching
Add flags to all Yaesu, Icom, and Kenwood in rig_open
Some rigs do have VFO specific but it's already in the backend
More rigs can use these flags..TBD...
https://github.com/Hamlib/Hamlib/issues/430
2020-10-31 17:19:08 -05:00
Michael Black W9MDB
0fef98fc43
remove some cppcheck statements not needed anymore
2020-10-29 12:52:54 -05:00
Mikael Nousiainen
6e74284e55
Merge upstream master and fix conflicts
2020-10-26 09:19:38 +02:00
Michael Black W9MDB
3ffbeae881
clean up cppcheck warnings
2020-10-25 16:30:09 -05:00
Michael Black W9MDB
4e748df12b
Add -x/--uplink switch for GPredict. Will avoid reading freq from the uplink VFO 1=Sub, 2=Main
...
This will likely deprecate the twiddle option
https://github.com/Hamlib/Hamlib/issues/404
2020-10-23 11:34:42 -05:00
Mikael Nousiainen
68aaa426bb
Fix modes for FTDX101
2020-10-23 09:32:37 +03:00
Michael Black W9MDB
8a769c7011
Add VFO_CURR to set_cache_freq and get_cache_freq
...
https://github.com/Hamlib/Hamlib/issues/300
2020-10-19 22:22:59 -05:00
Michael Black W9MDB
bafd6e97f4
Add a 200ms to wait_morse to allow previous CW request to assert PTT
...
https://github.com/Hamlib/Hamlib/issues/422
2020-10-19 12:28:13 -05:00
Michael Black W9MDB
a8961426b0
Invalidate the cache so get_ptt is current
...
https://github.com/Hamlib/Hamlib/issues/422
2020-10-19 12:03:38 -05:00
Michael Black W9MDB
7e8bfc8b49
https://github.com/Hamlib/Hamlib/issues/422
2020-10-19 11:50:02 -05:00
Michael Black W9MDB
0443afc794
Add wait_morse command with generit wait_morse_ptt function
...
This should work for any send_morse with full breakin
https://github.com/Hamlib/Hamlib/issues/422
2020-10-18 12:34:36 -05:00
Michael Black W9MDB
e1b3bcff9e
New caching non-interfering side-by-side with old until 4.1 development underway
...
https://github.com/Hamlib/Hamlib/issues/280
2020-10-17 23:55:22 -05:00
Michael Black W9MDB
5add4b343d
Add rig_stop_morse to API and stop_morse command for rigctl
...
No rigs implemented yet
https://github.com/Hamlib/Hamlib/issues/240
2020-10-16 08:41:57 -05:00
Michael Black W9MDB
341828a319
astyle files
2020-10-15 15:44:43 -05:00
Michael Black W9MDB
1351eb6bd7
Add more neverused since cppcheck complains a lot
2020-10-13 16:59:58 -05:00
Michael Black W9MDB
4faad82da7
Change get_ptt RTS/DTR to keep serial port open
...
New option --set-conf=ptt_share=1 to revert to old behavior where serial port is opened/closed every get_ptt
https://github.com/Hamlib/Hamlib/issues/383
2020-10-12 23:27:13 -05:00