Wykres commitów

27 Commity (f6b55762dfbd4f0a2f832a84ac008dcc073a55d0)

Autor SHA1 Wiadomość Data
Michael Black 6bf3b00c4f
astyle all files 2019-11-30 10:19:08 -06:00
Michael Black 2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Michael Black 3417acdbb7 Add set/get vfo to ft857 2019-04-02 08:51:32 -05:00
Michael Black 01335a5c8e Fix FT857 to return the SMeter-based value 2018-12-19 16:40:10 -05:00
Bill Somerville 222ad74de7 Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument
This change  allows the set_mode  functions to leave the  rig passband
unchanged  if required.  For the  few rigs  that do  not have  explcit
passband width control either current state is read and rewritten or a
"normal" width  is chosen e.g. select  a normal width when  there is a
choice like CW and CW-NARROW.
2016-04-19 21:27:52 +01:00
Bill Somerville e5aa3639ed Initial implementation of rig_{set,get}_split_freq_mode() for FT-857.
This  optimized implementation  takes  advantage of  the CAT  protocol
command to set both frequency and mode  at the same time. It also only
needs to switch VFOs once either side of the command.
2016-03-23 17:09:26 +00:00
Bill Somerville ffa60fe0e3 Fix missing PKTUSB mode setting code for FT-817 & FT-897
Also made setting WFM an error on the FT-817/857/897 since they all do
it automatically and only on Band II.
2015-12-15 15:57:43 +00:00
Bill Somerville d438b73b8e Fix FT-817/857/897 issues and add some missing functionality
Correctly read SPLIT status TX STATUS is documented incorrectly.

Implement get_split_vfo () on all rigs.

Allow either  RTTY or PKTUSB to  be set, both  go to DIG mode  and rig
must be set appropriately. get_mode() returns what is actually set for
the rig DIG mode.
2015-12-07 19:32:51 +00:00
Michael Black f8ccebc694 FT-857 and FT-991 patches
Fixes S meter reporting for FT857 and FT991.

Fixes rig split for FT991.working now for WSJT-X rig split mode.

73

Mike W9MDB
2015-08-15 12:30:00 -05:00
Spencer Berger 8bc10a9fed Added forced cache timeouts for the ft857. 2015-02-06 08:31:45 -08:00
Bill Somerville 7d01e0fc4d RIG_OK is zero and need not be negated and this will not change 2014-10-18 20:31:47 +01:00
Michal Demin de329c1ed7 Read eeprom value for digital mode from FT-857
From Michal:

"I have been playing a lot recently with PSK modes using fldigi. I have
noticed that the yaesu ft-857 backend doesn't distinguish between upper
and lower sideband digital mode (menu item 38).  This causes lot of
trouble on bands where USB is used (when QSY button is pressed in
fldigi, or when calculating the real QSO frequency).

With some use of undocumented CAT features and some research I have
put together small patch, that reads EEPROM data. When SW asks hamlib
what mode is being used, hamlib will also consider the
value from eeprom.

When changing the mode in the menu, new value will become available in
the EEPROM _after_ pressing the "FUNC" button.

Setting mode from SW is left untouched, as writing to EEPROM is
potentially dangerous (and I don't feel like destroying my rig, yet)"

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-05-15 08:26:58 -05:00
Nate Bargmann bff9f17f7e Update LGPL header in Yaesu source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:38 -05:00
Stéphane Fillod, F8CFE c1c220c986 variable common_dcs_list[] with 104 DCS codes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2701 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-06-01 16:51:41 +00:00
Stéphane Fillod, F8CFE 2b4a846e21 added split operation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2642 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-20 09:55:16 +00:00
Nate Bargmann, N0NB 7b7293c701 Commented out filter definitions as these radios do not support setting
of passband.  Thanks to Rich Newsom WA4SXZ for testing.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2583 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-12 12:29:17 +00:00
Stéphane Fillod, F8CFE 44b3b8cfbc patch from Jeff N7YG about MODE_PKTFM on FT-857, port to the FT-897 and some filters by me (SF)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2438 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-31 22:09:11 +00:00
Stéphane Fillod, F8CFE 00dcea8cd2 get_mode for narrow passbands, patch by Stelios, M0GLD
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2400 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-22 20:40:14 +00:00
Alexandru Csete OZ9AEC b7530aad94 - Cast unsigned char to char in order to avoid compiler warnings.
- Ensure that all variables have a value before they are used (ft920).
- Disable unused functions and variables (frg100).
- Incremented backend version numbers.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2120 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 15:51:38 +00:00
Stéphane Fillod, F8CFE 6ba9819f5d fix error code return convention, which is negative when failed
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2004 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-10 21:49:38 +00:00
Stéphane Fillod, F8CFE cccf1318ce second pass at getting rid of "ll" immediate literal format (64bit int)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1904 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-01-25 00:22:14 +00:00
Stéphane Fillod, F8CFE fe10198f27 remove deprecated RIG_LEVEL_SQLSTAT and fix get_dcd, fix str_cal in icom backend
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1853 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-09-26 08:35:05 +00:00
Stéphane Fillod, F8CFE 623ba09ca8 resolve win32 header compatibility issue: no more HANDLE/timeval specific types
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1794 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-10 21:00:13 +00:00
Stéphane Fillod, F8CFE 4d6426101e remove some dead wood
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1552 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-01 19:34:08 +00:00
Stéphane Fillod, F8CFE 0e970ccdb7 Patch from Tomi Manninen / OH2BNS:
ft857-arg-check:

 - remove all checks for rig != NULL, these are done by the front end

ft857-squelch:

 - add ft857_get_dcd() and ft857_get_level(RIG_LEVEL_SQLSTAT)
 - changed S meter calculation a bit
 - the rig rejects ft857_set_ptt() if state isn't changed,
   handling this might be needed in other set commands as well
 - increased read timeout a bit
 - tried ft857_set_powerstat(), didn't work...
 - minor cosmetic stuff


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1536 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-09-21 11:08:06 +00:00
Stéphane Fillod, F8CFE 5ce96aa639 FT-857 patch from Tomi, OH2BNS
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1531 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-27 07:39:05 +00:00
Stéphane Fillod, F8CFE 30b0ae0137 added intial support for ft857
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1500 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-11 21:20:35 +00:00