Wykres commitów

3874 Commity (bfa948ebc5e4a9f8244a56b1cc961900173b545b)

Autor SHA1 Wiadomość Data
Jeroen Vreeken bfa948ebc5 Add GPIO and GPION options for DCD.
Also bump abi version since the config params struct needed resizing.
2018-03-29 23:55:25 +02:00
Michael Black W9MDB ca85f4740c Allow rigctld to reopen after error 2018-03-27 16:13:37 -05:00
Nate Bargmann 6efb7b64b2 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.
2018-03-23 18:15:55 -05:00
Michael Black W9MDB 7893b9f6d8 Update AOR 3030 to actually work now. Tested with WSJT-X 2018-03-19 14:23:23 -04:00
Nate Bargmann dd97dbefd2 Merge branch 'tmd710-rewrite' of https://github.com/mikaelnousiainen/Hamlib into mikaelnousiainen-tmd710-rewrite 2018-03-17 07:05:07 -05:00
Mikael Nousiainen 3eeea56bfc Remove incorrectly included file 2018-03-17 09:45:03 +02:00
Nate Bargmann a2cd70116e Merge branch 'ic7300-fix-caps-and-rit-zero' of https://github.com/mikaelnousiainen/Hamlib into mikaelnousiainen-ic7300-fix-caps-and-rit-zero 2018-03-16 14:16:04 -05:00
Nate Bargmann b0485aa475 Merge branch 'lazy-rigctld' of git://git.code.sf.net/u/bsomervi/hamlib into g4wjs-lazy-rigctld 2018-03-16 13:58:46 -05:00
Nate Bargmann 516a112678 Fix kenwood.c to compile with MinGW 2018-03-16 08:11:07 -05:00
Mikael Nousiainen 3cdbad1064 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. 2018-03-15 09:33:01 +02:00
Mikael Nousiainen cc2c9d53d3 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). 2018-03-15 09:28:10 +02:00
Michael Black W9MDB c1c5639c00 Fix morse send of a single space 2018-03-13 09:05:03 -04: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
Bill Somerville 489564a1af Make rig_open() call in rigctld lazy and add graceful termination
Because some  rigs lock their  front panel when  opened for CAT  it is
helpful  to   call  rig_close()  in   rigctld  when  no   clients  are
connected. This change does that.

A  CTRL+C handler  is also  added to  allow rig_close()  to be  called
during exit.
2018-03-12 19:47:45 +00:00
Bill Somerville 09e6ab6ef1 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.
2018-03-11 19:46:35 +00:00
Michael Black W9MDB 7806e467fb Add Rohde&Schwarz xk2100 backend for W1AW 2018-03-07 14:44:54 -06:00
Nate Bargmann 312acd05f0 Advance to 3.3~git 2018-03-02 06:44:51 -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