Commit Graph

727 Commits

Author SHA1 Message Date
Nate Bargmann
2a1c11dae0
Remove backticks in tests/ 2020-05-30 21:41:58 -05:00
Nate Bargmann
682107e8df
Style and remove backticks in tests/cachetest.sh 2020-05-30 21:36:30 -05:00
Nate Bargmann
9bafc86fec
Rename tests/hamlibdatetime.h
Rename tests/hamlibdatetime.h to tests/hamlibdatetime.h.in which is
tracked and ignore tests/hamlibdatetime.h which is not tracked and will
be generated or copied depending on whether the top source directory is
a Git working tree or not.
2020-05-30 09:18:19 -05:00
Nate Bargmann
b534f1b36e
Generated hamlibdatetime.h time string is now in UTC 2020-05-30 08:03:44 -05:00
Nate Bargmann
83bfd4aabb
Restore tests/hamlibdatetime.h as a placeholder 2020-05-30 07:40:12 -05:00
Michael Black W9MDB
b1f04aed62 Change fprintf to rig_debug in rigctl.c 2020-05-29 07:56:24 -05:00
Michael Black W9MDB
ad4033dbfc reduce debug level in rigctl_parse.c 2020-05-29 07:54:30 -05:00
Michael Black W9MDB
986ca4896d Removed unsed var in rigctl_parse.c 2020-05-28 11:26:41 -05:00
Michael Black W9MDB
19263cb249 Add last commit info to rigctld.c 2020-05-28 11:14:48 -05:00
Michael Black W9MDB
b8e315a526 Fix up rigctl_parse set_vfo_opt
https://github.com/Hamlib/Hamlib/issues/259
2020-05-27 23:44:18 -05:00
Michael Black W9MDB
443bc142a7 Streamline vfo_opt detectionin rigctl.c 2020-05-27 23:43: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
Nate Bargmann
598cec94b4
Remove generated file from repository
tests/hamlibdatetime.h is a generated file and its content will change
locally so to avoid confusion do not keep an older copy in the
repository.
2020-05-27 07:54:41 -05:00
Nate Bargmann
2de3f95bcd
Ensure hamlibdatetime.h works with VPATH builds 2020-05-27 07:54:09 -05:00
Nate Bargmann
4395f540eb
Rename datebuilt.h to hamlibdatetime.h in tests/Makefile.am
The name conflict caused 'make dist' to fail.
2020-05-27 07:04:36 -05:00
Michael Black W9MDB
796d71dddf Change vfo_mode to vfo_opt to distinguish it from rig mode 2020-05-26 12:01:44 -05:00
Michael Black W9MDB
07f1417881 Change vfo_mode to vfo_opt to distinguish it from rig mode 2020-05-26 11:59:50 -05:00
Michael Black W9MDB
48692b4bc9 Adding version control file for utilities 2020-05-23 10:59:29 -05:00
Michael Black W9MDB
fb68d9f561 Add better version info to utilities 2020-05-23 10:58:25 -05:00
Michael Black W9MDB
823f97cf12 Some rigctld clients like Log4OM don't like the extra VFO argument being returned from the "f" command so we are removing it for now
https://github.com/Hamlib/Hamlib/issues/255Z
2020-05-20 09:39:43 -05: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
ee5af14b13 Restore backwards compatibility of rigctld
Need to figure out how to make "F" command with VFO backwards compatible probably by dynamic detection of newer rigctld
https://github.com/Hamlib/Hamlib/issues/246
2020-05-13 17:44:17 -05:00
Michael Black W9MDB
0354f8b738 Ensure ptt defaults to 0 for rigctl 2020-05-13 07:22:46 -05:00
Michael Black W9MDB
d76de484a7 In rigctl_parse.c change default YAESU to be non-binary for 'w' command
https://github.com/Hamlib/Hamlib/issues/239
2020-05-12 08:33:36 -05:00
Michael Black W9MDB
2813f0ef63 astyle files 2020-05-11 22:39:10 -05:00
Michael Black W9MDB
74cdd96eda Fix merge of icom.c 2020-05-11 18:05:11 -05:00
mdblack98
067f95dda8 Fix rigctl w command with semicolon ending
https://github.com/Hamlib/Hamlib/issues/239
2020-05-06 17:45:02 -05:00
mdblack98
e9ffb2991d Fix rigctl interactive prompt 2020-05-06 08:54:34 -05:00
mdblack98
8ad431a344 Change #warn on get_channel to RIG_ENIMPL errors
This needs to be validated on the rigs to see the individual behavior
It only gives an error when read_only=0, read_only=1 does not give any error
We want the behavior of actually setting the rig display to be based on this flag
https://github.com/Hamlib/Hamlib/issues/227
2020-05-06 08:06:14 -05:00
mdblack98
f8321a36f4 Fix cppcheck warnings and fill out unused RIG_LEVEL items 2020-05-05 23:33:40 -05:00
mdblack98
a3b1b055b3 Fix cppcheck warnings 2020-05-05 11:32:09 -05:00
mdblack98
3794bc5a0a Fix cppcheck warnings 2020-05-05 09:38:36 -05:00
mdblack98
8c73836b48 Fix cppcheck warnings in rigctld.c 2020-05-05 09:29:30 -05:00
mdblack98
f0437aa575 Fix cppcheck warnings in rotctld.c 2020-05-05 09:26:40 -05:00
mdblack98
bf1a05084d astyle files 2020-05-03 17:24:42 -05:00
mdblack98
9b96c24ff1 Add some debug to rigctl_parse.c 2020-05-03 17:07:22 -05:00
mdblack98
0bd52c259d Add a bit more debug to rigctld.c 2020-05-03 17:06:34 -05:00
mdblack98
67f7bd91e0 clean up example.c and it now does a reopen test at the end 2020-05-03 16:55:04 -05:00
mdblack98
ef1d42d2e1 Add rig_close test and clean up example.c 2020-05-03 16:10:07 -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
2fcecd7d7f Remove debug from rigctld.c 2020-05-02 07:42:09 -05:00
mdblack98
c5f7857f6e Add cachetest and cachtest2 to make check 2020-05-01 16:28:48 -05:00
mdblack98
d4de834ee4 Fix compile warning in cachetest2.c 2020-05-01 16:28:30 -05:00
mdblack98
a124bcafb7 Remove compile warning in cachetest.c 2020-05-01 16:26:37 -05:00
mdblack98
ec180bdda8 Fix rig_get_channel in dumpmem.c 2020-05-01 16:26:05 -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
81c21ee314 Reduce debug info in rigctl_parse.c and rigctld.c 2020-04-30 16:52:11 -05:00
mdblack98
4cac924a3e Remove command not found for space in rigctl_parse.c 2020-04-27 11:29:03 -05:00
mdblack98
600a674891 Add cache invalidation for kenwood and yaesu
Reset all kenwood/yaesu backend versions to 0 since main backend is new
https://github.com/Hamlib/Hamlib/issues/226
2020-04-27 09:41:33 -05:00