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