Commit Graph

68 Commits

Author SHA1 Message Date
Nate Bargmann
62309abd49 Formatted alinco/ to final coding guidelines 2017-10-08 06:20:45 -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
Michael McConville
875d0fcdfb Fix erroneous boolean logic
It seems like || was used where && was intended here. Currently, the
conditions are always true, and there's no reason for them to be written
this way.

Found with Coccinelle.
2016-04-14 12:47:46 -04:00
Ladislav Vaiz
f632695131 Android build updates for monolithic build
Android is now built as a static library.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-19 07:25:08 -05:00
Nate Bargmann
332a04b7cd Clean up backend Makefile.am files
Moved all backend *.h files into the SOURCES primary as Automake
documentation states all source file types should be listed.  This
causes Automake to include *.h files in rebuild rules for the targets.

Removed the '-DIN_HAMLIB' assignment from the CFLAGS primary in each
backend and assigned it to AM_CPPFLAGS in configure.ac.  The effect is
the same and it simplifies the backend Makefile.am files.

Removed all commented lines.
2013-09-16 21:51:39 -05:00
Remi Chateauneu
60019c9444 Monolitic libraries. 2013-09-08 14:56:28 +01:00
Ladislav Vaiz
6d4295af2c Add Android build support
Android makefile fragments are distributed as extra distribution files
by the GNU build system but are otherwise ignored.  The Android build
support is independent and does not rely on the GNU build system.

See android/README.android for more info.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-04-26 22:31:56 -05:00
Nate Bargmann
2d8deab072 Update LGPL header in Alinco source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:34 -05:00
Kamal Mostafa, KA6MAL
2567b93af7 Move backend libraries into /usr/lib/hamlib directory.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2988 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-26 02:23:50 +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
Alexandru Csete OZ9AEC
471c50351b Cast unsigned char to char in order to avoid compiler warnings. Incremented backend version number.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2122 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 16:55:04 +00:00
Stéphane Fillod, F8CFE
138fad8ba7 reflect backend change
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2006 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-10 21:57:13 +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
13cbb5defb account for alinco.c improvements
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1969 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 19:35:41 +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
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
02c7bc3180 account for backend improvement
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1775 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-01 21:23:41 +00:00
Ben Coleman, NJ8J
b4bea8e616 Handle setting Keyer speed and CW Pitch
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1769 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-07-07 00:27:52 +00:00
Ben Coleman, NJ8J
c2aea00644 Added checking of return string from rig on set (non-retrieval) commands.
Added code for COMP function.
Added alinco_set_parm & tweaked dx77 capabilities.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1704 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-03-15 04:02:08 +00:00
Stéphane Fillod, F8CFE
06df356369 patch from Ben NJ8J
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1688 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-02-15 00:30:29 +00:00
Stéphane Fillod, F8CFE
efabee7d6c echo fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1632 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-22 07:39:46 +00:00
Stéphane Fillod, F8CFE
02e5735c72 gcc-2.x fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1630 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-08 08:46:11 +00:00
Stéphane Fillod, F8CFE
6985ec78ca converted RIG_LEVEL_STRENGTH to RIG_LEVEL_RAWSTR. RIG_LEVEL_STRENGTH is then derived from calibration table
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1583 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 17:14:44 +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
960c83c4c5 * added ABI VERSION to backend entry point symbol name
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1442 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-16 22:30:43 +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
a07a4a336e Adopt new split_vfo handling. Basically, rename set_split/get_split
to set_split_vfo/get_split_vfo, and take an extra transmit vfo arg.
Ascending compatibility is retained at the API frontend level.
NOTE: only function name has changed. The backends do not implement
necessarily the new semantic (the extra tx vfo is just ignored).


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1425 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-06 18:40:36 +00:00
Stéphane Fillod, F8CFE
3497d098a5 misc Makefile fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1282 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-13 20:39:07 +00:00
Stéphane Fillod, F8CFE
d2bede454c fix to account for struct chan_list change
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1251 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:40:55 +00:00
Stéphane Fillod, F8CFE
52e9a15924 libhamlib-backend.so.x.y.z -> hamlib-backend.so, avoid version info for modules
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1241 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:19:31 +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
51ea94cdb5 removed autogenerated files, use autogen.sh instead
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1088 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-02 18:03:25 +00:00
Stéphane Fillod, F8CFE
cf23615f9e regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1056 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-05-28 21:46:50 +00:00
Stéphane Fillod, F8CFE
ad7310335b replaced fread_block in favor of the more intelligent read_string, added some serial_flush
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1025 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-13 23:37:13 +00:00
Stéphane Fillod, F8CFE
95571eb3a4 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@937 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 23:59:42 +00:00
Francois Retief
d88cbe7307 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@872 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 19:18:46 +00:00
Stéphane Fillod, F8CFE
303861e483 warning: backend module breakage: symbol changed: init_ -> initrigs_
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@821 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-28 20:28:04 +00:00
Stéphane Fillod, F8CFE
99915b6c57 misc sscanf format fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@786 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 22:59:09 +00:00
Stéphane Fillod, F8CFE
11ce718be6 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@778 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:58:00 +00:00
Stéphane Fillod, F8CFE
83377f40ad tones fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@774 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:35:27 +00:00
Stéphane Fillod, F8CFE
382c69b2bd cleaned up static build and flags, introduced lib version 0:0:0
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@772 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-19 03:31:53 +00:00
Stéphane Fillod, F8CFE
17f0e53d0f regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@748 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:19:57 +00:00
Stéphane Fillod, F8CFE
95c6c458dc static/dynamic build fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@745 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:14:47 +00:00
Stéphane Fillod, F8CFE
dc9487a284 static/dynamic build fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@744 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:07:54 +00:00
Stéphane Fillod, F8CFE
e70124ef5a regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@700 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-22 20:34:48 +00:00
Stéphane Fillod, F8CFE
897e3582e4 misc dep update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@699 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-22 20:33:11 +00:00
Stéphane Fillod, F8CFE
197d62af6b do not export ctcss and dcs data lists if dll does not support it (eg. win32), and then, workaround this
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@682 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-16 19:19:46 +00:00
Stéphane Fillod, F8CFE
5fb2b7c978 regenerated (automake 1.5 upgrade)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@677 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-07 21:53:48 +00:00