Wykres commitów

379 Commity (10accf17b83227ef16e27e15c7bf7df599cb89c8)

Autor SHA1 Wiadomość Data
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
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
Mike Black W9MDB 2da6c400f7 Add RTS/DTR capability to rotctl and ampctl 2023-07-20 11:58:26 -05:00
Mike Black W9MDB 4c8994d905 Add hamlib_version to dump_state 2023-07-20 10:01:30 -05:00
Mike Black W9MDB 5df0ae02f1 Allow W command to use any hex terminator 2023-07-17 09:33:18 -05:00
Mike Black W9MDB 52df1e4f0a Allow fd terminator for W command. Any fd value, e.g. fd, 0xfd, \0xfd will work 2023-07-17 09:28:37 -05:00
Mike Black W9MDB 94cce72428 Add hamlib_version command to rigctl/rigctld and format version date as ISO8601 2023-07-11 11:13:04 -05:00
Mike Black W9MDB 24f17730f4 Add \test command to rigctl -- first test routine is "cw"
https://github.com/Hamlib/Hamlib/issues/1281
2023-07-04 17:31:07 -05:00
max 44fa32c8cd Fix 'get_powerstat' command provided by rigctld by taking care of the given separator according to the extended response protocol 2023-06-29 16:20:00 +02:00
Mike Black W9MDB 5c3f26cc56 Cover more cases for detecting rig power 2023-06-20 17:32:16 -05:00
Mike Black W9MDB f9d27d0e35 Add get_vfo_list to help in rigctl 2023-06-11 14:15:32 -05:00
Mike Black W9MDB a6de41e206 rigctld can now see RIG_LEVEL values correctly
https://github.com/Hamlib/Hamlib/issues/1305
2023-06-03 16:50:30 -05:00
Mike Black W9MDB c85cf58235 astyle rigctl_parse.c 2023-05-30 16:10:52 -05:00
Mike Black W9MDB bdd16c8f20 Fix W command for rigctld
https://github.com/Hamlib/Hamlib/issues/1306
2023-05-30 15:57:33 -05:00
Mikael Nousiainen fd68723da1 Fix issues with power status handling in rigctl+rigctld and the Yaesu backend 2023-05-26 18:03:20 +03:00
Mikael Nousiainen cce66d3257 Fix power on/off bugs: rig_open() should succeed even if rig is powered off, auto power-on should not be automatically enabled (prevents turning rig off), fix Kenwood and Yaesu power on/off sequences for all rigs 2023-05-21 23:01:03 +03:00
Mikael Nousiainen eea12aff0a Merge master 2023-05-14 12:08:15 +03:00
Mike Black W9MDB 12384c7796 Change rigctl_parse to use ENTERFUNC2 instead of ENTERFUNC
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 16:11:46 -05:00
Mikael Nousiainen e89687668d Add flushing of rig port, including async data pipes, after \send_raw and \send_cmd to drain any extra rig responses 2023-05-13 00:04:37 +03:00
Mikael Nousiainen 92215dfd2a Fix bugs in \send_raw command and add possibility to specify any command terminator character. Add \stop_morse to Dummy rig. 2023-05-12 10:01:32 +03:00
Mikael Nousiainen 1596e125b6 Fix use of uninitialized variable 2023-05-10 20:57:33 +03:00
Mikael Nousiainen 4b8de5f96d Change float level granularity formatting to use %f to avoid E notation. Fix AGC_TIME level range for Icom rigs. Fix listing of AGC levels in \dump_caps. Add \stop_morse and \wait_morse in \dump_caps. Add simulation of responses in \send_cmd_rx and \send_raw for dummy rig (and if rig port type is NONE). Fix other minor issues. 2023-05-10 20:53:18 +03:00
Mike Black W9MDB dad55ef148 astyle files getting ready for WSJT-x-2.7.0rc1 2023-05-08 07:37:13 -05:00
Mike Black W9MDB addee81f43 Fix rigctld sending an extra space in front of send_morse string
Single space still works
https://github.com/Hamlib/Hamlib/issues/1281
2023-04-25 22:27:38 -05:00
Daniele Forsi IU5HKX 1c72440c51 Fix segfaults with malformed input and wrong command line arguments
Fixes:
NULL dereference.

Steps to reproduce:
echo L x | tests/ampctl
echo L x | tests/rigctl
echo L x | tests/rotctl
2023-04-10 19:44:49 +02:00