Commit Graph

25 Commits

Author SHA1 Message Date
Mikael Nousiainen
45a8c5c575 More fixes to many Icom HF rig backends: tuner function, VFO tune op, rig-specific AGC levels, basic set of filters where missing, get/set split, get/set powerstat, make get/set RIT/XIT commands shared functions, add new level for Noise Blanker level, fix RIG_MODE_PKTAM and add missing PKT modes for many rigs, add dual-watch function. Add RIT/XIT functions for TS-480 and TS-890. 2019-06-01 09:51:17 +03:00
Michael Black
d0ccacd65c Fix kenwoood BC BC2 returns 2019-01-06 15:05:57 -06:00
Michael Black
0316376b45 All kenwoods to have 3-char commands for functions and return whatever value the rig returns instead of 0/1
Changes to add more ts890 capabilities, e.g. NB2, BC2
2019-01-01 12:38:10 -06:00
Michael Black
4b69188f67 Fix some 64bit items and add RIG_FUNC_NB2 for TS-890S 2018-12-23 17:41:10 -05:00
Michael Black
005fb29cf7 Add TS-890S as derivative of TS-480 plus new modes 2018-12-22 12:03:41 -05:00
Bill Somerville
d4edc35827 Increase the number or retries for most Kenwood rigs
It appears  that these rigs  can go busy  for a significant  time when
switching between Tx and Rx.
2015-10-21 21:56:13 +01:00
Bill Somerville
aa9ad54b94 Remove kenwood_simple_cmd as kenwood_transaction has that functionality 2015-02-16 18:16:10 +00:00
Bill Somerville
143f305b49 Further clarification in the implementation of kenwood_transaction()
Buffer size is  now an input parameter only as  the return data length
is  implicit since  a null  terminated C  string is  returned.  Better
precondition checks are impelmented.
2015-02-16 12:46:35 +00:00
Bill Somerville
4a74db654a Clarify the handling of Kenwood CAT message terminators
There was an inconsistency in  whether the CAT terminator character is
included  in  returned  messages.   It  now  follows  the  comment  in
kenwood_transaction()  i.e. strips  of  the terminator  and returns  a
message length that reflects that.
2015-02-13 18:07:10 +00:00
Bill Somerville
54c297b4c4 Fix Kenwood Split Operation for TS50 & TS480.
The TS50S has the old FN and SP commands rather than the newer FR/FT
commands, added code to support these commands allowing split
operation to be commanded on the TS50S.

The TS480 had no split VFO functions enabled, added normal modern
Kenwood split VFO and mode handing functions.
2014-01-30 13:09:30 +00:00
Nate Bargmann
be2fefcf18 Update version of modified backends
Per Stephane's request, updated the version string of backends modified
since 1.2.14 release.  Newly added backends were left alone.
2012-02-02 20:10:37 -06:00
Nate Bargmann
8d16bebf40 Update LGPL header in Kenwood source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:35 -05:00
Stephane Fillod
421909bad2 Let set_ptt() select source, either TX mic or TX data 2011-07-20 00:09:50 +02:00
Alessandro Zummo, IZ1PRB
b510ceb1cb ts570,ts850,ts870s,ts140,ts480,ts680: use kenwood_simple_cmd where possible
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2616 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 22:56:07 +00:00
Alessandro Zummo, IZ1PRB
392249c921 ts140,ts2000,ts480,ts570,ts680,ts850,ts870s: remove usage of fixed ; and EOM
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2611 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 22:13:55 +00:00
Alessandro Zummo, IZ1PRB
c6cdfe91a8 Remove const from priv_caps to allow kenwood_init to initialize default values if they're missing
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2600 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-28 23:30:59 +00:00
Nate Bargmann, N0NB
30f66de479 Several Kenwood patches from Alessandro Zummo, azummo-lists@towertech.it
Among the changes:

 I finally had the time to build the CAT interface for my TS450 and
 discovered a couple of new commands.

 MX; MX0; MX1; is used to activate the AIP function
 FL; FLXXXYYY; is used to set the filters.

 I made a perl script to try every possible two-letters command. If
 amyone is interested, at their own risk, just ask.

 I've then modified and optimized the kenwood driver:

 - moved MD_ defined to .h
 - added init/cleanup
 - ts450_get_mode -> kenwood_get_mode_if
 - support reading memory channel freq within kenwood_get_freq
 - added kenwood_safe_transaction as an helper with result len check
 - added kenwood_get_if
 - added get_level for RIG_LEVEL_CWPITCH
 - set/get for RIG_FUNC_AIP
 - replaced ts140/680 get_mode and get_freq
 - removed the delay on the ts450. it works just fine without it.

=============================
 the attached patch requires the first one I sent and
 addresses a few remaining issues

 - converted 8 spaces to tabs
 - added kenwood_mode_table
 - added kenwood_simple_transaction helper func
 - use kenwood2rmode and rmode2kenwood where possible
 - some code cleanup
 - use kenwood_safe/simple_transaction where possible
 - added kenwood_get_mem_if (ts140,ts450,ts680,ts690,ts850)
 - added kenwood_get_channel (ts450,ts850)
 - added FUNC_FINE_STEP (commented out, we have no more func slots)
 - added LEVEL_CWPITCH (set)
 - no reason to have ts850_set_func, ts850_set_level
 - ... ts480_get/set_ant, ts480_set_func
 - ... ts570_set/get_ant, ts570_get_channel, ts570_get_rit
 - ... ts680_set_func
 - ... ts790_get_mode, ts790_get_vfo

 this patch is a bit more extensive and tested only on the TS450.
 feedback will be appreciated.

 where I removed code I took care to verify that the generic
 code in kenwood.c worked in the same way.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2591 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-23 03:24:42 +00:00
Thomas Beierlein, DL1JBE
b1bf5c9c67 changed RIG_STATUS_NEW into RIG_STATUS_UNTESTED.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2424 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-26 13:54:52 +00:00
Juergen Rinas, DC3BW
21857f4164 * fixed ptt
* expanded frequency range (available after firmware update) according to
  http://www.kenwood.com/i/products/info/amateur/ts_480/firmware/pop_ts480_e.htm
* added tuning steps
* added filter list
* increased version info


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2204 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-08-06 05:19:51 +00:00
Joop Stakenborg, PG4I
c2df1f92a8 make sure we use ack_len=0 for functions that return nothing (set functions)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2093 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-03-14 20:06:46 +00:00
Joop Stakenborg, PG4I
8ff672d34c more unsigned char->char and int->size_t transitions
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2091 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-03-12 09:02:38 +00:00
Stéphane Fillod, F8CFE
cb589fcd25 account for improvements
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1975 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 20:23:19 +00:00
Juergen Rinas, DC3BW
e5a5362c1c added a few get_level/set_level get_function/set_functions.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1889 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-12-14 07:37:58 +00:00
Juergen Rinas, DC3BW
3915cdb0a0 added antenna switching...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1885 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-11-28 21:06:40 +00:00
Stéphane Fillod, F8CFE
d0d8cc35d0 TS-480 initial support from Jurgen DC3BW
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1882 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-11-27 13:19:56 +00:00