Michael Black W9MDB
6e28ec4ec4
Increase retries and timeout on flrig.c
2021-01-17 08:08:14 -06:00
Michael Black W9MDB
c5c60f0f43
First phase of improving debug messages
2021-01-17 07:25:28 -06:00
Michael Black W9MDB
4b9ea6b1d4
Change to prm80.c to allow get_channel to work...testing
2021-01-17 07:12:52 -06:00
Michael Black W9MDB
460e748742
Add some debug to prm80.c
2021-01-17 07:08:37 -06:00
Michael Black W9MDB
a5ca77a66f
Change all Yaeus rigs to 2 stop bits
...
https://github.com/Hamlib/Hamlib/issues/511
2021-01-16 22:45:17 -06:00
Michael Black W9MDB
8595c244e4
Add retries to flrig.c for set commands
...
Was getting some timeouts on these set commands
2021-01-16 12:32:18 -06:00
Michael Black W9MDB
1affac778b
Change ft1200 stop bits to 2. Found by Bill Sommerville with remote serial port testing.
...
Were getting many ?; responses with stopbits=1
2021-01-16 12:14:30 -06:00
Michael Black W9MDB
50a46431b2
Make newcat_set_cmd_validate change VFOs when needed for band select
...
https://github.com/Hamlib/Hamlib/issues/510
2021-01-16 09:31:15 -06:00
Michael Black W9MDB
4b2d63f9f0
Fix newcat_set_cmd_validate band change checking
...
https://github.com/Hamlib/Hamlib/issues/510
2021-01-16 08:50:54 -06:00
Michael Black W9MDB
174d411897
Restrict newcat_set_cmd_validate BS to only rigs with get_vfo and set_vfo
...
https://github.com/Hamlib/Hamlib/issues/510
2021-01-16 07:38:22 -06:00
Michael Black W9MDB
f2b8096529
Fix 2nd BS call in newcat.c
...
https://github.com/Hamlib/Hamlib/issues/510
2021-01-15 22:29:46 -06:00
Michael Black W9MDB
14493d4df5
newcat.c make band_index vfo check work for both VFOS
...
https://github.com/Hamlib/Hamlib/issues/510
2021-01-15 17:39:37 -06:00
Michael Black W9MDB
a7b9620f91
Make band_index detect change by VFO
...
https://github.com/Hamlib/Hamlib/issues/510
2021-01-15 17:29:02 -06:00
Michael Black W9MDB
598b105e79
astyle files prepping for 4.1 release
2021-01-15 16:48:32 -06:00
Michael Black W9MDB
28c7ee7f88
Add BS command for "other" VFO for Yaesu rigs
...
This should be redundant for rigs where the bandstack includes both VFOs
https://github.com/Hamlib/Hamlib/issues/510
2021-01-15 16:36:07 -06:00
Michael Black W9MDB
1cd433b0d4
Increase newcat_set_cmd_validate retries to 8
...
https://github.com/Hamlib/Hamlib/issues/505
2021-01-15 14:17:35 -06:00
Michael Black W9MDB
fb026f7faf
Remove BS from newcat_cmd_set_validate as there is no read capability
...
https://github.com/Hamlib/Hamlib/issues/505
2021-01-15 12:27:04 -06:00
Michael Black W9MDB
c7a5ae3e34
Fix boo boo
...
https://github.com/Hamlib/Hamlib/issues/505
2021-01-15 12:02:58 -06:00
Michael Black W9MDB
c3ac828cdb
Combine writes in newcat_set_cmd_validate to speed up timing
...
https://github.com/Hamlib/Hamlib/issues/505
2021-01-15 12:01:06 -06:00
Michael Black W9MDB
59df7ccc23
Fix newcat_set_cmd_validate TX command
...
https://github.com/Hamlib/Hamlib/issues/505
2021-01-15 11:44:50 -06:00
Michael Black W9MDB
a2c4387543
Fit newcat_set_command_validate FT comparison
...
https://github.com/Hamlib/Hamlib/issues/505
2021-01-15 11:17:23 -06:00
Michael Black W9MDB
ad2c20f611
Fix newcat_set_cmd_validate read_string check
...
https://github.com/Hamlib/Hamlib/issues/505
2021-01-15 10:58:47 -06:00
Michael Black W9MDB
ea9a706743
Add debug for newcat_set_cmd_validate
...
https://github.com/Hamlib/Hamlib/issues/505
2021-01-15 10:56:27 -06:00
Michael Black W9MDB
517fb87b8b
Fix MD command in newcat_set_cmd_validate
...
https://github.com/Hamlib/Hamlib/issues/505
2021-01-14 17:25:39 -06:00
Michael Black W9MDB
6f4ce3a787
Have EPROTO return when newcat_set_cmd_validate fails that way
...
ENIMPL will fall through
https://github.com/Hamlib/Hamlib/issues/505
2021-01-14 16:55:12 -06:00
Michael Black W9MDB
6779d04581
Add rig_flush to newcat_set_cmd_validate
2021-01-14 16:38:31 -06:00
Michael Black W9MDB
30c2d34d87
Implemented new Yaesu retry mechanism using command validation technique
...
Cmds that are implemented are verified and 5 tries are made if answer != request
https://github.com/Hamlib/Hamlib/issues/505
2021-01-14 16:32:55 -06:00
Michael Black W9MDB
32d5f2b49e
In newcat.c give the BS command 200ms to do it's thing
...
Allow BS command when in split mode
We now re-read freq/mode after BS and just return if frequency is already set correctly
https://github.com/Hamlib/Hamlib/issues/505
2021-01-13 15:38:20 -06:00
Michael Black W9MDB
65d45a07be
Add cmd list to prm80.c
2021-01-13 15:08:40 -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
b5de94da2a
Try adding an 11ms delay on set commands before the ID; is sent
...
FT2000 is seeing repeated ?; responses and timing may be important
https://github.com/Hamlib/Hamlib/issues/505
2021-01-13 09:40:20 -06:00
Michael Black W9MDB
b4627b75ba
Fix newcat.c retry when read command returns ?;
...
https://github.com/Hamlib/Hamlib/issues/505
2021-01-13 08:48:48 -06:00
Michael Black W9MDB
4e9791d8b9
Update flrig version
2021-01-12 23:03:54 -06:00
Michael Black W9MDB
00a7f2c749
Fix flrig set_micgain to use i4 format
2021-01-12 23:03:20 -06:00
Michael Black
a9a806f8e0
Merge pull request #507 from mikaelnousiainen/fix-yaesu-newcat-retries
...
Re-enable Yaesu question mark handling and fix newcat_get_cmd retries in case of question mark response (2nd attempt)
2021-01-12 16:22:21 -06:00
Mikael Nousiainen
c46ac9b474
Get MICGAIN is also rejected in RTTY modes by certain Yaesu newcat rigs
2021-01-13 00:10:52 +02:00
Mikael Nousiainen
49128645b1
Set comp is also rejected in AM/FM/RTTY modes by certain Yaesu newcat rigs
2021-01-13 00:04:10 +02:00
Mikael Nousiainen
7be0af0362
IF shift is rejected also in AM mode
2021-01-13 00:01:10 +02:00
Mikael Nousiainen
5e00a54ca0
Get mode command was conflicting with other commands
2021-01-12 23:57:49 +02:00
Mikael Nousiainen
23e94a5375
Make skipping of retries for certain Yaesu newcat commands rig and mode-specific
2021-01-12 23:42:49 +02:00
Mikael Nousiainen
3af9f06fa5
All Yaesu newcat rigs use the same format for turning CTCSS ON/OFF
2021-01-12 23:01:54 +02:00
Mikael Nousiainen
cce1db9ee1
Fix conflicts
2021-01-12 22:18:35 +02:00
Mikael Nousiainen
c1a0e15464
Fix error codes to allow retries in newcat_get_cmd
2021-01-12 22:13:11 +02:00
Michael Black W9MDB
935b520b44
Change debug message in newcat.c so we can see which one it is
...
https://github.com/Hamlib/Hamlib/issues/505
2021-01-12 07:13:50 -06:00
Mikael Nousiainen
dd4076355d
Re-enable Yaesu question mark handling and fix newcat_get_cmd retries in case of question mark response
2021-01-12 11:00:18 +02:00
Michael Black W9MDB
614f08b672
Disable several question_mark_response_means_rejected lines
...
They are much too general and need to be narrowed to rig/mode
https://github.com/Hamlib/Hamlib/issues/505
2021-01-11 17:45:53 -06:00
Michael Black W9MDB
736959f41a
Fix ft100.c RPT_SHIFT bit masking
...
https://github.com/Hamlib/Hamlib/issues/501
2021-01-10 14:35:37 -06:00
Michael Black W9MDB
6e8b90aeec
Fix cppcheck warnings
2021-01-09 15:19:19 -06:00
Michael Black W9MDB
b79fdc0587
Fix potential null reference in dttsp.c
2021-01-09 12:06:40 -06:00
Michael Black W9MDB
d475dc81a3
Fix potential null reference in dttsp.c
2021-01-09 12:05:49 -06:00
Michael Black W9MDB
17a37be2c2
Fix potential null reference in dttsp.c
2021-01-09 12:05:00 -06:00
Michael Black W9MDB
a4d9e61f5a
Fix potential null reference in dttsp.c
2021-01-09 12:03:29 -06:00
Michael Black W9MDB
ca8ed30f8f
astyle files
2021-01-09 10:13:17 -06:00
Michael Black W9MDB
0089964af7
Add some dumpcaps values to allow for set/get_freq and set/get_vfo functions
...
https://github.com/Hamlib/Hamlib/issues/490
2021-01-08 16:37:53 -06:00
John Paul Adrian Glaubitz
5805de6e1e
dummy/dummy.c: Fix unaligned access in dummy_get_level()
...
This fixes an unaligned access in dummy/dummy.c in the function
dummy_get_level() which resulted in crashes (Bus Error) on systems
with stricter alignment requirements such as SPARC.
On x86_64 (and any other architecture with less strict alignment
requirements), the compiler automatically optimizes the memcpy()
out if necessary such that there are no performance issues.
2021-01-08 21:14:35 +01: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
19e819948f
Add RIG_TARGETABLE_ANT and fix Yaesu rigs -- Yaesu are only ones needing this right now
...
https://github.com/Hamlib/Hamlib/pull/495
2021-01-08 07:16:45 -06:00
Mikael Nousiainen
9e8b7539bb
Set FT-2000 retries to 3 to follow other Yaesu backends. There should be no need for 10 retries.
2021-01-08 09:13:56 +02:00
Mikael Nousiainen
eefea70a24
Fix SH and AN commands on FT-2000 for VFOB as these commands are not targetable
2021-01-08 09:12:29 +02:00
Michael Black
a3a6467ac1
Merge pull request #494 from N8TW/FT-980_Backend
...
Bug fix limiting memory access to 15 slots instead of 16.
2021-01-07 16:12:35 -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
N8TW
cfb0e13599
Bug fix limiting memory access to 15 slots instead of 16.
2021-01-07 16:31:45 -05: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
e9d6d751f2
Change Barrett 950 version number
...
https://github.com/Hamlib/Hamlib/issues/483
2021-01-05 09:49:20 -06:00
Michael Black W9MDB
b1f01708ed
Fix Barret 950 set_freq
...
Change Barrett 950 to use channels 441-450 for 10-band memory
This will minimize EEPROM writes
https://github.com/Hamlib/Hamlib/issues/483
2021-01-05 09:28:53 -06:00
Michael Black W9MDB
08792f9295
Change FT897 write_delay to 5ms -- MicroHam seems to need it
...
https://github.com/Hamlib/Hamlib/issues/384
2021-01-04 17:36:09 -06:00
Michael Black W9MDB
d6d79de732
Another attempt to get FT2000 RFPOWER_METER correct for both 0-1 and watts readings
...
https://github.com/Hamlib/Hamlib/issues/488
2021-01-04 14:43:03 -06:00
Michael Black W9MDB
f34ccfa3b8
Fix FT2000 RIG_LEVEL_RFPOWER_METER for FT2000
...
astyle newcat.c
https://github.com/Hamlib/Hamlib/issues/488
2021-01-04 12:09:28 -06:00
Michael Black W9MDB
e8c3d37cdc
Remove str_cal correction for FT2000 -- have to figure out a better way to do it
...
https://github.com/Hamlib/Hamlib/issues/488
2021-01-04 11:28:32 -06:00
Michael Black W9MDB
38faad95e8
Add some debug to newcat.c
2021-01-04 10:44:25 -06:00
Michael Black W9MDB
8d9f7378db
Add ft100_get_dcs_code and ft100_get_rptr_shift
2021-01-03 15:27:25 -06:00
Michael Black W9MDB
ea6854844c
Fix Barrett 950 set_freq
...
https://github.com/Hamlib/Hamlib/issues/483
2021-01-03 14:55:09 -06:00
Michael Black W9MDB
1e98661ce4
Add FT-897D
...
https://github.com/Hamlib/Hamlib/issues/384
2021-01-03 13:33:15 -06:00
Michael Black W9MDB
1994abd031
Add ft100_get_ctcss_tone
2021-01-02 23:08:43 -06:00
Michael Black W9MDB
44c1645785
Fix PowerSDR STRENGTH
2020-12-31 14:24:22 -06:00
Michael Black W9MDB
29f56de41d
Fix flrig STRENGTH call
2020-12-31 09:52:07 -06:00
Michael Black W9MDB
77bd4e2322
Fix RIG_LEVEL_STRENGTH break in flrig.c
2020-12-31 07:43:13 -06:00
Michael Black W9MDB
2b448d2815
Add 950.c
...
https://github.com/Hamlib/Hamlib/issues/483
2020-12-30 23:18:18 -06:00
Michael Black W9MDB
7a9e909b61
Add Barrett 950
...
https://github.com/Hamlib/Hamlib/issues/483
2020-12-30 23:15:42 -06:00
Michael Black W9MDB
d425c8af70
Fix cygwin compile warning
2020-12-30 17:41:31 -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
e95df17e2c
Add files for ftdx10 that missed the commit
2020-12-28 22:14:56 -06:00
Michael Black W9MDB
f4df454f73
Normalize Yaeus DX model names
2020-12-28 15:21:37 -06:00
Michael Black W9MDB
f08903d8ce
Add Yaesu FTDX10 rig
2020-12-28 15:17:49 -06:00
Michael Black W9MDB
decb02fa30
Fix flex RFPOWER_METER_WATTS level
2020-12-27 23:21:46 -06:00
Michael Black W9MDB
82958c957c
Add RIG_MODE_SPEC for PowerSDR and perhaps others to come
2020-12-27 14:53:39 -06:00
Michael Black W9MDB
d0c8cff986
Fix cygwin compilation for g313-winradio
...
https://github.com/Hamlib/Hamlib/issues/479
2020-12-27 18:57:01 +00:00
Michael Black W9MDB
a714899cb0
Update modes for PowerSDR in flrig.c
2020-12-26 23:55:28 -06:00
Michael Black W9MDB
f14054b6fa
Add DIGU/DIGL for flrig modes for PowerSDR
2020-12-26 23:38:06 -06:00
Michael Black W9MDB
b9d79641a6
Fix g313_caps for Linux build in winradio.h
...
https://github.com/Hamlib/Hamlib/issues/479
2020-12-26 11:10:50 -06:00
Michael Black W9MDB
35c1d9c3bf
Fix g313_caps undefined referenced when _WIN32 is not defined
...
https://github.com/Hamlib/Hamlib/issues/479
2020-12-26 08:49:17 -06:00
Michael Black W9MDB
1e6bce288f
Add C4FM mode to flrig.c
...
https://github.com/Hamlib/Hamlib/issues/478
2020-12-24 23:15:42 -06:00
Michael Black W9MDB
18e9d56b47
Add some debug for set_mode stuff
2020-12-22 17:01:06 -06:00
Michael Black W9MDB
5d2f5012c0
Fix newcat.c uninitialized var
2020-12-22 08:34:04 -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
1d15625757
Do not band select on FT891 as it does not remember bandwidth
2020-12-19 16:48:21 -06: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