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