Wykres commitów

3871 Commity (Hamlib-3.2)

Autor SHA1 Wiadomość Data
Nate Bargmann 27fc0ecf8e Release Hamlib 3.2 2018-03-31 07:59:39 -05:00
Nate Bargmann c4293618dd Advance to Hamlib 3.2~rc3 2018-03-26 21:37:07 -05:00
Nate Bargmann 3da35ebc45 Create HTML manual at 'make dist' time
Per the suggestion of Greg Troxel, N1DAM, remove the need for the 'makeinfo'
dependency at build time by creating the HTML version of the manual along with
the info version at 'make dist' time.  The removes the build dependency on
'makeinfo' that was introduced since the release of 3.1.

(cherry picked from commit 6efb7b64b2)
2018-03-23 18:40:19 -05:00
Michael Black W9MDB 423a1186e8 Update AOR 3030 to actually work now. Tested with WSJT-X
(cherry picked from commit 7893b9f6d8)
2018-03-20 11:17:42 -05:00
Nate Bargmann 34c32a3cd7 Advance to 3.2~rc2
New RC due to additions and fixes since RC1.
2018-03-17 07:34:53 -05:00
Mikael Nousiainen 6dccb94ee5 Remove incorrectly included file
(cherry picked from commit 3eeea56bfc)
2018-03-17 07:27:41 -05:00
Mikael Nousiainen 7e221491c5 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.
(cherry picked from commit 3cdbad1064)
2018-03-17 07:27:30 -05:00
Mikael Nousiainen 2dfd79ee13 IC-7300: Enable get_split_vfo and remove rptr_shift/rptr_offs, which are not supported. Allow setting RIT/XIT to zero. Fix typo in bandplan (used only by IC-7300 so far).
(cherry picked from commit cc2c9d53d3)
2018-03-17 07:27:19 -05:00
Nate Bargmann eb0b622913 Fix kenwood.c to compile with MinGW
(cherry picked from commit 516a112678)
2018-03-16 08:32:21 -05:00
Michael Black W9MDB f7cef2f5f7 Fix morse send of a single space
(cherry picked from commit c1c5639c00)
2018-03-14 08:37:25 -05:00
Michael Black W9MDB 1817c49f3f Fix K3 send_morse and change generic to 0x20 padding per manual. Tested on TS-2000
(cherry picked from commit b455affe7f)
2018-03-14 08:37:20 -05:00
Bill Somerville effbf680eb FT-817 status queries honour retries and timeout
This is  to help  with owners  of Arduino boards  like the  ubitx that
emulate an  FT-817 but respond badly  to a DTR signal  glitch which is
inevitable when opening a Linux  serial port.  The glitch triggers the
Arduino  boot-loader which  must be  allowed  to time  out before  the
FT-817 emulation starts.

(cherry picked from commit 09e6ab6ef1)
2018-03-11 18:39:54 -05:00
Michael Black W9MDB 8ee3c0ed9f Add Rohde&Schwarz xk2100 backend for W1AW
(cherry picked from commit 7806e467fb)
2018-03-07 17:59:04 -06:00
Nate Bargmann c2bc93f06a Advance to 3.2~rc1 for pending release 2018-03-02 06:54:24 -06:00
Nate Bargmann d3a4ea3fcf Update NEWS for 3.2 release 2018-03-02 06:25:34 -06:00
Dieter Röver 1a272f5b0e Fix bug in vfo_comp calculation in Hamlib
I tried to control my "FUNcube Dongle Pro" SDR with Hamlib. At first it
worked fine, but when I tried to correct the frequency divergence with
the vfo_comp parameter, I found a bug in the software.

Example:
$ ./rigctl -m 2513 -C vfo_comp=0.01
  Rig command: F 100000000
  Rig command: f
  Frequency: 102010000

The correction must toke place when setting the frequency and when it
is read back. But one time the correction must work in on direction,
the other time quite opposite.

I found the code in the file rig.c and could see, that both times the
same calculation is used.

The simplest way to correct this is to go to the “rig_get_freq(“
subroutine and change it in the line 1188 from “+=” to “-=” , even that
is mathematically not correct.

Result:
$ ./rigctl -m 2513 -C vfo_comp=0.01
  Rig command: F 100000000
  Rig command: f
  Frequency: 99990000

$ ./rigctl -m 2513 -C vfo_comp=0.000022
  Rig command: F 100000000
  Rig command: f
  Frequency: 99999999

You can see, that the result is quite good for small divergences of
some ppm, but there is still an error for bigger divergences. So I
changed the line 1188 to the form I hope it is the mathematically
correct one:

*freq = (freq_t)(*freq/(1.0+(double)rig->state.vfo_comp));

Result:
$ ./rigctl -m 2513 -C vfo_comp=0.01
  Rig command: F 100000000
  Rig command: f
  Frequency: 100000000

$ ./rigctl -m 2513 -C vfo_comp=0.000022
  Rig command: F 100000000
  Rig command: f
  Frequency: 100000000

Now the result looks good for small and for bigger divergences.

Best regards
Dieter Röver (DK6OV)
2018-02-23 12:34:28 -06:00
Mikael Nousiainen c8a8d18d18 Fix IC-7000 RIG_OP_TUNE command. The command requires an additional byte to specify operation type. 2018-02-22 22:23:14 +02:00
Max Lock 5b0a2d851d Addition of support for CM108B PTT 2018-02-19 06:42:08 -06:00
Nate Bargmann aef1f6d1c3 Merge branch 'rshfiq' of https://github.com/dl1ksv/hamlib into dl1ksv-rshfiq 2018-01-28 14:51:28 -06:00
dl1ksv 87a5342a2f Switching from sprintf to snprintf to avoid possible seqfaults
Workaround for fldigi
fldigi treats zero frequency as error and disables hamlib.
So if the device rports zero frequency return 1 Hz instead,
so the user can switch to the favored frequency
2018-01-22 12:44:16 +01:00
Nate Bargmann 0c74f3b16a Merge branch 'dummy-rig-static-data' of https://github.com/mikaelnousiainen/hamlib into mikaelnousiainen-dummy-rig-static-data 2018-01-21 08:45:26 -06:00
Nate Bargmann 27e63e4274 Merge branch 'ic7300-fix-params-and-agc' of https://github.com/mikaelnousiainen/hamlib into mikaelnousiainen-ic7300-fix-params-and-agc 2018-01-21 08:31:36 -06:00
Mikael Nousiainen d88881fecd Add an option to output static values for RIG_LEVEL_STRENGTH and RIG_LEVEL_RAWSTR for integration testing purposes 2018-01-21 16:00:37 +02:00
Mikael Nousiainen 9ad45cc5d3 IC-7300: Fix issues in Icom civ_version 1 parameters implementations. Add correct mappings for AGC settings. 2018-01-20 23:01:27 +02:00
Nate Bargmann 0ffb4588c0 Merge commit '9f9c03a5cb3b23f7c77c61e93b1a82fca618c17b' into ahc_fix_ts711_811 2018-01-18 05:18:52 -06:00
Adrian Chadd 9f9c03a5cb Upgrade TS-711 and TS-811 to work.
The TS-711 and TS-811 use an IF10 board just like the TS-140/TS-680/TS-590
and thus share a lot of the same commands with it.

Tested:

* TS-711A
* TS-811E
2018-01-18 00:17:41 -08:00
Michael Black W9MDB 3676cf376c Add IC-7610 2018-01-14 17:55:41 -06:00
Nate Bargmann be4e882a19 Merge branch 'ic7300-fix-modes-ranges-smeter' of https://github.com/mikaelnousiainen/hamlib into mikaelnousiainen-ic7300-fix-modes-ranges-smeter 2017-12-25 14:56:24 -06:00
Mikael Nousiainen 8020682f37 Add 60m band for all 3 IARU regions and 4m band for region 1. IC-7300 fixes: create a more accurate S-meter calibration table, add missing FM mode and add 60m and 4m bands to transmit ranges. 2017-12-25 21:38:40 +02:00
Michael Black W9MDB f4629f6669 Add Flex 6400/6600 2017-12-25 10:24:08 -05:00
Mikael Nousiainen 194c31c327 Fix IC-7300 S-meter calibration table length 2017-11-27 10:47:52 +02:00
Nate Bargmann 1dea67a656 Add --without-libusb option to configure script.
At the request of David Ranhc, KI6ZHD, add an option for the user to
disable the libusb backends.
2017-11-20 04:38:40 -06:00
Nate Bargmann 708ca78c77 Formatted amsat/ to final coding guidelines 2017-10-08 07:08:53 -05:00
Nate Bargmann 62309abd49 Formatted alinco/ to final coding guidelines 2017-10-08 06:20:45 -05:00
Nate Bargmann c16a7d6f5f Formatted adat/ to final coding guidelines 2017-10-07 07:51:30 -05:00
Nate Bargmann b692fb22ef Formatted tests/ to final coding guidelines 2017-10-06 18:58:42 -05:00
Nate Bargmann ab3e6bb5a5 Formatted src/ to final coding guidelines 2017-10-04 21:32:08 -05:00
Nate Bargmann ef3620defb Modified coding style to Allman
Revised astylerc to use allman brace style and to keep one-line blocks and
one-line statements.
2017-10-04 21:10:27 -05:00
c vw 028732bdfd Changes to make microHam support compile under MinGW 2017-09-21 17:55:21 +02:00
Jaroslav Skarvada 9693cce0b3 Fix serial_port DCD squelch
Hi,

I had trouble with CTS serial port squelch (on microHAM USB Interface III).
It seems there is a bug in the hamlib code and I think the similar thing
should be done as has been done for the pttport, i.e. if the dcdport is
the same as the rigport, do not reopen it. Otherwise the serial port will
be reset to its default and it will key the radio PTT forever (because
the RTS line is reset on the port reopen). Patch attached

73! Jaroslav, OK2JRQ
2017-09-10 21:04:55 -05:00
Nate Bargmann 987bbf6e78 Merge branch 'ic7100' of https://github.com/magnemahre/hamlib into magnemahre-ic7100 2017-09-10 20:43:16 -05:00
c vw d008ca6e5d Microham support. Use "uh-rig" for rig_pathname to talk to the
microHam device for CAT. If you want hardware PTT via the microham
device, use DTR method and ptt_pathname "uh-ptt".
2017-09-10 19:56:59 -05:00
Jaroslav Skarvada 3709fcb982 Fix hardcoded pcconfig libdir
Hi,

on 64 bit distros with /usr/lib64 (e.g Fedora) the hardcoded libdir in
pcconfig is wrong. The attached patch tries to fix it. It also applies
to 3.1

73! Jaroslav, OK2JRQ

Expand variable substituion for hamlib.pc

Further testing showed that 'exec_prefix' and 'includedir' would benefit from
variable substitution by the configure script.

- N0NB
2017-09-03 12:33:00 -05:00
Magne Mæhre a8a2a8ad41 Enable set_powerstat (turning radio on/off) for IC-7100. 2017-09-02 19:26:44 +02:00
Bill Somerville f9856c6b85 Take out unecessary delays in K(X)3(S) back end. 2017-08-12 22:09:39 +01:00
Nate Bargmann 32dfa04e25 Format the 'barrett/' directory.
Apply formatting to Barrett.
2017-08-11 09:33:32 -05:00
Nate Bargmann 214ddfd22f Merge branch 'master' of https://github.com/dl1ycf/hamlib into dl1ycf-master 2017-08-10 21:59:26 -05:00
Nate Bargmann 7056aa7f69 Format the 'adat/' directory.
Apply formatting to Adat.
2017-08-10 20:41:48 -05:00
Nate Bargmann d489b8bcb5 Apply formatting to 'tests/' directory
Format per style guide.
2017-08-10 05:46:12 -05:00
Bill Somerville 80a4097aba Add best guess transmit status to rig state structure
This flag can  be used by back  ends that need to  take special action
while the  rig is transmitting e.g.  the FT-747GX and similar  that do
not process CAT commands while transmitting.

The flag  is also used as  a default answer to  rig_get_ptt if nothing
better is available.

Deal with inaccurate CAT query for Rx/Tx on the Yaesu FT-847

This rig  doesn't set the Rx/Tx  status flag when PTT  is asserted via
the PTT pin on the rear PACKET  socket so we need to override which we
can do if we known we have asserted PTT via rig_set_ptt().

Adjust style and fix set PTT defects

Fix a warning from a declaration of a deleted function definition
2017-08-09 21:54:50 -05:00