Wykres commitów

398 Commity (4e31ac1e39242f8083045d823cd7557d2cad7da7)

Autor SHA1 Wiadomość Data
Nate Bargmann, N0NB 6de8bb5089 k3_set/get_split_mode dummy functions
The K3 will swap VFOs with the frontend's implementation of
get_split_mode when the backend's definition in rig_caps is NULL.  These
functions simply return -RIG_ENAVAIL when called to preserve the K3's
operating state.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3057 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-19 02:58:11 +00:00
Nate Bargmann, N0NB 1a4d075490 K3 specific set_rit, set_xit
Added support for the K3's ability to set RIT/XIT offset frequency
directly.
Coding style changes.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3056 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-18 02:04:05 +00:00
Nate Bargmann, N0NB 55736a7427 Coding style edits
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3055 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-18 02:03:49 +00:00
Nate Bargmann, N0NB fe147f28df THF7E fixes from Ron Hinds, KF7NNZ
Implement the RIG_OP_DOWN command, from Ron Hinds <kf7nnz@rmhi.net>

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3043 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-08 13:00:19 +00:00
Nate Bargmann, N0NB ad45b00fe3 THF6A fixes from Ron Hinds, KF7NNZ
Implement the RIG_OP_DOWN command, from Ron Hinds <kf7nnz@rmhi.net>

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3042 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-08 13:00:03 +00:00
Nate Bargmann, N0NB 7ae64ff79c Add missing .extparms assignment
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3033 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-01 03:32:16 +00:00
Nate Bargmann, N0NB 58842fb417 Add support for TX Query on K2 and K3
The K2 and K3 support a TQ command to query the transmit status.  As
only four bytes are returned it is much faster than the longer IF
command response.  Access is via rig_get_ext_level--rigctl 'l' command
with a Level mnemonic of 'txst'.  Returns '0' on RX and '1' on TX.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3032 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-01 03:18:36 +00:00
Nate Bargmann, N0NB 15615ec467 Add extension parameter handling for K2/K3 RIT/XIT
Implemented kenwood_cfg_params structure to allow RIT/XIT tokens to be
available to all Kenwood backend rigs (Fine Step and Voice announce are
also defined).  K2/K3 rigs can only set/get RIT/XIT.

Updated README.k2/k3 for RIT/XIT functions and prior updates.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3031 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-01 00:48:45 +00:00
Nate Bargmann, N0NB 992b0842e4 Frequency range corrections from Ron Hinds KF7NNZ
THF6A and THF7 frequency range corrections for Region 1 and Region 2.
Patch info from Ron Hinds <kf7nnz@rmhi.net>.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3030 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-31 12:30:08 +00:00
Nate Bargmann, N0NB a8ac278878 K3 get extra level for IF center frequency
Implemented rig_get_ext_level() for the K3 FI command which returns the
last four digits of the IF center frequency.  This value changes as the
operator adjusts the shift control, changes mode, or adjusts the bandwidth
control.  The function returns the actual frequency of 8210000 Hz plus
the value returned by the FI command.

To get this frequency value the token IFCTR must be passed to
rig_get_ext_level().  This token is specific to the K3 backend.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3029 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-31 04:03:58 +00:00
Nate Bargmann, N0NB 15cc6999cc Test k2_md_rtty flag
Test k2_md_rtty flag when k2_set_mode() is passed RIG_MODE_RTTY or
RIG_MODE_RTTYR to avoid erroneously attempting to set RTTY when
k2_md_rtty is unset.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3024 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-21 18:38:39 +00:00
Nate Bargmann, N0NB 749ababe13 Add missing command to set K2 to K22 in set_mode
An oversight had omitted the necessary call to set the K2 to K22
extended mode before setting the filter.  The function now sets K22
properly, sets the filter width, and then K20 before returning.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3023 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-21 12:22:13 +00:00
Nate Bargmann, N0NB 7ba0620356 Implement filter scanning and get/set mode on K2
K2 backend will now scan for installed RTTY mode and filters per
mode upon rig_open().  Implemented get/set mode in K2.  The get_mode()
function checks the filter bandwith and returns that for the width
value and the set_() function will select and set an appropriate
filter based on the width passed in.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3021 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-19 02:39:51 +00:00
Nate Bargmann, N0NB ada37b9a8f Modify test for K2 and K3 in elecraft_open()
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3013 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-12-06 23:53:50 +00:00
Stéphane Fillod, F8CFE ee66379432 add missing elecraft.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3010 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-12-02 19:24:27 +00:00
Nate Bargmann, N0NB 8ac3a90885 Moved K3 specific functions to k3.c
Keep shared functions in elecraft.c



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3004 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-11-03 03:08:33 +00:00
Nate Bargmann, N0NB a298c8e7eb Implement k3_set_vfo()
Document K3 backend particulars om README.k3



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3003 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-30 14:25:46 +00:00
Nate Bargmann, N0NB b57d9e1a37 Support for Elecraft extensions to base Kenwood functions (particularly
for the K3).
Added debugging print functions to all Kenwood backend functions for
easier debugging.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3002 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-29 21:20:51 +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 090fe03b5d New Kenwood THF-6A backend
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2991 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-05 17:57:52 +00:00
Nate Bargmann, N0NB 5f41562b3d New Kenwood THF-6A backend from Scott Martin, KC9QEN.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2990 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-04 02:49:27 +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
Charles Suprin, AA1VS e8f76c4628 Use new th_set_freq for TM-D700
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2986 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-19 12:32:24 +00:00
Charles Suprin, AA1VS 7e96c876b2 Changed th_set_freq to round and select step size to use.
Allows 6.25kHz and 5kHz channelization.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2985 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-19 12:31:21 +00:00
Charles Suprin, AA1VS 1e34d99098 extend th_get_vfo_char to support D700
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2982 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-16 23:50:42 +00:00
Stéphane Fillod, F8CFE cd21f21a13 - add readl th_[sg]et_ctcss_sql()
- enable channel description


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2980 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-13 21:27:21 +00:00
Stéphane Fillod, F8CFE 0d1e396432 - add FUNC_MUTE, PARM_BEEP, th_scan(), th_[sg]et_dcs_sql()
- fix th_[sg]et_ctcss_tone(), let them handle the tone instead
  of the CTCSS, covered by th_[gs]et_ctcss_sql()
- new tm_set_vfo_bc2() capable of split handling along with th_[sg]et_split_vfo()
- customize TM-D700 channel caps and channel desc size
- set TM-D700's timeout to 1 second
- fix TM-D700's targetable_vfo


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2979 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-13 21:25:46 +00:00
Stéphane Fillod, F8CFE f402c6c701 Wrap sscanf in order to workaround some locales where the decimal
separator (float format, ...) is not a dot.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2978 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-13 21:12:05 +00:00
Stéphane Fillod, F8CFE 558b787b28 The D700 does not internally round the input frequency to the nearest
available frequency. Instead it returns an error code. This is an
issue for use with gpredict.  It is also inconsistent with other
backends, particularly the FT-857. (The rounding may occur in the radio
of the 857 but to the developer it appears transparent.)

This patch defines a simple wrapper around the th_set_freq call that
rounds the frequency to the nearest 5kHz.

Patch from Charles Suprin, AA1VS.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2977 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-13 07:46:21 +00:00
Stéphane Fillod, F8CFE e417dd2dcd Increase buffer length in simplified transaction helper functions,
and check max length in kenwood_cmd(). This fixes an overrun with
long commands like in th_set_freq().
Patch from Charles, AA1VS, +edit.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2976 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-13 07:38:43 +00:00
Stéphane Fillod, F8CFE 28844e674f TM-D700: fix set_vfo, plus some more caps
th_set_freq: finer freq setting
th_set_chan: allow inexact tuning_step


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2975 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-08 08:28:39 +00:00
Stéphane Fillod, F8CFE d812fdb6df fix old regression about mode handling on TH-D7, TH-G71, TM-V7, TM-D700
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2974 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-07 21:11:13 +00:00
Stéphane Fillod, F8CFE bbe9a807db bump backend version
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2967 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-23 21:48:49 +00:00
Stéphane Fillod, F8CFE 3d00429583 update rig status + split
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2957 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-21 12:10:13 +00:00
Nate Bargmann, N0NB 3fb471764a Patch from Keith Cox, N9VEL, adding additional functions for the
TS-690S.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2949 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-13 09:56:03 +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 b588058b2d allow retry on overflow, communication error, and unknown cmd
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2932 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-31 08:38:29 +00:00
Thomas Beierlein, DL1JBE c151a6cc46 Fix handling of command line ending.
If command is *not* already terminated with ';' or '\r' add the Kenwood 'cmdtrm' instead of '\r'.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2907 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-05 04:29:04 +00:00
Stéphane Fillod, F8CFE b9b97a0f25 - added FIG_FUNC_BC, RIG_PARM_BEEP, RIG_PARM_APO, RIG_LEVEL_VOXGAIN, RIG_LEVEL_VOXDELAY (stub)
- misc: some rig_debug() are missing ending \n
- better 64 bit portability
- TH-F7E fixes (RIG_FUNC_TBURST, RIG_FUNC_TSQL, RIG_FUNC_TONE, *_ctcss_tone, ..)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2902 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-26 21:35:37 +00:00
Alessandro Zummo, IZ1PRB 0ce5807dbb th: fixed a missing newline
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2892 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-24 14:04:02 +00:00
Alessandro Zummo, IZ1PRB 94b9c531dd th: fixed stack corruption
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2891 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-24 14:03:04 +00:00
Alessandro Zummo, IZ1PRB 6b0d8185b0 th: fixed formatting issue
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2890 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-24 13:57:15 +00:00
Alessandro Zummo, IZ1PRB 317376caf6 thf7: - wrong rfpower level granularity
- added .reset
        - call kenwood_open
        - use generic th_set_vfo



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2889 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-24 13:53:06 +00:00
Alessandro Zummo, IZ1PRB 8dc8917745 thg71: removed EOM
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2888 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-24 13:52:42 +00:00
Alessandro Zummo, IZ1PRB f9d06e6630 tmv7: removed EOM
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2887 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-24 13:52:14 +00:00
Alessandro Zummo, IZ1PRB 2edfec12db - removed EOM, it's handled by kenwood_transaction
- fixed tabs and spaces
- added generic routine for vfo errors
- set_mem: do not switch vfo if already in mem mode
- simplified invocation of some commands
- buffer optimizations
- added PARM_BEEP and PARM_APO
- fixed getting of LEVEL_RFPOWER
- fixed get_ant



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2886 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-24 13:51:34 +00:00
Alessandro Zummo, IZ1PRB 328e67a44d kenwood: send the whole buffer at once, added kenwood_cmd
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2885 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-24 13:50:24 +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 dffeb37aaf corner case handling of RIG_VFO_VFO in set_freq/get_freq
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2868 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-05 13:43:38 +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