Michael Black W9MDB
05d57f5867
Fix the git tree build
2020-10-16 18:20:11 -05:00
Michael Black W9MDB
892c2bd634
Change tests/Makefile.am to put hamlibdatetime.h in the build directory to support parallel builds
2020-10-16 17:16: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
7c78530da2
remove cppcheck items from uthash.h
2020-10-15 12:49:29 -05:00
Daniele Forsi
1e00e4e8db
Fix typos
...
Command line:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor,objext,ans
2020-10-11 18:03:50 +02:00
Michael Black W9MDB
6d51f65528
astyle files
2020-10-06 23:14:27 -05:00
Michael Black W9MDB
fca4cc7903
Lots of changes to get Main/Sub recognized across rigctl/rigctld boundary
...
Needs lots of testing
https://github.com/Hamlib/Hamlib/issues/395
2020-10-06 21:50:37 +01:00
Michael Black W9MDB
0e44e2f317
Move dummy to rigs directory
...
Remove unneeded references to dummy
2020-10-05 09:58:20 -05:00
Michael Black W9MDB
293a844c41
Fix W command speed by using bytes requested correctly
...
read_string now recognizes binary strings to read 5X more bytes
Fixed Reply: prompt double output and space after :
https://github.com/Hamlib/Hamlib/issues/387
2020-10-02 17:23:48 -05:00
Michael Black W9MDB
7bee01f785
Add suppress for AST broken bug in cppcheck
2020-09-19 16:09:44 -05:00
Mikael Nousiainen
23971f8e75
Fix issues with Icom extcmds definitions, some ext_tokens missing. Refactor custom level implementations to use extcmds definitions. Print out extfuncs in caps dump.
2020-09-16 18:10:35 +03:00
Michael Black W9MDB
f9da2d0b82
Remove RIG_LEVEL_BRIGHT from dumpmem.c
2020-09-11 08:04:43 -05:00
Michael Black W9MDB
275db971cd
Remove sleep on rigctld EOF -- don't think it's really needed
...
https://github.com/Hamlib/Hamlib/issues/366
2020-09-07 08:53:39 -05:00
Michael Black W9MDB
1b6d67a278
Fix stack smash in sprintflst when long lists occur
...
Need to pass length into these functions
2020-09-06 16:45:52 -05:00
Michael Black W9MDB
24fb47cbe0
Added IC-705
...
Added RIG_LEVEL_BRIGHT -- IC705 has this level
Fixed range printout
https://github.com/Hamlib/Hamlib/issues/364
2020-09-06 12:28:35 -05:00
Michael Black W9MDB
110cfe7abd
Remove warning from ampctl.c
2020-09-02 22:13:11 -05:00
Michael Black W9MDB
fade1681fa
Fix cppcheck errors and warnings
2020-09-02 16:56:11 -05:00
Michael Black W9MDB
e459d4edc2
astyle files
2020-09-01 09:06:46 -05:00
Michael Black W9MDB
119f5e6eb9
Remove itu_region from rigctl_paparse.c and replace with constant 0 -- it's not used at all by any rig
2020-07-24 12:57:33 -05:00
Daniele Forsi
d7b332c3f7
Fix spelling errors
...
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Michael Black W9MDB
6f8100ffc0
Fix cppcheck warnings
2020-07-08 11:48:48 -05:00
Michael Black W9MDB
5e801fd2b5
astyle files
2020-07-07 11:39:26 -05:00
Michael Black W9MDB
0db3eafe66
Fix rigctl argument prompt for non-readline capable system
...
https://github.com/Hamlib/Hamlib/issues/339
2020-07-06 10:15:57 -05:00
Michael Black W9MDB
0fb7148172
Fix compilation warning in cachetest.c
2020-07-04 11:41:42 -05:00
Michael Black W9MDB
5ebb95bb43
Add testnet.c for testing IPV4/IPV6 address/port combinations
2020-07-04 07:21:02 -05:00
Michael Black W9MDB
ed3a26296d
Fix cppcheck warnings
2020-07-04 07:17:45 -05:00
Michael Black W9MDB
b181c1720c
Fix compile error on cachetest2.c
2020-07-03 08:37:17 -05:00
Michael Black W9MDB
88cf2f6da6
Fix compile error on cachetest.c
2020-07-03 08:35:39 -05:00
Michael Black W9MDB
fa08887471
Change hamlib_cache_t enums to HAMLIB namespace
2020-07-02 10:23:41 -05:00
Michael Black W9MDB
bda6d1d12d
Fix make check compilation
2020-07-02 08:32:01 -05:00
Michael Black W9MDB
f454cff0b7
Add check for -s switch on all utils to ensure integer is entered
2020-07-01 08:52:44 -05:00
Michael Black W9MDB
65de309e70
Fix rigctlcom to work with Main/Sub rigs too
...
https://github.com/Hamlib/Hamlib/issues/302
2020-06-23 22:57:36 -05:00
Michael Black W9MDB
a9d43a1fbe
Remove rig_flush from rigctlcom.c -- OmniRig not happy being flushed
...
https://github.com/Hamlib/Hamlib/issues/273
2020-06-23 17:19:48 -05:00
Michael Black W9MDB
dfef8770cd
Move chk_vfo_executed so it will work without readline support
...
https://github.com/Hamlib/Hamlib/issues/326
2020-06-23 11:21:22 -05:00
Michael Black W9MDB
1fa84652f4
Fix compatibility between 3.3 rigctl and 4.0 rigctld
...
https://github.com/Hamlib/Hamlib/issues/326
2020-06-23 11:12:15 -05:00
Michael Black W9MDB
055ac839c0
Add debug to rigctl_parse.c to show full command
...
https://github.com/Hamlib/Hamlib/issues/326
2020-06-23 10:14:10 -05:00
Michael Black W9MDB
1be5c71e76
More conversions to rig_flush
...
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 08:39:11 -05:00
Michael Black W9MDB
ac1f990474
Remove AI_CANONNAME from rigctld.c
...
Didn't work with simple "rigctld" and no -T
https://github.com/Hamlib/Hamlib/issues/298
2020-06-22 09:52:08 -05:00
Michael Black W9MDB
a3c4eb9ee0
Fix cppcheck warnings
2020-06-21 22:31:31 -05:00
Michael Black W9MDB
e092a4a0a4
rigctld -T ::1 now works with rigctl -r ::1
...
More IPV6 testing needed on Windows and MacOS
Still not binding to link local addresses to be addressed next
https://github.com/Hamlib/Hamlib/issues/29
2020-06-21 17:47:04 -05:00
Michael Black W9MDB
542e227f85
Remove retries for rigctl.c rig_open as they were never used and didn't work
2020-06-19 06:55:56 -05:00
Michael Black W9MDB
8e7586b3b2
Fix meade Autostart clause
2020-06-10 08:16:02 -05:00
Michael Black W9MDB
f71c12da94
astyle files
2020-06-09 22:37:03 -05:00
Michael Black W9MDB
490e05595a
Fix debug statement warnings in cachetest.c
2020-06-09 14:57:29 -05:00
Michael Black W9MDB
1485a19e47
Fix testloc.c dmmm2dec function change
...
https://github.com/Hamlib/Hamlib/issues/286
2020-06-07 15:08:52 -05:00
Michael Black W9MDB
4a24f63f0f
Undo readline change
2020-06-05 23:48:09 -05:00
Michael Black W9MDB
30d0335983
Fix rl_readline_name in rigctl.c
2020-06-05 23:40:52 -05:00
Bill Somerville
7d53c28ac2
Avoid 'echo -n' as macOS sh doesn't support it
2020-06-06 00:58:13 +01:00
Michael Black W9MDB
6fd6488d63
Add SHA to version info
2020-06-04 12:18:41 -05:00
Michael Black W9MDB
17b404a6c7
Add seconds to dmmm2dec
...
Change meade.c to support dmmm2dec seconds
https://github.com/Hamlib/Hamlib/issues/268
2020-06-03 22:33:56 -05:00
Michael Black W9MDB
207c50f36b
Fix rigctlcom split indication in IF generation
...
Add some debug to see the cmd being requested by the client
https://github.com/Hamlib/Hamlib/issues/272
2020-06-01 12:11:15 -05:00
Bill Somerville
d9ab62445c
Deal with remote PTT type at the client end
...
Remote PTT must always be either RIG_PTT_RIG_MICDATA or
RIG_PTT_NONE. Also take care not to override any locally set PTT type
as it is feasible to use a local hardware PTT at the client end with
remote CAT control. Maybe an odd arrangement but Hamlib does not
preclude it. This is all done while preserving the accuracy of the
ptt_type value in dump_state requests.
2020-06-01 13:51:44 +01:00
Michael Black W9MDB
afeb77e6d2
rigctld will now return either PTT_NONE or PTT_RIG_MICDATA to rigctl client
...
https://github.com/Hamlib/Hamlib/issues/259
2020-05-31 22:33:56 -05:00
Michael Black W9MDB
1dc461966d
Fix rigctld ptt_type to correctly reflect DTR/RTS
...
Might need to do this with some other values too
github.com/Hamlib/Hamlib/issues/270
2020-05-31 16:42:56 -05:00
Nate Bargmann
0450345c81
Restyle tests/cachetest.sh for 4 space tabs
2020-05-31 12:52:17 -05:00
Nate Bargmann
7a549f5680
Merge branch 'remove_backticks'
2020-05-31 12:39:04 -05:00
Nate Bargmann
57e7f030bf
Really fix hamlibdatetime.h handling!
...
At least I hope so...
2020-05-31 07:42:02 -05:00
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
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
ff4882f1cd
Remove debug from rigctld.c
2020-05-30 11:13:40 -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
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
Michael Black
4150f12f36
Suppress unimportant error in rigctld.c
2020-03-15 16:31:19 -05:00
Michael Black
33babeaeff
Fix rigctdl multiple connections
2020-03-15 16:19:43 -05:00
Michael Black
35fffc4f38
astyle files
2020-03-15 15:32:46 -05:00