Wykres commitów

506 Commity (37321a1df898022e0c2020839ca91c99a90a8e9c)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 534fe449a2 Fix more cppcheck items 2023-10-13 17:36:29 -05:00
Mike Black W9MDB d3edab3759 Fix cppcheck warnings
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-08 17:16:10 -05:00
Mike Black W9MDB 18e122196f Fix shadow variable warnings from cppcheck
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-01 17:38:13 -05:00
Mike Black W9MDB 93af897753 FIx always true cppcheck warnings
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-01 16:51:07 -05:00
Mike Black W9MDB 6e8d328fb1 Fix most of the redundant warning from cppcheck 2023-09-30 23:42:22 -05:00
Mike Black W9MDB 4d540b1459 Fix scope reductions from cppcheck 2023-09-30 22:50:16 -05:00
Mike Black W9MDB 5963e149a9 Fix IC-590 filter byte
https://github.com/Hamlib/Hamlib/issues/1375
2023-08-28 23:34:28 -05:00
Mike Black W9MDB 5d12e5f8bd Fix IC-905 10Ghz+ set/get freq and lower frequencies too
https://github.com/Hamlib/Hamlib/issues/1375
2023-08-27 15:43:28 -05:00
Mike Black W9MDB 6e7aec3077 Fix IC905 test for 5.8GHz (not MHz)
vi simic905.c
2023-08-27 12:33:11 -05:00
Mike Black W9MDB 875214eb54 Fix IC-905 set_freq -- get_freq should be working
https://github.com/Hamlib/Hamlib/issues/1375
2023-08-27 12:08:00 -05:00
Mike Black W9MDB 7eefc77f5d Revert "Fix G90 by changing set/get_mode_with_data to set/get_mode and suppress icom_get_dsp_flt"
G90 Firmware 1.80 fixes the x1a x03 command along with x25/x26
This reverts commit 01730082fb.
2023-08-18 09:27:05 -05:00
Mike Black W9MDB 01730082fb Fix G90 by changing set/get_mode_with_data to set/get_mode and suppress icom_get_dsp_flt
https://github.com/Hamlib/Hamlib/issues/1364
2023-08-18 08:06:14 -05:00
Mike Black W9MDB 147dea7651 Remove get_dsp_flt for G90 as it does not have that command 2023-08-17 22:57:11 -05:00
Mike Black W9MDB e887152407 Fix parm_gran
https://github.com/Hamlib/Hamlib/issues/1357
2023-08-17 16:04:45 -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 5ddfefb91d Fix cppcheck warnings 2023-08-02 17:32:40 -05:00
Mike Black W9MDB e155dfbf5e Fix cppcheck errors
https://github.com/Hamlib/Hamlib/issues/1350
2023-08-02 12:50:03 -05:00
Mike Black W9MDB 2852fba73f Increase sleep during power on for Icom to wait for serial port to wake up 2023-07-29 15:10:36 -05:00
Mike Black W9MDB bd1fcbe025 Adjust icom power up to use the mininum number of 0xfe's needed for the baud rate 2023-07-28 17:32:23 -05:00
Mike Black W9MDB 2c83486775 Minor changes to icom.c 2023-07-19 12:07:16 -05:00
Mike Black W9MDB f7bed3320e Fix set_split_mode for Icom rigs
Add some more send_morse fixes - still can't do speed change yet
2023-07-18 12:37:54 -05:00
Mike Black W9MDB b58c0a0fa4 IC-9700 VFO selection now works for VFOA, VFOB, MainA, MainB, SubA, and SubB
WSJT-X does not set VFOB mode when VFOA mode is already selected...must change VFOA mode and back again to set VFOB
2023-07-18 10:20:53 -05:00
Mike Black W9MDB 902cfd708f Improve Icom set_powerstat=1
Original 2023-07-16T09:28:43.323319-0600:    4:rig_set_powerstat: elapsed=10236ms
IC-7300  2023-07-16T09:46:48.814844-0600:    4:rig_set_powerstat: elapsed=4020ms
IC-9700  2023-07-16T10:36:27.239828-0600:    4:rig_set_powerstat: elapsed=5717ms
The goal is to tweak each rig for fastest result but need more testers for that
Slowest right now is IC-9700 which is the default value
Total timeout will be just over 10.5 seconds to allow rig to power on
https://github.com/Hamlib/Hamlib/issues/1325
2023-07-16 10:38:59 -05:00
Mikael Nousiainen c6d0365c3b Merge master and fix conflicts 2023-07-08 19:40:10 +03:00
Mike Black W9MDB 3cc6b7614c Fix IC7610 caps structure for new firmware test 2023-07-07 11:47:59 -05:00
Mike Black W9MDB f3cab55c4f Change set_mode_x26 to do correct VFO for 7600/7610
https://github.com/Hamlib/Hamlib/issues/1319
2023-06-27 14:28:37 -05:00
Mike Black W9MDB a3ac6e0be3 Change to using RIG_IS macros
Fix segfault on non 76XX rigs
https://github.com/Hamlib/Hamlib/issues/1319
2023-06-27 11:24:27 -05:00
Mike Black W9MDB c0c70b0146 Fix IC-7600 set/get freq to use new 0x25/x26 capability if available
https://github.com/Hamlib/Hamlib/issues/1319
2023-06-27 08:54:43 -05:00
Mike Black W9MDB 701aaab1c6 Ensure usb echo off is determined first thing for Icom rigs
https://github.com/Hamlib/Hamlib/issues/1318
2023-06-20 09:32:10 -05:00
Mike Black W9MDB b3a61cf00e astyle icom.c 2023-06-16 23:24:25 -05:00
Mike Black W9MDB f14c241f43 Fix IC-905 frequency -- needed to be 10Hz units 2023-06-16 22:32:13 -05:00
Mike Black W9MDB 88a1d88e0f Fix icom.c set_mode_with_data to skip mode if same and skip bandwidth if same or nochange
https://github.com/Hamlib/Hamlib/issues/1312
2023-06-09 17:06:46 -05:00
Mikael Nousiainen 4aec461337 Improve Icom power status handling. Add auto power on/off to netrigctl. 2023-06-08 18:56:29 +03:00
Mike Black W9MDB b25db51a51 Allow icom_send_morse to repeat a single char transmit when receiving a NAK 2023-06-06 10:42:30 -05:00
Mike Black W9MDB 21f0e560f7 For Icom rigs when PASSBAND_NOCHANGE is requested do not change the filter setting
https://github.com/Hamlib/Hamlib/issues/1309
2023-06-06 09:44:25 -05:00
Mike Black W9MDB 5745457d7f Fix anytone thread deletion 2023-05-30 22:10:19 -05:00
Mike Black W9MDB 6eb0735c75 Update Icom rigs that cannot query power status 2023-05-20 22:22:02 -05:00
Mike Black W9MDB 125273f7a2 Change IC7610 so use 0x03 for get_powerstat 2023-05-20 22:10:38 -05:00
Mike Black W9MDB 9528132f81 In icom.c show poweron with OK retval 2023-05-19 23:44:51 -05:00
Mike Black W9MDB 04ee4ec580 Fix IC7800 to use get_freq instead of 0x18 command since it cannot read power status 2023-05-18 11:40:43 -05:00
Mike Black W9MDB 474428082d Add rig_get_vfo for IC9700 -- seems we can use x07 0Xd2 to determine main/sub vfo now 2023-05-17 14:03:08 -05:00
Mikael Nousiainen eea12aff0a Merge master 2023-05-14 12:08:15 +03:00
Mike Black W9MDB c7cfc78303 Add IC7700 to rigs that don't have 0x25 2023-05-12 14:36:40 -05:00
Mike Black W9MDB e9cc1881dc Fix x25cmdfails detection in icom.c
https://github.com/Hamlib/Hamlib/issues/1277#issuecomment-1542655090
2023-05-10 14:42:22 -05:00
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 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 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 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
Daniele Forsi IU5HKX 2db37fe7db Fix typos 2023-03-26 11:01:51 +02:00
Daniele Forsi IU5HKX 8e24746a3e Fix typos 2023-03-19 22:20:28 +01:00
Daniele Forsi IU5HKX 7211730866 [icom] Fix includes 2023-02-16 19:08:24 +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 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 d16b52e414 Fix IC7300 5 second sleep during poweron
Reverse ID-5100 logic for dual watch mode
https://github.com/Hamlib/Hamlib/issues/1220
2023-01-22 10:49:15 -06:00
Mike Black W9MDB 0c2426c800 Add 5 second sleep during power on for IC7300
https://github.com/Hamlib/Hamlib/issues/1220
2023-01-21 17:21:04 -06:00
Mike Black W9MDB 268f44eb7d Remove one sleep from set_powerstat loop
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-18 23:32:18 -06:00
Mike Black W9MDB 3daed948a8 Make auto_power_on a bit more robust for RigPI which seems slow to get going
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-18 23:27:27 -06:00
Mike Black W9MDB 9d096c4ac9 Improve powerstat on/off behavior for Icom rigs
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-18 15:00:18 -06:00
Mike Black W9MDB 9861d1f87b Add dual watch capability for ID-5100
https://github.com/Hamlib/Hamlib/issues/1218
2023-01-18 08:49:11 -06:00
Mike Black W9MDB dc131cba7f Fix set_powerstat on/off/on for Icom rigs using rigctld power_on=0
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-10 08:46:10 -06:00
Mike Black W9MDB aa1cf567f6 Fix Icom poweron behavior
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-09 12:34:22 -06:00
Mike Black W9MDB 89fadca3bd For Icom rigs close and reopen rig after set_powerstat=1 -- Linux resets the usb device
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-09 09:50:25 -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 af9a7a6938 Make 3-byte Icom ID rigs show error message 2023-01-04 10:48:30 -06:00
Mike Black W9MDB 138795668f Fix ID5100 get/set_mode
Remove ID rigs freq_len check as civ_731 setting should cover it
https://github.com/Hamlib/Hamlib/issues/1204
2023-01-04 06:57:12 -06:00
Mike Black W9MDB 9c5809ffba Fix units for get freq for ID5100 ID4100 ID31 ID51
https://github.com/Hamlib/Hamlib/issues/1200
2023-01-03 17:54:04 -06:00
Mike Black W9MDB 1b6b78f54a Another attempt to fix get/set freq for ID5100 ID4100 ID31 ID51
https://github.com/Hamlib/Hamlib/issues/1202
https://github.com/Hamlib/Hamlib/issues/1200
2023-01-03 12:17:16 -06:00
Mike Black W9MDB 4c09344f32 Convert Icom 3-byte frequency to Hz from KHz
https://github.com/Hamlib/Hamlib/issues/1200
2023-01-02 23:04:54 -06:00
Mike Black W9MDB c7b33ef0b3 Fix ID5100 ID4100 ID31 ID51 get/set freq
Remove get_powerstat from ID4100 ID31 ID51 as it they are not capable
Add new rig_is_model function to help with Icom rig identification checks
https://github.com/Hamlib/Hamlib/issues/1202
https://github.com/Hamlib/Hamlib/issues/1200
2023-01-02 11:30:52 -06:00
Mike Black W9MDB 1ef3549e94 Fix rigctld showing the real rig agc_levels instead of all levels
Fix display of RIG_AGC_OFF
Add RIG_AGC_LONG
Fix PowerSDR AGC values
https://github.com/Hamlib/Hamlib/issues/1155
2022-11-23 23:29:18 -06:00
Mike Black W9MDB 7068378a91 Add data mode and targetable freq/mode to Xiegu X6100
https://github.com/Hamlib/Hamlib/issues/1154
2022-11-20 11:41:15 -06:00
Mike Black W9MDB 6c5e0e6974 Update astyle formatting 2022-11-16 15:30:36 -06:00
Mike Black W9MDB 2993ca9e62 Fix segfault in icom_get_powerstat 2022-11-08 15:09:09 -06:00
Mike Black W9MDB fde9ad706c Fix IC-7300 rig power on hopefully
https://github.com/Hamlib/Hamlib/issues/1142
2022-11-08 10:47:57 -06:00
Mike Black W9MDB c218996e2f Add RIG_FUNC_OVF_STATUS for IC-7300, IC-9700, IC-705, IC-R8600 2022-11-04 23:31:51 -05:00
Mike Black W9MDB d311153f63 Add AGC_TIME to IC-7300, IC-9700, and IC-705
https://github.com/Hamlib/Hamlib/issues/1136
2022-11-04 10:49:14 -05:00
Mike Black W9MDB b2cf596b54 IC7300 cannot get powerstat so use get_freq instead. There are likely more Icom rigs like this 2022-11-01 14:51:47 -05:00
Mike Black W9MDB 0d73bb22a0 Fix LEVEL_USB_AF
https://github.com/Hamlib/Hamlib/issues/1135
2022-11-01 12:25:42 -05:00
Mike Black W9MDB 6bd5ab89b6 Remove incorrect debug line in icom.c 2022-09-22 15:39:42 -05:00
Mike Black W9MDB 67b933ddb5 Update astyle for 4.5 release 2022-09-20 08:46:28 -05:00
Mike Black W9MDB 224ccc7839 Fix filter set for IC375 and promote to stable
https://github.com/Hamlib/Hamlib/issues/1113
2022-09-09 14:01:43 -05:00
Mike Black W9MDB 9cb511af00 Add some debug for Icom use_cached variables
https://github.com/Hamlib/Hamlib/issues/1108
2022-09-05 12:21:45 -05:00
Mike Black W9MDB 5701e73e1e Fix valgrind warning
https://github.com/Hamlib/Hamlib/issues/1108
2022-08-31 08:57:00 -05:00
Mike Black W9MDB 7e51932a9e Remove some debug from icom.c 2022-08-29 10:11:40 -05:00
Mike Black W9MDB c34f719337 Astyle files 2022-08-20 22:56:04 -05:00
Mike Black W9MDB 6965927fb4 Add IC275 to icom rigs that can't do 0x25 2022-08-19 07:55:20 -05:00
Mike Black W9MDB e8c36b2b4b Add some more rigs to icom.c that do not use 0x25/0x26 commands 2022-08-01 17:25:10 -05:00
Mike Black W9MDB 0b059cdb93 Fix icom.c debug statement 2022-08-01 13:24:10 -05:00
Mike Black W9MDB 6bd647f4ed Fix X5105 detection 2022-08-01 13:06:21 -05:00
Mike Black W9MDB 51650e9425 Remove get_dsp_flt for Xeigu X5105 2022-08-01 12:53:34 -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 4385b50b1f Add Xiegu X5105 from G90 config 2022-07-28 10:33:07 -05:00
Mike Black W9MDB a83eb3bf42 astyle files for 4.5 release 2022-07-27 17:16:17 -05:00
Mike Black W9MDB 05941406da This broke Icom rigs.
Revert "Improve debug output on icom_get_vfo to note Icom's inability to get current vfo"

This reverts commit 02b2dad5b0.
2022-07-22 15:51:22 -05:00
Mike Black W9MDB 02b2dad5b0 Improve debug output on icom_get_vfo to note Icom's inability to get current vfo 2022-07-22 12:57:11 -05:00