Wykres commitów

132 Commity (3dbbe02b78d18fb3a69c02995d035e2bc4dfc96f)

Autor SHA1 Wiadomość Data
Mikael Nousiainen 3dbbe02b78 Add new levels: RFPOWER_METER, COMP_METER, VD_METER and ID_METER, supported at least by most of recent Icom rigs. Add level NOTCHF_RAW for manual notch frequency without specified unit for Icom rigs. Add level MONITOR_GAIN. Add functions DUAL_WATCH and DIVERSITY, supported now by K3/K3S. Fix VOXDELAY level commands for many Icom rigs. Add MONITOR_GAIN level for Icom rigs. Fix and add many K3 commands and add specific rig models for K3S, KX2 and KX3 -- they are very similar to K3, but have slight differences. Extend dump_caps output for rigctl: add complete details of ext levels and frequency ranges. Tests have been performed on IC-7000, IC-756ProIII, IC-7300, IC-7600 and K3. 2019-05-30 09:37:49 +03:00
Michael Black 1688d103c9 astyle for netrigctl.c 2019-03-01 07:32:05 -06:00
Michael Black 51fa6f57ba Relax chk_vfo requirement for backward compatibility 2019-03-01 07:30:02 -06:00
Michael Black ad8a01f18d netrigctl can now do vfo mode -- has automatic detection of rigctld vfo mode
rigctl automatically detects vfo mode of rigctld
rigctli and rigctld recommend vfo mode if not selected
2019-02-05 12:05:51 -06:00
Michael Black 2f86dde55a Reduce verbosity in FLRig 2019-02-05 08:08:21 -06:00
Michael Black 3b5dd2e884 Fix flrig when WSJT-X startup causes rig mode change
Increase flrig timeout value
Add USB mode to flrig
Fix flrig memory leak
Fix bug where constant value was being trashed
2018-12-31 15:45:27 -06:00
Michael Black 7123bb4403 Change rmode_t to uint64_t and remove unneeded casts 2018-12-22 23:56:30 -05:00
Michael Black 2b5f01fb75 64 bit mods to netrigctl.c testrig.c 2018-12-21 23:51:54 -05:00
Michael Black 422b266b9b Change RIG_MODE and RIG_FUNC to 64-bit values 2018-12-21 12:39:20 -05:00
Michael Black 7062b6761d Reduce debug info in flrig.c 2018-12-19 16:45:34 -05:00
Michael Black W9MDB 2e5113c7df Fix flrig modeMap and reduce debug levels 2018-12-10 22:41:26 -06:00
Ervin Hegedus 354ae39adc Change variable length argument handling in affected functions 2018-11-20 10:31:52 +01:00
Michael Black W9MDB a95d1f1c87 Fix multi-mode-mapping 2018-10-25 08:37:59 -05:00
Michael Black W9MDB 3027ca5f9a Force back to split after set_vfo A if needed\nFixes split getting turned off 2018-07-17 08:47:18 -05:00
Michael Black W9MDB 6fbe4a5faa Changes to remove unnecessary VFO swaps 2018-06-22 12:05:06 -05:00
Michael Black W9MDB d1b545beac Fix netrigctl.c returning wrong value 2018-05-25 11:01:38 -05:00
Michael Black W9MDB d7a72dfcec flrig improvements to minimize relay chattering 2018-05-17 06:35:00 -05:00
Michael Black W9MDB 9a0ad97e83 Another fix for gettings modes correct 2018-05-10 16:52:47 -05:00
Michael Black W9MDB b8cd8c0a9a FLRig thread safety improved and now works WSJT-X split mode with multiple connections 2018-05-09 23:01:55 -05:00
Michael Black W9MDB 299bf17b22 Fix modes on trxmanager 2018-05-09 15:22:58 -05:00
Michael Black W9MDB ae30a9fb3a Fix read_string terminator length parameters 2018-05-09 08:14:04 -05:00
Michael Black W9MDB 8d53a025ed Update dummy.h for TRXManger 2018-05-08 06:49:27 -05:00
Michael Black W9MDB 776f9ea2f6 Added TRXManager backend 2018-05-08 06:42:40 -05:00
Michael Black W9MDB 446210914d Fix compile warnings for dummy 2018-04-22 18:38:16 -05: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
Michael Black W9MDB fd31b41d3b Fix FLRig segfault and strlen cast 2017-07-10 17:13:45 +01:00
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 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
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
Michael Tatarinov 533531c631 netrigctl.c: Fill mode_list from rx_range_list/tx_range_list.
The 'NET rigctl' doesn't contain correct rig_caps and mode_list is
empty.
2016-10-26 10:59:44 +04:00
Bill Somerville e44566e8a7 Release the serial port used for PTT when possible
When  using  separate  serial port  for  PTT  via  RTS  pr DTR  it  is
convienent to close  the port when the PTT line  is not asserted. This
allows other applications to share the PTT serial port.

This has been  achieved by ensuring that file descriptor  for the port
is set to -1 when the port  is closed, this then allows the invalid FD
to be used as a PTT surrogate for the rig_get_ptt API when the port is
only being used for PTT.
2016-08-31 22:34:09 +01:00
Bill Somerville 222ad74de7 Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument
This change  allows the set_mode  functions to leave the  rig passband
unchanged  if required.  For the  few rigs  that do  not have  explcit
passband width control either current state is read and rewritten or a
"normal" width  is chosen e.g. select  a normal width when  there is a
choice like CW and CW-NARROW.
2016-04-19 21:27:52 +01: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
Nate Bargmann 1bac099494 Remove remaining references to rpc
As rpc backends were removed some time ago, remove all remaining
documentation and other references to rpc.
2013-09-19 15:24:52 -05:00
Ladislav Vaiz f632695131 Android build updates for monolithic build
Android is now built as a static library.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-19 07:25:08 -05:00
Nate Bargmann 332a04b7cd Clean up backend Makefile.am files
Moved all backend *.h files into the SOURCES primary as Automake
documentation states all source file types should be listed.  This
causes Automake to include *.h files in rebuild rules for the targets.

Removed the '-DIN_HAMLIB' assignment from the CFLAGS primary in each
backend and assigned it to AM_CPPFLAGS in configure.ac.  The effect is
the same and it simplifies the backend Makefile.am files.

Removed all commented lines.
2013-09-16 21:51:39 -05:00
Remi Chateauneu 60019c9444 Monolitic libraries. 2013-09-08 14:56:28 +01:00
Ladislav Vaiz 6d4295af2c Add Android build support
Android makefile fragments are distributed as extra distribution files
by the GNU build system but are otherwise ignored.  The Android build
support is independent and does not rely on the GNU build system.

See android/README.android for more info.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-04-26 22:31:56 -05:00
Nate Bargmann 59160c5d03 dummy.c: Make all setting_t bitmasks unsigned long
To assure the correct types, the DUMMY_FUNC/LEVEL/PARM/VFO_OP/SCAN
bit mask macros are defined as unsigned long integers.
2013-01-31 18:03:50 -06:00
Nate Bargmann f82184cbf5 Add RIT and XIT as rig_set/get_func() members
In response to a long standing request from Tor, N4OGW, and others, RIT
and XIT are added as members for the rig_set/get_func() members.
"RIT"/"XIT" have been added as tokens.  The dummy rig backend and
testrig.c have been updated for these new functions.

Applications should test a backend with the rig_has_set/get_func() and
test for RIG_FUNC_RIT or RIG_FUNC_XIT.  A non-zero result indicates
these functions are implemented by a given rig backend.  It will take
some time for all backends to migrate to this new implementation.  Once
implemented, RIT or XIT should be set to '0' to 'clear' the value
without deactivating the rig's RIT/XIT function.  The dummy/dummy.c file
can be used as a simple guide for backend authors implementing this
behavior.
2013-01-15 12:47:47 -06:00
Nate Bargmann e942ab0a8e netrigctld.c: Add missing Set Split param--N2ADR
From the SourceForge tracker:

I am using version hamlib-1.2.15.2~rc3.  Start rigctl and specify rig 2
(rigctld). The command "s" (get_split_vfo) will return two parameters,
the spilt state (0 or 1) and the TX VFO name. The command "S"
(set_split_vfo) will send one parameter, the TX VFO name, but will not
send the split state (0 or 1).  This is incorrect. In the file
dummy/netrigctl.c change netrigctl_set_split_vfo() line 782:

len = sprintf(cmd, "S %s\n", rig_strvfo(tx_vfo));

to include the "split" paramater; perhaps:

len = sprintf(cmd, "S %d %s\n", split, rig_strvfo(tx_vfo));

Thanks to Jim, N2ADR for reporting this.
2012-10-27 08:56:15 -05:00
Nate Bargmann a01d5986cf Remove set but unused variable errors in dummy. 2011-08-25 11:21:05 -05:00
Nate Bargmann 088edb3735 Update LGPL header in Dummy source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:34 -05:00
Kamal Mostafa, KA6MAL 2567b93af7 Move backend libraries into /usr/lib/hamlib directory.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2988 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-26 02:23:50 +00:00
Stéphane Fillod, F8CFE 62e7f69db7 status/version update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2939 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-31 21:41:13 +00:00
Stéphane Fillod, F8CFE 20bfa6f080 ext_levels in get_channel(), and fix func list
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2934 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-31 08:42:01 +00:00
Stéphane Fillod, F8CFE d06972c53f Wrap sscanf in order to workaround some locales where the decimal
separator (float format, ...) is not a dot.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2913 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-11 21:30:39 +00:00