Wykres commitów

2595 Commity (4ae3519c4ef97d6966122237a5ebc7b7c55583ad)

Autor SHA1 Wiadomość Data
Mikael Nousiainen c80d45378a More fixes to command 0x25 logic 2023-05-10 22:39:45 +03:00
Mikael Nousiainen 716637c4ab Fix x25cmdfails logic to allow failure detection only once. Subsequent failures after an initial successful use of command 0x25 will not prevent use of the command. 2023-05-10 22:35:44 +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 d2924c7ae7 Add a flush in newcat.c get_powerstat 2023-05-09 14:13:17 -05:00
Mike Black W9MDB 1d96a84b44 Fix dangling pointer in aor.c 2023-05-08 23:58:52 -05:00
Mike Black W9MDB 4f0d78f1d9 Fix cppcheck warnings 2023-05-08 23:56:28 -05:00
Mike Black W9MDB a4c10c3206 Fix cppcheck warnings 2023-05-08 12:16:51 -05:00
Mike Black W9MDB 247f0f72cf Excludes IC9100 from updating x25cmdfails from satmode
The IC9100 never supports 0x25
https://github.com/Hamlib/Hamlib/issues/1284
2023-05-08 10:30:24 -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 2a758b96ab Fix compile warning in tci1x.c 2023-05-07 17:17:01 -05:00
Mike Black W9MDB 4a8a82ffc4 Fix icom.c 0x25 detection and add IC9100 to known rigs that doesn't have 0x25
https://github.com/Hamlib/Hamlib/issues/1284
2023-05-05 09:38:07 -05:00
Mike Black W9MDB 1ab828f8ef Reduce icom.c 0x25 warning to trace level -- the error is expected when rig does not support 0x25 2023-05-04 07:20:16 -05:00
Mike Black W9MDB d044ad998c Add retry to icom_get_ptt
https://github.com/Hamlib/Hamlib/issues/1283
2023-05-03 16:18:02 -05:00
Mike Black W9MDB ec64850901 Change netrigctl.c to return POWER_OFF when timeout occurs as opposed to invalid command
https://github.com/Hamlib/Hamlib/issues/1282
2023-05-03 15:40:00 -05:00
Mike Black W9MDB 5a079e03a4 Restore elecraft extended K2 cmd set to startup value 2023-04-30 09:52:24 -05:00
Mike Black W9MDB a349c3e07b Change ft817 startup timeout to 1500ms to avoid a timeout
https://github.com/Hamlib/Hamlib/issues/1278
2023-04-29 07:57:07 -05:00
Mike Black W9MDB e5a6055d57 Another attempt to fix ft817_get_vfo
https://github.com/Hamlib/Hamlib/issues/1278
2023-04-28 22:30:07 -05:00
Mike Black W9MDB 215aa6b92c Try to fix ft817 get_vfo to return the valid status bye
https://github.com/Hamlib/Hamlib/issues/1278
2023-04-28 08:20:57 -05:00
Mike Black W9MDB e82f127965 Allow icom read_frame to return when bus collision occurs
https://github.com/Hamlib/Hamlib/issues/1280
2023-04-26 15:38:08 -05:00
Mike Black W9MDB 07ba41d551 Add a retry in icom frame.c in case of collision
https://github.com/Hamlib/Hamlib/issues/1280
2023-04-25 11:07:25 -05:00
Mike Black W9MDB da94c8b770 Change ft817.c to not mask the low bit on eepromp reads -- hopefully this doesn't break everything
https://github.com/Hamlib/Hamlib/issues/1278
2023-04-25 08:52:42 -05:00
Mike Black W9MDB 1c1b9e7511 Enable async_io for IC-746 and IC-746PRO
https://github.com/Hamlib/Hamlib/issues/1280
2023-04-25 08:13:03 -05:00
Mike Black W9MDB 6fadbfb112 Change Icom 0x25 logic to only allow one detection
https://github.com/Hamlib/Hamlib/issues/1277
2023-04-25 08:00:43 -05:00
Mike Black W9MDB 4ba3a02512 FT-817 add 100ms delay during ft817_open to avoid initial cmd error during startup
https://github.com/Hamlib/Hamlib/issues/1278
2023-04-22 11:22:16 -05:00
Mike Black W9MDB 2af9f2c5b3 For FT-817 add sleep after set_vfo to allow vfo swap to occur
https://github.com/Hamlib/Hamlib/issues/1278
2023-04-21 22:05:42 -05:00
Mike Black W9MDB 6c410f164e This did not solve the problem with Win4Yaesu
Revert "https://github.com/Hamlib/Hamlib/issues/1275"

This reverts commit c02ded5b49.
2023-04-21 16:04:04 -05:00
Mike Black W9MDB c02ded5b49 https://github.com/Hamlib/Hamlib/issues/1275 2023-04-19 15:15:56 -05:00
Michael Black 3b66959f4e
Merge pull request #1274 from mikaelnousiainen/ts590sg-fixes
Fix and extend TS-590(S/SG) backend
2023-04-17 07:21:10 -05:00
Mikael Nousiainen 1a59ce2ae2 Fix and extend TS-590(S/SG) backend 2023-04-15 00:25:29 +03:00
Daniele Forsi IU5HKX 6f0efd59e6 Fix check for RIG_BUSBUSY
Fixes a cppcheck warning:
rigs/icom/frame.c:510:19: style: Redundant condition: The condition 'i != 14' is redundant since 'i < 0' is sufficient. [redundantCondition]
        if (i < 0 && i != RIG_BUSBUSY) /* die on errors */
2023-04-11 23:28:46 +02:00
Mike Black W9MDB 905c9fff95 Fix SDR++ giving wrong answer for get_powerstat
https://github.com/Hamlib/Hamlib/issues/1266
2023-04-10 09:37:01 -05:00
Michael Black 6c1d83ed86
Merge pull request #1269 from ncw/fix-qcx-cw-sending
Fix QRP Labs QCX Morse Sending
2023-04-09 22:14:00 -05:00
Michael Black cf77666cc1
Merge pull request #1268 from dforsi/fix/doxygen
Add/fix Doxygen comments
2023-04-09 22:13:42 -05:00
Daniele Forsi IU5HKX 96bb604b12 Fix typos 2023-04-09 23:06:32 +02:00
Mike Black W9MDB e5a00cddb9 Fix case where netrigctl gets a 0 answer to chk_vfo
https://github.com/Hamlib/Hamlib/issues/1266
2023-04-09 08:29:48 -05:00
Nick Craig-Wood 2c283ab47a Fix QRP Labs QCX Morse Sending
Before this fix, hamlib used the TS480 protocol for sending morse
which adds a lot of spaces on the end.

The QCX actually uses the Elecraft morse sending protocol so switch it
over to using that.

Tested with QCX Mini firmware v1.09a
2023-04-09 14:00:25 +01:00
Daniele Forsi IU5HKX 8d40732064 Fix initializer-overrides warnings by clang
Fixes:
dx77.c:225:5: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
    {
    ^
dx77.c:217:23: note: previous initialization is here
    .tx_range_list2 = {RIG_FRNG_END,},
                      ^~~~~~~~~~~~~~~

ft991.c:356:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
    .scan =               newcat_scan,
                          ^~~~~~~~~~~
ft991.c:352:27: note: previous initialization is here
    .scan =               newcat_scan,
                          ^~~~~~~~~~~
2023-03-28 19:53:29 +02:00
Mike Black W9MDB 79db09c201 Fix PS0; command in newcat.c
https://github.com/Hamlib/Hamlib/issues/1220
2023-03-28 10:24:31 -05:00
Mike Black W9MDB 224820fb44 Fix rigctld get_powerstat
https://github.com/Hamlib/Hamlib/issues/1220
2023-03-28 09:43:26 -05:00
Daniele Forsi IU5HKX 692deca638 Remove duplicated conditions
Fixes:
rigs/yaesu/newcat.c:10537:9: style: Same expression 'strcmp(priv->cmd_str,"IS1;")==0' found multiple times in chain of '||' operators. [duplicateExpression]
        || strcmp(priv->cmd_str, "IS1;") == 0
        ^
rigs/yaesu/newcat.c:10548:9: style: Same expression 'strcmp(priv->cmd_str,"NR0;")==0' found multiple times in chain of '||' operators. [duplicateExpression]
        || strcmp(priv->cmd_str, "NR0;") == 0
        ^
rigs/yaesu/newcat.c:10549:9: style: Same expression 'strcmp(priv->cmd_str,"NR1;")==0' found multiple times in chain of '||' operators. [duplicateExpression]
        || strcmp(priv->cmd_str, "NR1;") == 0
        ^
rigs/yaesu/newcat.c:10552:9: style: Same expression on both sides of '||'. [duplicateExpression]
        || strcmp(priv->cmd_str, "OS0;") == 0
        ^
2023-03-26 23:00:38 +02:00
Daniele Forsi IU5HKX 2db37fe7db Fix typos 2023-03-26 11:01:51 +02:00
Mike Black W9MDB ac197389a2 Fix IC-7160 get_powerstat to disable it...cannot read power status from 7610 2023-03-25 11:20:52 -05:00
Mike Black W9MDB 8cdb21b6f3 Add ST command detection to set_cmd_validate in newcat.c 2023-03-22 15:09:48 -05:00
Mike Black W9MDB 7914842c2d Another attempt to make Mac compiler happy
https://github.com/Hamlib/Hamlib/issues/1256
2023-03-21 12:03:10 -05:00
Mike Black W9MDB 9f960fa531 Try another fix for MacOS compile
https://github.com/Hamlib/Hamlib/issues/1256
2023-03-21 10:05:26 -05:00
Mike Black W9MDB 2712c57058 Try another fix for MacOS compile
https://github.com/Hamlib/Hamlib/issues/1256
2023-03-21 10:04:41 -05:00
Mike Black W9MDB d893de407e Fix Mac compile error in newcat.c
https://github.com/Hamlib/Hamlib/issues/1256
2023-03-21 08:44:29 -05:00
Mike Black W9MDB cf956daf17 Clean up id5100.c 2023-03-20 23:20:40 -05:00
Mike Black W9MDB 3254ac70a1 Change FT991, FTDX101MP, FTDX3000 to use ; for command validation
https://github.com/Hamlib/Hamlib/issues/1252
2023-03-20 23:10:35 -05:00
Daniele Forsi IU5HKX 8e24746a3e Fix typos 2023-03-19 22:20:28 +01:00
Mike Black W9MDB 113cad3ee1 For K3 prevent ID; command from K22; command
Remote ops was having a problem with K22;
https://github.com/Hamlib/Hamlib/issues/1254
2023-03-18 23:40:45 -05:00
Mike Black W9MDB fd473062d1 astyle kenwood.c 2023-03-18 15:21:30 -05:00
Leif Sawyer 09a6bbf7c7 Support 5ghz/60M memory channels 2023-03-09 13:56:09 -09:00
Mikael Nousiainen f17f6f0f42 Disable rig port flushing when async I/O is enabled. Improve validation of Icom frames. 2023-03-08 23:35:08 +02:00
Michael Black 0e6fd996bc
Merge pull request #1244 from mikaelnousiainen/ts2000-fixes
Improve Kenwood TS-2000 backend
2023-03-08 15:31:58 -06:00
Mike Black W9MDB 2f68033840 Fix set_vfo in jst145.c 2023-03-07 15:38:28 -06:00
Mike Black W9MDB 95196ca96c Fix set_freq in jst145.c 2023-03-07 15:00:00 -06:00
Mikael Nousiainen ec0645780c Fix Kenwood TS-2000 bugs and implement essential commands for remote control 2023-03-07 10:38:20 +02:00
Mike Black W9MDB d06244c47f Re-enable set/get mem for xg3 2023-03-05 17:03:29 -06:00
Mike Black W9MDB eb5767c0ca Align xg3 with kenwood_priv and remove set/get mem for xg3 for now 2023-03-05 13:19:43 -06:00
Mike Black W9MDB e428d824cd Fix xg3 set_freq 2023-03-05 13:12:33 -06:00
Daniele Forsi IU5HKX 9ad9f23fe1 Fix unterminated comment
Fixes a cppcheck error:
rigs/mds/serialnum.c:106:1: error: Unmatched '}'. Configuration: ''. [syntaxError]
2023-03-04 23:13:11 +01:00
Mike Black W9MDB fe1eabf531 Win4Yaesu is not recognizing EX commands so we ignore errors on the EX command for some Yaeus rigs 2023-02-28 16:57:47 -06:00
George Baltz N3GB 07fc69f3e8 Enable first user of check_level_param
Use check_level_param for all RIG_LEVEL_CWPITCH sets for Kenwood rigs.
Note that the placement of the call is temporary; eventually it should
be moved outside the main switch statement, and invoked for all set_levels.
2023-02-26 13:12:52 -05:00
George Baltz N3GB a9b9154a2d Round 2. 2023-02-26 13:12:52 -05:00
George Baltz N3GB 00e2797c6f First round of level_gran additions.
Issue: #1144
2023-02-26 13:12:52 -05:00
George Baltz N3GB bc476a1c94 ATTenuator level 0 should always be allowed - to turn it off. 2023-02-26 13:12:52 -05:00
George Baltz N3GB f5a1dabd06 Add missing level definitions for TS-590SG 2023-02-26 13:12:52 -05:00
Mike Black W9MDB a9cb121584 Add stop_morse for some Kenwood rigs 2023-02-25 22:11:11 -06:00
Mike Black W9MDB 717dae5027 Fix potential segfault in cmdstr check in kenwood.c 2023-02-21 11:44:12 -06:00
Mike Black W9MDB 514d87dcc9 astyle kenwood.c 2023-02-19 17:01:42 -06:00
Mike Black W9MDB 10ac497c0b Improve response of ;;;;PS1; command 2023-02-19 16:56:51 -06:00
Michael Black 1edb21a38d
Merge pull request #1237 from dforsi/fix/unused-includes
Remove unused includes and add useful includes
2023-02-16 12:20:44 -06:00
Daniele Forsi IU5HKX 52be0797d8 [rigs/*] Fix includes 2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX 7673abc59b [yaesu] Fix includes 2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX 420125b8bc [kenwood] Fix includes 2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX 7211730866 [icom] Fix includes 2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX d09c048161 [rigs/*] Remove unused include of config.h 2023-02-14 19:57:48 +01:00
Daniele Forsi IU5HKX a04abe6e04 [yaesu] Remove unused include of config.h 2023-02-14 19:30:51 +01:00
Daniele Forsi IU5HKX 5c17054295 [kenwood] Remove unused include of config.h 2023-02-14 19:29:22 +01:00
Daniele Forsi IU5HKX 2e894dd9cc [icom] Remove unused include of config.h
Found wih "Include What You Use".
2023-02-14 19:21:18 +01:00
Mike Black W9MDB 9dbe4ef79a Separate the validation cmd in newcat.c to allow rig post_write_delay to be in effect
https://github.com/Hamlib/Hamlib/issues/1219
2023-02-14 09:22:50 -06:00
Mike Black W9MDB 58700c6e9f Increase post_write to 20ms for FT710
https://github.com/Hamlib/Hamlib/issues/1235
2023-02-12 07:26:28 -06:00
Mike Black W9MDB 4078fa9248 Fix ID5100 S Main 1 Sub
https://github.com/Hamlib/Hamlib.git
2023-02-10 16:49:37 -06:00
Mike Black W9MDB 111627533f Changes to support ID-5100 in gpredict.
Can now set set freq/mode on VFOA/B or Main/Sub correctly automatically switching dual watch mode as needed
2023-02-10 08:02:48 -06:00
Mike Black W9MDB f9adf5de0a Add attenuator level control for TS890
Update SMeter/SWR tables for TS890
Thanks to N3GB George Baltz
2023-02-08 12:02:19 -06:00
Mike Black W9MDB 907a178aa6 Some fixes for th.c operation
https://github.com/Hamlib/Hamlib/issues/1230
2023-02-06 16:01:08 -06:00
Mike Black W9MDB 73fc563ceb Add fix for TMD700
https://github.com/Hamlib/Hamlib/issues/1230
2023-02-06 15:58:18 -06:00
Mike Black W9MDB cc7c335dc5 Improve FT-857 get_vfo response when error occurs
This could be FT-857 EEPROM burnout
https://github.com/Hamlib/Hamlib/issues/1232
2023-02-06 15:14:34 -06:00
Mike Black W9MDB c903c09cd1 Allo FT-857 to return cached vfo when set_vfo is called and EEPROM read error occurs
https://github.com/Hamlib/Hamlib/issues/1232
2023-02-06 11:11:17 -06:00
Mike Black W9MDB b037c72c50 Fix AF level control for FTDX10 and FT710
https://github.com/Hamlib/Hamlib/issues/1231
2023-02-05 17:28:23 -06:00
Mike Black W9MDB 0e9bdc5d04 Fix spelling error in kenwood.c 2023-02-04 17:08:31 -06:00
Mike Black W9MDB 1efff461e3 Have icom rigs show debug when civ addr has been changed and timeout occurs
https://github.com/Hamlib/Hamlib/issues/1229
2023-02-04 14:22:57 -06:00
Mike Black W9MDB c055817c27 Fix FT-450D detection 2023-02-04 06:35:40 -06:00
Mike Black W9MDB fa503c5b3b Change TM-D700 and TM-D710 to hardware flow control
https://github.com/Hamlib/Hamlib/issues/1228
2023-02-01 22:19:02 -06:00
Mike Black W9MDB d645bae207 Ensure K4 is in K40 mode when requesting ID 2023-02-01 16:50:10 -06:00
Mike Black W9MDB 8a25a3be90 Fix sdrsharp model name to show gpredict 2023-01-27 17:46:46 -06:00
Mike Black W9MDB ff64d86fd9 Fix sdrsharp manufacturer name 2023-01-27 17:44:08 -06:00
Mike Black W9MDB 5c36bef6c2 Fix compile warning in sdrsharp.c 2023-01-27 17:39:14 -06:00
Mike Black W9MDB 41a8a50e65 Add SDR# rig for use with SDR#'s gpredict pluigin -- can only get/set freq 2023-01-27 17:31:24 -06:00