Commit Graph

375 Commits

Author SHA1 Message Date
Hans Van Ingelgom
840ef67a85 Added Peaberry V1 and V2 models
On the Peaberry forum, we have a thread with some hamlib patches for the
Peaberry SDR (a softrock-like transceiver). Both version 1 and version 2
have been implemented and tested.

There are two patches: the first one, made by me (ON8VQ) adds support
for the two radio's, and the second one, made by R2AEE, fixes the tuning
(using PICUSB commands instead of AVRUSB).

The patches are available here:
http://ae9rb.com/forum/viewtopic.php?f=4&t=166

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-20 14:34:21 -05:00
Nate Bargmann
36f5f4cf6a Revert to previous handling of getaddrinfo()
Use the system gettaddrinfo function when possible as before.  Tested on
GNU, Cygwin, MinGW on Linux, and MinGW on Windows.  Under MinGW the
replacement getaddrinfo is used.  Perhaps this is an area for
investigation to be certain MinGW really doesn't supply getaddrinfo.
This reverts some of the patches from Remi Chateauneu in commit
60019c9.  This fixes build issues encountered building the Windows
binary daily snapshots.

Enabled static library build by default at configure time.

Fixed pthread library linking for the ars backend on MinGW.
2013-09-15 19:47:49 -05:00
Remi Chateauneu
60019c9444 Monolitic libraries. 2013-09-08 14:56:28 +01:00
Nate Bargmann
1fd85febee MinGW build: Fix sleep() substitution
MinGW does not natively support the POSIX sleep() function so we have
had an override that was a part of the GR_PWIN32 macro and included in
the generated config.h file.  When compiling for Windows on POSIX using
MinGW, Autotools will detect sleep() and set HAVE_SLEEP which prevented
the substitution from being included in the source.  Adding a test for
_WIN32 (set by MinGW's gcc) then caused a warning from src/network.c on
POSIX about winsock2.h needing to be included before windows.h.  As
config.h needed to be included first, the solution to break out the
substitution that includes windows.h into its own file.  This patch
provides that solution and allows the code to compile cleanly on POSIX,
using MinGW on both POSIX and Windows, and on Cygwin.
2013-07-29 12:38:22 -05:00
Jonny public
dd5a8f58b6 ether6: New rotor backend from Jonny, DG9OAA
I have now written a new rotor control based on an Atmel ethernet board
and used with me. It works well so far.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-07-20 08:02:12 -05:00
Nate Bargmann
8c2eee91cc rig.h: Replace rig_func_e with CPP macros
The C standard dictates that an enum constant is a 32 bit signed
integer.  Setting a constant's bit 31 created a negative value that on
amd64 had the upper 32 bits set as well when assigned to the
misc.c:func_str structure.  This caused misc.c:rig_strfunc() to fail its
comparison for RIG_FUNC_XIT on amd64 (x86_64).  To use bit 31 as an
unsigned long, preprocessor macros have been used instead as a 'const
unsigned long' which cannot be used to initialize the func_str.func
members.  TNX KA6MAL, AC6SL.  - N0NB

Other minor formatting edits.
2013-01-31 18:00:50 -06:00
Nate Bargmann
f82184cbf5 Add RIT and XIT as rig_set/get_func() members
In response to a long standing request from Tor, N4OGW, and others, RIT
and XIT are added as members for the rig_set/get_func() members.
"RIT"/"XIT" have been added as tokens.  The dummy rig backend and
testrig.c have been updated for these new functions.

Applications should test a backend with the rig_has_set/get_func() and
test for RIG_FUNC_RIT or RIG_FUNC_XIT.  A non-zero result indicates
these functions are implemented by a given rig backend.  It will take
some time for all backends to migrate to this new implementation.  Once
implemented, RIT or XIT should be set to '0' to 'clear' the value
without deactivating the rig's RIT/XIT function.  The dummy/dummy.c file
can be used as a simple guide for backend authors implementing this
behavior.
2013-01-15 12:47:47 -06:00
Volker Schroer
871d8a44a2 Extension of si570avrusb for SDR Kit of Funkamateur
Adds rig model 2515, Funkamateur Sdr

Signed-off-by: Volker Schroer <dl1ksv@gmx.de>
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-11-25 13:47:46 -06:00
Kamal Mostafa
3466512dbd Fix spelling errors 2012-08-21 19:54:50 -07:00
Nate Bargmann
417cb98d2e Tidy up rigctl --list output
Implemented hash table to temporarily store and sort the rig models by ID
to print the --list by model numbers.  Hash is implemented using
uthash.h, see http://uthash.sourceforge.net/

Suppressed rig backend register output by setting rig_debug_level to 0
for list output.

Removed riglist definition of RPC backend.
2012-02-13 15:28:42 -06:00
Nate Bargmann
c3bc66eafc Tidy up rotctl --list output
Implemented hash table to temporarily store and sort the rot models by ID
to print the --list by model numbers.  Hash is implemented using
uthash.h, see http://uthash.sourceforge.net/

Suppressed rot backend register output by setting rig_debug_level to 0
for list output.

Removed rotlist definition of RPC backend.
2012-02-13 15:28:03 -06:00
Nate Bargmann
8c145cfc6b Merge branch 'API_3'
Conflicts:
	.gitignore
	Makefile.am
	NEWS
	c++/Makefile.am
	configure.ac
	hamlib.spec.in
	rpcrig/rpcrig.x
	rpcrig/rpcrig_backend.c
	rpcrig/rpcrig_backend.h
	rpcrig/rpcrig_proc.c
	rpcrig/rpcrigd.c
	rpcrot/rpcrot.x
	rpcrot/rpcrot_backend.c
	rpcrot/rpcrot_backend.h
	rpcrot/rpcrot_proc.c
	rpcrot/rpcrotd.c
	src/Makefile.am
	tests/rigctl.1
	tests/rotctl.1
2012-02-03 15:03:39 -06:00
Stephane Fillod
32a4066050 add DttSP control through UDP interface 2012-01-30 23:22:32 +01:00
Stephane Fillod
46033db165 CM108 GPIO PTT: do not break ABI
Move around the ptt_bitnum field in the union of hamlib_port_t.
Increase Hamlib frontend revision.
2012-01-11 23:28:01 +01:00
Frank Goenninger
f6ea9f1246 Add ADAT ADT-200A backend
Signed-off-by: Stephane Fillod <fillods@users.sf.net>
2012-01-11 23:16:41 +01:00
Andrew Errington
1a77ef9eb9 Initial support for CM108 GPIO contorl of PTT
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-01-11 06:16:51 -06:00
Stephane Fillod
7bf119716b add HiQSDR 2012-01-06 09:40:04 +01:00
Stephane Fillod
da80137819 Add support for RIG_PORT_UDP_NETWORK
Also some copyright year update,
and default serial device on MacOSX
2012-01-06 09:28:24 +01:00
Stephane Fillod
fccb7769b2 add TM-D710 and TM-V71 in kenwood ID list 2011-12-23 00:32:25 +01:00
Charles Suprin
b6e9818dea Add D710 to riglist. 2011-12-11 11:57:23 -05:00
Stephane Fillod
6699942722 add IC-RX7 2011-09-04 15:47:44 +02:00
Stephane Fillod
eee4feb71d add Tentec 599 Eagle 2011-09-01 22:12:25 +02:00
Nate Bargmann
2fd02a9ade Update LGPL header in include header files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:35 -05:00
Stephane Fillod
be74cf0f54 add rotator Celestron/Orion Teletrack Az-G telescope mount 2011-08-21 23:30:41 +02:00
Stephane Fillod
23c28e84e8 Kill RPC backends and rpc.rigd/rpc.rotd 2011-08-21 13:23:01 +02:00
Stephane Fillod
421909bad2 Let set_ptt() select source, either TX mic or TX data 2011-07-20 00:09:50 +02:00
Øystein Hårberg
e53bfe96b8 New TS-7400 based rotor backend
From Øystein Hårberg, LA7LKA, a backend for a rotor based on the TS-7400
embedded ARM board running Linux from http://www.embeddedarm.com/

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2011-07-10 21:20:28 -05:00
Stephane Fillod
6de38acb6d add IC-9100 and IC-7410 2011-06-12 18:03:10 +02:00
Stephane Fillod
a94f6cfee2 Add skeleton for TH-D72A 2011-05-26 23:21:15 +02:00
Stephane Fillod
b60c28894a Add IF-100 rotor support 2011-05-26 22:07:26 +02:00
Stephane Fillod
01db7a309f Add IC-R9500 2011-03-28 18:56:05 +02:00
Stephane Fillod
544fc515bc Add SifFox Transfox SDR 2011-03-26 15:45:51 +01:00
Nate Bargmann, N0NB
db27b38041 Add Vertex Standard VX-1700 transceiver support
From Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>

vx-1700 notes:
==============
  * the only possible way to switch from VFO_A to VFO_MEM is a
    switching to configured memory channel.
  * vfo_op(UP/DOWN) in memory mode switch channel UP/DOWN
    correspondingly
  * set_mem() in VFO mode do not change memory channel, but only
    remember passed value. Thus we may set non-configured memory
    channel number for future use in vfo_op(OP_FROM_VFO).
  * get_mem() in VFO mode returns last used memory channel value.
    It may return non-configured memory channel number passed to
    set_mem() previously.

WARNING: VX-1700 CAT Manual have bugs, see comments in code.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3052 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-16 23:49:58 +00:00
Stéphane Fillod, F8CFE
01e2396ead - revert creation of RIG_MODE_WAM and RIG_MODE_SFM
- sr2200:
  - fix filter width of WFM
  - prevent symbol littering


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3044 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-08 22:21:11 +00:00
Nate Bargmann, N0NB
91e7f2ec14 Prepare FiFi-SDR backend refactoring
Patch from Rolf Meeser <rolfm_9dq@yahoo.de>

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3036 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-04 23:19:47 +00:00
Nate Bargmann, N0NB
cf6443e3c4 Doxygen tweaks
New CSS file, added Doxygen logo to footer, tweaked hamlib.cfg.in for
Doxygen configuration.  Minor edits to index.doxygen.

Minor Doxygen edits to rotlist.h and network.c

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3035 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-03 02:52:17 +00:00
Nate Bargmann, N0NB
6742478713 Updated SPID patch from Norvald H. Ryeng
Rot2Prog is now 901, Rot1Prog 902 per feedback from Magne Mæhre LA1BFA.
Minor update of spid.txt to correct a typo and clarify a point in
the documentation.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3028 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-29 19:58:21 +00:00
Nate Bargmann, N0NB
dd7e4a17ae SPID driver extension from Norvald H. Ryeng
This patch extends the SPID driver with support for the Rot1Prog az
rotator controller. It also updates protocol documentation. The driver
has been tested with Rot1Prog and with Rot2Prog for regression.

Submitted by Norvald H. Ryeng <ryeng@users.sourceforge.net).  Tracker
info:  SPID Rot1Prog rotator driver - ID: 3167384

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3027 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-29 14:31:11 +00:00
Nate Bargmann, N0NB
53dad4d957 FUNcube interface added by Stefano Speretta
Added FUNcube interface to Hamlib.  This is a basic FUNcube interface:
at the moment only frequency set/readout is supported.  From Stefano
Speretta <s.speretta@isispace.nl>.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3026 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-28 00:40:45 +00:00
Nate Bargmann, N0NB
bd20ccd356 AOR SR2200 backend added by Stefano Speretta
New backend, SR2200, heavily derived from AR8200 backend. From Stefano
Speretta <s.speretta@isispace.nl>.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3025 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-28 00:32:55 +00:00
Nate Bargmann, N0NB
73f1d6cb92 Patch from SF user rolfm adding support for the FiFi-SDR, an Si570
based receiver.  More info at http://o28.sischa.net/fifisdr/trac (in 
German only).  Posted via tracker ID: 3144418



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3016 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-12-27 15:20:29 +00:00
Stéphane Fillod, F8CFE
54c36e91d6 add F1TE Tracker
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3007 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-11-29 21:42:34 +00:00
Stéphane Fillod, F8CFE
7afb716e66 add KTH-SDR Si570 kit
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3005 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-11-03 20:52:25 +00:00
Stéphane Fillod, F8CFE
ee55f04dd1 add TS-590S
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3000 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-28 07:28:12 +00:00
Stéphane Fillod, F8CFE
1d8e24003a added TRM8060
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2997 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-26 20:47:35 +00:00
Stéphane Fillod, F8CFE
9de8e3f1d2 Add Mark/Space serial parity
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2996 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-26 19:31:09 +00:00
Stéphane Fillod, F8CFE
aa24ca7ab6 clone FT-DX5000 after FT-2000
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2992 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-06 07:25:14 +00:00
Nate Bargmann, N0NB
45b72a0e31 Add DF9GR's ERC model to rotorez backend. Implemented custom get_position for ERC,
custom dcu1_rot_stop() for DCU-1/ERC, and overloaded rotorez_rot_stop() as .reset 
for DCU-1/ERC.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2960 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-23 20:09:30 +00:00
Stéphane Fillod, F8CFE
f921ffec03 Add TenTec RX-331, contributed by Berndt, VK5ABN
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2947 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-07-01 20:28:00 +00:00
Stéphane Fillod, F8CFE
31bb15fb01 add Skanti TRP 8255 S R
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2944 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-06-10 08:20:59 +00:00