Mike Black W9MDB
31298bb917
Reduce debug in icom.c
2023-11-05 16:39:49 -06:00
Mike Black W9MDB
464fa3f478
Revert "Promote token_t to unsigned long long"
...
This broke several things -- have to do this inside kenwood.c instead
This reverts commit 01292b261f
.
2023-10-21 12:39:47 -05:00
Mike Black W9MDB
01292b261f
Promote token_t to unsigned long long
...
https://github.com/Hamlib/Hamlib/issues/1402
2023-10-19 23:35:20 -05:00
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