Commit Graph

79 Commits

Author SHA1 Message Date
Michael Black W9MDB
0b1a58d308 Fixed indentation warnings detected by newer gcc
Fixed one error discovered by these warnings in easycomm.c
2017-06-28 18:00:20 +01:00
Bill Somerville
5c947caf53 Fix a regression introduced in 222ad74 2016-04-20 15:03:05 +01: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
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
Paul Lutus
fb63c3b6f1 pcr.c, pcr1500.c: Add DSP support
"[This patch] allows PCR radios to use DSP units correctly for the first
time under Hamlib.

We're all familiar with a typical DSP presentation on a radio -- you can
turn it on and off, you can adjust the degree of noise processing, and
you can sometimes even enable a notch filter. In the PCR radios
that have a DSP installed, none of this worked until now.

I corrected the code in pcr.c, changes that apply to all the PCR radios,
and in pcr1500.c, the radio I have, but someone else will have to
edit the files for the radios I don't own so the user interface works
right. I decided it would be unwise to try to edit files for radios
I couldn't test.

I just re-read the above, and I need to add that the changes to prc.c
shouldn't adversely affect the PCR models other than the one I own."

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-11-15 20:42:20 -06:00
Nate Bargmann
f92d2ea0f7 IC-PCR1500/2500: Default write_delay to 0
Paul, KE7ZZ, reports the write_delay and post_write_delay defaults were
too long and recommends that these models work with the values set to 0.

Paul has analysis at:

http://arachnoid.com/JRX/#USB_Transaction_Logging_and_Analysis
2012-11-05 21:06:33 -06:00
Nate Bargmann
dbf5396fcb Remove set but unused variable errors in pcr. 2011-08-25 11:26:54 -05:00
Nate Bargmann
bba93abd2d Update LGPL header in PCR source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:36 -05:00
Stephane Fillod
58b3b1c2c2 fix warning 2011-07-20 00:06:39 +02:00
Kamal Mostafa, KA6MAL
ad1cf04ea7 source warnings cleanup: #if-0 out a few unused routines
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3063 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-27 22:42:17 +00: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
cff15a0ade - add PCR-2500
- sub receiver support for PCR-2500
- implement get_dcd, set/get_dcs_sql, set_ext_evel(DIVersity)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2948 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-07-31 23:22:48 +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
Alessandro Zummo, IZ1PRB
46de76084e Bumped out to beta, solved a few bugs. Tested with PCR100/1000/1500.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2779 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-12-04 17:42:09 +00:00
Alessandro Zummo, IZ1PRB
7cb82e376a Try to cope withe the PCR100 and PCR1000 at the same time
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2778 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-12-04 11:17:27 +00:00
Alessandro Zummo, IZ1PRB
94f2415048 Try to compensate for leftover characters
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2776 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-12-03 20:36:24 +00:00
Stéphane Fillod, F8CFE
842e769948 - implemented RIG_FUNC_AFC
- fixed some PCR1000 filter list, added set/get_powerstat
- wire up RIG_LEVEL_CWPITCH and RIG_FUNC_VSC
- moved some prototypes to pcr.c


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2717 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-08-04 15:21:14 +00:00
Stéphane Fillod, F8CFE
0fd0883095 PCR-1500 support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2714 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-08-02 16:15:59 +00:00
Stéphane Fillod, F8CFE
e9a87eda55 support ANL through ext_level
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2624 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-06 17:31:33 +00:00
Alessandro Zummo, IZ1PRB
acd43cecd2 Support get/set_powerstat on pcr100
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2603 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-29 19:50:33 +00:00
Stéphane Fillod, F8CFE
5e475e76c4 pcr patch from Alessandro Zummo, with more reliability and new features:
* CTCSS tone squelch
 * selectable baud rate (300 - 38400)
 * ANL - Automatic Noise Limiter (commented out, until created in frontend)
 * simplified and cleaned up code
 * RIG_LEVEL_STRENGTH
 * RIG_LEVEL_RAWSTR


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2597 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-27 19:05:59 +00:00
Alexandru Csete OZ9AEC
b700d776f2 Use tone_t for pcr1_ctcss_list. Changed arg 4 of pcr_transaction to unsigned. Cast the other mismatches to (char *).
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2121 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 16:42:19 +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
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
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
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
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
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
1dc8cb7955 patch from Darren G0WCW
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1141 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-26 22:33:52 +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
a0cae89171 temporary fix: read_block instead of read_string to make initialization to work, added UK code info
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1036 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-26 08:05:51 +00:00
Stéphane Fillod, F8CFE
e6f23d2a11 protocol fix: PCR always send a short ack, whatever the response can be. So eat it.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1027 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-13 23:56:41 +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
87493513e4 various fixes to bring this rig in alpha stage
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1013 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-07 22:50:43 +00:00
Stéphane Fillod, F8CFE
cdb57dbaf4 bug fixes, added pcr_open and pcr_close
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1011 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-07 22:48:50 +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
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
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