Wykres commitów

53 Commity (7a7813cb481a87b39b2b9c139c0020c2aa3e8ad3)

Autor SHA1 Wiadomość Data
Nate Bargmann 250efe9605 Remove set but unused variable errors in kenwood. 2011-08-25 10:43:02 -05: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 a94f6cfee2 Add skeleton for TH-D72A 2011-05-26 23:21:15 +02:00
Stéphane Fillod, F8CFE 090fe03b5d New Kenwood THF-6A backend
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2991 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-05 17:57:52 +00:00
Charles Suprin, AA1VS 7e96c876b2 Changed th_set_freq to round and select step size to use.
Allows 6.25kHz and 5kHz channelization.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2985 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-19 12:31:21 +00:00
Charles Suprin, AA1VS 1e34d99098 extend th_get_vfo_char to support D700
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2982 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-16 23:50:42 +00:00
Stéphane Fillod, F8CFE 0d1e396432 - add FUNC_MUTE, PARM_BEEP, th_scan(), th_[sg]et_dcs_sql()
- fix th_[sg]et_ctcss_tone(), let them handle the tone instead
  of the CTCSS, covered by th_[gs]et_ctcss_sql()
- new tm_set_vfo_bc2() capable of split handling along with th_[sg]et_split_vfo()
- customize TM-D700 channel caps and channel desc size
- set TM-D700's timeout to 1 second
- fix TM-D700's targetable_vfo


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2979 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-13 21:25:46 +00:00
Stéphane Fillod, F8CFE 28844e674f TM-D700: fix set_vfo, plus some more caps
th_set_freq: finer freq setting
th_set_chan: allow inexact tuning_step


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2975 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-08 08:28:39 +00:00
Stéphane Fillod, F8CFE b9b97a0f25 - added FIG_FUNC_BC, RIG_PARM_BEEP, RIG_PARM_APO, RIG_LEVEL_VOXGAIN, RIG_LEVEL_VOXDELAY (stub)
- misc: some rig_debug() are missing ending \n
- better 64 bit portability
- TH-F7E fixes (RIG_FUNC_TBURST, RIG_FUNC_TSQL, RIG_FUNC_TONE, *_ctcss_tone, ..)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2902 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-26 21:35:37 +00:00
Alessandro Zummo, IZ1PRB 0ce5807dbb th: fixed a missing newline
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2892 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-24 14:04:02 +00:00
Alessandro Zummo, IZ1PRB 94b9c531dd th: fixed stack corruption
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2891 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-24 14:03:04 +00:00
Alessandro Zummo, IZ1PRB 6b0d8185b0 th: fixed formatting issue
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2890 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-24 13:57:15 +00:00
Alessandro Zummo, IZ1PRB 2edfec12db - removed EOM, it's handled by kenwood_transaction
- fixed tabs and spaces
- added generic routine for vfo errors
- set_mem: do not switch vfo if already in mem mode
- simplified invocation of some commands
- buffer optimizations
- added PARM_BEEP and PARM_APO
- fixed getting of LEVEL_RFPOWER
- fixed get_ant



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2886 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-24 13:51:34 +00:00
Stéphane Fillod, F8CFE 1413d79e5c Wrap sscanf in order to workaround some locales where the decimal
separator (float format, ...) is not a dot.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2711 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-06-23 21:00:14 +00:00
Alessandro Zummo, IZ1PRB f3c47c5864 style fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2631 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-13 19:29:16 +00:00
Alessandro Zummo, IZ1PRB e1c03296a4 Replace __FUNCTION__, which is gcc specific and was deprecated
a long time ago, with __func__, which is at least defined in C99.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2617 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 23:22:58 +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
Stéphane Fillod, F8CFE 8c83b98465 fix warning
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2448 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-01 16:30:23 +00:00
Stéphane Fillod, F8CFE 13f6a16df1 fix warning
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2447 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-01 16:27:28 +00:00
Stéphane Fillod, F8CFE c3cd75472a fix warning
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2446 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-01 16:22:45 +00:00
Stéphane Fillod, F8CFE 8c527d60df * fix remaining places not knowing that tuning step is hexadecimal
* get ready for freqs higher than 31 bits
* on freq higher than 470MHz, tuning step of TH-F7 must be at least 10kHz
* fix flexible th_get_mode
* added RIG_LEVEL_BALANCE/RIG_LEVEL_ATT
* and yes, we do want to read the transaction's reply, to know if successful


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2354 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-05 21:57:32 +00:00
Stéphane Fillod, F8CFE e5b52531fb * Added th_set_ant/th_get_ant
* Flexible rmode_t conversion
* Made th_get_channel/th_set_channel more generic, esp. to work with TH-F7E
* Major TH-F7E improvements


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2348 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:27:26 +00:00
Joop Stakenborg, PG4I 28b2cbbfa0 long long really needed here? - patch by diane Bruce
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2105 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-04-13 19:43:49 +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 28b6776472 fix more compilation warnings, int->size_t, unsigned char->char
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2090 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-03-09 20:12:25 +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 23369a0c25 * abstract 64bit int format type to cope with portability issues.
introduce PRIll (printf format) and SCNll (scanf) in misc.h.
  This needs to have config.h included beforehand.
* do likewise with freq_t type (double) in rig.h
  FREQFMT is deprecated.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1903 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-01-24 23:04:35 +00:00
Thierry Leconte, F4DWV de7388d76a fix too optimistic comment
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1895 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-12-28 12:58:51 +00:00
Thierry Leconte, F4DWV d76339dce8 fix get_channel for split frequency
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1892 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-12-22 16:06:00 +00:00
Thierry Leconte, F4DWV 2ef693d239 fix get_level RFPOWER and set_ptt
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1886 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-12-06 22:15:14 +00:00
Thierry Leconte, F4DWV 11643e2c30 add get_powerstat
fix get_mem : restore previous VFO


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1867 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-11-11 17:51:53 +00:00
Thierry Leconte, F4DWV 2c9aa4713e fix get_channel answer freq parsing
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1863 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-11-04 22:49:10 +00:00
Thierry Leconte, F4DWV 47b20b7602 use level_gran to compute levels in get/set_level
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1710 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-03-21 18:25:54 +00:00
Thierry Leconte, F4DWV 70d3d7f854 add th_set_func (with TBURST)
add AF level
add TO_VFO vfo op
add set_powerstat
fix get_vfo to return VFO_MEM


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1708 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-03-21 16:55:28 +00:00
Thierry Leconte, F4DWV f0c75ca8fb generalize th_set_channel and th_get_channel to all th tm rigs
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1707 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-03-20 16:48:34 +00:00
Stéphane Fillod, F8CFE cfacf0226e misc fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1638 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-01-15 22:03:18 +00:00
Thierry Leconte, F4DWV f9bf5121c9 use RAWSTR level insteed of STRENGTH
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1615 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-02 22:45:43 +00:00
Thierry Leconte, F4DWV 8dfce9bfa6 fix error return code
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1610 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-30 20:23:51 +00:00
Thierry Leconte, F4DWV a7cf7fb648 add vfo_op get_dcd set_ptt set_level procs + numerous mods and fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1608 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-29 13:34:54 +00:00
Stéphane Fillod, F8CFE 91df9591f4 Prepare eventual move from freq_t as a "long long" to a "double" type.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1569 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-20 22:15:02 +00:00
Stéphane Fillod, F8CFE 84ad9b827b include fixup, stdio.h is not included by rig.h anymore
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1551 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-01 19:32:04 +00:00
Stéphane Fillod, F8CFE e0b2a7b4ac fix headers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1435 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-07 22:42:11 +00:00
Stéphane Fillod, F8CFE a0961e4966 Removed RIG_FUNC_LMP in favor of RIG_PARM_BACKLIGHT
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1416 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-03-24 23:08:28 +00:00
Stéphane Fillod, F8CFE 41f5748be2 converted to C99 intialization style
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1132 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-16 17:43:02 +00:00
Stéphane Fillod, F8CFE 3a08190627 gcc3 fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1109 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-08 22:53:27 +00:00
Stéphane Fillod, F8CFE 9ed48795a2 factorized th_transaction with kenwood_transaction, killed thd7_* functions and share with th breed rigs
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1026 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-13 23:42:43 +00:00
Stéphane Fillod, F8CFE b26d39f637 handle nul char in stopset
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1019 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-10 23:41:39 +00:00
Stéphane Fillod, F8CFE 2fd1486135 added a private data pointer argument to event callbacks
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@977 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-02-27 23:25:42 +00:00
Francois Retief e783fc2bc5 Changed to a new transaction function and adde quite a few commands.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@851 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-07 17:48:36 +00:00