Michael Black W9MDB
cbe269077b
Fix one more cache expire for caps->get_vfo
...
https://github.com/Hamlib/Hamlib/issues/270
2020-05-31 10:05:44 -05:00
Michael Black W9MDB
58b1c36d29
Remove VFO_CURR fixup
...
https://github.com/Hamlib/Hamlib/issues/271
2020-05-30 22:49:49 -05:00
Michael Black W9MDB
f4fee7913f
Fix caching of get_vfo to avoid caching error returns
...
https://github.com/Hamlib/Hamlib/issues/270
2020-05-30 22:45:43 -05:00
Michael Black W9MDB
9ecc14f897
Fix RIG_PTT_NONE detection from rigctl client by adding ptt_type to dumpcaps
...
https://github.com/Hamlib/Hamlib/issues/270
2020-05-30 16:59:36 -05:00
Michael Black W9MDB
353066a232
Fix rigctl/rigctld split ops/queries
...
Add vfo_fixup function. We should be able to do all vfo corrections in rig.c instead of backends. So we're migrating that way....
https://github.com/Hamlib/Hamlib/issues/269
2020-05-30 09:34:13 -05:00
Michael Black W9MDB
4af80d44c7
Add cache setting in another rig_get_freq return location
2020-05-27 23:40:14 -05:00
Michael Black W9MDB
9898ea9522
Fix ms timer reference in debug in misc.c
2020-05-27 23:38:29 -05:00
Michael Black W9MDB
677ccac4bc
astyle files
2020-05-27 12:23:08 -05:00
Michael Black W9MDB
87a83ffbb1
rigctld now works with rigctl in vfo mode
...
https://github.com/Hamlib/Hamlib/issues/259
set_vfo_opt can now dynamically change vfo mode on rigctld
So this example now works...does some non-vfo stuff then switches to vfo mode
rigctl -m 2 F 14074000 V VFOB F 14076000 V VFOA f V VFOB f set_vfo_opt 1 f VFOA
rigctl commands v,V and S have been changed to not require VFO arguments
New API function rig_set_vfo_opt -- only implemented for Net rigctl as it doesn't apply to any other rigs
2020-05-27 12:21:41 -05:00
Bill Somerville
c78b98d36b
Revert "Add debug to serial.c"
...
This reverts commit be439ea394
.
Remove debugging code that breaks the intended functionality. How did
this change pass even the most basic of tests?
2020-05-27 11:22:46 +01:00
Michael Black W9MDB
be439ea394
Add debug to serial.c
2020-05-25 15:31:58 -05:00
Michael Black W9MDB
4f3ad4f3da
Add debug for RTS PTT
2020-05-25 14:35:49 -05:00
Michael Black W9MDB
a8fdcc146a
Add a littld debug to rig.c
2020-05-25 09:10:40 -05:00
Michael Black W9MDB
89cd5c2c99
on rig_get_vfo ask for the real split mode
2020-05-25 07:38:03 -05:00
Michael Black W9MDB
1add89bd71
Add rules for setting VFO_RX and VFO_TX for different rig types
...
https://github.com/Hamlib/Hamlib/issues/261
2020-05-24 23:42:35 -05:00
Michael Black W9MDB
a77a57ff38
Disallow requesting a vfo that the rig doesn't have.
...
This could be changed to automatically selecting a valid VFO so
VFOA=Main or Main=VFOA for example but not sure if we want to do this.
This is already being done for the IC-9700 for example since satmode
only has Main/Sub where non-satmode has MainA/MainB/SubA/SubB
So the question is do we emulate VFOA/B and Main/Sub for all rigs?
2020-05-21 15:51:41 +02:00
Michael Black W9MDB
9320bfb6ea
Fix main/sub frequency saved values
2020-05-18 17:53:49 -05:00
Michael Black W9MDB
dc389d7908
Change rig.c to utilize caps function
2020-05-16 21:33:52 +02:00
Michael Black W9MDB
d540def11b
Change return type of elapsed_ms
2020-05-16 21:33:14 +02:00
Michael Black W9MDB
8e2eba0a6d
Fix elapsed_ms INVALIDATE
2020-05-16 21:32:34 +02:00
Michael Black W9MDB
545081c8d4
Fix rigctl/rigctld "V VFOA" protocol error
...
4.0 rigctld now works with 3.3 rigctl client and 4.0 rigctl client
https://github.com/Hamlib/Hamlib/issues/246
2020-05-15 14:17:59 -05:00
Michael Black W9MDB
baf0ee7169
Add debug to rig.c
2020-05-13 17:40:36 -05:00
Michael Black W9MDB
28ce6d0b54
Fix ptt cache -- not specific to IC910 but was noticed during debugging this problem
...
https://github.com/Hamlib/Hamlib/issues/237
2020-05-12 13:19:33 -04:00
Michael Black W9MDB
3b2225e489
Fix IC-910 split mode operation with gpredict
...
https://github.com/Hamlib/Hamlib/issues/237
2020-05-11 19:00:52 -04:00
Michael Black W9MDB
1a4e61b2dd
Fix several strerror that should be rigerror
2020-05-09 11:52:27 -05:00
Michael Black W9MDB
8e744a4ad7
Do not ask for freq in rig_set_vfo unless we can set the VFO succesfully
2020-05-09 10:22:46 -05:00
Michael Black W9MDB
3fecc5d91e
Only update cache.vfo when RIG_OK is returned
2020-05-08 11:24:33 -05:00
mdblack98
f8321a36f4
Fix cppcheck warnings and fill out unused RIG_LEVEL items
2020-05-05 23:33:40 -05:00
mdblack98
0d5547db35
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2020-05-05 10:04:42 -05:00
mdblack98
d3ebdc5737
Update cache only when retcode=RIG_OK
2020-05-05 09:59:55 -05:00
mdblack98
d5d2650c2e
Update cache only when retcode=RIG_OK
2020-05-05 09:59:28 -05:00
mdblack98
3794bc5a0a
Fix cppcheck warnings
2020-05-05 09:38:36 -05:00
mdblack98
bf1a05084d
astyle files
2020-05-03 17:24:42 -05:00
mdblack98
d75272ddac
Fix caching math and clean up cachetest.c
...
https://github.com/Hamlib/Hamlib/issues/228
2020-05-02 23:10:55 -05:00
mdblack98
b244fe234c
Fix caching math...helps when you get the units right...nanoseconds...not microseconds
...
https://github.com/Hamlib/Hamlib/issues/228
2020-05-02 17:32:37 -05:00
mdblack98
baa3787bc5
Add ELAPSED_INVALIDATE for caching use
...
Change rig_get_vfo to use ELAPSED_INVALIDATE
Change elapsed_ms code to make a little more sense
https://github.com/Hamlib/Hamlib/issues/231
2020-05-02 11:19:44 -05:00
mdblack98
54fd75ffe8
Reduce verbosity on rig_strvfo
2020-05-02 07:57:16 -05:00
mdblack98
4dd1b03d56
Add some debug to rig.c
2020-05-02 07:25:17 -05:00
mdblack98
c4430b7cb9
Fix split caching
2020-05-01 16:58:22 -05:00
mdblack98
d5d6c55439
Fix JTDSK compilation warnings
...
https://github.com/Hamlib/Hamlib/issues/233
2020-05-01 14:33:35 -05:00
mdblack98
9e710156e3
Add ability for rigctld client to turn vfo mode on/off with (,)
...
https://github.com/Hamlib/Hamlib/issues/232
Add caching of some limited rig information
Can be adjusted or turned off with rig_cache_set_timeout_ms or in rigctl with \set_cache_timeout
https://github.com/Hamlib/Hamlib/issues/228
2020-05-01 12:03:54 -05:00
mdblack98
20cc059600
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2020-04-26 16:51:34 -05:00
mdblack98
eb7829bd06
Add caching for the Yaesu IF command
...
It should speed up the WSJT-X/JTDX sequence of v,f,m,t by a fair bit removing two unnecessary IF commands that should get cached
2020-04-26 15:44:38 -05:00
Michael Black
ce882b9be7
merge udpate
2020-04-26 14:58:30 -05:00
mdblack98
5eb5b6f3d8
https://github.com/Hamlib/Hamlib/issues/227
...
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
Michael Black
2d0c157b09
Improve logic slightly in rig.c
2020-04-25 11:18:45 -05:00
c vw
f6e3570e37
Allow device addresses of the form ":19000" to switch from serial to TCP
...
(not only aaa.bbb.ccc.ddd.port)
2020-04-25 17:44:07 +02:00
mdblack98
75d9beaac2
Increase NET_BUFFER_SIZE for network.c
2020-04-22 12:26:08 -05:00
mdblack98
d8fc515460
astyle iofunc.
2020-04-22 09:54:18 -05:00
mdblack98
ded8b6873d
Add debug to read_string
2020-04-22 09:53:37 -05:00