Wykres commitów

227 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 592c6401a3 Improve vfo err msgs in kenwood.c 2019-04-15 10:52:12 -05:00
Michael Black dbcaee4b77 Improved set_powerstat for icom & kenwood 2019-04-03 09:13:08 -05:00
Michael Black fbdc494c5b Change powerstat to wait for get_freq as this is generic to all 2019-03-27 14:25:46 -05:00
Michael Black 40519ef2d8 Fix set_powerstat wait loop 2019-03-25 15:47:15 -05:00
Michael Black 03b4c0912e Have kenwood set_powerstat ON wait for get_powerstat 2019-03-23 22:32:33 -05:00
Michael Black 2f3618e585 Fix memset in kenwood.c 2019-02-06 17:00:11 -06:00
Michael Black a55a664401 Ensure buf is zeroed in kenwood_safe_transaction to avoid return random data 2019-02-05 08:39:51 -06:00
Nate Bargmann bead4adcb5 Merge branch 'master' of https://github.com/denzs/Hamlib into denzs-master 2019-01-21 18:51:07 -06:00
Michael Black 4e8d180b15 Fix kenwood BC BC2 return 2019-01-08 08:58:32 -06:00
Michael Black 0316376b45 All kenwoods to have 3-char commands for functions and return whatever value the rig returns instead of 0/1
Changes to add more ts890 capabilities, e.g. NB2, BC2
2019-01-01 12:38:10 -06: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 fe6fc763d1 remove digital mode extension 2018-11-20 18:08:36 +01:00
Sebastian Denz 13959669ce Merge remote-tracking branch 'upstream/master' 2018-11-18 21:21:44 +01:00
Michael Black W9MDB ee890449cd Fix kenwood SQ squelch set by adding rx# 2018-08-16 15:31:25 -05:00
c vw 80633e6d2e Fixes for the piHPSDR backend. 2018-06-27 17:11:35 +02:00
Michael Black W9MDB 30ec001057 Really fix TS590S/SG RIG_LEVEL_STRENGTH 2018-06-25 08:56:06 -05:00
Michael Black W9MDB b0cd3ada11 Fix TS590S/SG RIG_STRENGTH readings 2018-06-15 10:32:57 -05:00
Michael Black W9MDB ee13edb4e8 Improve emulation performance and promote TS2000 to stable 2018-05-18 07:29:55 -05:00
Sebastian Denz 1f1a0a9558 latest version 2018-05-07 18:21:25 +02:00
Sebastian Denz c907a512c8 Merge branch 'master' of github.com:denzs/Hamlib 2018-05-01 13:38:15 +02: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
Michael Black W9MDB dcb8b3f91f Fix compile warnings for kenwood 2018-04-22 18:38:16 -05:00
Nate Bargmann 516a112678 Fix kenwood.c to compile with MinGW 2018-03-16 08:11:07 -05:00
Michael Black W9MDB b455affe7f Fix K3 send_morse and change generic to 0x20 padding per manual. Tested on TS-2000 2018-03-12 17:22:52 -04:00
Michael Black W9MDB f4629f6669 Add Flex 6400/6600 2017-12-25 10:24:08 -05:00
c vw ed8a0fa5cd Get rid of compiler warnings, fix Kenwood RF get_level 2017-08-08 11:49: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
Bill Somerville 72a9bff55d Use snprintf throughout kenwood/kenwood.c for buffer safety
Also extend one short buffer.

Also read current VFO when asked to set something on it when we do not
already know which VFO is current.
2017-07-16 15:12:09 +01:00
c vw 555197a9a5 Getting rid of compiler warnings, especially
- using "abs" function for long or double arguments
 - passing data which is not initialized
2017-07-10 09:55:45 +02:00
c vw e156ef65fb fixes for kenwood backends 2017-05-22 19:09:47 +02:00
Jae Stutzman 230430c4e9 Clears potential garbage data in read buffer prior to command being sent 2017-01-25 20:45:24 -06: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 ce8189f029 Revised kenwood rig busy response handling
The TS-790  is very prone  to slow  command responses, this  change no
longer  retries  the sending  of  the  original  command when  a  busy
response "?;"  is seen, instead  it simply  waits one retry  delay and
tries response  read again. It  may be that  this has always  been the
correct action  but most rigs do  not return busy responses  or behave
better when a command is retried.
2016-11-20 10:55:51 +00:00
Dario Ventura 74b33af1b5 TS2000 Satellite mode and Gpredict
Hi,
Gpredict issues set_vfo commands on sat track engage to switch a/b vfo
and set downlink/uplink frequency.

Although this generally works, Kenwood TS2000 has its own style during
satellite operation:
1) vfo B is *always* for uplink
2) vfo A is *always* for downlink
so vfo selection (FR command) doesn't work: kenwood firmware doesn't
recognize it in Satellite mode.

When Gpredict is trying to set_vfo on TS2000 in Satellite mode it loops
on unrecognized FR command and freezes.

Attached patch checks for TS2000 Satellite mode status and if ON
"disables" set_vfo command.
This allows Gpredict to track downlink/uplink frequency on TS2000 (you
need to configure manually downlink/uplink band on the rig before
engaging)

Please be aware this isn't a "Gpredict patch": it fixes set_vfo behavior
in satellite mode according to ts2000 firmware.

73, Ciao

Dario Ventura, IZ7CRX
2016-10-28 08:02:09 -05:00
Bill Somerville 06dc9ca5d6 Some more Kenwood rigs with no AI query 2016-05-21 15:17:06 +01:00
Bill Somerville 72673e323f Do not attempt to query AI state on the TS-450s as it is not supported
This change also avoids a long delay  on start up with the TS-450s due
to retries while trying to save the AI state before disabling it.
2016-05-21 03:29:58 +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 McConville 875d0fcdfb Fix erroneous boolean logic
It seems like || was used where && was intended here. Currently, the
conditions are always true, and there's no reason for them to be written
this way.

Found with Coccinelle.
2016-04-14 12:47:46 -04:00
Bill Somerville 50a739fa81 Use rig state rig port retry option rather than from capabilities
The   rig->state.rigport  retry   option  can   be  overridden   by  a
configuration  option and  therefore should  be used  rather than  the
initial capabilities default value.

Thanks to Ervin HA2OS for finding this defect.
2016-03-29 21:59:49 +01:00
Nate Bargmann 732309e9d9 Quell compiler warning on MinGW
Use the PRIll macro and int64_t cast to quell the warning from the MinGW
compiler.
2016-02-09 10:51:58 -06:00
Bill Somerville 0264e73688 Redundant split mode directives on Elecraft rigs cause Tx failures 2016-02-09 00:30:10 +00:00
Bill Somerville f0bd8061b1 Elecraft rigs do not switch VFO in IF command responses during split Tx. 2016-02-07 12:51:36 +00:00
Michael Black a55a72cd2a Fix possible frequency overflow on Kenwood and Yaesu
This patch fixes a frequency overflow problem on kenwood and yaesu that
can occur with frequencies that over a 32-bit signed int.  This has been
shown to fix the problem on kenwood.

73
Mike W9MDB
2016-01-15 10:18:42 -06:00
Bill Somerville aebe52a45e Add a new command line option '--no-restore-ai' ('-n') to rigctl
As Hamlib now restores the rig auto information state (AI) on exit
there is now a need to disable that functionality so that rigctl can
be used to set/reset AI mode on the rig explicitly.

A new  public API  function 'rig_no_restore_ai()'  is also  added that
allows any  client to  disable this auto  AI restore  functionality if
required. Most  clients should do nothing  as restoring AI state  is a
good thing.
2015-12-04 00:22:01 +00:00
Bill Somerville a924165786 Use correct function to execute set type commands with no response 2015-12-03 10:06:34 +00: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