Mike Black W9MDB
cd1dc4c05d
Add ability to enter terminator char for W send_cmd_rx so one can do 'W FA; ;' without a timeout needed
2022-10-29 23:09:53 -05:00
Mike Black W9MDB
9c02b2ebc2
Fix Yaesu DT command and add 2 or 4 digit timezone option
...
https://github.com/Hamlib/Hamlib/issues/1132
2022-10-25 23:26:16 -05:00
Mike Black W9MDB
4dbce1a0aa
Add setvbuf to rigctl.c and rigctld.d to overcome non-buffering of stderr on mingw builds.
...
Should also speed up other OS's too since only 1 flush will be executed instead of 2
2022-10-02 08:06:50 -05:00
Mike Black W9MDB
67b933ddb5
Update astyle for 4.5 release
2022-09-20 08:46:28 -05:00
Mike Black W9MDB
b1d132dd27
Add -R option to rigctld to close the rig when no clients are connected
...
The FT-736 has to lock the rig for CAT control so this allows it to unlock when rigctld is idle
https://github.com/Hamlib/Hamlib/issues/1117
2022-09-16 08:33:51 -05:00
Mikael Nousiainen
2c5013662d
Fix warning message for allowed commands when rig is powered off
2022-08-23 00:14:12 +03:00
Mikael Nousiainen
dc02c566f5
Fix handling of the new EPOWER error code: do not re-open rig and fix/extend allowed commands when rig is powered off. Fix Yaesu newcat backend to not try to call rig ID command during command validation.
2022-08-23 00:10:25 +03:00
Mike Black W9MDB
c34f719337
Astyle files
2022-08-20 22:56:04 -05:00
Mike Black W9MDB
57f486bcc2
Reduce verbosity in rigctld.c
2022-07-31 12:15:14 -05:00
Mike Black W9MDB
37830f7442
Add error codes and messages to rigctl and rigctld --help
2022-07-30 15:45:04 -05:00
Mike Black W9MDB
36838e2f73
Fix AGC level patch to apply only to Icom rigs and check priv non null
...
https://github.com/Hamlib/Hamlib/issues/1096
2022-07-30 08:32:03 -05:00
Mike Black W9MDB
2b7c2ab5ce
Fix all Icom rigs AGC values for correct printout with dumpcaps
...
https://github.com/Hamlib/Hamlib/issues/1096
2022-07-29 23:44:17 -05:00
Mike Black W9MDB
2da9e4903a
Revert accidental commit on rigctld.c
2022-07-28 14:20:00 -05:00
Mike Black W9MDB
57aa5e8399
Revert "Fix FT897 freq set/get for > 100MHz"
...
This reverts commit 44ad5c6363
.
2022-07-28 07:10:13 -05:00
Mike Black W9MDB
a83eb3bf42
astyle files for 4.5 release
2022-07-27 17:16:17 -05:00
Mike Black W9MDB
627ec83652
Change malloc to calloc
2022-07-27 10:26:08 -05:00
Daniele Forsi IU5HKX
8af92926bb
Revert unwanted changes
2022-07-24 23:19:47 +02:00
Michael Black
74b4d7beb6
Merge pull request #1091 from dforsi/fix/unused-includes
...
Fix/unused includes
2022-07-24 11:44:01 -05:00
Daniele Forsi IU5HKX
7a132e2703
Remove unused includes
...
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Daniele Forsi IU5HKX
4dfe46edbb
Remove unused includes related to times and dates
...
Removes includes of time.h sys/time.h hamlibdatetime.h
2022-07-23 18:12:10 +02:00
Mike Black W9MDB
72c6bbf2c3
Allo chk_vfo and dump_caps while rig power is off
...
https://github.com/Hamlib/Hamlib/issues/1085
2022-07-20 22:26:18 -05:00
Mike Black W9MDB
f4f7bc9081
Allow rigctl/rigctld to timeout faster on startup
...
https://github.com/Hamlib/Hamlib/issues/1087
2022-07-18 09:51:45 -05:00
Mike Black W9MDB
6d329131af
Fix rigctld
...
https://github.com/Hamlib/Hamlib/issues/1087
2022-07-17 23:39:14 -05:00
Mike Black W9MDB
cbef79b873
Make rigctld powerstat query only when able and ETIMEOUT occurs
...
https://github.com/Hamlib/Hamlib/issues/1085
2022-07-17 08:31:15 -05:00
Mike Black W9MDB
d9c7fda5c9
Add global rig_powerstat so other rigctld clients can see powerstat
...
https://github.com/Hamlib/Hamlib/issues/1085
2022-07-16 07:54:27 -05:00
Mike Black W9MDB
ea9257db45
Add get_powerstat when rigctld gets an error in case rig gets powered off
2022-07-15 23:59:18 -05:00
Mike Black W9MDB
93ca57a555
Only check power on if backend has rig_get_powerstat
...
https://github.com/Hamlib/Hamlib/issues/1085
2022-07-15 16:16:11 -05:00
Mike Black W9MDB
0e2ec27646
Default to powerstat=RIG_POWER_ON
...
https://github.com/Hamlib/Hamlib/issues/1085
2022-07-15 16:06:06 -05:00
Mike Black W9MDB
d0c615ae43
Added EPOWER error return when rig is powered off
...
Only set_powerstat will be accepted and rig will be polled for powerstat
https://github.com/Hamlib/Hamlib/issues/1085
2022-07-15 15:41:23 -05:00
Mike Black W9MDB
668db3a0e2
Update rigctlcom information
2022-07-14 16:55:24 -05:00
Mike Black W9MDB
30884ae47e
Add amp_set_level and amp_set_ext_level
2022-07-14 08:14:41 -05:00
Mike Black W9MDB
0ec9622433
Interactive rigctld clients will now flush the line when a VFO error is encountered
...
https://github.com/Hamlib/Hamlib/issues/1041
2022-07-08 16:21:34 -05:00
Mike Black W9MDB
5e6c1eaef8
Rename TRACE to HAMLIB_TRACE to avoid conflict with MSVC
2022-07-04 07:26:30 -05:00
Mike Black W9MDB
7a73423200
In rigctld.c avoid closing already closed fsockin
2022-06-27 12:25:31 -05:00
Mike Black W9MDB
f7fe9dc239
Improved debug output to show multicast output and rigctl port info
2022-06-08 10:11:59 -05:00
Mike Black W9MDB
ad2f5047e0
Fix rig_set_lock_mode and rig_get_lock_mode
...
https://github.com/Hamlib/Hamlib/issues/1044
2022-06-06 22:54:10 -05:00
Mike Black W9MDB
0f25083d57
Clean up rigctl.c debug output
2022-06-04 08:12:08 -05:00
Mike Black W9MDB
f555eceff9
Got set_lock_mode and get_lock_mode working now
...
https://github.com/Hamlib/Hamlib/issues/1044
2022-06-02 15:55:56 -05:00
Mike Black W9MDB
f19d354ede
Astyle files
2022-05-29 12:06:44 -05:00
Mike Black W9MDB
fc26aa545f
Fix get_separator rigctl output
2022-05-29 12:06:03 -05:00
Mike Black W9MDB
ae67384daf
https://github.com/Hamlib/Hamlib/issues/1044
2022-05-29 12:00:03 -05:00
Mike Black W9MDB
0d46e5b92e
Fix check_buffer_overlow for rig_set_ant
2022-05-25 11:55:14 -05:00
Mike Black W9MDB
19f00558e4
More cleanup of rigctl_parse.c output
2022-05-22 23:01:14 -05:00
Mike Black W9MDB
1c379e793a
Clean up rig_get_level output in rigctl_parse.c
2022-05-22 22:45:25 -05:00
Mike Black W9MDB
febeb40722
Add resp_sep to a couple more places in rigctl_parse.c
2022-05-22 22:35:21 -05:00
Mike Black W9MDB
f44fe0ed31
Fix output format of rigctl_parse.c for non-interactive clients
...
Add ARG_NOVFO to get_vfo_info
2022-05-22 09:00:38 -05:00
Mike Black W9MDB
b1a4bb06ce
Astyle files
2022-05-21 13:23:51 -05:00
Mike Black W9MDB
11bcf03229
Add get_separator and set_separator to rigctld
...
This allows rigctld clients to change the reponse format
Multi-line response will use the new separator for fields and a newline at the end of message.
The allows node-red tcprequest to wait for newline and then parse the fields in one message.
https://github.com/Hamlib/Hamlib/issues/1015
2022-05-21 12:42:34 -05:00
Mike Black W9MDB
c9d31337b9
Fix MICDATA ptt with rigctld and the few rigs which needs this -- e.g. TS-590, TS-480, TS-890, TS-990. VX-1700. ICF-8101
...
https://github.com/Hamlib/Hamlib/issues/1033
2022-05-20 09:06:17 -05:00
Mike Black W9MDB
921d4d43ef
Add -S/--separator option to rigctld to allow something other then \n as a field separator
...
Should work better for node-red parsing
https://github.com/Hamlib/Hamlib/issues/1030
2022-05-19 12:28:49 -05:00