Wykres commitów

3608 Commity (0e2ee1c4d53ae0eb175ba02aab23fb16cdcad31a)

Autor SHA1 Wiadomość Data
Nate Bargmann 0e2ee1c4d5 Reformat drake.c to Linux C Style 2016-02-12 21:07:39 -06:00
Greg Troxel 5436f26023 Warning about dodgy code in drake.c
Quell warning from clang about semicolon immediately trailing an if
conditional.
2016-02-12 20:52:53 -06:00
Nate Bargmann 9b45fce776 Reformat rigctld.c and rotctld.c
Several lines in each file benefitted from formatting so just reformat
the entire files into Linux C Style.
2016-02-12 20:46:38 -06:00
Bill Somerville e4e17ce862 Improve IPv6 portability and consistency
After  discussions with  Greg  N1DAM  I have  changed  the dual  stack
support to  explicitly allow IPv4  connections mapped to IPv6  for any
AF_INET6 address  since BSD  as well as  Windows defaults  this socket
option to on (disallowed).

IPv4 mapped to IPv6 makes sense  for Hamlib servers since starting two
servers  one  for each  protocol  family  (the  other option)  is  not
possible  since there  is only  a single  rig/rotator which  cannot be
shared between two servers.
2016-02-12 20:20:25 -06:00
Michael Black 2c1c1a4b63 Simply define TRUE to 1 in omnivii.c
Clears a Clang warning.
2016-02-12 13:44:49 -06:00
Michael Black e1f0433620 Various Yaesu updates
Fix typo in ft990.c
Remove unused var in newcat.c
Make rit and xit use labs() to match data type
Fix frequency print in newcat.c to use PRIll

RRR
Mike W9MDB
2016-02-12 13:36:37 -06:00
Bill Somerville 04c545b9b9 Only use IPv6 features on Windows versions that support it (>=XP) 2016-02-12 15:30:41 +00:00
Nate Bargmann cc21c64662 Advise on use of int64_t cast
Advise on testing with clang compiler and using int64_t cast with PRIll
macro.

Fix GCC warning when 'make distcheck' is run.
2016-02-09 11:26:23 -06:00
Michael Black 95a99fa37d Quell clang warnings in tests directory
Remove unnecessary parentheses in memcsv.c.

Fix cfp->u.c.combostr as old check was always true since it's statically
allocated.

RRR
Mike W9MDB
2016-02-09 11:12:28 -06:00
Michael Black 61a0e77110 Fix port->pathname checks
Was always true since it's statically allocated

RRR
Mike W9MDB
2016-02-09 10:59:09 -06: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
Michael Black 4abafcdd29 Clean up clang warnings in tentec
Remove double attenuator assignment in tt588_caps.
Assign correct type (int) to priv->agc in tt550_init.
2016-02-09 06:31:54 -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 94973f706f Clear up a clang compiler warning in kenwood/elecraft.h
EXT_LEVEL_NONE should be part of the enum

RRR
Mike W9MDB
2016-02-05 18:34:28 -06:00
Michael Black 8902ab0689 Clean up clang warnings on adat.c
Really simple stuff to remove extraneous parenthese

RRR
Mike W9MDB
2016-02-05 18:27:30 -06:00
Bill Somerville 5244086e07 Detect C-IV NAK returns as rejected commands
Only  ask Icom  rigs once  then  desist if  bandwidth request  returns
command  rejected. This  avoids sending  the request  with every  mode
query  and possibly  retrying 'retries'  times  for rigs  that do  not
suport the '1a 03' command which wastes much time at slow baud rates.
2016-02-05 19:22:29 +00:00
Nate Bargmann 683853d669 Make sure new file frg100.h is distributed
Fix a goof from absent minded maintainer that resulted in an unbuildable
repository.  Always run 'make distcheck'!
2016-02-04 09:09:35 -06:00
Bill Somerville fca48348a6 Add missing configuration getters 2016-02-04 09:09:35 -06:00
Michael Black 03c04209d2 Add get_freq to FRG-100
This patch adds get_freq to frg100 allowing it to work with WSJT-X.
Added rest of Yaesu command set for future expansion too.

RRR
Mike W9MDB
2016-02-02 17:34:24 -06:00
Nate Bargmann 1f8f4510dd Merge branch 'ic910-set-freq' of git://git.code.sf.net/u/bsomervi/hamlib
Fix a logic error in band detection during IC-910 set frequency.
2016-01-20 21:26:56 -06:00
Bill Somerville 87eb9e50b7 Fix a logic error in band detection during IC-910 set frequency
Also optimized to not check other band when already on the right band.
2016-01-20 23:35:32 +00:00
Nate Bargmann 9c2989e1a4 Favor $HOME over '~' in text
As perhaps not all shells support '~' as a shortcut for $HOME, use $HOME
instead to clarify text.
2016-01-16 09:17:39 -06: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
Nate Bargmann efb7860e4d Install daemon man files to man1
As the rigctld and rotctld programs are actually user programs and
installed in ${prefix}/bin, it was erroneous to install the associated
manual pages into the man8 directory.  Correct this error going forward
and install them into man1 with the other manual pages.
2016-01-12 15:53:53 -06:00
Dario Ventura dd79038d9e Add elevation code to Prosistel backend
Warnings are cleaned up.

I also added elevation code as comment for future testing.

73, Dario IZ7CRX
2016-01-04 21:37:30 -06:00
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