Michael Black W9MDB
635f45ef69
Remove cppcheck-suppress
2021-02-28 12:46:02 -06:00
Michael Black W9MDB
ee60a68bec
astyle files
2021-02-28 09:46:01 -06:00
Michael Black W9MDB
edf0019960
Fix set_freq in newcat.c to not do validation on FA/FB and TX since it's done in rig.c now
...
https://github.com/Hamlib/Hamlib/issues/575
2021-02-28 07:38:57 -06:00
Michael Black W9MDB
1772ccde8b
Fix newcat.c expectation of valcmd for FA/FB commands
2021-02-27 14:50:56 -06:00
Michael Black W9MDB
b713314f7f
Fix compilation warnings in newcat.c
2021-02-26 11:15:49 -06:00
Michael Black W9MDB
318b437fa5
Remove FA/FB validation from newcat.c
...
set_freq validtion is now done in rig.c so we can return to fire-and-forget
https://github.com/Hamlib/Hamlib/issues/569
2021-02-26 10:41:02 -06:00
Michael Black W9MDB
b67643bc43
Add some debug for reading levels in newcat.c
...
https://github.com/Hamlib/Hamlib/issues/562
2021-02-25 11:11:45 -06:00
Michael Black W9MDB
83def50c46
Fix FTDX101D RF_POWER and RF_POWER_WATTS
...
https://github.com/Hamlib/Hamlib/issues/562
2021-02-24 23:17:09 -06:00
Michael Black W9MDB
6a3b28e518
In newcat.c check LEVEL values to ensure they are in the range 0-1
2021-02-19 07:46:32 -06:00
Michael Black W9MDB
5964e1de18
Improve FTDX3000 antenna handling
...
https://github.com/Hamlib/Hamlib/issues/510
2021-02-17 08:43:12 -06:00
Michael Black W9MDB
54aca79671
Change ptt check in newcat.c set_freq to check ptt only for affected rigs
...
https://github.com/Hamlib/Hamlib/issues/540
2021-02-08 16:29:04 -06:00
Michael Black W9MDB
360704908b
Change newcat.c ptt check to get_ptt instead of cache
...
Signalink was hanging on to PTT just a bit longer than the CAT ptt
https://github.com/Hamlib/Hamlib/issues/540
2021-02-08 16:01:51 -06:00
Michael Black W9MDB
d20635dfe6
Fix compiler warning in newcat.c
2021-01-30 11:05:34 -06:00
Michael Black W9MDB
b5c60e50fb
Fix newcat.c compile error
2021-01-24 16:01:19 -06:00
Michael Black W9MDB
d75a23d156
Fix ftdx101d set_freq behavior depending on split mode and VFO requested
2021-01-24 12:52:44 -06:00
Michael Black W9MDB
7e6adc6d2a
Prevent ftdx101d from setting frequency on the non-tx vfo when in split mode
2021-01-24 12:31:42 -06:00
Michael Black W9MDB
c20125a264
In newcat.c prevent FT-2000 and FTDX1200 from sending BS commands on 60M but
...
let them send 60M FA/FB commands
2021-01-23 18:01:26 -06:00
Michael Black W9MDB
e2475ac190
Disable 60m check for FT450 and FTDX5000 to see if they behave now on 60M
2021-01-23 09:32:09 -06:00
Michael Black W9MDB
7181589c4c
Change ftdx3000/5000 to reject setting freq while transmitting and cover VFOA and VFOB
...
More rigs will probably be added to this list
https://github.com/Hamlib/Hamlib/issues/513
2021-01-22 15:09:10 -06:00
Michael Black W9MDB
e7b6e61ed0
astyle files prepping for 4.1 release
2021-01-22 10:41:30 -06:00
Michael Black W9MDB
e1c21605f4
Restrict FTDX3000 and FTDX5000 to not set_freq on VFO while PTT_ON
2021-01-22 08:57:53 -06:00
Michael Black W9MDB
de3205e2b8
Reduce debug level in newcat.c
2021-01-22 08:30:01 -06:00
Michael Black W9MDB
0005733f9a
Finish implementing RETURNFUNC in newcat.c
2021-01-22 07:50:44 -06:00
Michael Black W9MDB
63b3bfcaa4
In newcat.c try to handle the case were AI is on and we need to turn it off
2021-01-21 23:45:02 -06:00
Michael Black W9MDB
c930609379
Update debug in newcat.c to add some more info
2021-01-21 23:11:20 -06:00
Michael Black W9MDB
04bb1b3e79
Add some debug for special_60m in newcat.c
...
FTDX3000 was not being detected correctly
2021-01-21 23:09:04 -06:00
Michael Black W9MDB
b030d73144
Have FTDX3000 ignore BS02 command
...
Allow FTDX3000 to set 60M frequencies
2021-01-21 22:59:34 -06:00
Michael Black W9MDB
9a870577d0
Fix FTDX3000 SH commands
2021-01-21 22:42:19 -06:00
Michael Black W9MDB
b56a577ebb
Fix FTDX10 FT command
2021-01-21 22:39:43 -06:00
Michael Black W9MDB
bf52ea58d7
Fix FTDX10 SH commands
2021-01-21 22:36:24 -06:00
Michael Black W9MDB
4df4820ad9
Move Yaesu special_60m handling to cover any newcat_get_freq request
...
get_freq with 60M freq will not attempt freq change on certain rigs as they have to use MEM mode to select 60m. But RIG_OK will be returned.
2021-01-21 06:45:50 -06:00
Michael Black W9MDB
20d5bc0b9e
Fix double ;; in FT450 exception handling
...
Add FT450 to special 60m exceptions
2021-01-21 06:37:26 -06:00
Michael Black W9MDB
140ccbefd4
Prevent FT450 from doing VFOB actions while transmitting
2021-01-20 17:43:06 -06:00
Michael Black W9MDB
c93da3c5d4
Fix FT450 FB command to swap VFOs
2021-01-20 17:27:41 -06:00
Michael Black W9MDB
5fec08b262
Add disable_yaesu_bandselect option
2021-01-20 11:34:30 -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
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
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
c5c60f0f43
First phase of improving debug messages
2021-01-17 07:25:28 -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
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
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
ca8ed30f8f
astyle files
2021-01-09 10:13: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
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 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
f08903d8ce
Add Yaesu FTDX10 rig
2020-12-28 15:17:49 -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
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
5a208a871d
Reorder newcat_band_index to return 15 for 2M band instead of 14
...
https://github.com/Hamlib/Hamlib/issues/470
2020-12-18 23:57:38 -06:00
Michael Black W9MDB
e5b7a5442d
Fix gpredict behavior with cross band split
...
Yaesu memory will be ignored for now when in split mode
We may want to allow it when we allow for VFOA/B caching
https://github.com/Hamlib/Hamlib/issues/470
2020-12-18 12:41:25 -06:00
Michael Black W9MDB
aa58442e18
Fix FT-891 bandwidth selection -- seems newer rigs now have an "on" value now
...
https://github.com/Hamlib/Hamlib/issues/469
2020-12-18 08:52:38 -06:00
Michael Black W9MDB
f43e190e07
Fix SH command for FT-450
...
Comment out on/off flag for future possibilities
CAT manual doesn't match what rig is returning...7 bytes vs 6 in the manual
https://github.com/Hamlib/Hamlib/issues/469
2020-12-17 23:57:25 -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
21e6911538
Add rfpower_meter_str for FT2000D and reuse by dividing in half for FT2000
2020-12-16 07:46:39 -06:00
Michael Black W9MDB
f05307dae8
Fix newcat_get_rx_bandwith SH return values
...
https://github.com/Hamlib/Hamlib/issues/467
2020-12-15 15:25:28 -06:00
Michael Black W9MDB
4eef84ef47
Change newcat.c to not abort when ?; is received
...
FTDX3000 was giving ?; to FB; command!!!
https://github.com/Hamlib/Hamlib/issues/464
2020-12-13 09:40:52 -06:00
Michael Black W9MDB
e1aa80599f
Add some more debug for Yaesu RFPOWER_METER levels
...
https://github.com/Hamlib/Hamlib/issues/462
2020-12-12 08:34:32 -06:00
Michael Black W9MDB
ffe7184970
Normalize Yaesu RFPOWER_METER_LEVELS to 100W
...
This is a quick fix for most Yaesu rigs
We need a new RIG_LEVEL_RFPOWER_METER_WATTS to return watts instead of 0-1.0
https://github.com/Hamlib/Hamlib/issues/462
2020-12-12 08:24:33 -06:00
Michael Black W9MDB
09da908bb3
Add ftdx9000 power levels
...
https://github.com/Hamlib/Hamlib/issues/462Z
2020-12-11 16:12:11 -06:00
Michael Black W9MDB
0a7c229f06
Fix retries in newcat.c
...
https://github.com/Hamlib/Hamlib/issues/463
2020-12-11 14:55:33 -06:00
Michael Black W9MDB
7a93ce3fb2
Fix retry_save during Yaesu poweron
2020-12-09 18:09:49 -06:00
Michael Black W9MDB
504a01913f
Fix newcat SH parsing
2020-12-09 17:48:09 -06:00
Michael Black W9MDB
1329911799
Change newcat.c set_powerstat=1 to loop logic same as kenwood
...
https://github.com/Hamlib/Hamlib/issues/459
2020-12-09 16:58:16 -06:00
Michael Black W9MDB
679c84f3ee
Only sleep on power on for Yaesu rigs
2020-12-09 16:17:03 -06:00
Michael Black W9MDB
79e2263dfb
Add 1 second sleep after power on for Yaesu rigs
...
https://github.com/Hamlib/Hamlib/issues/459
2020-12-09 16:15:13 -06:00
Michael Black W9MDB
15958c8aab
Fix parsing of SH command in newcat.c
...
Remove get_vfo from FT-891
https://github.com/Hamlib/Hamlib/issues/455
2020-12-06 22:54:47 -06:00
Michael Black
2eb3a557d0
Merge pull request #457 from mikaelnousiainen/yaesu-ft2000-fixes
...
Yaesu FT-2000 + GS-232B fixes
2020-12-06 08:18:54 -06:00
Mikael Nousiainen
2526fa2ae3
Remove TODOs
2020-12-06 14:25:29 +02:00
Mikael Nousiainen
5be6a06e9a
Tuning FT-2000 filter code
2020-12-06 00:11:44 +02:00
Mikael Nousiainen
72cc9b773c
Tuning FT-2000 filter code
2020-12-06 00:00:15 +02:00
Mikael Nousiainen
27eaa1b1f7
Tuning FT-2000 filter code
2020-12-05 23:43:07 +02:00
Mikael Nousiainen
e2ca90841c
Add missing levels and fix filters for Yaesu FT-2000
2020-12-05 23:11:12 +02:00
Michael Black W9MDB
12335d5c25
Fix SH command for ft891
...
https://github.com/Hamlib/Hamlib/issues/455
2020-12-04 23:32:32 -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
477bc5b462
Remove RIG_BUSY drop through in newcat.c when command doesn't match or is not terminated correctly.
...
MicroHam devices need retries as they are constantly spewing IF status and improperly terminating the IF response
These particular retries should be rare for other rigs
https://github.com/Hamlib/Hamlib/issues/446
2020-11-21 15:54:31 -06:00
Michael Black W9MDB
cf3b528ea7
Change newcat.c RIG_FUNC_TUNER to send AC001 instead of AC002 to turn off TUNE
...
G TUNE 1 is used to start tuning
2020-11-11 16:40:06 -06:00
Michael Black W9MDB
1d07b1d6b6
Undo last commit...FUNC_TONE and FUNC_TSQL handle this correctly
2020-11-11 07:26:51 -06:00
Michael Black W9MDB
056e0b2359
Chance TSQL in newcat.c to allow more than 2 states
...
FTDX101D has state=2 for encode-only
2020-11-11 07:06:51 -06:00
Mikael Nousiainen
81d02e22f1
Remove RIG_PASSBAND_ROOF as it was not necessary to use it
2020-11-10 22:17:15 +02:00
Mikael Nousiainen
4102e8c1e5
Yaesu newcat repeater offset step size confirmed on an FTDX 5000
2020-11-10 10:20:51 +02:00
Mikael Nousiainen
e122955213
Add repeater offset support for many Yaesu newcat rigs and fix FT-991 repeater offset step
2020-11-09 22:18:57 +02:00
Mikael Nousiainen
7b8b96555a
Improve handling of the ? response for Yaesu rigs
2020-11-08 13:03:48 +02:00
Mikael Nousiainen
8f3d5b5a85
Allow AMN mode on FTDX 5000 and FTDX 3000 -- the rig seems to return it regardless of documentation
2020-11-08 00:15:48 +02:00
Mikael Nousiainen
fdbc66b434
Fix roofing filter selection bug. Get mode for RX bandwidth from function argument.
2020-11-07 23:46:09 +02:00
Mikael Nousiainen
d114a5e2d6
Do not query filter width using SH command with FTDX 5000 in AM/FM modes
2020-11-07 23:30:34 +02:00
Mikael Nousiainen
88cec8450c
Handle Yaesu rigs rejecting IF shift command without retries
2020-11-07 19:47:08 +02:00
Mikael Nousiainen
7cbe39d5ab
Add routines to convert between morse code dot duration and milliseconds. Implement Yaesu break-in delay level correctly using these conversion routines.
2020-11-07 15:03:54 +02:00
Mikael Nousiainen
df5fb8d6c8
Set narrow filter mode correctly for Yaesu rigs that support it to allow setting DSP filter width correctly. Handle setting of roofing filter and narrow mode for AM/FM modes.
2020-11-06 23:48:49 +02:00
Mikael Nousiainen
526fb21852
Add RX filter choices for FTDX 5000 and FTDX 3000. Go through the rest of the filter definitions and try to unify and fix any bugs. Add roofing filter support for FT-950 and FT-2000.
2020-11-06 10:35:21 +02:00
Mikael Nousiainen
0f194c3729
Fix Yaesu COMP func
2020-11-05 11:14:54 +02:00
Mikael Nousiainen
0ad76ba38a
Fix a number of issues in Yaesu commands, all changes based on manuals
2020-11-05 11:05:37 +02:00
Mikael Nousiainen
5ba6059d2f
Start fixing Yaesu CWPITCH, BKINDL, ANTIVOX and COMP issues. Fix FT-991 NFM mode.
2020-11-05 00:07:53 +02:00
Michael Black W9MDB
ba5ab4ba70
Restrict newcat.c bands to ITU regions and use GEN as default otherwise
...
https://github.com/Hamlib/Hamlib/issues/424
2020-11-03 11:10:40 -06:00
Michael Black W9MDB
11058e63ff
Fix get/set_xit for Yaesu rigs to avoid vfo swapping
...
Fix get_xit to return VFOA/B appropriately
THe IF/OI commands apparently always return VFOA/B respectively so vfo swapping is not needed to read info
https://github.com/Hamlib/Hamlib/issues/430
2020-11-03 09:28:00 -06:00
Michael Black W9MDB
072cd6107f
Change yaesu newcat_get_rit to use "OI" instead of vfo swapping
...
Change yaesu newcat_set_rit to do vfo swap if needed
https://github.com/Hamlib/Hamlib/issues/430
2020-11-02 17:21:20 -06: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
9f65348f49
Fix newcat_band_index frequencies
...
https://github.com/Hamlib/Hamlib/issues/424
2020-10-29 10:24:25 -05:00
Michael Black W9MDB
bd47d262b8
Fix newcat_band_index
...
May need some more restrictions if people are using odd frequencies
https://github.com/Hamlib/Hamlib/issues/424
2020-10-28 09:43:26 -05:00
Michael Black W9MDB
cc529aab0c
Fix newcat_band_index
...
https://github.com/Hamlib/Hamlib/issues/424
2020-10-28 09:26:06 -05:00
Michael Black W9MDB
aeabe40acd
Make the BS cmd write the band instead of read it in newcat.c
...
https://github.com/Hamlib/Hamlib/issues/424
2020-10-28 08:53:55 -05:00
Michael Black W9MDB
06f99b9a63
Implemented band memory restoration for Yaesu rigs when set_freq is called and band change is occurring
...
Needs testing
https://github.com/Hamlib/Hamlib/issues/424
2020-10-28 08:45:53 -05:00
Michael Black W9MDB
b1c5a2b9cc
Revert newcat buffer increases as the beavior see was a firmware problem with the tester.
...
Reponses to several command like BS and EX were producing copius reponses.
https://github.com/Hamlib/Hamlib/issues/424
2020-10-28 08:30:25 -05:00
Mikael Nousiainen
3af4de5781
Avoid referencing NULL priv_caps
2020-10-26 10:44:01 +02:00
Mikael Nousiainen
b460c24d5a
Fix compliation errors
2020-10-26 10:08:41 +02:00
Mikael Nousiainen
e67c053091
Fix compilation errors, fix FTDX rig names
2020-10-26 10:06:38 +02:00
Mikael Nousiainen
6e74284e55
Merge upstream master and fix conflicts
2020-10-26 09:19:38 +02:00
Mikael Nousiainen
ac72d7bf0a
Use correct roofing filter index
2020-10-26 09:14:26 +02:00
Michael Black W9MDB
ad77e23fe5
Fix RIG_TRN again in newcat.c
2020-10-25 17:29:11 -05:00
Michael Black W9MDB
2eb2241315
Fix RIG_TRN in newcat.c
2020-10-25 16:31:38 -05:00
Michael Black W9MDB
07dc84f6e7
Only newcat_set_trn if needed
2020-10-25 16:23:30 -05:00
Mikael Nousiainen
25adec088a
Fix roofing filter set by width
2020-10-25 22:30:40 +02:00
Mikael Nousiainen
d4e434fa20
Invalid roofing filter choice leads to question mark response
2020-10-25 22:24:40 +02:00
Mikael Nousiainen
bb71728ebe
Fix conflicting variables
2020-10-25 22:20:42 +02:00
Mikael Nousiainen
24775b40fe
Fix roofing filter command format
2020-10-25 22:17:06 +02:00
Mikael Nousiainen
d306b34e2f
Add missing break
2020-10-25 22:14:19 +02:00
Mikael Nousiainen
20d00263bc
Implement ext level for Yaesu roofing filter. Move question mark response interpretation mode to private state.
2020-10-25 18:06:13 +02:00
Michael Black W9MDB
61074cd238
Add debug info for BS command
...
https://github.com/Hamlib/Hamlib/issues/423
2020-10-25 08:10:48 -05:00
Michael Black W9MDB
cc465e7d54
Starting to implement Yaeus band change memory
...
BS command has a big response so have to increase some buffer sizes
https://github.com/Hamlib/Hamlib/issues/423
2020-10-25 08:03:45 -05:00
Mikael Nousiainen
ec60ffface
Handle '?' response for MR and MC commands for an invalid channel - part 2
2020-10-25 10:40:08 +02:00
Mikael Nousiainen
956be046e7
Handle '?' response for MR and MC commands for an invalid channel
2020-10-25 10:35:51 +02:00
Mikael Nousiainen
3a49428f58
Add MEM VFO for new Yaesu rigs. Use FTDX101 SWR cal table that was left unused.
2020-10-24 10:55:11 +03:00
Michael Black W9MDB
948e9d5f99
astyle files
2020-10-23 11:36:42 -05:00
Michael Black W9MDB
b67d39611f
Update comment in swr_cal for ftdx101d
2020-10-23 07:56:11 -05:00
Mikael Nousiainen
1c34b044dd
Fix Yaesu S-meter calibration table size
2020-10-23 12:33:42 +03:00
Mikael Nousiainen
b09eadad56
Attempt to use FT-991 S-meter values for recent Yaesu rigs
2020-10-23 12:32:10 +03:00
Mikael Nousiainen
f7d1b74ff6
Fix RFPOWER scale for FTDX101
2020-10-23 11:56:14 +03:00
Mikael Nousiainen
be2524b4c9
Fix Yaesu newcat meter reading for FTDX101
2020-10-23 11:47:32 +03:00
Mikael Nousiainen
211de272df
Add more meters for Yaesu newcat rigs
2020-10-23 11:24:09 +03:00
Mikael Nousiainen
d8e63850ad
Fix CTCSS tone set/get
2020-10-23 10:35:14 +03:00
Mikael Nousiainen
db2017c0ea
Fix LOCK func
2020-10-23 10:13:08 +03:00
Mikael Nousiainen
df61e2ec71
Fix COMP func again
2020-10-23 10:06:11 +03:00
Mikael Nousiainen
f2d89ab7ce
Fix COMP func
2020-10-23 10:04:06 +03:00
Mikael Nousiainen
3770c441bf
Fix last char index again
2020-10-23 09:58:40 +03:00
Mikael Nousiainen
c152fcb279
Fix last char index
2020-10-23 09:56:20 +03:00
Mikael Nousiainen
fea5ed875d
Add separate definitions for FTDX101 to make fixes for filters and modes. Fix many newcat commands for FTDX101 and some other newcat Yaesu rigs.
2020-10-23 00:04:43 +03:00
Michael Black W9MDB
cf32ace4be
Fix gcc warnings
...
https://github.com/Hamlib/Hamlib/issues/421
2020-10-16 11:51:41 -05:00
Michael Black W9MDB
90cf25b6fe
Merge
2020-10-16 08:25:16 -05:00
Michael Black W9MDB
341828a319
astyle files
2020-10-15 15:44:43 -05:00
Michael Black W9MDB
d15c4da091
Remove COMP function from ft5000.c for ft3000 and use newcat routine instead
2020-10-15 15:28:46 -05:00
Michael Black W9MDB
2ed842b098
Fix FTDX101D get COMP function
...
https://github.com/Hamlib/Hamlib/issues/417
2020-10-15 21:23:12 +01:00
Michael Black W9MDB
ef34c699c0
Fix FT101DX FUNC_COMP since it now has a different format than other Yaesu's
...
Presumably this is the future format
https://github.com/Hamlib/Hamlib/issues/417
2020-10-13 16:55:32 -05:00
Michael Black W9MDB
4690e26aa4
Remove RIG_TARGETABLE_PURE from newcat.c and add new RIG_TARGETABLE_LEVEL
...
Looks like RIG_TARGETABLE_PURE is never used by any rigs so should be removed from rig.c too
https://github.com/Hamlib/Hamlib/issues/413
2020-10-12 09:35:57 -05:00
Michael Black W9MDB
5453a9c036
Fix ability to get Sub VFO in newcat get_func
...
https://github.com/Hamlib/Hamlib/issues/413
2020-10-11 22:25:01 -05:00
Daniele Forsi
1e00e4e8db
Fix typos
...
Command line:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor,objext,ans
2020-10-11 18:03:50 +02:00
Michael Black W9MDB
41be8d65e4
Fix TUNE for FTDX5000 and FTDX101D
...
https://github.com/Hamlib/Hamlib/issues/411
2020-10-10 15:44:11 -05:00
Michael Black W9MDB
e0594e8976
Fix VFO spelling error in newcat.c
2020-10-10 11:44:40 -05:00
Michael Black W9MDB
6981f6e9c0
Fix set XIT for newcat.c
...
https://github.com/Hamlib/Hamlib/issues/410
2020-10-10 10:50:24 -05:00
Michael Black W9MDB
0f23261792
Fix some VFO problems in newcat.c with VFO_MAIN/SUB usage
...
https://github.com/Hamlib/Hamlib/issues/408
2020-10-10 10:47:51 -05:00
Michael Black W9MDB
13174121c2
Issue #409 add sleep when PTT is turned off for all Yaesu rigs. Fixes FT991 Fake It problem with WSJT-X
2020-10-10 15:19:01 +00:00
Michael Black W9MDB
985a7b3ded
Fix newcat error on VFO/Main/Sub issue#395
2020-10-10 14:51:59 +00:00
Michael Black W9MDB
bd559f14d8
Update FT101DX swr calibration table
2020-10-09 09:14:39 -05:00
Michael Black W9MDB
28da03c7fa
Fix FT101DX BKINDL set_level
...
https://github.com/Hamlib/Hamlib/issues/405
2020-10-09 09:08:37 -05:00
Michael Black W9MDB
8c51909595
astyle files
2020-10-07 12:48:25 -05:00
Michael Black W9MDB
c479244fc1
Fix SH command for FTDX101D and fix parsing of SH for different response lengths in newcat.c
...
https://github.com/Hamlib/Hamlib/issues/402
2020-10-07 15:19:44 +01:00
Michael Black W9MDB
8760d2576b
FTDX101D set roofing filter to allow for requested bandwidth in newcat.c
2020-10-07 15:00:21 +01:00
Michael Black W9MDB
253ee97a90
Add RIG_PASSBAND_ROOF to FTDX101D in newcat.c
2020-10-07 08:25:41 -05:00
Michael Black W9MDB
4bad0ff4bb
Add ANTIVOX for FTDX101D in newcat.c
2020-10-07 14:17:43 +01:00
Michael Black W9MDB
fc41ca9ca6
Fix set_level VOXGAIN for FTDX101D
...
https://github.com/Hamlib/Hamlib/issues/400
https://github.com/Hamlib/Hamlib/issues/400
2020-10-07 14:02:15 +01:00
Michael Black W9MDB
6d51f65528
astyle files
2020-10-06 23:14:27 -05:00
Michael Black W9MDB
82dd82a658
Undo last commit
...
https://github.com/Hamlib/Hamlib/issues/401
2020-10-06 23:02:27 -05:00
Michael Black W9MDB
4c47bb1687
Fix FT950 switch to/from narrow modes to set appropriate filter after mode is set
...
https://github.com/Hamlib/Hamlib/issues/401
2020-10-06 22:29:42 -05:00
Michael Black W9MDB
e84c26ff15
Fix logic typo in newcat.c
2020-10-06 17:52:22 -05:00
Michael Black W9MDB
e4981ff2fb
Fix typo in ft450 newcat.c
2020-10-06 17:30:44 -05:00
Michael Black W9MDB
c6cc3ba37c
Fix FT950 min power to 5 watts
...
Fix FT950 to return default bandwidths for FM, AM, FMN
https://github.com/Hamlib/Hamlib/issues/398
https://github.com/Hamlib/Hamlib/issues/399
2020-10-06 16:58:49 -05:00
Michael Black W9MDB
81c2385d43
Have TS950 return default bandwidths for FM, AM, FMN
...
SH0; does not work in these modes
https://github.com/Hamlib/Hamlib/issues/398
2020-10-06 16:51:34 -05:00
Michael Black W9MDB
fca4cc7903
Lots of changes to get Main/Sub recognized across rigctl/rigctld boundary
...
Needs lots of testing
https://github.com/Hamlib/Hamlib/issues/395
2020-10-06 21:50:37 +01:00
Michael Black W9MDB
2e1a4e5d5c
Fix FT101DX VOXGAIN, COMP, and ANTIVOX levels for 0-100 scale
...
https://github.com/Hamlib/Hamlib/issues/397
2020-10-06 15:27:23 +01:00
Michael Black W9MDB
1435b155d9
Fix FT101DX 3500 and 4000Hz bandwidths
...
https://github.com/Hamlib/Hamlib/issues/390
2020-10-06 14:59:28 +01:00
Michael Black W9MDB
fd8c05b01d
Fix IFSHIFT for FTDX101d
...
https://github.com/Hamlib/Hamlib/issues/394
2020-10-06 14:44:35 +01:00
Michael Black W9MDB
f2f5c9a1af
Fix FT101DX VOXDELAY
...
https://github.com/Hamlib/Hamlib/issues/394
2020-10-06 14:10:31 +01:00
Michael Black W9MDB
e8eb75196c
Change FT101DX VOXDELAY to 2-byte cmd instead of 4-byte...manual is wrong
...
https://github.com/Hamlib/Hamlib/issues/394#issuecomment-703901870
2020-10-05 17:03:57 -05:00
Michael Black W9MDB
e463fcc12c
Finished rewrite of bandwidth in newcat.c to allow any bandwidth to be asked for
...
Needs testing
https://github.com/Hamlib/Hamlib/issues/391
2020-10-05 17:00:19 -05:00
Michael Black W9MDB
9b26a4e957
Add PKTFMN mode for FTDX101D
...
Finish mods to newcat get_rx_bandwidth
https://github.com/Hamlib/Hamlib/issues/391
2020-10-05 12:53:56 -05:00
Michael Black W9MDB
5f30da0eda
Fixup FT1200 bandwidths
...
https://github.com/Hamlib/Hamlib/issues/391
2020-10-05 11:34:38 -05:00
Michael Black W9MDB
657c745ca1
Rewrite newcat FT950 FT1200 get_rx_bandwidth to combine and recognize narrow mode
...
Add get_narrow function to newcat.c
More to come
https://github.com/Hamlib/Hamlib/issues/391
2020-10-05 11:11:43 -05:00
Michael Black W9MDB
8492bbccd1
Future proof newcat.c LEVEL_SWR due to 6-byte FTDX101D response
2020-10-05 10:11:32 -05:00
Michael Black W9MDB
2f2574d1e6
Fix FT101DX SWR reading
2020-10-04 23:14:29 +01:00
Michael Black W9MDB
d40f0f76f8
Another attempt to get FTDX101D band width working
...
Added two undocumented widths for 3500 and 4000
https://github.com/Hamlib/Hamlib/issues/390
2020-10-04 12:25:36 -05:00
Michael Black W9MDB
0777b62108
Fix FTDX101D VOXDELAY set/get
...
https://github.com/Hamlib/Hamlib/issues/394
2020-10-04 08:56:49 -05:00
Michael Black W9MDB
a9202fbf78
Add ftdx101d to newcat_get_rx_bandwidth
...
Add ability to read roofing filter for default bandwidht for ftdx101d
FTDX101D passband problem · Issue #390 · Hamlib/Hamlib
2020-10-04 08:38:46 -05:00
Michael Black W9MDB
93946b2d16
Fix FTDX101D BKINDL
...
https://github.com/Hamlib/Hamlib/issues/393
2020-10-03 17:06:09 -05:00
Michael Black W9MDB
5ee2cbb261
Fix VOXDELAY to use ms internally in newcat.c
...
https://github.com/Hamlib/Hamlib/issues/394
2020-10-03 16:54:13 -05:00
Michael Black W9MDB
cd8f5d9d85
Change BKINDL values to use tenths for API and ms internally for newcat.c
...
https://github.com/Hamlib/Hamlib/issues/393
2020-10-03 16:50:35 -05:00
Michael Black W9MDB
af883bd58f
Fix FTDX101D BKINDL -- has new lookup table argument for Yaesu
...
https://github.com/Hamlib/Hamlib/issues/393
2020-10-03 15:45:21 -05:00
Michael Black W9MDB
0c23c3954f
Add bandwidth settings for FTDX101D using any bandwidth setting
...
Other Yaesu rigs need this same capability instead of band-specific settings to support slider controls
https://github.com/Hamlib/Hamlib/issues/390
2020-10-03 15:06:53 -05:00
Michael Black W9MDB
0576a01ec2
astyle files
2020-10-01 22:51:31 -05:00
Michael Black W9MDB
c9cfd40e91
Update newcat.c for FTDX101D MS command now using VFO selection
...
https://github.com/Hamlib/Hamlib/issues/385
2020-09-28 09:11:14 -05:00
Michael Black W9MDB
5fbb58f3ee
Add RIG_TARGETABLE_PURE to ftdx101 and ftdx5000
...
Change newcat_get_level and set_level check to RIG_TARGETABLE_PURE
https://github.com/Hamlib/Hamlib/issues/385
2020-09-28 08:54:19 -05:00
Michael Black W9MDB
f0dc0f71d4
Add RIG_TARGETABLE_FUNC and RIG_TARGETABLE_TONE to ftdx101d
...
Ensure VFO is only set on FUNC calls when TARGETABLE_FUNC is on for newcat.c
https://github.com/Hamlib/Hamlib/issues/385
2020-09-27 16:01:48 -05:00
Michael Black W9MDB
359f7549dc
Add comment to is_read_cmd newcat.c and remove redundant check
...
https://github.com/Hamlib/Hamlib/issues/385
2020-09-26 22:34:02 -05:00
Michael Black W9MDB
60201aab40
Allow yaesu 3+char read cmds to not invalidate the IF cache
...
https://github.com/Hamlib/Hamlib/issues/385
2020-09-26 17:45:45 -05:00
Mike Goodey
6f4a996a9a
Changes for RIT/XIT on other newcat rigs
2020-08-28 19:04:13 +01:00
Mike Goodey
8ba082c662
Changes for FT991 RIT/XIT
2020-08-28 18:16:17 +01:00
Michael Black W9MDB
494a875d79
Add FT991 to RFPOWER scale 100 in newcat.c
...
https://github.com/Hamlib/Hamlib/issues/354
2020-08-04 07:52:30 -05:00