Mike Black W9MDB
940814617b
Update set_clock options again
2024-08-30 16:36:10 -05:00
Mike Black W9MDB
954fd00161
Fix set_clock information
2024-08-30 10:17:55 -05:00
Mike Black W9MDB
abd6d4f388
Avoid possible segfault
2024-07-19 22:39:12 -05:00
Mike Black W9MDB
8b9c768063
Update info in riglist.h
...
Make check for mfg_name or model_name of Misc, Other, or Dummy for GM3ZZA's application
Just to avoid ever using these accidentally
2024-07-14 22:57:40 -05:00
George Baltz N3GB
06301679d3
Balance ENTERFUNC/RETURNFUNC usage
...
Still some unbalanced RETURNFUNC2 usage, but doesn't affect any rig data.
2024-06-26 10:16:12 -04:00
George Baltz N3GB
2794d2dfe1
More state pointer changes
...
Done with search/replace
Less than 2300 left to do
2024-06-01 16:59:17 -04:00
Mike Black W9MDB
c73c728b5e
Allow rigctl w command to quote arg1 for use by SmartSDR
...
e.g. w "C0|set slice 0 tx=1"
2024-05-22 11:44:54 -05:00
Mike Black W9MDB
878243aff3
Fix FLRig 'w' and 'W' command reply display
2024-04-04 07:53:06 -05:00
Mike Black W9MDB
9a7dda25c8
w command now recognizes ; and 0xfd as valid endings for faster response instead of timeout
...
Stacking commands with w and W works e.g. FA;FB;
Still need to allow for hex values with simple form "xfe xfe...." instead of "\0xfe \0xfe..." -- more in-line with FLRig format
https://github.com/Hamlib/Hamlib/issues/1536
2024-04-02 16:26:27 -05:00
Mike Black W9MDB
41de3425d2
Fix hamlib_version in netrigctl_open and blank agc_levels from FLRig
2024-03-31 12:22:02 -05:00
Mike Black W9MDB
59fca440a5
Fix rigctld CPU usage when client impolitely disconnects
2024-03-30 17:21:29 -05:00
Mike Black W9MDB
8ebffd20b6
Fix get_vfo_info compatibility with Log4OM
...
https://github.com/Hamlib/Hamlib/issues/1531
2024-03-25 17:50:39 -05:00
Mike Black W9MDB
6d257841a6
Fix some memory leaks in rigctl_parse.c
2024-03-15 16:46:14 -05:00
Mike Black W9MDB
b9e59f205e
Fix compile error
...
https://github.com/Hamlib/Hamlib/issues/1524
2024-03-14 22:43:10 -05:00
George Baltz N3GB
728db84c0c
Finish tests/*
2024-03-01 12:27:26 -05:00
Mike Black W9MDB
25ee5d65d5
Fix rigctld vfo_ops
...
https://github.com/Hamlib/Hamlib/issues/1518
2024-02-28 17:30:41 -06:00
Mike Black W9MDB
05033171c3
Change token_t to hamlib_token_t to avoid collsions with libbsm and others
...
https://github.com/Hamlib/Hamlib/issues/1469
2024-01-21 23:11:55 -06:00
Mikael Nousiainen
051e671bfa
Merge upstream changes and fix conflicts. Use snprintf() in most sprintflst.c functions to avoid buffer overflows.
2024-01-04 10:43:15 +02:00
Mike Black W9MDB
bd746387f9
Fix set_ant and get_ant for rigctl -m 2 dump_caps
...
https://github.com/Hamlib/Hamlib/issues/1466
2023-12-29 15:59:34 -06:00
Mikael Nousiainen
1cc08d2f00
Merge upstream and fix conflicts
2023-12-19 18:03:12 +02:00
Mike Black W9MDB
e267c62764
astyle files
2023-12-16 11:37:58 -06:00
Mike Black W9MDB
9841e500b9
Fix ptt_share segmentation fault
...
https://github.com/Hamlib/Hamlib/issues/1433
Fix ID5100 0x25 and simplex VFO actions
https://github.com/Hamlib/Hamlib/issues/1429
2023-11-23 15:00:05 -06:00
Mikael Nousiainen
7b341a2ad6
Merge branch 'master' into streamline-vfo-targeting-and-split-functionality
2023-11-20 10:16:15 +02:00
Mikael Nousiainen
7d5f540b9c
Fix bugs in dummy rig. Report errors (incl. timeouts) from icom_get_powerstat(), because the timeout reason is often something else than rig being powered off. Check for power status changes in rigctld/rigctl command loops.
2023-11-20 10:15:45 +02:00
Mike Black W9MDB
8478367223
Improve rigctld printout when TCP session is aborted
2023-11-14 10:23:14 -06:00
Mike Black W9MDB
f57b7cba71
Revert commit 1c379e793a
...
Removing LF from here caused "l ?" to not have CR where "L ?" does.
I don't see the problem with a CR to end the printout.
Not sure why this was removed before...bad documentation on my part.
2023-11-14 07:42:38 -06:00
Mike Black W9MDB
5d7db6b516
Fix FLRig SWR value
...
Change float level print to %g format for better appearance
https://github.com/Hamlib/Hamlib/issues/1417
2023-11-08 17:14:10 -06:00
Mike Black W9MDB
02ffc6d6dc
More set_conf/get_conf work
...
https://github.com/Hamlib/Hamlib/issues/971
2023-11-05 17:03:21 -06:00
Mike Black W9MDB
6b558c5d2a
Revert "Add nonblocking mode to multicast for recv_from use"
...
This reverts commit f9bd07bbf5
.
2023-10-30 10:21:58 -05:00
Mike Black W9MDB
f9bd07bbf5
Add nonblocking mode to multicast for recv_from use
...
https://github.com/Hamlib/Hamlib/issues/695
2023-10-30 10:20:52 -05:00
Mike Black W9MDB
680ce55ba2
Revert "Fix get_vfo_info VFO argument"
...
This reverts commit 1bf2111c7a
.
2023-10-15 22:53:27 -05:00
Mike Black W9MDB
1bf2111c7a
Fix get_vfo_info VFO argument
2023-10-15 22:47:23 -05:00
Mike Black W9MDB
d72127f29a
Fix cppcheck warnings
2023-10-11 23:22:42 -05:00
Mike Black W9MDB
501c4b62c9
cppcheck fixes
2023-10-11 09:01:15 -05:00
Mike Black W9MDB
744eb5fc5d
Revert to VFO argument for set_ant and get_ant
...
https://github.com/Hamlib/Hamlib/issues/1399
2023-10-10 10:44:39 -05:00
Mike Black W9MDB
e68b6f98b5
Add RIG_CONF_INT
...
Fix AGC_LAST value thanks to cppcheck
2023-10-08 17:18:16 -05:00
Mike Black W9MDB
fd1c48bfab
Fix printout of ext_level
2023-10-08 16:51:39 -05:00
Mike Black W9MDB
64d6cd4af2
Update some rigctl commands that do not need the VFO argument
2023-10-07 14:10:50 -05:00
Mike Black W9MDB
1a4a189dbc
Try to make rigctl(d)/rotctl(d) a little more robust in case of bad data
...
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-02 10:48:26 -05:00
Mike Black W9MDB
404ceb8c4b
Change send_morse, stop_morse, send_voice_mem, and stop_voicemem to not require a VFO argument
...
https://github.com/Hamlib/Hamlib/issues/1365
2023-08-21 15:16:32 -05:00
Mike Black W9MDB
cca3891362
Change L METER to allow meter names in addition to numeric
...
Change l METER to return meter number=name instead of just number
Hopefully doesn't mess up anybody using this function via rigctl/rigctld uf they parsing the number correctly.
It's easier for users with to use/see text names for both set/get
https://github.com/Hamlib/Hamlib/issues/1369
2023-08-20 16:03:25 -05:00
Mike Black W9MDB
1ad43a44ba
Fix KEYERTYPE
...
https://github.com/Hamlib/Hamlib/issues/1363
2023-08-19 08:43:06 -05:00
Mike Black W9MDB
3814f2dadf
Add set_voice_mem and stop_voice_mem for K3/K3S/K4
...
https://github.com/Hamlib/Hamlib/issues/1367
2023-08-18 16:49:35 -05:00
Mike Black W9MDB
36dade6e6c
Strip CR/LF from 'b' command input
...
https://github.com/Hamlib/Hamlib/issues/1365
2023-08-18 12:20:41 -05:00
Mike Black W9MDB
0edd1df223
Add more KEYERTYPE implementaions to Icom rigs
2023-08-18 00:04:59 -05:00
Mike Black W9MDB
ccd6472f03
Fix KEYERTYPE in ic7300.c and add parsing of STRAIGHT, BUG, PADDLE for rigctl(d)
...
https://xiegu.eu/downloads/
2023-08-17 22:49:20 -05:00
Mike Black W9MDB
2bc28f2dea
Fix duplicate printout in get_parm
...
https://github.com/Hamlib/Hamlib/issues/1361
2023-08-14 12:35:28 -05:00
Mike Black W9MDB
003b50bc57
Standardize extended response in rigctld for level, func, and parm
...
,l VFOA AGC
get_level: VFOA,AGC,0,RPRT 0
,u VFOA RIT
get_func: VFOA,RIT,0,RPRT 0
,p ANN
get_parm: currVFO,ANN,0,RPRT 0
Error example
,p NB
get_parm: currVFO,NB,RPRT -1
https://github.com/Hamlib/Hamlib/issues/1361
2023-08-13 23:23:23 -05:00
Mike Black W9MDB
d7d450df49
Add parm BANDSELECT for Yaesu rigs
...
'p BANDSELECT' returns current band of VFOA
'P BANDSELECT BAND160M' example selects the 160M band
'P BANDSELECT ?' shows bands available for the rig
Kenwood rigs will be next
Icom rigs TBD when Icom explains the return from 0x1a 0x01 -- no bandselect possible so manual setting of rig values
https://github.com/Hamlib/Hamlib/issues/1353
2023-08-11 10:40:42 -05:00
Mike Black W9MDB
9ad070c33f
Add gpio command to rigctl(d) usable with pttport setting CM108
...
e.g. to set gpio2 on use 'gpio GPIO2 1" and off "gpio GPIO2 0"
Should work with GPIO1-4
New API funcions rig_cm108_get_bit rig_cm108_set_bit
https://github.com/Hamlib/Hamlib/issues/1121
2023-07-22 10:32:25 -05:00