Michael Black W9MDB
1b89407a8d
Fix compilation of rigctld.c on mingw
2021-01-24 17:19:58 -06:00
Michael Black W9MDB
2be172ac4e
Improve robustness of rigctld
...
Now retries opening indefinitely
Improved client side too
Error message should now show timeout if rig disappears
2021-01-24 10:51:19 -06:00
Michael Black W9MDB
e7b6e61ed0
astyle files prepping for 4.1 release
2021-01-22 10:41:30 -06:00
Michael Black W9MDB
d6baea110e
Add 32-bit Intel and 32-bit Arm checks to rigtestcaps.c
2021-01-21 23:54:21 -06:00
Michael Black W9MDB
39e4aad778
Another attempt to get testrigcaps to recognize compiler differences
2021-01-21 12:04:46 -06:00
Michael Black W9MDB
fbce397f3b
Fix testrigcaps for ming32, ming64, and all others
...
Structure packing may be different yet on some other compilers
2021-01-21 09:36:46 -06:00
Michael Black W9MDB
619e130483
Add 32-bit values to testrigcaps.c
...
This may still need changes for different compilers with different structure packing
2021-01-21 08:15:55 -06:00
Michael Black W9MDB
8cad9dc200
Adding testrigopen.c
2021-01-20 11:16:48 -06:00
Michael Black W9MDB
a4d9dac5ce
Add testritgcaps to make clean
2021-01-20 11:15:12 -06:00
Michael Black W9MDB
05728f74eb
Fix testrigcaps.c
2021-01-20 10:46:07 -06:00
Michael Black W9MDB
e32e47a858
Add testrigcaps to catch potential shared library problems
...
Add testrigopen to test time it takes to timeout when rig is powered off
2021-01-20 10:44:37 -06:00
Michael Black W9MDB
6fbf33e8ed
Undo changes on testrig.c
2021-01-09 23:17:37 -06:00
Michael Black W9MDB
6e8b90aeec
Fix cppcheck warnings
2021-01-09 15:19:19 -06:00
Michael Black W9MDB
ca8ed30f8f
astyle files
2021-01-09 10:13:17 -06:00
Michael Black W9MDB
0089964af7
Add some dumpcaps values to allow for set/get_freq and set/get_vfo functions
...
https://github.com/Hamlib/Hamlib/issues/490
2021-01-08 16:37:53 -06:00
Michael Black W9MDB
7a9e909b61
Add Barrett 950
...
https://github.com/Hamlib/Hamlib/issues/483
2020-12-30 23:15:42 -06:00
Michael Black W9MDB
15958c8aab
Fix parsing of SH command in newcat.c
...
Remove get_vfo from FT-891
https://github.com/Hamlib/Hamlib/issues/455
2020-12-06 22:54:47 -06:00
Michael Black W9MDB
1b2236bb2e
Fix example.c to include rotator.h
2020-12-06 08:49:13 -06:00
Michael Black W9MDB
99d568df72
Fix compilation with libxml2
...
https://github.com/Hamlib/Hamlib/issues/456
2020-12-05 10:01:55 -06:00
Mikael Nousiainen
457211a7e3
Add get_status command for rotator status flags. Add missing rotator caps in dumpcaps output.
2020-12-03 21:40:34 +02:00
Mikael Nousiainen
a661bee283
Add rotator funcs/levels/parms to rotator caps dump
2020-12-02 22:35:38 +02:00
Mikael Nousiainen
bb315270bf
Merge branch 'master' into rotator-speed-control-and-status
2020-12-02 21:46:23 +02:00
Michael Black W9MDB
eb8082b1f8
Fix rig_get_channel API change in dumpmem.c
...
https://github.com/Hamlib/Hamlib/issues/430
2020-12-02 07:10:12 -06:00
Michael Black W9MDB
c70d841b83
Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
...
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
Mikael Nousiainen
a48f149955
Implement funcs, levels and parms + the ext variants for rotators. Add option to not change rotator speed when using the move command. Add rotator status flags. Work in progress.
2020-11-24 21:51:10 +02:00
Michael Black W9MDB
a475ebf017
Add debug to rotctlparse.c
2020-11-23 08:46:15 -06:00
Nonoo
2deeca86dc
Fix decimal separators which sscanf can't handle
...
This is a workaround for some apps like Gpredict, which use comma as a decimal
separator (depending on locale settings), but sscanf in Hamlib can only handle
dots.
2020-11-14 08:56:37 +01:00
Michael Black W9MDB
fe672e8115
Fix cppcheck for memcsv.c
2020-10-31 17:18:08 -05:00
Michael Black W9MDB
ce7a30f038
remove some cppcheck statements not needed anymore
2020-10-29 12:52:09 -05:00
Michael Black W9MDB
a70e45413a
Expand argument sizes for rigctl in order to accommodate Yaesu BS command reponse length
...
https://github.com/Hamlib/Hamlib/issues/424
2020-10-25 06:43:48 -05:00
Michael Black W9MDB
948e9d5f99
astyle files
2020-10-23 11:36:42 -05:00
Michael Black W9MDB
4e748df12b
Add -x/--uplink switch for GPredict. Will avoid reading freq from the uplink VFO 1=Sub, 2=Main
...
This will likely deprecate the twiddle option
https://github.com/Hamlib/Hamlib/issues/404
2020-10-23 11:34:42 -05:00
Michael Black W9MDB
d4e1e91272
Fix rigctl -W and --twiddle_timeout
2020-10-22 16:04:53 -05:00
Michael Black W9MDB
f52007d02d
Fix twiddle short command
2020-10-20 16:20:05 -05:00
Michael Black W9MDB
4c43689d6c
Add wait_morse to rigctl_parse.c
...
https://github.com/Hamlib/Hamlib/issues/422
2020-10-18 14:22:42 -05:00
Michael Black W9MDB
f5e22acbaf
Shorten wording on mw2power to clean up menu alignment
2020-10-18 12:28:15 -05:00
Bill Somerville
25851f74e1
Remove temporary file
2020-10-17 21:23:33 +01:00
Bill Somerville
2c5aaff0c4
Another attempt at a reliable SCS version header generation
2020-10-17 17:17:37 +01:00
Bill Somerville
e149c9980f
Correct use of sh if
2020-10-17 13:35:16 +01:00
Bill Somerville
d81a027063
Minimize rebuilding
2020-10-17 13:32:49 +01:00
Bill Somerville
d866d4dc33
Force copy over existing
2020-10-17 13:25:35 +01:00
Bill Somerville
c8a30f2ef3
Build hamlibdatetime.h every time
2020-10-17 12:30:08 +01:00
Bill Somerville
93560bf682
Fix rebuild dependency
2020-10-17 12:25:40 +01:00
Bill Somerville
aab02e5a27
Use BUILT_SOURCES make mechanism as intended
2020-10-17 12:11:47 +01:00
Michael Black W9MDB
de20ee6533
Fix hamlibdatetime.h error for in-git build
2020-10-16 23:17:28 -05:00
Bill Somerville
146bdf7d41
Fix make dist versioning
2020-10-17 03:18:30 +01:00
Bill Somerville
f38ee5c6f1
Ensure old hamlibdatetime.h headers in the source dir are ignored
2020-10-17 02:31:17 +01:00
Bill Somerville
8872ee50ad
Make version recording safe for parallel builds
...
without breaking make dist, developer, builds, downstream builds
whether in-source or out-of-source. Done by putting generated files in
the build tree rather than the source tree.
2020-10-17 01:48:24 +01:00
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