Wykres commitów

145 Commity (8028663ef930db63f29e4ac041ffd1edab69f61c)

Autor SHA1 Wiadomość Data
Bill Somerville d931bd4e18
Move unnecessary global and file static variables to the stack 2019-08-29 00:39:39 +01:00
Nate Bargmann 97abcdaa81
Merge branch 'C90-compliance' of git://git.code.sf.net/u/bsomervi/hamlib into g4wjs-C90-compliance 2019-08-28 07:07:12 -05:00
Bill Somerville 7b18196a1d
Make code C90 compliant again 2019-08-23 14:29:40 +01:00
Michael Black 73c1ecd165
Change freq & chan struct start/end to avoid colliding with LUA SWIG start/end 2019-08-17 23:20:48 -05:00
Michael Black 10f3a13238
Fix flrig.c for gcc v4.9.2 2019-08-17 11:02:05 -05:00
Michael Black a86551f64c
Change debug level in flrig.c modeMapGetHamlib 2019-07-31 23:15:27 -05:00
Michael Black 4ca11325b5
Fix flrig for 64-bit mode 2019-07-31 15:45:11 -05:00
Michael Black 622fede79f
Add flush to flrig.c 2019-07-20 11:43:40 -05:00
Michael Black 8bf07d2c63
Fix mode set in flrig.c 2019-07-19 16:44:52 -05:00
Michael Black 505273e123
Fix segfault in flrig.c 2019-07-16 11:05:13 -05:00
Michael Black cf2a551524
Fixup some amplifier code 2019-06-26 06:39:42 -05:00
Michael Black b23734fb5b
Fix rig.h for merge 2019-06-12 16:13:56 -05:00
Michael Black 7e9c566944
Add first cut at amplifier control 2019-06-12 15:52:35 -05:00
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