Commit Graph

3848 Commits

Author SHA1 Message Date
Nate Bargmann
cdeb73ee8e Merge branch 'master' of https://github.com/dl1ycf/hamlib into dl1ycf-master 2017-07-08 07:52:13 -05:00
c vw
4838a349a6 This enables netrigctld to trigger two different CAT commands (Mic or DATA)
on the real rig. In rigctl_parse.c, we make sure that invalid attempts to
so so are mapped on a safe variant.

Second change to netrigctl: drain the input line before sending a new
command, to reach sync again after a timeout.
2017-07-07 11:52:35 +02:00
Michael Black W9MDB
8978d0ab9b Add FLRig backend 2017-07-06 22:53:58 +01:00
Michael Black W9MDB
21a6909a9a Add Barrett 2050 backend 2017-07-04 12:50:23 -05:00
Michael Black W9MDB
0b1a58d308 Fixed indentation warnings detected by newer gcc
Fixed one error discovered by these warnings in easycomm.c
2017-06-28 18:00:20 +01:00
Michael Black W9MDB
cab7eb1647 Fix FT-891/991 behavior with WSJT-X
Separate FT-891 features
Fix rigctl and rigctld to not abort on function not available
Change Yaesu detection of FA length to automatic method instead of rig specific
2017-06-27 16:48:44 +01:00
Nate Bargmann
32e6d8c25d Merge branch 'rs-hfiq' of https://github.com/dl1ksv/hamlib into dl1ksv-rs-hfiq 2017-05-29 21:15:35 -05:00
dl1ksv
23eae7edc1 Merge branch 'master' into rs-hfiq 2017-05-29 16:43:34 +02:00
dl1ksv
bb11fa9107 Initial controls for the rs-hfiq sdr 2017-05-29 13:12:52 +02:00
c vw
fc6d87addf Do not set DTR/RTS on dedicated PTT port if it is already closed. 2017-05-29 09:37:32 +02:00
Bill Somerville
2828422e92 Stop rigctld and rotctld crashing when service threads cannot write to clients
Although there is  no reasonable recovery from SIGPIPE we  do not want
to terminate the server process,  just the client servicing thread. We
do this by setting the disposition for SIGPIPE to ignored, this causes
an EPIPE to be returned from blocked write() and send() calls that end
up trying to send to a broken pipe/socket.
2017-05-22 21:56:41 -05:00
c vw
e156ef65fb fixes for kenwood backends 2017-05-22 19:09:47 +02:00
Norvald H. Ryeng
fbef95f30f New rotator model: SPID MD-01/02 in ROT2 mode
Add driver for SPID MD-01 and MD-02 in ROT2 mode. The MD-01 and MD-02
extend the command set from the original ROT2PROG and deviate slightly
from the original protocol on the set_position command.
2017-05-14 20:54:49 -05:00
Tobias Wellnitz
42de040bcb fixed reading the rig's return value in newcat_get_tx_vfo 2017-05-14 20:41:21 -05:00
Malcolm Herring
b04c910d53 Icom IC-R10 & 20 testing complete. Move to Beta 2017-05-10 21:43:01 -05:00
Nate Bargmann
71ab7c1f18 Merge branch 'malcolmh-icom_updates'
New model: Icom IC-R6 wideband hand held receiver.
2017-04-06 05:12:37 -05:00
Malcolm Herring
a8e89505e3 New model: Icom IC-R6
Icom's hand held wideband receiver.
2017-04-06 05:04:27 -05:00
Malcolm Herring
ce7a5d7e4b init branch 2017-04-06 04:59:53 -05:00
Nate Bargmann
f746295098 Merge branch 'netrig-level-emulation-setup'
of git://git.code.sf.net/u/bsomervi/hamlib into netrig-level-emulation-setup
2017-03-31 16:58:06 -05:00
Bill Somerville
2d6bb183f2 Allow RIG_LEVEL_STRENGTH queries over the network link
The rig  frontend may be  able to emulate RIG_LEVEL_STRENGTH  by using
RIG_LEVEL_RAWSTR and an S-meter  calibration curve.  The netrig client
doesn't know  this so it must  pass STRENGTH queries regardless  if it
knows a RIG_LEVEL_RAWSTR query is allowed. If the server cannot oblige
it will return a -RIG_EINVAL error which should be fine.
2017-03-31 18:17:16 +01:00
Malcolm Herring
a49122cf65 init branch 2017-03-30 17:56:27 +01:00
Bill Somerville
317ea83684 Do not pass --no-cpp_precomp to compilers on Mac OS X
This option is  obsolete since Apple gcc 3.0, by  dropping support for
gcc 2.95.x we no longer have to pass this option.  By not passing this
option we sidestep  an issue for Mac  OS X when a GNU  gcc compiler is
used to build instead Apple gcc or clang.
2017-02-27 17:52:10 +00:00
Bill Somerville
62fb76019f Fix a state machine defect with repeated PTT reset calls
When the PTT serial  port is not the control port  the intention is to
free the port  when PTT is reset so that  other applications can share
it. This logic  was faulty with attempts to call  port functions on an
unopened port when repeatedly calling the rig_set_ptt API.

Thanks to Christoph van Wullen, DL1YCF, for finding and analyzing this
defect.
2017-02-27 13:02:04 +00:00
Nate Bargmann
14a74b1275 Add missing dorji/Android.mk 2017-02-25 13:17:37 -06:00
Jeroen Vreeken
520224a63c Small fixes to DRA818 volume handling 2017-02-22 12:28:18 +01:00
Jeroen Vreeken
7c935ce864 Merge branch 'master' of git://git.code.sf.net/p/hamlib/code 2017-02-22 12:21:07 +01:00
Jeroen Vreeken
70127b6b9c Add Dorji DRA818 modules (VHF and UHF variants)
Also works with NiceRF SA818 modules
2017-02-22 12:14:50 +01:00
Nate Bargmann
e132664053 Merge branch 'mdblack98-x108g'
New model, X108G, from Mike, W9MDB.
2017-02-19 09:53:30 -06:00
Nate Bargmann
b66a8928b6 Merge branch 'x108g' of https://github.com/mdblack98/hamlib into mdblack98-x108g
From GitHub.
2017-02-19 09:49:43 -06:00
Michael D Black
ea6f4e7115 Added x108g backend 2017-02-14 15:39:31 -06:00
Bill Somerville
6c342217bf Fix some endian issues in the si570/AVR SDR back ends
These issues appeared when used on a Power PC machine, big endian,
with Linux.
2017-02-12 18:17:24 +00:00
Nate Bargmann
2290f2edb1 Add support for AGC Levels
Merge branch 'jaebird-pihpsdr'
2017-02-10 06:11:37 -06:00
Jae Stutzman
22cdd4f5bd Added new AGC control for PiHPSDR 2017-02-10 06:07:46 -06:00
Daniel Estévez
ddd13fd028 Fix DIG MODE for FT817-ND
The FT817-ND only has RTTY, PSK31-L, PSK31-U, USER-L, USER-U as
possible DIG MODEs.  Before this fix, the modes read by Hamlib were
completely wrong.

The RTTY mode in the FT817-ND is USB. I think that the corresponding
Hamlib mode is RIG_MODE_RTTYR but I'm not certain if this is supposed to
be USB or LSB.

This has been tested on an FT817-ND. The FT817 might be different.
2017-02-10 06:07:46 -06:00
Sean Sharkey
8ad96bf3d5 Break out FT-1000D file for full support.
As discussed please find attached the files which I modified to include
full support for the Yaesu FT-1000/D radios.

Kind regards,

Sean.
2017-02-10 06:07:46 -06:00
Nate Bargmann
d2c2483e60 Merge pull request #51 from mdblack98/master
Fix FT-891 recognition
2017-02-09 18:11:37 -06:00
Nate Bargmann
fb5e8e216f Fix DIG MODE for FT817-ND
Merge branch 'daniestevez-master'
2017-02-09 17:59:14 -06:00
Daniel Estévez
ef08446995 Fix DIG MODE for FT817-ND
The FT817-ND only has RTTY, PSK31-L, PSK31-U, USER-L, USER-U as
possible DIG MODEs.  Before this fix, the modes read by Hamlib were
completely wrong.

The RTTY mode in the FT817-ND is USB. I think that the corresponding
Hamlib mode is RIG_MODE_RTTYR but I'm not certain if this is supposed to
be USB or LSB.

This has been tested on an FT817-ND. The FT817 might be different.
2017-02-09 17:53:42 -06:00
Nate Bargmann
fd042b1616 Breakout FT-1000D file for full support
Merge branch 'sharkey-ft1000d'
2017-02-09 17:39:04 -06:00
Sean Sharkey
74160301d5 Break out FT-1000D file for full support.
As discussed please find attached the files which I modified to include
full support for the Yaesu FT-1000/D radios.

Kind regards,

Sean.
2017-02-09 17:34:56 -06:00
Michael Black
f17ddfc676 Fix FT-891 recognition 2017-02-04 10:11:21 -06:00
Nate Bargmann
358aacbe53 Merge feature branch for Windows ioctlsocket 2017-01-26 19:59:14 -06:00
Jae Stutzman
dfd969acd3 Use Windows ioctlsocket to avoid buffer overrun 2017-01-26 19:42:00 -06:00
Nate Bargmann
cb9ec24cd3 Merge branch 'jaebird-master'
Flush the buffer for the network protocol used with the PiHPSDR backend.
2017-01-25 20:52:28 -06:00
Jae Stutzman
a8af27a8ce Updated PiHPSDR backend defaults 2017-01-25 20:45:24 -06:00
Jae Stutzman
230430c4e9 Clears potential garbage data in read buffer prior to command being sent 2017-01-25 20:45:24 -06:00
Michael Black
0277efdac9 Fix ic785x default addr to 0x8e 2017-01-23 16:54:17 -06:00
Nate Bargmann
0fc86ea3ab Merge branch 'jaebird-master'
New HPSDR backend from Jae, K5JAE.
2017-01-21 21:02:25 -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
7ab76d59df Simplify and fix defects in the FT991 back end
The FT991 only receives  on VFO A, VFO B is only used  for split Tx or
for exchanging with VFO A. There are no commands to set or query VFO B
mode. Added a set split mode function  that saves VFO A mode and VFO b
frequency then sets the required VFO B mode into VFO A and then copies
VFO  A  to  VFO  B  and  restores  the  VFO  B  frequency  and  VFO  A
mode. Bandwidth and narrow settings are not touched.

Several functins that had been  implemented specifically for the FT991
have been removed because existing newcat.c functions were suitable or
there should not have been a function as the rig doesn't support it.
2017-01-21 11:56:12 +00:00