Wykres commitów

463 Commity (709f28100579b9b8d20f4a45f766a7caa684d86a)

Autor SHA1 Wiadomość Data
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 f81c9158a8 Update newcat.h version 2021-01-20 15:06:14 -06:00
Michael Black W9MDB 5fec08b262 Add disable_yaesu_bandselect option 2021-01-20 11:34:30 -06:00
Michael Black W9MDB 0ad3c94e9b Fix ft1000mp.c retry since retries are done in read_block now 2021-01-20 07:51:01 -06:00
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 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 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 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 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 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 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 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
N8TW cfb0e13599 Bug fix limiting memory access to 15 slots instead of 16. 2021-01-07 16:31:45 -05: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 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 e95df17e2c Add files for ftdx10 that missed the commit 2020-12-28 22:14:56 -06:00
Michael Black W9MDB f4df454f73 Normalize Yaeus DX model names 2020-12-28 15:21:37 -06:00
Michael Black W9MDB f08903d8ce Add Yaesu FTDX10 rig 2020-12-28 15:17:49 -06:00
Michael Black W9MDB 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 6f4c2de0b6 Change RFPOWER_METER table to reflect that it's for the FT2000D 2020-12-16 22:33:00 -06:00
Michael Black W9MDB 603f39097d Update ft2000 RFPOWER_METER 2020-12-16 22:20:39 -06:00