Wykres commitów

1220 Commity (f01a165ec774c98479543665b15074b39c831b73)

Autor SHA1 Wiadomość Data
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 f97736649f Remove #pragma from rigtestmcastrx.c
https://github.com/Hamlib/Hamlib/issues/695
2023-05-09 08:24:41 -05:00
Mike Black W9MDB ca763d4ff1 Clean up JSON
https://github.com/Hamlib/Hamlib/issues/695
2023-05-08 17:15:26 -05: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 f55e7b8348 Rename multicast test routines and clean up things a bit
Now works on mingw32 and Linux
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 23:23:01 -05:00
Mike Black W9MDB 62b9a12e89 Add multicastserver test
Fix compile warnings on mingw
2023-05-07 17:17:50 -05:00
Mike Black W9MDB b0357025e6 Add multicast.c to hamlib build
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 15:32:43 -05:00
Mike Black W9MDB 65a3305fa8 Add multicastclient to tests/Makefile.am
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 13:22:38 -05:00
Mike Black W9MDB b6f1cc4bc8 Attempt to get multicastclient working on mingw
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 10:59:43 -05:00
Mike Black W9MDB e3c2a8d6ca Add first implementation of multicast functions and multicastclient.c test program.
Next step will be to implement this when rig is opened.
This will turn Hamlib into a polling system in addition to polling -- caching will handle repeated requests
This should mean basic functions of freq, mode, split, ptt (and others when implemented) will have almost
immediate responses as only the cached values should be used.
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 06:50:35 -05:00
Mike Black W9MDB 1e9ecb079a Fix RT21 2nd device for elevation
https://github.com/Hamlib/Hamlib/issues/1257
https://github.com/Hamlib/Hamlib/issues/1258
2023-04-30 17:04:34 -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 6eee376cbf Fix name of command in the version text 2023-04-19 21:49:30 +02:00
Daniele Forsi IU5HKX f390aa499d Fix name of command in the usage and version texts 2023-04-19 21:41:07 +02: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
Daniele Forsi IU5HKX e11b4bd01c Fix segfaults with malformed input and wrong command line arguments
Fixes:
NULL dereference.

Steps to reproduce:
echo L | tests/ampctl
echo L | tests/rigctl
echo L | tests/rotctl
2023-04-10 19:44:40 +02:00
Daniele Forsi IU5HKX 96bb604b12 Fix typos 2023-04-09 23:06:32 +02:00
Mike Black W9MDB 22970f16de Fix Serial speed information in dumpcaps 2023-04-05 10:30:20 -05:00
Daniele Forsi IU5HKX 2db37fe7db Fix typos 2023-03-26 11:01:51 +02:00
Michael Black 18c4eb4631
Merge pull request #1251 from dforsi/fix/cppcheck
Fix/cppcheck
2023-03-18 08:41:35 -05:00
Daniele Forsi IU5HKX 01a2dd23ed Fix cppcheck "missingInclude" informational message
Fixes:
tests/rigtestlibusb.c:30:0: information: Include file: "libusb.h" not found. [missingInclude]
2023-03-18 11:17:18 +01:00
Daniele Forsi IU5HKX c3265dc905 Fix typos
Fixes:
rigctld.c:1233:5: warning: implicit declaration of function ‘mutext_rigctld’; did you mean ‘mutex_rigctld’? [-Wimplicit-function-declaration]
rigctltcp.c:1217:5: warning: implicit declaration of function ‘mutext_rigctld’; did you mean ‘mutex_rigctld’? [-Wimplicit-function-declaration]
2023-03-18 10:46:04 +01:00
Daniele Forsi IU5HKX 52d41236a7 Enable --show-conf for ampctl and ampctld 2023-03-18 10:25:36 +01:00
Mike Black W9MDB 57b7cd1860 Fix spelling error in rotctl.c help and add offset settings to rotctl.1 2023-03-16 16:41:35 -05:00
Daniele Forsi IU5HKX 3f90086991 [tests] Fix includes 2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX b6fe95ae80 [tests] Remove unused include of config.h 2023-02-14 19:57:27 +01:00
Mike Black W9MDB 2cec9e6d57 Update rigctlsync 2023-01-27 23:49:47 -06:00
Mike Black W9MDB 9bc5c4a883 Add rigctlsync utility to allow synchornizing a rig to SDR# 2023-01-27 23:35:31 -06:00
Mike Black W9MDB a47eba7ce4 Revert "Update NEWS"
This reverts commit 76a3ab19eb.
2023-01-24 11:25:49 -06:00
Mike Black W9MDB 76a3ab19eb Update NEWS 2023-01-24 11:23:47 -06:00
Mike Black W9MDB 52bed765ef Clean up rig power on/off sequencing for Kenwood/Elecraft rigs
Note that the K3/K3S cannot power on via CAT control
https://github.com/Hamlib/Hamlib/issues/1225
2023-01-22 23:41:21 -06:00
Mike Black W9MDB cdbd517228 Remove double execution of get_powerstat -- was causing rigctld to give an error
https://github.com/Hamlib/Hamlib/issues/1220
2023-01-21 12:55:44 -06:00
Mike Black W9MDB c78371353c Allow get_powerstat when rig is powered off
https://github.com/Hamlib/Hamlib/issues/1220
2023-01-19 17:15:59 -06:00
Mike Black W9MDB 6f6379e547 Add hamlibmodels to Makefile.am 2023-01-18 08:38:43 -06:00
Mike Black W9MDB b38739bcab Show AGC Level None when there are no AGC settings for rig
https://github.com/Hamlib/Hamlib/issues/1155
2023-01-18 07:09:28 -06:00
Mike Black W9MDB c0866e0bad Add hamlibmodels.c example 2023-01-17 16:23:45 -06:00
Mike Black W9MDB d180883f3e Allow rigctl/rigctld to continue when a bad set_conf is called -- just shows a warning now 2023-01-17 09:22:55 -06:00
Mike Black W9MDB 29a80fb496 Fix get_powerstat call when get_powerstat is not defined
https://github.com/Hamlib/Hamlib/issues/1217
2023-01-13 17:30:55 -06:00
Mike Black W9MDB 4a487ffdcc Fix rigctld agc level readings -- allow for rig backedn to specify "RIG_AGC_NONE" now for clarity if desired
https://github.com/Hamlib/Hamlib/issues/1155
2023-01-06 16:21:58 -06:00
Mike Black W9MDB 31d2939acc Fix auto_power_on check in rigctld.c 2023-01-05 10:02:46 -06:00
Mike Black W9MDB 902be172c1 Allow rigctld to start with autopower_on=0 and avoid timeouts at startup 2023-01-04 17:22:56 -06:00
Mike Black W9MDB 87cc9a8c3d Update ID5100 and ID4100
Promote ID5100 to stable
https://github.com/Hamlib/Hamlib/issues/1204
https://github.com/Hamlib/Hamlib/issues/1202
https://github.com/Hamlib/Hamlib/issues/1202
2023-01-04 15:40:36 -06:00
Mike Black W9MDB 9f0bd7b310 Add rigctltcp.c -- not working yet 2023-01-02 11:38:27 -06:00