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
Michael Black W9MDB
5410610045
Fix RFPOWER scale for FT991
...
https://github.com/Hamlib/Hamlib/issues/354
2020-07-29 16:07:06 -05:00
Michael Black W9MDB
8aa5126650
Add first cut of SWR conversion for Yaesu rigs
...
https://github.com/Hamlib/Hamlib/issues/354
2020-07-29 16:03:54 -05:00
Daniele Forsi
238d90ab06
Fix more spelling errors
...
Fixed by hand.
2020-07-24 09:07:09 +02:00
Daniele Forsi
d7b332c3f7
Fix spelling errors
...
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Bill Somerville
281febec62
New power on option rather than power on/off
...
Also fixes incorrect token name usage in token definition
2020-07-04 23:23:39 +01:00
Bill Somerville
3f40029720
Add missing config parameters for rig power on/off and screen-saver
...
Defaults set to by compatible with prior released versions to avoid
regressive behaviour.
2020-07-04 19:42:37 +01:00
Michael Black W9MDB
b6a960d48e
All conversions to rig_flush now done
...
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 09:01:46 -05:00
Michael Black W9MDB
c2ee1ecb02
astyle files
2020-06-21 14:46:50 -05:00
Michael Black W9MDB
8fd58e211d
Rigs will only power up once if needed
...
https://github.com/Hamlib/Hamlib/issues/297
2020-06-14 17:14:24 -05:00
Michael Black W9MDB
15ac0bbc99
Change newcat.c to assume split is on VFO_B
...
Testing with FT-DX101D was return split=0 when used with WSJT-X split mode
https://github.com/Hamlib/Hamlib/issues/293
2020-06-14 15:28:52 -05:00
Michael Black W9MDB
8cad7b0a8f
Some Yaesu rigs like FT-DX101D will turn off split mode when setting mode of VFO_B
...
So, if we set mode on VFOB and we're in split we will query split after and reset if needed
We query rather than relying on specific models to cover all such Yaesus that might exist
https://github.com/Hamlib/Hamlib/issues/293
2020-06-14 12:55:14 -05:00
Michael Black W9MDB
f443e28c6e
Add one more exception for the FTDX101D ST command
2020-06-11 17:27:36 -05:00
Michael Black W9MDB
02789cb73f
Fix FT-DX101D get_tx_vfo
...
FT command for DX101D returns FT0 when in split and not transmitting
New ST command is needed to determine split status instead
The old ST command has a different purpose
https://github.com/Hamlib/Hamlib/issues/293
2020-06-10 16:25:19 -05:00
Michael Black W9MDB
677ccac4bc
astyle files
2020-05-27 12:23:08 -05:00
Michael Black W9MDB
943fd91198
Rewrite of TARGETABLE_MODE operations for Yaeus rigs
...
Should fix the FT-DX101D operations
Should also fix several functions for the other Yaesu VFO mode capable rigs
Added a spreadsheet to keep track of capabilities of these rigs
https://github.com/Hamlib/Hamlib/issues/260
2020-05-26 11:55:54 -05:00
Michael Black W9MDB
2813f0ef63
astyle files
2020-05-11 22:39:10 -05:00
Michael Black W9MDB
5756383bc1
Add FT-991 repeater offset capability
...
https://github.com/Hamlib/Hamlib/issues/239
2020-05-11 22:37:21 -05:00
Michael Black W9MDB
429ab72a16
Fix ft991 mode/width settings
2020-05-09 15:52:49 -05:00
mdblack98
9f80d8f21d
Readd RIG_MODE_FM to newcat.c
...
https://github.com/Hamlib/Hamlib/issues/239
2020-05-06 15:23:14 -05:00
mdblack98
8ad431a344
Change #warn on get_channel to RIG_ENIMPL errors
...
This needs to be validated on the rigs to see the individual behavior
It only gives an error when read_only=0, read_only=1 does not give any error
We want the behavior of actually setting the rig display to be based on this flag
https://github.com/Hamlib/Hamlib/issues/227
2020-05-06 08:06:14 -05:00
mdblack98
bf1a05084d
astyle files
2020-05-03 17:24:42 -05:00
mdblack98
909ece7627
Improve cache behavior for yaesu and kenwood
...
https://github.com/Hamlib/Hamlib/issues/226
2020-04-27 10:00:07 -05:00
mdblack98
600a674891
Add cache invalidation for kenwood and yaesu
...
Reset all kenwood/yaesu backend versions to 0 since main backend is new
https://github.com/Hamlib/Hamlib/issues/226
2020-04-27 09:41:33 -05:00
mdblack98
d6825cffbd
Fix newcat.c cache check
...
Add cache for kenwood IF cmd
https://github.com/Hamlib/Hamlib/issues/226
2020-04-26 22:30:09 -05:00
mdblack98
20cc059600
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2020-04-26 16:51:34 -05:00
mdblack98
eb7829bd06
Add caching for the Yaesu IF command
...
It should speed up the WSJT-X/JTDX sequence of v,f,m,t by a fair bit removing two unnecessary IF commands that should get cached
2020-04-26 15:44:38 -05:00
Michael Black
ce882b9be7
merge udpate
2020-04-26 14:58:30 -05:00
mdblack98
5eb5b6f3d8
https://github.com/Hamlib/Hamlib/issues/227
...
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
Michael Black
a7b28a63d4
ft991 changes to work with gpredict
2020-04-19 23:18:59 -05:00
Michael Black
46cb356f11
Fix numerous gcc v10 warnings
2020-04-04 22:49:27 -05:00
Michael Black
066ee398c9
Fix bad strchr logic in newcat.c
2020-04-04 17:38:48 -05:00
Michael Black
8fd5e16363
astyle files
2020-03-26 11:11:46 -05:00
Michael Black
9d8ddd4582
Replace RIG_LEVEL_VOX with RIG_LEVEL_VOXDELAY
2020-03-24 10:02:17 -05:00
Michael Black
8eb09c2a38
More cppcheck fixes
2020-03-23 07:52:01 -05:00
Michael Black
c489f97624
More cppcheck changes
2020-03-20 07:51:32 -05:00
Michael Black
35fffc4f38
astyle files
2020-03-15 15:32:46 -05:00
Michael Black
c33c02965d
Remove freq_range checking from newcat.c
...
Not hamlib's job to police the operator and this was only
implemented for Yaesu's.
Hamlib freq_range entries will show rig's capabilities
2020-03-07 08:11:15 -06:00
Michael Black
7688856fe5
Add TX to FT101DX
2020-03-06 22:34:05 -06:00
Michael Black
830d218731
Remove range_list2 from newcat.c
2020-03-06 22:18:06 -06:00
Michael Black
ff8ddf018c
astyle all C files
2020-02-23 11:26:09 -06:00
Michael Black
e315f5e3ac
Added skeleton for new get_ant function that will return ant_tx and ant_rx if known
...
Every rig will need to be reviewed to fill these in as appropriate
2020-02-18 23:10:14 -06:00
Michael Black
553c2309c0
Fix STRENGTH for FT-991 one more time
2020-02-10 15:26:38 -06:00
Michael Black
863fd96ca3
Fix STRENGTH for FT-991
2020-02-10 15:23:43 -06:00
Michael Black
f9a7e5a0bf
Add STRENGTH info for FT991
2020-02-08 22:59:12 -06:00
Michael Black
5a5f71291b
Fix STRENGTH for FT-991
2020-02-08 22:54:36 -06:00
Michael Black
7e8938ae65
Changed y command to now use mandatory antenna argument
...
Put a looplimit on icom_get_ant_count trying to get autodetect to work
Changes to icom_get_ant_count to try and get this working
Added dummy antenna # args to rigs that don't care i.e. only have 1 antenna
2020-02-02 08:38:10 -06:00
Michael Black
d853c36fb3
Change get_ant to add another option for icom rigs (and others if needed)
2020-01-21 17:53:12 -06:00
Michael Black
8d6e2fc781
Directory migration to new layout
2020-01-17 09:22:44 -06:00