Commit Graph

689 Commits

Author SHA1 Message Date
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
mdblack98
5eb5b6f3d8 https://github.com/Hamlib/Hamlib/issues/227
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
mdblack98
7dcb0ae88e astyle updates 2020-04-25 11:28:38 -05:00
mdblack98
ce2502e2f6 Change rigctl_parse.c debug to only use printable chars 2020-04-23 17:35:50 -05:00
mdblack98
9bf214fee3 Add debug to rigctl_parse.c chasing down Flex problem 2020-04-23 10:25:47 -05:00
mdblack98
b75a29f795 Fix braces in rigctld.c 2020-04-22 12:37:56 -05:00
mdblack98
3feaddfd73 Still working on Flex problem...
Adding debug to figure out why vfo_mode doesn't work with rigctl/rigctld
2020-04-22 11:47:56 -05:00
mdblack98
cae85c6dbe Improve debugstatement in rigctl_parse.c 2020-04-21 12:52:40 -05:00
mdblack98
cefa092350 Change rigctld main loop to continue on EOF 2020-04-21 11:31:22 -05:00
mdblack98
1aef1c6285 Let rigctl_parse return when EOF is detected 2020-04-21 10:34:42 -05:00
Michael Black W9MDB
ff79dc800c Adding debug to chase down Flex problem disconnect on profile change 2020-04-21 07:51:47 -05:00
Michael Black W9MDB
9b040dc0d8 Add debug to rigctld...chasing down Flex bug 2020-04-20 17:26:57 -05:00
Michael Black
32082a14d6 Add debug to rigctl_parse.c chasing down Flex bug 2020-04-19 12:08:08 -05:00
Michael Black
774cb9d25c More testing on Flex problem allow rigctld to continue executing 2020-04-15 12:28:42 -05:00
Michael Black
819be74317 Testing continuation of rigctld when nothing to scan 2020-04-15 11:55:07 -05:00
Michael Black
32a8ba45ae Allow empty line for noninteractive rigctld 2020-04-15 11:33:09 -05:00
Michael Black
9f3fbc07fd Add debug to rigctl_parse.c 2020-04-15 09:57:08 -05:00
Michael Black
ba8f56dfbb Change sync_cb to encompass the entire transaction
Testing to see if the fixes the problem with Flex rigs
2020-04-15 09:37:22 -05:00
Michael Black
44b835bde5 Fix buffer overrun in rigmatrix.c 2020-04-09 17:51:52 -05:00
Michael Black
9a49167b69 Update long command for -Y rigctl option and man page 2020-04-05 23:35:20 -05:00
Michael Black
20d5209e3b Add -Y option to rigctl to ignore rig open error...good for testing rig commands on rigs you don't have 2020-04-05 23:29:47 -05:00
Michael Black
36ce07639b Fix 32-bit compilation on Raspian 2020-04-05 14:37:19 -05:00
Michael Black
643be3ccbe Fix rigctl_parse.c compile warning 2020-04-05 07:07:18 -05:00
Michael Black
c48a28a98d Add comment to rigctl_parse.c 2020-04-04 15:49:26 -05:00
Michael Black
6a2e675216 Added new protocol 1 for dumpcaps with vfo_ops as the first one implemented
Protocol 1 is setting=value.  Order does not matter.  Can be multiline.
And is forward compatible as new values will just generate warnings on older versions
2020-04-04 09:38:50 -05:00
Michael Black
ae45740da8 Fix rigctl pause command 2020-04-03 13:01:22 -05:00
Michael Black
ee87d5e6df Fix buffer overrun in all utilities
Change MAXCONFLEN to 1024 bytes for some future proofing
2020-04-01 14:51:50 -05:00
Michael Black
8fd5e16363 astyle files 2020-03-26 11:11:46 -05:00
Michael Black
0c8130db00 Add range_list to xg3.c 2020-03-25 23:32:56 -05:00
Michael Black
9e89c4455a Add VFO & ANT definitions to rigs that were missing them 2020-03-25 23:07:42 -05:00
Michael Black
e3cfdbd453 Fix cppcheck warnings in memcsv.c 2020-03-24 10:00:46 -05:00
Michael Black
aa7e822d98 cppcheck-suppress rigctl_parse.c 2020-03-24 10:00:22 -05:00
Michael Black
73b4257cfb cppcheck-suppress rigctlcom.c 2020-03-24 09:58:04 -05:00
Michael Black
bda5feb1bd More cppcheck changes 2020-03-23 10:13:02 -05:00
Michael Black
8eb09c2a38 More cppcheck fixes 2020-03-23 07:52:01 -05:00
Michael Black
ea728feb03 Add VFO to rigctl(d) 'f' command
On Icom rigs, for example you will see "currVFO" if no VFO has been set
Eventually we will start showing MainA/MainB SubA/SubB for rigs that have that capability
2020-03-18 17:40:30 -05:00
Michael Black
6d9c81cf6a A couple minor edit changes 2020-03-17 22:54:29 -05:00
Michael Black
7f9bbde383 Improve vfo switch message a bit 2020-03-16 14:23:40 -05:00
Michael Black
3dbc411f5b Fix testfreq.c 2020-03-16 08:51:18 -05:00