Wykres commitów

154 Commity (d944c2951a215877e8a42a53d90c7e6f639fec7e)

Autor SHA1 Wiadomość Data
Michael Black 6bf3b00c4f
astyle all files 2019-11-30 10:19:08 -06:00
Michael Black 72087f1b10
Change all __FUNCTION__ to __func__ 2019-11-30 10:16:28 -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
Michael Black 73c1ecd165
Change freq & chan struct start/end to avoid colliding with LUA SWIG start/end 2019-08-17 23:20:48 -05:00
Michael Black 6ae564a1ec
Increase pegasus timeout and retry 2019-08-17 22:43:13 -05:00
Bill Somerville 56ee4fd18a Fix timeout issues with the Ten-Tec Orion/Eagle
Added much  more generous serial port  timeouts as these rigs  seem to
occasionally delay  CAT responses  by a second  or more.  Also flushed
serial Rx buffer before retries in case timeout is not enough.
2019-05-04 11:37:57 +01:00
Michael Black W9MDB 4c78fce7fb Fix TenTec OmniVII get_mode for VFOB 2018-04-25 12:42:34 -05:00
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 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 Black 2c1c1a4b63 Simply define TRUE to 1 in omnivii.c
Clears a Clang warning.
2016-02-12 13:44:49 -06:00
Michael Black 4abafcdd29 Clean up clang warnings in tentec
Remove double attenuator assignment in tt588_caps.
Assign correct type (int) to priv->agc in tt550_init.
2016-02-09 06:31:54 -06:00
Michael Black 0aa55fded8 Omni VII patch
Fixes power level reporting for the Omni VII.  Also promoted backend to
STABLE status.

73

Mike W9MDB
2015-08-15 12:14:30 -05:00
Michael Black fff8033141 Omni VII patch for WSJT-X
Patch for TenTec Omni VII to allow rig control with latest version of
wsjt-x.

This has been broken for a while due to some change in wstj-x which
caused a new error to show up.

73

Mike W9MDB
2015-07-03 13:43:01 -05:00
Michael Black 3f1bde0890 Omni VII to set VFO_CURR correctly
Attached small patch allows Omni VII to set VFO_CURR correctly.

Sending this via gmail since my yahoo account doesn't get along with the
sourceforge lists.

73

Mike W9MDB
2015-05-23 11:22:10 -05:00
Bill Somerville e7dc01827b Fix response lengths for the TT Jupiter 538
Rather than use an  oversize buffer and let the reads  time out I have
set the  expected length  to what  should come  back. This  means that
lengthy timeouts are not required every time a response is read.

Also added undocumented split set/get and PTT on/off.
2015-03-20 10:33:58 +00:00
Bill Somerville ecc31cb1b4 Fix error with width in set mode for the TT argonaut
Also constrain Argonaut filter selections to valid values.
2015-03-15 16:30:28 +00:00
Bill Somerville f04793c833 Implement get PTT status for the TenTec Argonaut
Changed Argonaut  mode set command  to leave the width  unchanged when
passed RIG_PASSBAND_NORMAL.

Also tidied up response validity checks.
2015-03-15 11:41:16 +00:00
Bill Somerville f82493b957 Fix TenTec set split command 2015-03-15 01:23:40 +00:00
Bill Somerville 9713e60b42 Fix TenTec Argonaut message lengths and timeout
The TT Argonaut back end was falling over if the rate of returned data
varied because  some commands were  coded to have shorter  than actual
responses,  this is  not necessary  as by  increasing the  timeout all
characters can be read as expected.

Also fix direct reading and setting of mode per VFO.
2015-03-15 00:16:44 +00:00
Michael Black c3997235da TenTec Omni VII update from W9MDB
Implement all current TenTec Omni VII commands.
2014-12-10 18:21:53 -06:00
Bill Somerville 5ede844baf Fix Ten-Tec Orion get/set split functions
The get_split_vfo function was returning inverted results.

The set_split_vfo function was ignoring the split argument!
2014-10-14 14:19:40 +01:00
Nate Bargmann c39b51327b Revise test for MinGW with sleep()
Revise the preprocessor conditional test for MinGW variables.  Tested on
all of my MinGW installations.  The prior test was broken by MinGW 3.0
on Debian Unstable.
2013-09-19 21:59:42 -05: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
Nate Bargmann 10fc6efc67 orion.h: Quell compiler warning on MinGW
Quell the following error on MinGW:

  CC       orion.lo
In file included from ../../hamlib-3.0~git/tentec/orion.c:86:0:
../../hamlib-3.0~git/tentec/orion.h:34:0: warning: "TRUE" redefined [enabled by default]
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/windef.h:55:0: note: this is the location of the previous definition
../../hamlib-3.0~git/tentec/orion.h:35:0: warning: "FALSE" redefined [enabled by default]
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/windef.h:52:0: note: this is the location of the previous definition

which seemed to be caused by the values to TRUE and FALSE being enclosed
in parentheses.
2013-07-30 11:24:28 -05: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
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
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
Martin Ewing e88d0208bd jupiter.c: Updates from Martin, AA6E
Correct RAWSTR processing, add cal table for RIG_LEVEL_STRENGTH
Add support for "IF" (passband tuning), NB, NR, ANF
Revise reported bandwidth code

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-12-10 17:49:37 -06:00
Nate Bargmann 01ab10bf10 Include backend specific notes with 'make dist'
(cherry picked from commit 20814924b2)
2012-03-01 21:23:16 -06:00
Martin Ewing 57ccb20c64 Increment Jupiter version 2012-03-01 20:25:19 -05:00
Martin Ewing bea1a0ef3a remove debug stmt 2012-02-29 23:15:55 -05:00
Martin Ewing 9a36fc277d implement level settting and misc fixes 2012-02-29 23:12:42 -05:00
Nate Bargmann be2fefcf18 Update version of modified backends
Per Stephane's request, updated the version string of backends modified
since 1.2.14 release.  Newly added backends were left alone.
2012-02-02 20:10:37 -06:00
Martin Ewing 3404103ffd Orion.c: remove spurious debug statement. 2011-12-30 22:07:12 -05:00
Martin Ewing 4f50bab0e3 Add test for valid set frequency, esp. for VFOA (ham band only)
Expand valid range_lists for full hardware ranges
Fix tt565_transaction to allow Morse commands.
2011-12-30 21:16:17 -05:00
Nate Bargmann 150231108d Merge branch 'nate-tmp' 2011-09-04 10:23:27 -05:00
Stephane Fillod eee4feb71d add Tentec 599 Eagle 2011-09-01 22:12:25 +02:00
Nate Bargmann d8f2326e87 Remove set but unused variable errors in tentec. 2011-08-25 11:37:19 -05:00
Nate Bargmann 02a90bf2cf Update LGPL header in TenTec source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05:00
Stephane Fillod fde68a09eb make tt565_transaction() static 2011-07-20 00:08:35 +02: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 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 0608f31917 - serial timing and testing by Bert Put, KG4BEC
- declare (forgotten) set_mem/get_mem in caps
- safer set_freq with num_stdio.h


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2945 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-06-19 07:08:24 +00:00
Stéphane Fillod, F8CFE 2b25b81349 mode caps fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2933 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-31 08:39:59 +00:00
Stéphane Fillod, F8CFE cccd274baa fix get_mode parsing, patch by George Magiros
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2914 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-17 18:54:12 +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 68b0e89b66 flesh out Paragon (585)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2859 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-28 16:38:05 +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