Wykres commitów

575 Commity (6c5e0e69748e0261b0b064870c41e1f54a99855c)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 65c77953f8 Add MainA/B SubA/B to icom.c
https://github.com/Hamlib/Hamlib/issues/730
2021-07-05 17:04:24 -05:00
Mike Black W9MDB dd0187ede6 Fix Icom rig 0x25 command for set mode with data and no width change
Fix Icom rigs not working with rigtctld and 0x25 command
https://github.com/Hamlib/Hamlib/issues/733
2021-07-03 22:16:33 -05:00
Mike Black W9MDB 763e18fa42 Fix get_mode_with_data for IC7800 as it can set but not read mode with 0x26 command
https://github.com/Hamlib/Hamlib/issues/725
2021-06-14 07:52:29 -05:00
Michael Black 9d7e1651b2
Merge pull request #719 from mikaelnousiainen/add-spectrum-data-for-dummy-rig
Add spectrum scope caps for dummy rig
2021-06-05 14:21:40 -05:00
Mikael Nousiainen 840333266f Add spectrum scope caps for dummy rig. Fix duplicate definition for IC-785x. 2021-06-05 21:48:10 +03:00
Mike Black W9MDB f41bcaa71a Add IC-575 rig 2021-06-03 16:13:58 -05:00
Mike Black W9MDB d9d562874d Fix compilation warning in icom.c 2021-05-31 08:36:45 -05:00
Mikael Nousiainen 3a67356bc1 Add some comments and improved debugging on SIGIO async data handling 2021-05-31 16:22:22 +03:00
Mikael Nousiainen 263c16984a Attempt to handle asynchronously pushed Icom CI-V frames (transceive and spectrum data) as these frame will get interleaved with command responses 2021-05-30 01:36:49 +03:00
Mikael Nousiainen 12527581b0 Add SPECTRUM_ATT level (also supported by Kenwood rigs). Get VFO frequency for Icom spectrum edge ranges (if not cached). Fix preamp levels based on docs. Add supported AGC levels to recent Icom rigs. 2021-05-27 10:12:01 +03:00
Mikael Nousiainen 26ea916ca7 Implement Icom rig levels: SPECTRUM_EDGE_LOW and SPECTRUM_EDGE_HIGH 2021-05-27 01:09:01 +03:00
Mikael Nousiainen b4ba22d369 Implemented initial abstraction for spectrum scope data and support for Icom spectrum data output. The abstraction is based on common features of both Icom and Kenwood rigs. Added TRANSCEIVE func and enumeration of supported AGC levels. Work in progress. 2021-05-26 23:40:53 +03:00
Mike Black W9MDB ce470548b2 Promote IC821H to stable 2021-05-07 11:43:53 -05:00
Mike Black W9MDB e84b8a3c99 Add special check for IC821H in icom_set_vfo
Seems the IC821H reverses Main/Sub logic when in satmode
Remove IC821 from riglist.h and icom.c -- not used
https://github.com/Hamlib/Hamlib/issues/693
2021-05-07 08:25:54 -05:00
Mike Black W9MDB 29013fd021 Add ic821h_set_split_vfo
https://github.com/Hamlib/Hamlib/issues/693
2021-05-06 23:59:00 -05:00
Mike Black W9MDB 2dd87806cf Remove 3 second sleep from icom.c powerup 2021-04-30 15:59:43 -05:00
Mike Black W9MDB 81e3e2e5d2 astyle files 2021-04-29 17:23:37 -05:00
Mike Black W9MDB 9a82ebf652 Make icom.c 0x25 cmd check only try once
https://github.com/Hamlib/Hamlib/issues/685
2021-04-27 10:00:10 -05:00
Mike Black W9MDB 1d79b9e01c Fix icom \get_mode in non-vfo mode to stay on VFOB/Sub
https://github.com/Hamlib/Hamlib/issues/676
2021-04-23 17:43:54 -05:00
Mike Black W9MDB b0e006ce6c astyle files 2021-04-21 23:48:29 -05:00
Mike Black W9MDB 870b9ca748 In icom.c add check for current vfo to avoid vfo swapping
https://github.com/Hamlib/Hamlib/issues/665
https://github.com/Hamlib/Hamlib/issues/654
2021-04-19 09:51:58 -05:00
Mike Black W9MDB cd82a2c008 In icom.c fix reading VFOB width when 0 and set to VFOA width
https://github.com/Hamlib/Hamlib/issues/665
https://github.com/Hamlib/Hamlib/issues/654
2021-04-18 22:46:50 -05:00
Mike Black W9MDB aefe8c44b7 In rig.c if rig does not set get_split_vfo then return cached values
https://github.com/Hamlib/Hamlib/issues/654
https://github.com/Hamlib/Hamlib/issues/665
2021-04-18 11:35:35 -05:00
Mike Black W9MDB 9cb7c7dcdf Fix IC-705 filters in ic7300.c
https://github.com/Hamlib/Hamlib/issues/666
2021-04-15 07:05:38 -05:00
Mike Black W9MDB 4501c1c97b Remove generated files 2021-04-14 15:41:01 -05:00
Mike Black W9MDB 9d310062eb More files for git clone configure to work 2021-04-14 09:19:27 -05:00
Mike Black W9MDB fe8677322e Remove MAIN and SUB VFOs from ic7100.c -- rig doesn't have them
These have been in there for 8 years but just got exposed as a bug with new VFO handling
https://github.com/Hamlib/Hamlib/issues/660

Start changes to update rig->caps in netrigctl.c so "rigctl -m 2 u" matches "rigctl u"
https://github.com/Hamlib/Hamlib/issues/659
2021-04-14 07:11:28 -05:00
Mike Black W9MDB 7366522883 Remove SATMODE from ic7100.c -- rig does not have satellite mode commands
https://github.com/Hamlib/Hamlib/issues/660
2021-04-13 15:31:57 -05:00
Mike Black W9MDB 73464a6c2e Fix IC910 behavior with gpredict -- also should fix some Main/Sub behavior elsewhere too
https://github.com/Hamlib/Hamlib/issues/657
2021-04-11 11:49:37 -05:00
Mike Black W9MDB 7ea4fd17aa Fix icom.c default vfo to usa VFOA/Main as appropriate
https://github.com/Hamlib/Hamlib/issues/654
2021-04-08 22:37:36 -05:00
Michael Black W9MDB b696391a66 Try another method of setting Icom default vfo 2021-03-30 15:40:17 -05:00
Michael Black W9MDB b16eb6ac42 Force Icom rigs to MAIN_A on open 2021-03-30 14:48:41 -05:00
Michael Black W9MDB ea269b224c Fix vfo selection for Icom rigs when in split mode
https://github.com/Hamlib/Hamlib/issues/637
2021-03-30 14:43:57 -05:00
Michael Black W9MDB fffaf27f87 Change icom.c to use Main instead of Main_A and Sub instead of Main_B
https://github.com/Hamlib/Hamlib/issues/637
2021-03-30 11:48:25 -05:00
Michael Black W9MDB c831e32db1 Fix icom.c frequency offset when the 0x25 is attempted and fails
https://github.com/Hamlib/Hamlib/issues/629
2021-03-26 23:09:36 -05:00
Michael Black W9MDB 8b82e3f569 Add TARGETABLE_FREQ and TARGETABLE mode to IC705
https://github.com/Hamlib/Hamlib/issues/626
2021-03-26 14:41:38 -05:00
Michael Black W9MDB dd156f74e2 astyle files in preparation for 4.2 release 2021-03-26 14:26:56 -05:00
Michael Black W9MDB 4135a65503 Add TARGETABLE_FREQ and TARGETABLE mode to IC7300 IC7610 IC7800 IC785X IC9700
This reduces VFO swapping during get_freq and get_mode operations
Log4OMV2 2.0.12 supports vfo mode using new get_vfo_info call
New debug level RIG_DEBUG_CACHE as it can get very verbose
https://github.com/Hamlib/Hamlib/issues/626
2021-03-26 10:54:11 -05:00
Michael Black W9MDB eb952ad75f In icom.c have set_vfo return RIG_OK immediately when VFO_CURR is requested
https://github.com/Hamlib/Hamlib/issues/625
2021-03-23 12:08:58 -05:00
Michael Black W9MDB 09474b17fb Reset x25cmdfails when satmode is changed 2021-03-22 16:04:55 -05:00
Michael Black W9MDB f0a82fa2bf Fix icom.c vfo detection
https://github.com/Hamlib/Hamlib/issues/624
2021-03-22 07:54:46 -05:00
Michael Black W9MDB 80e199b302 Add satmode detection for Icom rigs like IC9700
In satmode VFOB/Sub now maps to SubA (2nd VFO)
https://github.com/Hamlib/Hamlib/issues/621
2021-03-20 08:07:16 -05:00
Michael Black W9MDB 950163f1a4 Rigs like IC9700 with MainA/B will have VFOA/Main mapped to MainA and VFOB/Sub mapped to MainB
No known use for SubA/SubB yet
https://github.com/Hamlib/Hamlib/issues/621
2021-03-19 23:36:33 -05:00
Michael Black W9MDB c1277b170e Fix Icom icom_get_usb_echo_off to read the freq response when echo is on
This takes into account whatever the response time of the rig is
https://github.com/Hamlib/Hamlib/issues/615
2021-03-18 22:46:45 -05:00
Michael Black W9MDB ab59951e97 astyle files 2021-03-17 07:56:27 -05:00
Mikael Nousiainen 90112b5769 First attempt at fixing rigctl_parse return values and unnecessary rig re-open cycles 2021-03-16 23:39:35 +02:00
Michael Black W9MDB 27192d0c81 Fix potential seg faults in icom.c
https://github.com/Hamlib/Hamlib/issues/612
2021-03-16 12:45:30 -05:00
Michael Black W9MDB 0942553687 Fix icom_get_raw_buf
https://github.com/Hamlib/Hamlib/issues/612#issuecomment-800404923
2021-03-16 12:29:01 -05:00
Michael Black W9MDB 3bc39aaec1 astyle files is preparation for 4.2 release 2021-03-15 17:51:22 -05:00
Michael Black W9MDB 1ba72fa725 Improve caching
https://github.com/Hamlib/Hamlib/issues/280
https://github.com/Hamlib/Hamlib/issues/606
2021-03-15 11:16:11 -05:00
Michael Black W9MDB d66e0b9807 Narrow the Icom NAK packet check to only 6 byte frames
https://github.com/Hamlib/Hamlib/issues/607
2021-03-14 16:43:17 -05:00
Michael Black W9MDB dff7bdd7a7 For icom recognize bad command return packets e.g. fe fe e0 50 fa fd
https://github.com/Hamlib/Hamlib/issues/607
2021-03-13 08:03:53 -06:00
Michael Black W9MDB ee6f682963 Remove unneed NAK check on wrong location -- NAK check already being done
https://www.dropbox.com/s/q0i90h7ee1w2tnf/bin.zip?dl=0
2021-03-12 12:26:10 -06:00
Michael Black W9MDB 6fcb7ccd37 Fixed icom ACK/NAK and frame responses
https://github.com/Hamlib/Hamlib/issues/600
2021-03-11 10:24:22 -06:00
Michael Black W9MDB 803a8d9e5e Fix icom.c logic to not reject good answers
https://github.com/Hamlib/Hamlib/issues/596
2021-03-10 11:49:47 -06:00
Michael Black W9MDB 4d116d2f6c Add 50ms pause in icom.c after set_freq and set_mode for possible transceive message which will then get flushed 2021-03-06 17:24:21 -06:00
Michael Black W9MDB 3d613519d5 Rename macros to avoid collisions with other software 2021-03-06 12:37:53 -06:00
Michael Black W9MDB 9a44b27775 astyle icom.c 2021-03-06 09:24:00 -06:00
Michael Black W9MDB ef2e8a4d94 Change all icom calls to explicitly check for ACK/NAK
If neither is received a timeout error occurs so a retry will be done
Serial corruption was causing NAK rejects which was the wrong way to handle it
https://github.com/Hamlib/Hamlib/issues/587
2021-03-06 09:22:21 -06:00
Michael Black W9MDB 678f01d79d Update debug in icom.c 2021-03-06 08:48:11 -06:00
Michael Black W9MDB c3a1b489b7 Add return code to debug statements
Remove some RETURNFUNC that don't work with this change
2021-03-05 11:51:56 -06:00
Michael Black W9MDB 2c20b0afdb After echo check to a get_freq in icom.c
Should fix poweron for Icom rigs that still echo in standby mode
https://github.com/Hamlib/Hamlib/issues/583
2021-03-05 07:32:01 -06:00
Michael Black W9MDB 662d56c384 Add RETURNFUNC to icom frame.c
https://github.com/Hamlib/Hamlib/issues/514
2021-03-04 12:39:02 -06:00
Michael Black W9MDB 247c90d4b0 Should fix icom power on
A little more cleanup to come
https://github.com/Hamlib/Hamlib/issues/583
2021-03-04 12:18:00 -06:00
Michael Black W9MDB 1473793f14 Change icom echo detection to a more robust solution.
https://github.com/Hamlib/Hamlib/issues/583
2021-03-04 11:01:23 -06:00
Michael Black W9MDB 3ca0313fb4 Implement RETURNFUNC in icom.c
https://github.com/Hamlib/Hamlib/issues/514
2021-03-03 16:57:03 -06:00
Michael Black W9MDB 221d87c2e4 Add auto_power_off option from JTDX team
Change rig_get_vfo_info to do real calls intstead of cache
2021-03-02 13:03:30 -06:00
Michael Black W9MDB ee60a68bec astyle files 2021-02-28 09:46:01 -06:00
Michael Black W9MDB 83c47fad42 Android NDK now builds -- check README.android for info on libusb
https://github.com/Hamlib/Hamlib/issues/546
2021-02-28 15:50:36 +01:00
Michael Black W9MDB e5964fe670 Fix IC706 for 5 byte channels
https://github.com/Hamlib/Hamlib/issues/295
2021-02-23 23:16:00 -06:00
Michael Black W9MDB 0f9a7fac07 Add -RIG_EINVAL when set_level > 1.0 2021-02-19 08:44:02 -06:00
Michael Black W9MDB 1e9a991a25 Add set_dsp_flt for IC7000 -- any other Icom rigs can use this?
https://github.com/Hamlib/Hamlib/issues/521
2021-02-17 22:52:48 -06:00
Michael Black W9MDB 660fd94962 Change all icom rigs to watts for RIG_LEVEL_RFPOWER_METER_WATTS
Divide by 100 for old power call
2021-02-12 16:37:17 -06:00
Michael Black W9MDB 0e4bbf85d7 Add RIG_LEVEL_RFPOWERMETER_WATTS to ic7610.c
https://github.com/Hamlib/Hamlib/issues/533
2021-02-07 22:44:50 -06:00
Michael Black W9MDB e589e078a1 Add 3 second sleep in icom powerstat to allow the rig to wake up
https://github.com/Hamlib/Hamlib/issues/525
2021-02-03 12:54:30 -06:00
Michael Black W9MDB 76f3099aef Remove 500ms from icom/frame.c -- should not be needed
Reduce icom echo check to just 2 tries
Improves power up sequencing by about 7 seconds
https://github.com/Hamlib/Hamlib/issues/525
2021-02-03 11:45:57 -06:00
Michael Black W9MDB cd7811f3ed Fix icom_get_mode for rigs with 1-byte mode_len
https://github.com/Hamlib/Hamlib/issues/522
2021-01-29 16:32:16 -06:00
Michael Black W9MDB e7b6e61ed0 astyle files prepping for 4.1 release 2021-01-22 10:41:30 -06:00
Michael Black W9MDB 599974bcea Fix compilation error in icom.c 2021-01-20 22:54:37 -06:00
Michael Black W9MDB 5a9daf5f0e Fix ic703 and ic705 RIG_LEVEL_RFPOWER_METER_WATTS to scale to 10W instead of 100W 2021-01-20 15:07:59 -06:00
Michael Black W9MDB 598b105e79 astyle files prepping for 4.1 release 2021-01-15 16:48:32 -06:00
Michael Black W9MDB 8024ffb937 Change icom_get_usb_echo_off to return TIMEOUT when it occurs instead of RIG_OK
https://github.com/Hamlib/Hamlib/issues/509
2021-01-13 12:42:03 -06:00
Michael Black W9MDB 6e8b90aeec Fix cppcheck warnings 2021-01-09 15:19:19 -06:00
Michael Black W9MDB ca8ed30f8f astyle files 2021-01-09 10:13:17 -06:00
Michael Black W9MDB cf858bfa3c Change rig.c to return RIG_ENAVAIL instead of RIG_ENTARGET when set_vfo==NULL
Add IC706* to rigs that don't do dsp settings
Remove dynamic detection of transceive status in icom/frame.c
https://github.com/Hamlib/Hamlib/issues/490
2021-01-08 12:04:25 -06:00
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