Wykres commitów

341 Commity (9cd11ebe27f5335ff9e1c4a62861fd7efe0e318c)

Autor SHA1 Wiadomość Data
Bill Somerville bf539f052b Patch to fix broken Yaesu backend with FT-2000(D)
Hi All,

attached is a patch to correct the Yaesu backend to stop it sending the
SH1; command to teh FT-2000(D) radios where it is illegal.

73
Bill
G4WJS.

commit 8e60a966de140c14fe506f958de92a8e1b738d2c
Author: Bill Somerville <bill@classdesign.com>
Date:   Fri Sep 20 02:10:58 2013 +0100

    Fix Yaesu backend using illegal command on FT-2000

    The FT-2000 doesn't support the SH1; command used by
    the get_mode/set_mode function. This was causing a
    "Protocol error" return when trying to get/set the mode
    of VFO B.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-19 22:08:42 -05: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 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
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 21e59a67eb vx1700.c: correct manufacturer name typo 2012-07-05 10:14:33 -05:00
Michal Demin de329c1ed7 Read eeprom value for digital mode from FT-857
From Michal:

"I have been playing a lot recently with PSK modes using fldigi. I have
noticed that the yaesu ft-857 backend doesn't distinguish between upper
and lower sideband digital mode (menu item 38).  This causes lot of
trouble on bands where USB is used (when QSY button is pressed in
fldigi, or when calculating the real QSO frequency).

With some use of undocumented CAT features and some research I have
put together small patch, that reads EEPROM data. When SW asks hamlib
what mode is being used, hamlib will also consider the
value from eeprom.

When changing the mode in the menu, new value will become available in
the EEPROM _after_ pressing the "FUNC" button.

Setting mode from SW is left untouched, as writing to EEPROM is
potentially dangerous (and I don't feel like destroying my rig, yet)"

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-05-15 08:26:58 -05:00
Nate Bargmann 01ab10bf10 Include backend specific notes with 'make dist'
(cherry picked from commit 20814924b2)
2012-03-01 21:23:16 -06: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
Stephane Fillod 8b26904aa5 Quell cppcheck warnings 2012-01-29 23:37:59 +01:00
Nate Bargmann 6cd38454ea Change ft767gx.c to RIG_STATUS_STABLE
Per Steve Conklin, AI4QR, setting the status to STABLE.
2012-01-26 08:43:16 -06:00
Nate Bargmann 6d85b882c1 Remove 2450 Hz BW from ft950
Per Terry, KJ4EED, the 2450 Hz BW is no longer valid on the latest
FT-950 firmware.  Removing as requested.
2012-01-03 17:04:41 -06:00
Mikhail Kshevetskiy 3c266f0f3f yaesu/vx-1700: we have several PTT sources, try manage them
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-01-03 16:53:53 -06:00
Stephane Fillod 11f32c52b8 FT-2000 & FT-9000 have also TARGETABLE_MODE 2011-09-10 16:29:20 +02:00
Nate Bargmann 8866aa2bcb Remove set but unused variable errors in yaesu. 2011-08-25 11:13:07 -05:00
Nate Bargmann c3e9dfd93f Remove "$Id:" CVS tag as it is no longer used. 2011-08-22 21:38:38 -05:00
Nate Bargmann bff9f17f7e Update LGPL header in Yaesu source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:38 -05:00
Nate Bargmann 20c4203268 Use rig->state.current_vfo to store vfo value.
NewCAT was saving the VFO value in the private rig data structure which
is inaccessable to the front end library.  Tested currVFO in rigctl with
W0MDN's FT-450.
2011-07-08 22:27:06 -05:00
Kamal Mostafa, KA6MAL a809bfc9f8 source warnings cleanup: #ifdef out unused FT-840 routines
... and moved "API local implementation" static declarations from .h into .c.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3064 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-27 22:43:06 +00: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
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
Nate Bargmann, N0NB 9083fd9144 Move files into their relevant directories
doc/ directory is now only for Doxygen generated documentation.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3048 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-14 03:04:19 +00:00
Nate Bargmann, N0NB 61d3ef7f66 Correct long standing bugs where hardware handshake was not the default
for the latest Yaesu backends (ft9000 and later that use "New CAT" 
commands) and set the default "write_delay" parameter to '0' as these
radios deault to assuming a command has been received after 10 mSec of
no data on the wire.  The default write_delay had been 50 mSec (for no 
good reason except I copied and pasted from older backends) which was
too long as these models implement a CAT TOT (Time Out Timer) of 10 mSec.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3012 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-12-05 23:46:03 +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
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
Nate Bargmann, N0NB 2abff44f10 Suggested change by Dave, W1HKJ, to enable serial hardware handshaking
by default.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2981 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-14 01:24:10 +00:00
Stéphane Fillod, F8CFE 5ac219cc06 change backend status
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2966 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-23 21:45:52 +00:00
Stéphane Fillod, F8CFE 7ebc81b859 Found by cppcheck:
ft920: fix get_mode(MODE_DATA_UN)
ft990: fix get_xit(RIG_VFO_B)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2962 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-23 21:24:51 +00:00
Stéphane Fillod, F8CFE 1ea78092e7 return -RIG_EPROTO when command not understood by rig
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2954 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-20 21:58:43 +00:00
Stéphane Fillod, F8CFE 62e7f69db7 status/version update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2939 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-31 21:41:13 +00:00
Stéphane Fillod, F8CFE fb1a9626c7 patch from Ron, W6FM:
- fix ft736_set_rptr_offs
- append full list of CTCSS tones
- S-meter calibration data


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2926 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-28 10:23:25 +00:00
Stéphane Fillod, F8CFE e207fffcb9 - testing by Ron Patterson, W6FM
- fix setting RIG_RPT_SHIFT_NONE
- fix split mode and freq setting


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2924 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-27 19:22:16 +00:00
Stéphane Fillod, F8CFE 23b2536948 - fix bug in transaction
- fix bug in status update
- added caching


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2917 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-18 21:53:47 +00:00
Stéphane Fillod, F8CFE cf2ad81282 added FT-980, part of patch from Wolfgang Buesser
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2916 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-17 22:23:38 +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 85400759ca fix ft747_get_freq() off by x100Hz
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2862 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-30 21:26:12 +00:00
Stéphane Fillod, F8CFE 318d640ad3 * cached update data
* passband width in get_mode
* added set_mem/get_mem
* various fixes and cleanup


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2860 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-28 21:35:32 +00:00
Stéphane Fillod, F8CFE 7fa2926ebe * change write_delay from 50 to 5 ms
* move pacing setup into ft747_open, once for all
* attempt workaround for possibly missing last byte in status command
* added set_split_vfo, get_split_vfo


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2857 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-27 23:12:29 +00:00
Stéphane Fillod, F8CFE a90f9e84cd fix bug in yaesu probing
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2848 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-05 19:18:10 +00:00
Stéphane Fillod, F8CFE f615a54f73 added CTCSS support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2847 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-05 19:15:30 +00:00
Stéphane Fillod, F8CFE c12ceb34b7 added tones and repeater support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2846 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-05 18:54:43 +00:00
Nate Bargmann, N0NB c6af376927 Reworked set/get_split_vfo, set/get_split_freq, and set/get_split_mode
to act only in split vfo mode.  freq and mode/passband will only be
modified if split is active.  split_vfo reflects the proper state of split
and active TX VFO.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2823 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-02-06 14:59:59 +00:00
Terry Embry, KJ4EED c3d2625888 Moved internal function definition newcat_valid_command() from newcat.h to newcat.c.
Depreciated newcat_get_rx_vfo in newcat.c.
Depreciated newcat_set_rx_vfo in newcat.c.
newcat.h
newcat.c


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2802 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-01-04 23:52:43 +00:00
Terry Embry, KJ4EED 256e1eadfd Changed to stable status
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2786 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-12-20 02:44:51 +00:00
Terry Embry, KJ4EED 61db9776a7 Cleanup of memory and channel set functions.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2775 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-11-28 14:27:37 +00:00
Terry Embry, KJ4EED e2ea26213d Added Alaska emergency memory channel
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2774 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-11-23 23:12:40 +00:00
Terry Embry, KJ4EED 6c7a40ea41 Replaced strcpy with snprintf.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2773 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-11-23 22:38:22 +00:00
Terry Embry, KJ4EED 016337131f added Read only 60M memory channels.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2772 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-11-22 21:53:27 +00:00