Michael Black W9MDB
14251b237d
Fix ft1000d.c retry
2021-01-20 07:15:53 -06:00
Michael Black W9MDB
3cd921c2d3
Make the Yaesu BS command assume it worked as can't repeat it
2021-01-19 17:23:01 -06:00
Michael Black W9MDB
3d2ab7f379
Yaesu newcat.c do no not try to set VFO when transmitting.
2021-01-19 11:11:19 -06:00
Michael Black W9MDB
e622186bc3
In newcat_set_cmd_validate helps if we get VFO_B when we want VFO_B
2021-01-19 09:39:39 -06:00
Michael Black W9MDB
fe53dce518
astyle newcat.c
2021-01-19 07:18:05 -06:00
Michael Black W9MDB
dd0765309e
Added CACHE_RESET macro
...
newcat_set_cmd_validate now queries VFO freq instead of using cache
2021-01-19 07:17:07 -06:00
Michael Black W9MDB
bcc80fef79
In newcat_set_cmd_validate make exception processing for VS command
...
Return other cmds to full string comparison to validate data sent == data recvd
2021-01-18 22:35:59 -06:00
Michael Black W9MDB
00cc6e848f
Fix double ;; in newcat_set_cmd_validate
...
Only ask for freq from other vfo that may have been changed by band select
2021-01-18 22:30:49 -06:00
Michael Black W9MDB
2eda4bf1a7
Use only 1st 2 chars for newcat_set_command_validate check
2021-01-18 17:49:05 -06:00
Michael Black W9MDB
cf21f7d65c
Fix vfo check for band change
2021-01-18 17:15:10 -06:00
Michael Black W9MDB
2365297cac
In yaesu band select disable setting other VFO.
...
Hopefully this works OK
2021-01-18 16:39:57 -06:00
Michael Black W9MDB
c43211e3a5
Reduce timeout for newcat_rig_open to allow powered off rig to be detected faster
...
Now takes a bit over 1 second instead of over 10 seconds
Powered on rigs should still work the same
2021-01-18 10:05:37 -06:00
Michael Black W9MDB
34d7eb6c33
prm80 add extra read_string for 2-line response to set_freq
2021-01-17 15:50:00 -06:00
Michael Black W9MDB
4d7c988bec
Add some debug and another attempt to fix rig_set_cmd_validate setting the frequency correctly
2021-01-17 15:35:40 -06:00
Michael Black W9MDB
6e25cdd6b9
Update debug in newcat.c
2021-01-17 11:33:36 -06:00
Michael Black W9MDB
65970cab0e
Try to get vfo detection working in newcat_set_cmd_validate
2021-01-17 11:21:46 -06:00
Michael Black W9MDB
a0ee23b178
Fix VFO detection in new_set_cmd_validate
2021-01-17 10:46:42 -06:00
Michael Black W9MDB
10bc7d50df
Add debug to prm80.c
2021-01-17 10:16:53 -06:00
Michael Black W9MDB
66af5ea4c0
Enable get_channel for prm80.c
2021-01-17 09:58:51 -06:00
Michael Black W9MDB
86c4bfb423
Allow > 100MHz band select in newcat.c
2021-01-17 09:08:55 -06:00
Michael Black W9MDB
ebeb23e49d
Avoid newcat BS command when VFO freq is not changing
2021-01-17 08:54:40 -06:00
Michael Black W9MDB
00a48edf5d
Increase retries and timeout on flrig.c
2021-01-17 08:08:34 -06:00
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