Nate Bargmann
5fbef72af3
Properly exclude non-Linux/MS Windows build of G313
...
While the Winradio G313 backend wasn't being compiled on a non-Linux
POSIX system, the register function in winradio.c was which caused an
error linking rigctl. Also, the host_os test in the configure script
now looks for a string containg "*linux-gnu*" which accepts such systems
as the Raspberry Pi which is defined as "linux-gnueabihf".
Thanks to Lorenzo Simoncello, IW3HER, for reporting this build error on
the Raspberry Pi.
2014-11-19 22:02:30 -06:00
Nate Bargmann
6e104f14f2
Test for cygwin to avoid Linux specific code
...
Compile failed on Cygwin looking for Linux specific header files. Add a
preprocessor test for cygwin to only compile Windows compatible code.
2013-05-09 22:02:24 -05:00
Julian Cable
0005b9a511
WinRadio G313: Updates from Julian Campbell
...
"I've re-written the hamlib backend to stream the audio, if and spectrum
pcm samples to simple file system objects.
If no path is given, streaming is not requested. If the path can't be
openned, no streaming is requested.
The file is openned non-blocking and overruns are just silently
discarded.
I've tested it using named fifos and if there is no active reader it
fails to open and if there is an active reader it streams fine.
Thats as simple as it can get.
In terms of the project files, I've put the wrg313api.c and wrg313api.h
files in the existing linradio subfolder of winradio.
The .h file is the g313 equivalent of the wrapi.h file already there.
The .c file actually just contains the dlopen and the assignments to the
function variables.
The actual API shared library is binary only (and 32-bit only), and not
included in my patch."
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-11-10 07:37:11 -06:00
Nate Bargmann
4863209a07
Assure NULL terminated strings in winradio file.
...
Various strncpy operations could result in a port pathname that is not a
NULL terminated string as the allowed string length is the same size as
the buffer per the strncpy manual page. This is corrected by assuring
that the allowed length is FILPATHLEN - 1.
2012-01-07 21:55:37 -06:00
Nate Bargmann
77f92769d9
Update LGPL header in WiNRADiO source files.
...
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:38 -05:00
Stéphane Fillod, F8CFE
16c2af2d00
Add Winradio G305
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2576 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-11 13:21:21 +00:00
Nate Bargmann, N0NB
6124a3cbc2
20061118:
...
Update:
New Winradio backend, G313i/G313e RX, from Simone Stoeppler.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2162 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-11-19 03:04:20 +00:00
Stéphane Fillod, F8CFE
9395fdea50
Add G303 support, allow build on non-Linux systems
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1721 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-04-16 20:07:47 +00:00
Stéphane Fillod, F8CFE
64d539acd9
be freq_t and setting_t type agnostic
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1641 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-01-15 22:43:59 +00:00
Stéphane Fillod, F8CFE
aba3325e7f
Missing WR-1550 registration, from Juergen DC3BW
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1532 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-09-07 14:07:48 +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
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
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
bdfe0b969a
'path' field renamed in port_t
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@608 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-25 21:59:55 +00:00
Stéphane Fillod, F8CFE
1f01081335
converted to LGPL
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@582 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-13 19:08:15 +00:00
Stéphane Fillod, F8CFE
8b0ac00d64
more win32 efforts
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@566 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-20 06:08:22 +00:00
Stéphane Fillod, F8CFE
c74995b05f
further win32 porting
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@556 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-15 07:08:37 +00:00
Stéphane Fillod, F8CFE
da19dd9a47
new port_t design
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@523 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-04 17:01:21 +00:00
Stéphane Fillod, F8CFE
5b939d0102
added FAGC/IF/RF func/level support
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@515 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-02 18:08:40 +00:00
Stéphane Fillod, F8CFE
f3ef65626e
* fixed RIG_PASSBAND_OLDTIME
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@462 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-26 21:32:54 +00:00
Stéphane Fillod, F8CFE
cca6e2acab
* pbwidth_t is now the passband type in Hz, RIG_PASSBAND_NARROW and RIG_PASSBAND_WIDE are dead now. Backend maintenairs, please adapt your code\!
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@449 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-22 13:57:39 +00:00
Stéphane Fillod, F8CFE
363cd0684a
* split caps definition of the WR1500 in a separate file
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@427 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-02 18:37:17 +00:00
Stéphane Fillod, F8CFE
d0d333994c
* added new fields in caps: ctcss_list, dcs_list, chan_list (maintainers,
...
please populate them!)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@410 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-01 00:26:19 +00:00
Stéphane Fillod, F8CFE
7e94783822
* 2 new fields in caps (vfo_list and priv)
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@404 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-27 23:03:45 +00:00
Stéphane Fillod, F8CFE
8970be14de
* update after API modification (new fields, KHz -> kHz)
...
* backend maintainers: please populate caps->filters
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@391 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 23:54:21 +00:00
Stéphane Fillod, F8CFE
92aa93824a
* update after caps changes, see rig.h changelog
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@367 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:13:13 +00:00
Stéphane Fillod, F8CFE
8eb98f9bd6
Initial release
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@352 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-07 23:54:14 +00:00