Wykres commitów

440 Commity (63a51c36a1728a3f91715cda4d78f6c3c4bbf911)

Autor SHA1 Wiadomość Data
Mike Black W9MDB e900b4f9dc Change set_icom_set_mode_with_data to not change mode unless necessary
Should allow filters to stay where they are set if USB-D is the starting mode
https://github.com/Hamlib/Hamlib/issues/791
2021-09-07 17:44:57 -05:00
Mike Black W9MDB acac64c116 Really fix icom_set_func so that it can also turn off DUAL_WATCH 2021-09-01 09:08:13 -05:00
Mike Black W9MDB ee56688003 Fix icom_set_func so that it can also turn off DUAL_WATCH
In ic756.c remove ic756_set_func and use icom_set_func instead
2021-09-01 09:00:56 -05:00
Mike Black W9MDB 004efafda7 Remove unnecessary set_mode command from TARGETABLE_MODE Icom rigs
https://github.com/Hamlib/Hamlib/issues/762
https://github.com/Hamlib/Hamlib/issues/430
2021-08-28 17:09:27 -05:00
Mike Black W9MDB 996dbbfa1a Remove override of PKTUSB mode for Icom rigs -- don't think we need this
Was causing mode toggling on IC7300 during PTT transitions in JTDX
2021-08-28 10:21:16 -05:00
Mike Black W9MDB 06513a6869 Remove another unneeded vfo swap from icom rigs
https://github.com/Hamlib/Hamlib/issues/762
https://github.com/Hamlib/Hamlib/issues/430
2021-08-27 17:24:31 -05:00
Mike Black W9MDB 283281c4cb astyle all files preparing for 4.3 release 2021-08-26 06:49:24 -05:00
Wouter van Gulik 9aec383329 Simplify get_ant by having setting to unknown by default.
Drop setting to default in rigs.
Add some more documentation on get_ant.
2021-08-25 22:13:21 +02:00
Mike Black W9MDB 547bd0fb55 Fix ANT get/set for IC756Pro series
https://github.com/Hamlib/Hamlib/issues/774
2021-08-22 16:40:48 -05:00
Wouter van Gulik 83a8b98a86 icom.c: Drop width check. Other code assumes != NULL.
I am not sure if the intention was to check for width == default.
But that never worked, so for now do not change behaviour.
2021-08-21 20:36:10 +02:00
Mike Black W9MDB 014bc04ddf Fix Icom rigs to use 0x25 command if capable
Fixes #1 and and #2 in the issue
https://github.com/Hamlib/Hamlib/issues/762
2021-08-13 07:42:39 -05:00
Mike Black W9MDB 4bfd71f91f Fix Icom split and implement reverse split
These should work now from rigctl and via the API
S VFOB 1 VFOA
S Sub 1 Main
https://github.com/Hamlib/Hamlib/issues/754
2021-08-02 23:37:31 -05:00
Mike Black W9MDB a092f1f630 Fix spelling error in icom.c 2021-07-19 22:58:19 -05:00
Mike Black W9MDB 756f8052fc Minimize 0x25cmdfails resets to only when satmode changes
https://github.com/Hamlib/Hamlib/issues/741
2021-07-15 10:19:33 -05:00
Mike Black W9MDB 6bdb82bc54 Fix some vfo swapping issues for Icom rigs
https://github.com/Hamlib/Hamlib/issues/734
2021-07-08 13:14:42 -05:00
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