Wykres commitów

440 Commity (63a51c36a1728a3f91715cda4d78f6c3c4bbf911)

Autor SHA1 Wiadomość Data
Michael Black W9MDB c426713a4b Fix debug statement data types in icom/frame.c 2021-01-08 07:56:17 -06:00
Michael Black W9MDB 16d76eff4b Add debug to icom/frame.c
https://github.com/Hamlib/Hamlib/issues/490
2021-01-07 15:50:50 -06:00
Michael Black W9MDB 02c0854434 In icom.c init() set priv->filter to RIG_PASSBAND_NOCHANGE to fix set_mode rigs with 2-byte cmds
https://github.com/Hamlib/Hamlib/issues/490
2021-01-06 17:04:44 -06:00
Michael Black W9MDB 98d9b535ef Change max baud on ic7300 to 115,200 2020-12-29 10:01:02 -06:00
Michael Black W9MDB 3211e3aea1 astyle files 2020-12-21 23:50:29 -06:00
Steve Mobley 61956faeb3 Add bank select to IC-7100 2020-12-22 00:13:05 -05:00
Mikael Nousiainen 9e62b2783f Fix RIG_PASSBAND_NOCHANGE use with Icom data modes. Allow selecting FIL2 as normal passband when in data mode. Add new Icom rigs to list that determines whether Icom data mode command supports setting filter too. 2020-12-21 18:15:15 +02:00
Michael Black W9MDB 2b1bce89bf Fix icom default filter settings
https://github.com/Hamlib/Hamlib/issues/471
2020-12-19 14:30:31 -06:00
Michael Black W9MDB 263f1cde72 astyle files 2020-12-17 15:07:04 -06:00
Michael Black W9MDB 2a0deb3415 Add RIG_LEVEL_RFPOWER_METER_WATTS
Old level of 0-1 just doesn't work well with the varying power levels in rigs now
2020-12-16 17:47:49 -06:00
Michael Black W9MDB 9b98a264ab Fix datamode set in icom.c to use 0x00 0x00 per the manual for 7300 and 9700
https://github.com/Hamlib/Hamlib/issues/448
2020-12-13 00:01:09 -06:00
Michael Black W9MDB 5883897656 icom.c passband nochange seems to be working
https://github.com/Hamlib/Hamlib/issues/448
2020-12-12 23:05:59 -06:00
Michael Black W9MDB cdeacfb7d1 move icom.c icmode_ext setting a bit earlier in the code
https://github.com/Hamlib/Hamlib/issues/448
2020-12-12 15:38:42 -06:00
Michael Black W9MDB ddb38db106 Set icom_set_mode to use existing filter for passband nochange
https://github.com/Hamlib/Hamlib/issues/448
2020-12-12 15:33:38 -06:00
Michael Black W9MDB 9bc98c9a2e Add filter memory to frame.c for no passband change
https://github.com/Hamlib/Hamlib/issues/448
2020-12-12 13:22:49 -06:00
Michael Black W9MDB 7cd09fdd84 Fix passband nochange in icom frame.c
https://github.com/Hamlib/Hamlib/issues/448
2020-12-12 13:00:26 -06:00
Michael Black W9MDB 3061a5f8b2 Fix icom filter value, not ASCII!!!
https://github.com/Hamlib/Hamlib/issues/448
2020-12-12 12:40:04 -06:00
Michael Black W9MDB 0fa00cb14f Missed icom.h commit
https://github.com/Hamlib/Hamlib/issues/448
2020-12-12 12:31:32 -06:00
Michael Black W9MDB 915666add2 Remember filter setting from icom_get_mode so we can refer to it later on set_mode
https://github.com/Hamlib/Hamlib/issues/448
2020-12-12 12:21:54 -06:00
Michael Black W9MDB e4e88b833d Eliminate warning in icom.c for passband nochange
https://github.com/Hamlib/Hamlib/issues/448
2020-12-12 11:24:07 -06:00
Michael Black W9MDB f22d4a6dbe Update icom.h version 2020-12-12 10:07:03 -06:00
Michael Black W9MDB c0743dfe6e astyle icom.c 2020-12-12 10:06:44 -06:00
Michael Black W9MDB 2ff3fa0782 icom now recognizes RIG_PASSBAND_NOCHANGE
https://github.com/Hamlib/Hamlib/issues/448
2020-12-12 10:06:00 -06:00
Michael Black W9MDB 5fc36df249 astyle files 2020-11-30 14:53:55 -06:00
Michael Black W9MDB c70d841b83 Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
Michael Black W9MDB fbc44864b3 Promote IC-705 to stable 2020-11-21 23:09:11 -06:00
Michael Black W9MDB 20fc303686 Fix set_mode for IC-7000
https://github.com/Hamlib/Hamlib/issues/428
2020-11-03 15:24:06 +00:00
Michael Black W9MDB 51b4e0966c Remove bad targetable code from rigs
https://github.com/Hamlib/Hamlib/issues/430
https://github.com/Hamlib/Hamlib/issues/414
2020-11-01 17:05:29 -06:00
Michael Black W9MDB fd9e5d841b Backing out targetable flags due to segfault on Linux
https://github.com/Hamlib/Hamlib/issues/431
2020-11-01 15:35:17 -06:00
Michael Black W9MDB 5721db70be Added two more targetable flags for MEM and BANK to avoid VFO swapping
https://github.com/Hamlib/Hamlib/issues/430
https://github.com/Hamlib/Hamlib/issues/414
2020-11-01 07:48:52 -06:00
Michael Black W9MDB 74356b3a99 Add RIG_TARGETABLE_PTT and RIG_TARGETABLE_RITXIT
For most rigs these are non-vfo specific commands so we can avoid doing VFO switching
Add flags to all Yaesu, Icom, and Kenwood in rig_open
Some rigs do have VFO specific but it's already in the backend
More rigs can use these flags..TBD...
https://github.com/Hamlib/Hamlib/issues/430
2020-10-31 17:19:08 -05:00
Michael Black W9MDB 06cc95de56 WSJT-X is working with the IC-729 so promotint to stable
https://github.com/Hamlib/Hamlib/issues/429
2020-10-29 23:47:43 -05:00
Michael Black W9MDB f55d50c7bc Finish IC-729 addition
https://github.com/Hamlib/Hamlib/issues/429
2020-10-29 22:45:57 -05:00
Michael Black W9MDB c8eaafb499 Add IC-729
https://github.com/Hamlib/Hamlib/issues/429
2020-10-29 22:30:34 -05:00
Michael Black W9MDB 378cbfb008 remove some cppcheck statements not needed anymore 2020-10-29 12:53:39 -05:00
Michael Black W9MDB 31b20c003c Enhance ic7000 set bandwidth and prompt ic7000 to stable
https://github.com/Hamlib/Hamlib/issues/428
2020-10-29 08:17:40 -05:00
Michael Black W9MDB b406c82c2d Fix icom rig_wait_morse calls
https://github.com/Hamlib/Hamlib/issues/422
2020-10-19 11:25:17 -05:00
Michael Black W9MDB ffeb3b44cf Add wait_morse for icom rigs
https://github.com/Hamlib/Hamlib/issues/422
2020-10-18 14:16:44 -05:00
Michael Black W9MDB 0443afc794 Add wait_morse command with generit wait_morse_ptt function
This should work for any send_morse with full breakin
https://github.com/Hamlib/Hamlib/issues/422
2020-10-18 12:34:36 -05:00
Michael Black W9MDB 1e41f32017 Remove unused var from icom.c 2020-10-16 18:09:08 -05:00
Michael Black W9MDB 28b7543de6 Add stop_morse to Icom rigs
https://github.com/Hamlib/Hamlib/issues/240
2020-10-16 17:26:02 -05:00
Mikael Nousiainen a77e82be4e Fix handling of Icom repeater shift and split command responses. Add tuning step definitions for IC-9700. 2020-10-14 18:19:00 +03:00
Michael Black W9MDB 0576a01ec2 astyle files 2020-10-01 22:51:31 -05:00
Michael Black W9MDB 7bee01f785 Add suppress for AST broken bug in cppcheck 2020-09-19 16:09:44 -05:00
Michael Black W9MDB 88291fed86 Clean up cppcheck scope 2020-09-19 14:31:54 -05:00
Mikael Nousiainen 499d17cd20 Fix errors in Icom extcmd definitions and handling. Migrate more commands on Icom rigs to use extcmds. Add extfuncs to dummy rig for testing. 2020-09-16 22:33:39 +03:00
Mikael Nousiainen 23971f8e75 Fix issues with Icom extcmds definitions, some ext_tokens missing. Refactor custom level implementations to use extcmds definitions. Print out extfuncs in caps dump. 2020-09-16 18:10:35 +03:00
Michael Black W9MDB b97d05369c astyle files 2020-09-14 23:12:35 -05:00
Michael Black W9MDB 6267d2674e Fix icom LEVELs 2020-09-14 14:45:36 -07:00
Michael Black W9MDB ebddade1dc Fix debug statement in ic7300.c 2020-09-14 14:34:52 -07:00
Michael Black W9MDB 9c5b7499f6 Fix IC7300 set_parm PARM_TIME 2020-09-14 09:18:43 -07:00
Michael Black W9MDB 15a879d5ea Add ic7300_get_parm and ic7300_set_parm 2020-09-14 11:08:38 -05:00
Michael Black W9MDB 1c5c44edd2 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2020-09-14 08:02:52 -05:00
Michael Black W9MDB 52764221ca Make ic75 parm functions static 2020-09-14 08:02:42 -05:00
Michael Black W9MDB f41e07c0e6 Remove rptr functions from ic7300.c
https://github.com/Hamlib/Hamlib/issues/373
2020-09-14 07:34:02 -05:00
Michael Black W9MDB aeaa96bc3b Fix icom_get_parm to eliminate collisions 2020-09-12 21:37:10 -07:00
Michael Black W9MDB 6e45a7ba78 Fix ic7300 VOXDELAY and other extcmd structures 2020-09-12 14:26:57 -07:00
Michael Black W9MDB 83667f4c65 Added CMD_PARAM_TYPE values for icom rigs to distinguish the different ext cmd types
https://github.com/Hamlib/Hamlib/issues/373
2020-09-12 11:21:33 -05:00
Michael Black W9MDB 03ad7a953f Update codeql 2020-09-11 22:44:35 -05:00
Michael Black W9MDB 54c522ef99 Start of migrating Icom rigs to separate LEVEL and PARM values to avoid collisions
https://github.com/Hamlib/Hamlib/issues/373
2020-09-11 09:49:47 -05:00
Michael Black W9MDB 2020f29185 Remove redundant RIG_LEVEL_BRIGHT 2020-09-10 10:07:11 -05:00
Michael Black W9MDB 6d74501d2c Fix ic7300 ranges 2020-09-07 09:22:28 -05:00
Michael Black W9MDB b7c3aa3ad1 Fix range_list for ic7300 2020-09-07 08:17:20 -05:00
Michael Black W9MDB 24fb47cbe0 Added IC-705
Added RIG_LEVEL_BRIGHT -- IC705 has this level
Fixed range printout
https://github.com/Hamlib/Hamlib/issues/364
2020-09-06 12:28:35 -05:00
Michael Black W9MDB fade1681fa Fix cppcheck errors and warnings 2020-09-02 16:56:11 -05:00
Michael Black W9MDB e459d4edc2 astyle files 2020-09-01 09:06:46 -05:00
Mike Goodey 1138feb576 Remove icom_set_rit - it doesn't (and can't) work - see README.icom 2020-09-01 14:41:45 +01:00
Daniele Forsi a507bfec80 Fix more spelling errors
As the previous commit, but adding --interactive=2 and ba
codespell --write-changes --interactive=2 --summary --skip=*.m4 --ignore-words-list="ba,develope,get's,quitt,setts,som,ue,vektor"
2020-07-24 09:06:37 +02:00
Daniele Forsi d7b332c3f7 Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"

Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Michael Black W9MDB 133a8acd30 Fix icom MainA/B SubA/B VFO selection
https://github.com/Hamlib/Hamlib/issues/348
2020-07-20 14:42:46 +02:00
Michael Black W9MDB 4efbddd0e8 Add ability to set Icom MAIN_VFO_A/B and SUB_VFO_A/B
https://github.com/Hamlib/Hamlib/issues/348
2020-07-19 17:21:23 -05:00
Michael Black W9MDB b135aa3da6 Promote ic7100 to STABLE 2020-07-18 22:54:46 -05:00
Michael Black W9MDB 3e06b86fc7 Add CWR an RTTYR to ic756.c 2020-07-18 13:04:15 -05:00
Michael Black W9MDB ba72dc74b2 Upgrade some rigs to STABLE 2020-07-16 11:06:39 -05:00
Michael Black W9MDB 416380ecc7 Promote ic718 and ic7610 to STABLE 2020-07-16 07:40:18 -05:00
Michael Black W9MDB 5e801fd2b5 astyle files 2020-07-07 11:39:26 -05:00
Bill Somerville 281febec62
New power on option rather than power on/off
Also fixes incorrect token name usage in token definition
2020-07-04 23:23:39 +01:00
Bill Somerville 3f40029720
Add missing config parameters for rig power on/off and screen-saver
Defaults set to by compatible with prior released versions to avoid
regressive behaviour.
2020-07-04 19:42:37 +01:00
Michael Black W9MDB b2dce86e91 Add comment about IC-756 data mode 2020-07-03 23:40:20 -05:00
Michael Black W9MDB 4bd024c238 Fix come valgrind errors 2020-07-03 08:05:13 -05:00
Michael Black W9MDB b6a960d48e All conversions to rig_flush now done
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 09:01:46 -05:00
Michael Black W9MDB 35001b12c0 astyle icom.c 2020-06-21 14:47:38 -05:00
Michael Black W9MDB 5a28ef9a20 Update ic703 to beta 2020-06-20 06:54:28 -05:00
Michael Black W9MDB 362fa77cfd Move poweron set outside of check to ensure only once whether started power off or on
https://github.com/Hamlib/Hamlib/issues/297
2020-06-14 17:20:31 -05:00
Michael Black W9MDB 8fd58e211d Rigs will only power up once if needed
https://github.com/Hamlib/Hamlib/issues/297
2020-06-14 17:14:24 -05:00
Michael Black W9MDB 71b867e141 Add some debug to icom.c 2020-06-14 09:43:42 -05:00
Michael Black W9MDB c0a3450f28 Remove RIG_TARGETABLE_FREQ from IC-9700
https://github.com/Hamlib/Hamlib/issues/299
2020-06-14 07:23:25 -05:00
Michael Black W9MDB c5388b9f37 In icom.c remove priv->curr_vfo and change to rig->state.current_vfo
https://github.com/Hamlib/Hamlib/issues/299
2020-06-13 15:53:37 -05:00
Michael Black W9MDB 723f3f0773 Add some more rig cases for MainA/B and Sub A/B priv setting in icom_get_freq
Add VFO_CURR as a valid VFO
https://github.com/Hamlib/Hamlib/issues/299
2020-06-13 07:51:35 -05:00
Michael Black W9MDB 2db0da54ea Add VFO_CURR MAINA/B SUBA/B as valid vfos in icom.c 2020-06-12 17:54:41 -05:00
Michael Black W9MDB b15c73d2d2 Fix segmentation fault/endless loop for Icom rigs 2020-06-12 16:34:48 -05:00
Michael Black W9MDB 7cdaa0efd1 Change icom.c VFO_TX VFO_RX adjustment to use vfo_fixup function
vfo_fixup should be able to handle all rigs variations
https://github.com/Hamlib/Hamlib/issues/299
2020-06-12 07:57:13 -05:00
Michael Black W9MDB f6112a0d93 Remove block preventing IC910 from reading VFOB during split and returning VFOA 2020-06-11 22:27:38 -05:00
Michael Black W9MDB 83a0010bfc Change civ_731 back to 0 for ic706 rigs
Will have to open another bug report for the channel problem with this
https://github.com/Hamlib/Hamlib/issues/294
2020-06-11 08:30:25 -05:00
Michael Black W9MDB b910fa0c58 When get_split_freq_mode is called with RIG_VFO_CURR and split is not enabled
we will assume the TX vfo is VFOB or Sub as appropriate
This hopefully makes WSJT-X happy with Icom rigs now.
https://github.com/Hamlib/Hamlib/issues/288
2020-06-11 08:15:52 -05:00
Michael Black W9MDB 9e18b234c2 Change icom_get_split_freq to reset to rx_vfo when done
Just like icom_set_split_freq
https://github.com/Hamlib/Hamlib/issues/291
2020-06-10 17:16:52 -05:00
Michael Black W9MDB 876c7bd59f Fix RIG_VFO_TX clause in icom.c 2020-06-10 08:10:35 -05:00
Michael Black W9MDB f4c009f69e Some formatting on icom_defs.h 2020-06-09 22:47:38 -05:00
Michael Black W9MDB f71c12da94 astyle files 2020-06-09 22:37:03 -05:00
Michael Black W9MDB 750857cdbc Update comment in icom.c 2020-06-09 22:28:13 -05:00
Michael Black W9MDB ee8dde16ea When rig_set_split_freq_mode is called and RIG_VFO_CURR is requested use default tx_vfo
https://github.com/Hamlib/Hamlib/issues/288
2020-06-09 12:16:45 -05:00
Michael Black W9MDB 718fcdf0c1 icom.c put one more satmode call in a RIG_FUNC_SATMODE clause
https://github.com/Hamlib/Hamlib/issues/288
2020-06-08 23:09:21 -05:00
Michael Black W9MDB c5732d542e Fix icom.c so most all satmode requests are restricted to rigs with RIG_FUNC_SATMODE
https://github.com/Hamlib/Hamlib/issues/288
2020-06-08 23:04:04 -05:00
Michael Black W9MDB 3ec286ae1b Update icom.h version 2020-06-05 22:46:17 -05:00
Bill Somerville cc9dfd3b0e
Fixing an operator precedence defect 2020-06-06 02:24:04 +01:00
Michael Black W9MDB d9d1074f24 Fix IC-910 behavior with gpredict
Now allows switching between full duplex, split, and non-split mode
https://github.com/Hamlib/Hamlib/issues/237
2020-06-04 10:37:20 -05:00
Michael Black W9MDB a8e5a66ffd Add FT_DX101D as another rig that can't get freq during PTT
https://github.com/Hamlib/Hamlib/issues/279
2020-06-03 16:58:42 -05:00
Michael Black 00031994c6 Remove block setting VFO_A -- does not work with rigs that don't have
VFO_A
https://github.com/Hamlib/Hamlib/issues/274
2020-06-01 17:38:03 -05:00
Michael Black W9MDB 5df9f81bef Fix RIG_VFO_NONE problem in icom.c
https://github.com/Hamlib/Hamlib/issues/270
2020-05-30 16:59:18 -05:00
Michael Black W9MDB 353066a232 Fix rigctl/rigctld split ops/queries
Add vfo_fixup function.  We should be able to do all vfo corrections in rig.c instead of backends.  So we're migrating that way....
https://github.com/Hamlib/Hamlib/issues/269
2020-05-30 09:34:13 -05:00
Michael Black W9MDB 677ccac4bc astyle files 2020-05-27 12:23:08 -05:00
Michael Black W9MDB 281022447c Update some more items in icom.c where appropriate 2020-05-25 09:11:32 -05:00
Michael Black W9MDB 1add89bd71 Add rules for setting VFO_RX and VFO_TX for different rig types
https://github.com/Hamlib/Hamlib/issues/261
2020-05-24 23:42:35 -05:00
Michael Black W9MDB a77a57ff38 Disallow requesting a vfo that the rig doesn't have.
This could be changed to automatically selecting a valid VFO so
VFOA=Main or Main=VFOA for example but not sure if we want to do this.
This is already being done for the IC-9700 for example since satmode
only has Main/Sub where non-satmode has MainA/MainB/SubA/SubB
So the question is do we emulate VFOA/B and Main/Sub for all rigs?
2020-05-21 15:51:41 +02:00
Michael Black W9MDB 9c902dd03b IC-9700 in satmode requesting "S 1 Sub" will now return RIG_OK without
taking any action
Since satmode is Sub split anyways this makes sense
https://github.com/Hamlib/Hamlib/issues/254
2020-05-20 06:42:06 +02:00
Michael Black W9MDB 5a631b2f54 Fix icom detection of split mode setting vfos
https://github.com/Hamlib/Hamlib/issues/250
2020-05-18 00:39:08 +02:00
Michael Black W9MDB 2e3678d1a7 Fix main/sub frequency saved values 2020-05-17 17:27:28 -05:00
Michael Black W9MDB ba703787d9 Merge branch 'master' of https://github.com/mdblack98/Hamlib 2020-05-16 15:22:48 -05:00
Michael Black W9MDB 1af1650716 Fix IC_9700 type rigs when client asks for Sub VFO but split or satmode
is not in use
https://github.com/Hamlib/Hamlib/issues/250
2020-05-16 21:34:26 +02:00
Michael Black W9MDB 87b25d0c43 If icom rig is asked for VFOA/B but only has Main/Sub
then we map VFOA=Main VFOB=Sub
https://github.com/Hamlib/Hamlib/issues/250
2020-05-16 08:31:34 -05:00
Michael Black W9MDB 906a369e00 Change icom behavior for IC-9700 type rig with Main/A/B && Sub A/B setup
If Sub is asked for but neither split nor satmode is on it will get changed
to VFOB instead which should avoid doing a VFO swap
https://github.com/Hamlib/Hamlib/issues/250
2020-05-16 07:55:59 -05:00
Michael Black W9MDB 156db580f8 IC-910 (and hopefully IC-9700) now working with gpredict in both simplex non-satmode and full duplex satmode
As of 20200514 switching to satmode will automically switch rig to satmode
But switching back to simple requires manually going back to split mode until gpredict provide the correct split mode request of "S 1 VFOB" or "S 1 VFOA"
https://github.com/Hamlib/Hamlib/issues/237
2020-05-14 12:15:37 -04:00
Michael Black W9MDB 9c4dfbc34c Fix IC910 satellite mode operations
https://github.com/Hamlib/Hamlib/issues/237
2020-05-14 10:21:47 -04:00
Michael Black W9MDB ad7fe1253b Fix merge 2020-05-12 12:28:19 -05:00
Michael Black W9MDB 6a199559fa Fix merge 2020-05-12 12:22:51 -05:00
Michael Black W9MDB fca384dcd6 Fix debug statement in icom.c 2020-05-12 12:16:12 -04:00
Michael Black W9MDB 366c60020b Fix merge in icom.h 2020-05-11 22:44:33 -05:00
Michael Black W9MDB 2813f0ef63 astyle files 2020-05-11 22:39:10 -05:00
Michael Black W9MDB 74cdd96eda Fix merge of icom.c 2020-05-11 18:05:11 -05:00
Michael Black W9MDB 3b2225e489 Fix IC-910 split mode operation with gpredict
https://github.com/Hamlib/Hamlib/issues/237
2020-05-11 19:00:52 -04:00
Michael Black W9MDB 0ffddf779d Change icom.c set_freq to detect error on bad freq set and swap VFOs back and not update anything
Add some more debug
https://github.com/Hamlib/Hamlib/issues/237
2020-05-10 07:40:06 -05:00
Michael Black W9MDB 1a4e61b2dd Fix several strerror that should be rigerror 2020-05-09 11:52:27 -05:00
mdblack98 8ad431a344 Change #warn on get_channel to RIG_ENIMPL errors
This needs to be validated on the rigs to see the individual behavior
It only gives an error when read_only=0, read_only=1 does not give any error
We want the behavior of actually setting the rig display to be based on this flag
https://github.com/Hamlib/Hamlib/issues/227
2020-05-06 08:06:14 -05:00
mdblack98 0b3605597f Fix cppcheck warning in icom.c 2020-05-05 22:20:33 -05:00
mdblack98 fa711bb550 Remove unused variable set in icom.c 2020-05-05 22:18:18 -05:00
mdblack98 a3b1b055b3 Fix cppcheck warnings 2020-05-05 11:32:09 -05:00
mdblack98 05ad81bd2c Update comment in icom.c 2020-05-05 09:50:57 -05:00
mdblack98 bf1a05084d astyle files 2020-05-03 17:24:42 -05:00
mdblack98 baa3787bc5 Add ELAPSED_INVALIDATE for caching use
Change rig_get_vfo to use ELAPSED_INVALIDATE
Change elapsed_ms code to make a little more sense
https://github.com/Hamlib/Hamlib/issues/231
2020-05-02 11:19:44 -05:00
mdblack98 48b0234caf icom.c if VFOA/B is requested for rig without VFOA/A maps to Main/Sub
https://github.com/Hamlib/Hamlib/issues/231
2020-05-01 17:51:20 -05:00
mdblack98 2991d43e26 If icom.c rig_get_freq is called and VFO is None then VFO gets set to the requexted VFO
https://github.com/Hamlib/Hamlib/issues/231
2020-05-01 10:35:16 -05:00
mdblack98 5eb5b6f3d8 https://github.com/Hamlib/Hamlib/issues/227
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
mdblack98 acc468fcfd Fix channel reading for civ_731 icom rigs
I assume this is true on all such rigs that they return 5 bytes
Writing and reading a channel should confirm it by returning the correct freq
https://github.com/Hamlib/Hamlib/issues/217
2020-04-26 08:45:16 -05:00
mdblack98 7a075ae9fd https://github.com/Hamlib/Hamlib/issues/222
Fix order of calls in icom_get_split_vfos
Need to set split before getting vfos
2020-04-23 22:50:34 -05:00
mdblack98 a9a604758d https://github.com/Hamlib/Hamlib/issues/222
Fix icom_get_split_vfo filling in rx_vfo and tx_vfo
icom_get_split_vfo: vfo=currVFO rx_vfo=None tx_vfo=None split=0
2020-04-23 15:35:29 -05:00
Michael Black b040803765 Standard all version numbers to YYYYMMDD.N where n is intended for multiple versions in one day.
So typically .N will be .0
2020-03-29 23:03:21 -05:00
Michael Black 8fd5e16363 astyle files 2020-03-26 11:11:46 -05:00
Michael Black 8eb09c2a38 More cppcheck fixes 2020-03-23 07:52:01 -05:00
Michael Black c489f97624 More cppcheck changes 2020-03-20 07:51:32 -05:00
Michael Black 109a6f6d8e Fix boolean logic in set_channel in ic746.c 2020-03-19 12:25:14 -05:00
Michael Black f90046516e Fix cppcheck item in icom.c 2020-03-16 11:56:34 -05:00
Michael Black e2ea0b77ac Bump icom version 2020-03-16 11:18:20 -05:00
Michael Black de624c0b8e Remove get_freq_range from icom_open 2020-03-16 11:17:16 -05:00
Michael Black 35fffc4f38 astyle files 2020-03-15 15:32:46 -05:00
Michael Black 4d06d195e5 Fix ackbuf and add vfo set default in rig_set_split_freq 2020-03-15 15:21:24 -05:00
Michael Black 9ab1130d09 Remove setting default vfo in icom_get_freq.
Fix 0x1c0x03 command frequency
2020-03-15 15:03:27 -05:00
Michael Black a858f05b03 Add x1cx03cmdfails to icom.h 2020-03-15 09:47:20 -05:00
Michael Black 4b31563ffb Change all rc names to retval for consistency 2020-03-14 23:29:07 -05:00
Michael Black 33c1adb158 Add 0x1c 0x03 command to icom_get_freq to eliminate vfo swapping when asking for VFO_TX 2020-03-14 23:25:27 -05:00
Michael Black d61719ef3b Add 0x1c 0x03 command to get tx freq in icom_get_split_freq 2020-03-14 22:57:29 -05:00
Michael Black 1e658578ec Reset x25cmdfails when SATMODE is called 2020-03-14 15:21:56 -05:00
Michael Black 92c6f3924e Only do x25 command if not in satellite mode for icom rigs 2020-03-14 15:07:49 -05:00
Michael Black 79661711f1 Change 0x25 to constant in icom.c 2020-03-14 14:55:46 -05:00
Michael Black 40ebea303c astyle icom.c 2020-03-14 14:51:35 -05:00
Michael Black b1185fb5ff Set x25cmdfails so it won'r get repeated if not available 2020-03-14 14:51:23 -05:00
Michael Black 39baeecd68 Add x25cmdfails to icom.h priv 2020-03-14 14:48:26 -05:00
Michael Black f0506f3ab4 Add 0x25 command testing icoms that can set vfos without swapping 2020-03-14 13:00:46 -05:00
Michael Black e8673161fd Change icom satmode rigs to return to rx_vfo after set_split_freq 2020-03-13 10:09:32 -05:00
Michael Black e9ba470d65 Ensure priv->curr_vfo is set to Main for SATMODE rigs as default when no VFO has been set before asking get_* functions 2020-03-13 08:44:01 -05:00
Michael Black b5680c108d Working on get_freq_range 2020-03-12 17:53:49 -05:00
Michael Black 6e61069df5 Working on get_freq_range 2020-03-12 17:42:23 -05:00
Michael Black 6983bdd3b0 Working on get_freq_range 2020-03-12 17:32:17 -05:00
Michael Black 793f73475b Working on get_freq_range 2020-03-12 17:19:20 -05:00
Michael Black d26006122f Working on get_freq_range 2020-03-12 17:11:08 -05:00
Michael Black 66b3190fa9 Improve comment in icom.c 2020-03-12 17:01:59 -05:00
Michael Black e197b90d81 Working on get_freq_range 2020-03-12 16:58:55 -05:00
Michael Black c8e4e99e97 Reenable icom_get_freq_range now that rigctld stays open after first called 2020-03-12 15:57:05 -05:00
Michael Black 42871be196 Added some places to set default vfo when vfo has not been set yet. We're avoiding setting the default VFO on startup but allowing for clients which don't set the vfo properly.
Commented out icom_get_freq_range as can't have this on every rig_open call...too busy for rigctld
2020-03-12 10:12:59 -05:00
Michael Black 7685613310 Add setting of vfo when client does not set vfo themselves and instead asks to do things with RIG_VFO_CURR 2020-03-11 17:37:23 -05:00
Michael Black 40919d703f Fix icom_get_freq_range index 2020-03-09 23:03:48 -05:00
Michael Black e6e9d8d8aa Fix acklen in icom_get_freq_range 2020-03-09 22:56:25 -05:00
Michael Black d5592f43a8 Remove set_vfo from icom_get_split split=0 2020-03-09 15:37:53 -05:00
Michael Black ced93c5c7c Disabel set_vfo calls in icom_set_split
Needs to be tested with gpredict operations
2020-03-09 12:25:33 -05:00
Michael Black aaf8a074d9 Force final VFO selection in icom_set_split 2020-03-09 09:16:30 -05:00
Michael Black 7a174df5b7 Bump icom.h version 2020-03-09 09:15:21 -05:00
Michael Black 16fed06ba1 Adding dynamic freq_range for Icoms stage2 2020-03-08 23:18:33 -05:00
Michael Black df1b7620db Adding dynamic freq_range for Icoms 2020-03-08 10:09:37 -05:00
Michael Black c21fdf3747 Beginning implementation of dynamic detection of freq_range for Icom rigs 2020-03-08 09:23:11 -05:00
Michael Black 53b1a93431 Fix icom_rig_open return for RIG_OK 2020-03-07 22:00:15 -06:00
Michael Black 1e2a08f65b Bump icom.h version 2020-03-06 22:19:22 -06:00
Michael Black 117379f42e Add VFO_A set to IC9700 type Icom rigs 2020-03-06 22:19:03 -06:00
Michael Black 57c7f2a19f astyle files 2020-03-05 23:49:22 -06:00
Michael Black 30a8a690ca Fix IC9700 return to VFOA when in split instead of Main 2020-03-05 17:22:51 -06:00
Michael Black 59e92ab829 Fix set_split_vfo for IC9700 and similar rigs 2020-03-05 15:31:56 -06:00
Michael Black 6493d71e1b Fix spelling error in icom.c 2020-03-05 14:31:19 -06:00
Michael Black 837006d87b Fix 'S 1 Sub' for icom rigs with A/B only 2020-03-05 10:45:19 -06:00
Michael Black d856248178 Add RIG_MODEL macro and change all rigs to support it 2020-03-05 08:44:18 -06:00
Michael Black 39ac8e7be2 Fix set_vfo when asking for Main/Sub on rig that doens't have Main/Sub 2020-03-03 15:30:14 -06:00
Michael Black 7609efbe5a Fix cppcheck warnings in icom.c 2020-03-01 23:01:24 -06:00
Michael Black 48833e2263 Update icom.c 2020-03-01 15:51:03 -06:00