Wykres commitów

3632 Commity (2a849904af686dc45858b1a3fcaa006a86a7e3ed)

Autor SHA1 Wiadomość Data
Dario Ventura 46fe57190e New Prosistel rotor backend from IZ7CRX
This is patch adding prosistel rotator backend.
Simply reading and setting azimuth for now.

73,
Dario Iz7crx
2015-12-31 08:25:14 -06:00
Bill Somerville ffa60fe0e3 Fix missing PKTUSB mode setting code for FT-817 & FT-897
Also made setting WFM an error on the FT-817/857/897 since they all do
it automatically and only on Band II.
2015-12-15 15:57:43 +00:00
Bill Somerville d438b73b8e Fix FT-817/857/897 issues and add some missing functionality
Correctly read SPLIT status TX STATUS is documented incorrectly.

Implement get_split_vfo () on all rigs.

Allow either  RTTY or PKTUSB to  be set, both  go to DIG mode  and rig
must be set appropriately. get_mode() returns what is actually set for
the rig DIG mode.
2015-12-07 19:32:51 +00: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
Bill Somerville 6061cae8df Proper IPv6 and dual stack networking for rotator net daemon
This means that rigctl & rigctld  now work with default arguments on a
modern Windows  machine with dual  stack and localhost being  [::1] as
the first interface returned by getaddrinfo().

Try all the interfaces return by DNS lookups to establish a connection
or listening  port. Handle  Windows network  errors correctly  so that
meaningful messages are printed.

The rigctl program now accepts  IPv6 numeric addresses in the portname
field like [<addr>}:<port> for example  the IPv6 loopback on port 4531
would be [::1]:4531.
2015-11-27 19:41:04 +00:00
Bill Somerville ca7cbd89f4 Fix compiler warnings 2015-11-27 19:17:47 +00:00
Bill Somerville 181a3e9697 Proper IPv6 and dual stack networking
This means that rigctl & rigctld  now work with default arguments on a
modern Windows  machine with dual  stack and localhost being  [::1] as
the first interface returned by getaddrinfo().

Try all the interfaces return by DNS lookups to establish a connection
or listening  port. Handle  Windows network  errors correctly  so that
meaningful messages are printed.

The rigctl program now accepts  IPv6 numeric addresses in the portname
field like [<addr>}:<port> for example  the IPv6 loopback on port 4531
would be [::1]:4531.
2015-11-27 13:47:48 +00:00
Bill Somerville a4a93ac044 Remove unecessary delays from TS-940S backend 2015-11-19 10:48:05 +00:00
Nate Bargmann 2a51974a92 Merge branch 'yaesu-command-validation'
of git://git.code.sf.net/u/bsomervi/hamlib
2015-11-06 20:05:18 -06:00
Bill Somerville 1a02431da5 Command validation for Yaesu set commands
As with  Kenwood, the new  style Yaesu rigs  do not ACK  set commands.
Rather than  wait for  an error,  it is  quicker to  send a  follow up
simple query (e.g. ID;) and read the  reply, if it is a valid response
then the original set command worked; if it is a NACK response e.g. ?;
then  the original  command  failed. Use  this  mechanism to  initiate
retries of the original command.
2015-10-21 21:57:27 +01:00
Bill Somerville d4edc35827 Increase the number or retries for most Kenwood rigs
It appears  that these rigs  can go busy  for a significant  time when
switching between Tx and Rx.
2015-10-21 21:56:13 +01:00
Nate Bargmann 10a0fcc700 NEWS: TS-590s fix 2015-09-20 10:06:57 -05:00
Nate Bargmann c08f86eae1 Merge pull request #11 from dl1jbe/ts590_set_mode
fix kenwood_set_mode for ts590s and mode CW, RTTY or AM
2015-09-20 09:46:07 -05:00
Thomas Beierlein 528b6923bc fix kenwood_set_mode for ts590s and mode CW, RTTY or AM
Current code always tries to set data mode with 'DAx' command after
setting the mode. According to 'PC control command reference' manual
that results in error for the CW, FSK and AM mode.

The provided patch sends 'DAx' only if we have some of the other modes.
2015-09-20 14:46:59 +02:00
Nate Bargmann d3d859fb80 Advance to 3.1~git
Next release of development.
2015-09-19 09:34:02 -05:00
Nate Bargmann 81775bc03d Add library paths for tests.
Richard Sahw, KF5OIM, reported a failure in the C++ test when attempting
to build an RPM package in a clean environment.  This patch amends the
LD_LIBRARY_PATH in the generated shell scripts in the c++ and tests
directories.
2015-09-03 12:03:53 -05:00
Nate Bargmann ffe3126a85 Make cnctrk visible to rotctl
After all these years one would think I would remember to read the
directions for all the steps involved.  Ummm, nope!

cnctrk is now visible to rotctl.
2015-08-22 11:21:23 -05:00
Nate Bargmann f304a7b2be Update NEWS for upcoming 3.0 release
Set a release date of 01 Sep 2015.
2015-08-22 10:07:35 -05:00
Bob Freeman d899805ae6 New CNCTRK rotor backend
Am sending the source file for my CNCTRK backend used to pass AZ/EL data
to a linuxcnc-enabled rotator.

Thanks,
Bob
KI4SBL
2015-08-22 10:05:00 -05:00
Michael Black f8ccebc694 FT-857 and FT-991 patches
Fixes S meter reporting for FT857 and FT991.

Fixes rig split for FT991.working now for WSJT-X rig split mode.

73

Mike W9MDB
2015-08-15 12:30:00 -05: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 7b3c17646e Small FT-991 patch for WSJT support
A small patch.  Allows the FT-991 to work with Fake Split in WSJT-X.
FT-991 Rig Split does not work due to audio routing (at least not with
the USB port).

The 991 needs a delay after transmit is turned off and 50ms works.

73

Mike W9MDB
2015-07-26 21:54:56 -05:00
Michael Black dffa130175 FT-991 patch
Attached fixes some problems with the Yaesu FT-991 exposed by recent
WSJT-x releases.

Made Yaesu newcat_get_cmd globally available.

Fixes a small bug in a debug print for frequency.

Adds a couple of TRACE debugs.

FT-991 now does split mode.

Tested and working on WSJT-X r5675  JT65/JT9 and WSPR mode.

73

Mike W9MDB
2015-07-16 21:44:04 -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
Bill Somerville 0f35adda2e Make autogen.sh agnostic to whitespace in paths
Note that this patch does not enable builds with whitespace in $SRCDIR
or in `pwd` but it does at least get as far as running configure which
will fail  with a  meaningful warning about  unsafe characters  in the
offending paths.
2015-06-25 10:37:03 +01: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
Michael Black e780f2dc66 Flush the debug stream
Testing under JTSDK MSYS environment debug info was not being seen while
running rigctl -vvvv

Adding a flush to the debug stream fixes it.

Mike W9MDB
2015-05-07 17:13:44 -05:00
Bill Somerville fde6174a6f Dummy get_ptt function needs to read RTS/DTR/PARALLEL
Because the dummy rig provides a  get_ptt function it must look at the
hardware PTT if that is being used  and or that state into its result.
This  issimilar to  a real  rig that  would be  in tx  because of  the
control line.
2015-04-25 13:24:22 +01:00
Bill Somerville cf65505511 Honour any error status from serial port calls
The  previous commit  introduced  a regression  that  masks any  error
return from  opening the serial  port used for  PTT when that  port is
different from the CAT serial port.
2015-04-22 22:16:35 +01:00
Bill Somerville de3fccf033 Lower both RTS and DTR on alternate PTT serial port
Before this  change only the  line used for  PTT was being  lowered on
open.   It is  necessary for  platforms  other than  Windows to  avoid
issues with other uses of the line not used for PTT such as interfaces
that wire-or RTS and DTR together or use it for CW or FSK keying. This
is because  platforms other  than Windows  raise both  DTR and  RTS on
serial port opening.

Also changed  code that opens CAT  port to lower  RTS or DTR if  it is
used for PTT. In this case there is no need to lower the other line of
DTR  or RTS  as there  is  already a  config parameter  to control  it
(dtr_state or rts_state). This change is necessary to maintain current
functionality.
2015-04-16 23:59:43 +01:00
Nate Bargmann 2c0134ae4c Merge branch 'serial-lines' of git://git.code.sf.net/u/bsomervi/hamlib 2015-04-14 05:55:10 -05:00
Nate Bargmann 00f7ca2b39 Merge branch 'ts-990' of git://git.code.sf.net/u/bsomervi/hamlib 2015-04-14 05:52:48 -05:00
Bill Somerville b9eb755dc3 The doesn't appear to be a way of getting PTT/SEND on the TS990s
The IF  command response  byte for  this is  always 0  on this  rig as
documented and there doesn't seem to be an alternate way of querying.
2015-04-14 10:05:01 +01:00
Bill Somerville 1968b98e3c The Kenwood TS990s only does split Tx on SUB VFO 2015-04-14 10:05:00 +01:00
Bill Somerville 5861851117 Mode set is not VFO targetable on the Kenwood TS990s
It is targetable for read so set as targetable and added extra code in
set  funnction to  toggle VFOs  where necessary.  This is  better than
setting as not targetable since reads do not have to toffle VFOs.
2015-04-14 10:05:00 +01:00
Bill Somerville 542585029d Initial back end implementation for the Kenwood TS-990s 2015-04-14 10:04:59 +01:00
Bill Somerville ddb0a12403 Use correct argument type for serial control line functions
The serial port  line control functions take a boolean  argument not a
ptt_t argument.   Changed usage in  rig_open() to use a  explicit zero
instead of RIG_PTT_OFF  value which only coincidentally  happens to be
zero.
2015-04-14 10:04:31 +01:00
Bill Somerville da87c81100 Do not attempt CAT PTT commands on the Icom IC-706mkIIG
This rig doesn't have PTT commands and having them there causes errors
since they  are used by the  front end API even  if RTS or DTR  PTT is
selected.
2015-04-14 10:03:51 +01:00
Michael Black 0a5b00c58d New backend for FT-991
Also, change from using malloc to calloc in Yaesu backend.
2015-04-13 21:02:41 -05:00
Nate Bargmann feda2e4834 Merge pull request #7 from alexschultze/master
Rework of easycomm, fix get_info, implement get and set config features seperately
2015-04-05 11:28:16 -05:00
Alexander Schultze 21a23fe599 easycomm: implement get/set config, easycom include status and error bytes, fix get_info 2015-04-05 16:27:27 +02:00
David Fannin 699db23393 Submission for new backend model (134) for Yaesu FT-DX1200
All,

attached is a git patch for adding the Yaesu FT-DX1200 radio  to the yaesu
backend as model 134.    I am humbly asking for this to be included in
hamlib.

I've tested this using a 1200 radio, using both rigctl and cqrlog.    The
ft-dx1200 cat commands are a mix of ft-950 and ft-2000 radio commands, so
neither of those models will work correctly with the 1200.  It was tested
and build against the master branch from github on 4/3/2015, on an Ubuntu
14.04 server.

Let me know if you have any questions.

thanks

Dave

kk6df at arrl.net

From cc0351fddc245b6223ae6c21dc6e29c5422fc822 Mon Sep 17 00:00:00 2001
From: David Fannin <dfannin@sushisoft.com>
Date: Sat, 4 Apr 2015 09:23:49 -0700
Subject: [PATCH 1/2] adding yaesu ft-dx1200 model to yaesu backend
2015-04-04 13:19:19 -05:00
Alexander Schultze 3c924ddd28 update EasyComm3 to include setting and getting of config and status 2015-04-04 18:01:03 +02:00
Nate Bargmann d22d83122b Merge branch 'alexschultze-master' 2015-04-03 21:18:22 -05:00
Nate Bargmann 013f30f826 Merge branch 'master' of git://github.com/alexschultze/hamlib into alexschultze-master 2015-04-03 21:16:46 -05:00
Alexander Schultze 895639c48f easycomm: include a new EasyComm3 to support move speed and infostring 2015-04-01 21:05:21 +02: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