Wykres commitów

18 Commity (ecadeda486d163be72800b6cf6fda4f4c734790d)

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
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
Nate Bargmann 245ab86441 Quell compiler warnings on Cygwin
Quell mostly harmless warnings from the older GCC installed in Cygwin.
Produces a quiet compilation.
2013-05-09 22:06:39 -05:00
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
Nate Bargmann, N0NB e6176ab20f Correct ts440 for an iflen of 38 chars
Bill reports his TS-440 returns 38 chars instead of the default 29.
This patch defines iflen of 38 for the ts440 backend and implements
necssary support in the ic10 backend.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3067 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-03-07 23:36:41 +00:00
Stéphane Fillod, F8CFE 1404b754fe portability of long long
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2880 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-16 19:04:00 +00:00
Stéphane Fillod, F8CFE 581359dca0 Patch from Eric Sesterhenn, after cppcheck run:
- kenwood/ic10.c: (error) Buffer access out-of-bounds
- src/network.c: (error) Memory leak: p
- tentec/paragon.c: (error) Memory leak: priv


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2765 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-11-03 22:03:56 +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
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 18093e65c7 fix compilation with old compilers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2443 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-31 22:34:58 +00:00
Joop Stakenborg, PG4I 9ad183c7aa fix compilation warnings
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2087 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-03-07 19:48:20 +00:00
Stéphane Fillod, F8CFE 74c6d2ba61 fix proprer read_string() return code error handling
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2003 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-10 21:47:14 +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 63f9ce53e9 * Patch from Mark J. Fine, plus some tweaks of mine to make it generic:
> Attached is updated code for the IC-10 interface, which is the primary
> code for the TS-440S and R-5000. Most of the info is R-5000-specific,
> therefore I did not attempt to write for the RIT and XIT commands.
> However, all of the other IC-10 commands are included.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1754 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-06-13 12:38:41 +00:00
Stéphane Fillod, F8CFE caffa28025 misc fix (header)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1729 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-05-02 17:18:23 +00:00
Stéphane Fillod, F8CFE 9be7264373 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1727 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-05-02 17:13:33 +00:00