Wykres commitów

99 Commity (3dbbe02b78d18fb3a69c02995d035e2bc4dfc96f)

Autor SHA1 Wiadomość Data
Mikael Nousiainen 3dbbe02b78 Add new levels: RFPOWER_METER, COMP_METER, VD_METER and ID_METER, supported at least by most of recent Icom rigs. Add level NOTCHF_RAW for manual notch frequency without specified unit for Icom rigs. Add level MONITOR_GAIN. Add functions DUAL_WATCH and DIVERSITY, supported now by K3/K3S. Fix VOXDELAY level commands for many Icom rigs. Add MONITOR_GAIN level for Icom rigs. Fix and add many K3 commands and add specific rig models for K3S, KX2 and KX3 -- they are very similar to K3, but have slight differences. Extend dump_caps output for rigctl: add complete details of ext levels and frequency ranges. Tests have been performed on IC-7000, IC-756ProIII, IC-7300, IC-7600 and K3. 2019-05-30 09:37:49 +03:00
Michael Black e17c013a15 Bump version for kenwood.c 2019-03-26 07:24:31 -05:00
Sebastian Denz f730933b12 merge upstream 2018-12-26 13:38:06 +01:00
Michael Black 4b69188f67 Fix some 64bit items and add RIG_FUNC_NB2 for TS-890S 2018-12-23 17:41:10 -05:00
Michael Black 005fb29cf7 Add TS-890S as derivative of TS-480 plus new modes 2018-12-22 12:03:41 -05:00
Sebastian Denz 13959669ce Merge remote-tracking branch 'upstream/master' 2018-11-18 21:21:44 +01:00
Michael Black W9MDB ee13edb4e8 Improve emulation performance and promote TS2000 to stable 2018-05-18 07:29:55 -05:00
Sebastian Denz 280d6b5b22 very first draft of Kenwood THD74 backend
mainly copy n paste art from thd72.c and th.c
plus information from https://github.com/LA3QMA/TH-D74-Kenwood
2018-05-01 13:36:22 +02:00
Mikael Nousiainen 3cdbad1064 TM-D710: Rewrite the whole backend, since most of it was not working anyway. TM-D710 protocol is significantly different from TM-D700 or the TH handheld ones. Most features work, but the control protocol is quite limited: for example, it is not possible to change the selected frequency band of a VFO. Additionally, selecting MEM VFO uses the previously selected band (VFOA/VFOB), since there are no separate MEM VFO definitions for A/B bands. Added FMN mode to string constants, so that it can be used with the set_mode command. 2018-03-15 09:33:01 +02:00
Bill Somerville 3fade92c0d Fix some issues with commands not supported by TS-2000 CAT emulations
Various SDR  consoles are  supported by the  TS-2000 back  end, ensure
that commands  unsupported are  not sent  to them.  Added a  flag that
shows back end is talking to an emulation like SmartSDR or PowerSDR.
2017-08-03 06:26:27 -05:00
Jae Stutzman c9fb98b214 Added HPSDR backend
Added HPSDR backend which emulates TS-2000 over the network on TCP
2017-01-21 20:58:00 -06:00
Bill Somerville ca77efcc04 Allow for poor emulations of Kenwood rigs that have no ID command
This  issue came  to light  with  the HDSDR  program which  has no  ID
command response.  For these awkward cases  try an FA command to check
if the  rig responds  then use  that same FA  command for  set command
verification. Otherwise use the ID command as before.
2015-11-29 20:56:42 +00:00
Bill Somerville 0ab6d99ef5 Attempt to restore AI status on exit
Kenwood,  modern Yaesu  rigs and  many  SDRs use  an auto  information
mechanism that  broadcasts unsolicited rig state  changes, Hamlib does
not support this and turns  off the function.  Because several passive
devices rely  on this information  to detect band changes  for example
this change adds code to save the AI state on start up and restores it
on  exit. These  devices  do  no need  the  broadcasts  since when  an
application using Hamlib is running  as necessary state polling by the
application provides continuous rig state updates.
2015-11-29 18:26:39 +00:00
Bill Somerville 542585029d Initial back end implementation for the Kenwood TS-990s 2015-04-14 10:04:59 +01:00
Bill Somerville aa9ad54b94 Remove kenwood_simple_cmd as kenwood_transaction has that functionality 2015-02-16 18:16:10 +00:00
Bill Somerville 143f305b49 Further clarification in the implementation of kenwood_transaction()
Buffer size is  now an input parameter only as  the return data length
is  implicit since  a null  terminated C  string is  returned.  Better
precondition checks are impelmented.
2015-02-16 12:46:35 +00:00
Bill Somerville 4a74db654a Clarify the handling of Kenwood CAT message terminators
There was an inconsistency in  whether the CAT terminator character is
included  in  returned  messages.   It  now  follows  the  comment  in
kenwood_transaction()  i.e. strips  of  the terminator  and returns  a
message length that reflects that.
2015-02-13 18:07:10 +00:00
Bill Somerville bfbb1adc44 Improve command verification for Kenwood & Elecraft
Allows for a single ';' for  verification with the Elecraft XG3 single
character commands.

Allow for rig specific instance data  (needed by the Elecraft XG3 that
is a bit different from the rest of the Kenwood/Elecraft group).

Do not send a startup command to  turn off AI mode to the Elecraft XG3
as it doesn't have that command or mode.

Restore the positive RTTY mode enabled  check to the Elecraft K2 as it
appears that the MD6; and MD9;  comamnds are valid even when RTTY mode
is disabled on the rig.
2015-01-24 14:59:59 +00:00
Bill Somerville 64d080af2e Removed kenwood_cmd function and replaced uses of it
The function kenwood_cmd doesn't add value  and it uses a reply buffer
that is  not required.  Also  the use of  a reply buffer  disables the
verification  of commands  that  have no  reply feature.   Substituted
kenwood_simple_cmd calls  that do  the job  correctly without  a reply
buffer.

Added delay to busy retry loop when sending commands to rig.

Implemented retries on wrong length repies from rig also with a delay.
2015-01-24 14:59:55 +00:00
Bill Somerville a2f24678ca Kenwood and Elecraft rigs sometimes ignore commands
These  rigs  can  opt  to  ignore set  type  commands  when  they  are
busy. This means  that sending a set command like  FAnnnnnnnnn; to set
the frequency can  fail. The rig should send "?;"  when busy but since
no reply is normally expected it is not convenient to read for a reply
after a  set command since it  will block until timeout.   This change
sends an "AI;" command after a  command that is not expected to reply,
this should guarantee a reply of  some sort allowing any busy reply to
be read  without blocking  and initiate  a retry  of the  original set
command. The  "AI;" command is chosen  because it is available  on all
rigs AFAIK and at least on Elecraft is guaranteed to be processed even
when the rig is busy.
2015-01-24 14:59:54 +00:00
Michael Black 716fc0fcab New XG3 backend
Backend for the Elecraft XG3 signal generator.
2015-01-08 17:45:29 -06:00
Bill Somerville 6165bf9eda Add support for the Kenwood TS-590SG
This rig is largely similar to the TS-590S but for some reason Kenwood
have changed most the EX command  ids. Even though hamlib makes little
use  of  the  EX  command,  it   probably  will  need  to  for  future
functionality implemenattion. Hence the new rig id.
2014-11-04 16:23:39 +00:00
Steve Conklin a92017df38 Support for Flex 6K SDR radios, plus some fixes for easycomm
Two patches:

The first adds support for the Flex 6K series of SDR radios. These
radios have a CAT application that runs on a windows machine, and
exposes a network socket that can be opened for CAT commands. This back
end connects to that network socket and provides an interface.  I've
tested pretty thoroughly using a Flex 6700 but I don't have the other
models available (6500 and 6700R). CAT support on these models is
evolving with frequent updates from Flex, and this  back end does not
reflect the latest features to be added. I hope to get to them soon.

The second patch makes the easycomm interface more robust by flushing
the serial port and clearing the buffer.

Steve, AI4QR

Merge branch 'for-upstream' of https://github.com/sconklin/hamlib into sconklin-for-upstream
2014-02-09 07:17:24 -06:00
Bill Somerville 1f3fe7b5d1 Make Kenwood TS590s firmware defect fixup revision specific.
As Kenwood have finally released TS590s firmware revision 1.08 and it
fixes the split TX defects; the fixup has been made revision specific.
2014-01-30 13:54:02 +00:00
Bill Somerville e2b2f884c8 Get firmware revision for TS590s in rig_open.
Defects in the TS590s f/w can be addressed selectively according to
revision.

Enable kenwood_open function for TS590s.

For some reason the TS590s did not use the kenwood_open function, as
fetching the firmware revision may be required for this rig and it is
done in that function; it has been enabled.
2014-01-30 13:42:30 +00:00
Bill Somerville 54c297b4c4 Fix Kenwood Split Operation for TS50 & TS480.
The TS50S has the old FN and SP commands rather than the newer FR/FT
commands, added code to support these commands allowing split
operation to be commanded on the TS50S.

The TS480 had no split VFO functions enabled, added normal modern
Kenwood split VFO and mode handing functions.
2014-01-30 13:09:30 +00:00
Steve Conklin e17ab36bc8 Add support for Flex6K radios
Signed-off-by: Steve Conklin <steve@conklinhouse.com>
2014-01-15 14:03:50 -06:00
Nate Bargmann 977e92315e elecraft.c: Quell compiler warning of buffer size
GCC 4.8.x revealed an error in the way the destination buffer size was
calculated for storing the K3 firmware revision.  Now, instead of
declaring the array in the kenwood_priv_data structure, it is declared
as static in elecraft.c and a pointer is now assigned in the
kenwood_priv_data structure.  This allows for proper calculation of the
array size for strncpy().
2013-07-24 22:48:07 -05:00
Nate Bargmann 2b5f02d442 k3: Implement new RIT/XIT function
For the K3 RIT/XIT are now explicitly turned On/Off by calling
rig_get/set_func() and passing RIG_FUNC_R/XIT and the status of 1 or 0.

When setting the RIT/XIT offset by calling rig_set_r/xit, an offset of 0
will clear the RIT/XIT offset but will no longer turn the RIT/XIT
function Off.  Likewise, an offset can be set but not active until the
RIT/XIT function is explicitly turned On.
2013-01-18 05:50:01 -06:00
Charles Suprin 7148fb20ed Register D710 interface. 2011-12-11 11:59:35 -05:00
Stephane Fillod 65f54ef8cd implement kenwood set_ctcss_sql()/get_ctcss_sql() 2011-09-10 18:24:22 +02:00
Nate Bargmann 8d16bebf40 Update LGPL header in Kenwood source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:35 -05:00
Alexander Sack 65d201455d Get firmware revision level from K3/KX3.
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2011-06-03 06:12:44 -05:00
Stephane Fillod a94f6cfee2 Add skeleton for TH-D72A 2011-05-26 23:21:15 +02:00
Stephane Fillod 544fc515bc Add SifFox Transfox SDR 2011-03-26 15:45:51 +01:00
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 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 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 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
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
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 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
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 e5ae214239 * remove 17500 mistakenly put into kenwood38_ctcss_list
* basic automatic split vfo targeting


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2710 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-06-23 20:55:58 +00:00
Stéphane Fillod, F8CFE 080cb8cbaa * implemented RIG_LEVEL_KEYSPD and RIG_LEVEL_PREAMP
* fixed RIG_LEVEL_ATT
* fix kenwood_set_channel prototype


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2628 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-10 22:48:25 +00:00
Alessandro Zummo, IZ1PRB 4c46fb604b check ptt status before set_ptt. enabled on ts850.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2627 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-09 20:59:31 +00:00
Alessandro Zummo, IZ1PRB bb6cf68ad2 implemented set/get_ext_param (voice, fine, xit, rit). enabled on ts450 and
ts850


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2620 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-06 14:15:12 +00:00
Alessandro Zummo, IZ1PRB 885c4109a8 generic, ts850: implemented CTCSS TN command (reported not working for ts850,
should now be fixed)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2618 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 23:42:53 +00:00
Alessandro Zummo, IZ1PRB d1a9a907ff ts450: implement set_channel
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2614 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 22:45:59 +00:00