Wykres commitów

164 Commity (ddd5c43a71b0c7b5c43dd346def39791d49c5b3d)

Autor SHA1 Wiadomość Data
Michael Black eca1987360
Clean up cppcheck warnings in trxmanager.c 2019-12-06 16:34:18 -06:00
Michael Black fa42f54a4a
Clean up cppcheck warnings in netrigctl.c 2019-12-06 16:32:39 -06:00
Michael Black 9a4da880c5
Clean up cppcheck warnings in flrig.c 2019-12-06 16:31:54 -06:00
Michael Black 0e9ebbf31c
Clean up cppcheck warnings in flrig.c 2019-12-06 16:28:24 -06:00
Michael Black 5414d18a57
Clean up cppcheck warnings in dummy 2019-12-06 16:25:49 -06:00
Michael Black de01f4768a
change retry and timeout for netrigctl to allow binary cmds from w command to work 2019-12-06 07:57:44 -06:00
Michael Black 9d5bc2f385
Update flrig version 2019-12-03 09:29:04 -06:00
Michael Black 8ec67fb582
Add some more FLRig modes 2019-12-03 09:28:43 -06:00
Michael Black d944c2951a
Fix compile warning on strncat in flrig.c 2019-12-01 22:27:54 -06:00
Michael Black c9f72d5adf
Add some error checking to flrig.c 2019-12-01 11:09:30 -06:00
Michael Black 6bf3b00c4f
astyle all files 2019-11-30 10:19:08 -06:00
Michael Black 72087f1b10
Change all __FUNCTION__ to __func__ 2019-11-30 10:16:28 -06:00
Michael Black 2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Michael Black 686acaec09
Fix segfault in flrig.c due to 64-bit mode conversion - was causing segfault on 32-bit systems
Change return value to RIG_MODE_NONE in flrig.c to match the function type
2019-11-27 14:19:42 -06:00
Michael Black dadc5b04f9
astyle flrig.c 2019-11-27 11:59:14 -06:00
Michael Black 032adbd367
Change strtok in flrig to strtok_r 2019-11-27 11:58:58 -06:00
Michael Black 777eb94825
astyle dummy.c 2019-10-29 22:27:12 -05:00
Michael Black de418729cf
Typical sequence
RX/TX will show correct answers at startup based on rig current status
This sequence is for the dummy device

Rig command: F RX
Frequency: 14500000

Rig command: F TX
Frequency: 14500000

Rig command: V VFOB

Rig command: F 16000000

Rig command: V VFOA

Rig command: S 1 VFOB

Rig command: V TX

Rig command: f
Frequency: 16000000

Rig command: S 0 VFOA

Rig command: f
Frequency: 145000000

What should this behavior be?  Return VFOA or VFOB or error?
Rig command: S 0 VFOB

Rig command: f
Frequency: 16000000
2019-10-29 08:03:03 -05:00
Bill Somerville c0b375c20b
Fix misunderstanding of netrigctl_transaction() return value
netrigctl_transaction()  returns  either  an  error  code  (-ve  int),
RIG_OK, or the number of characters read from the protocol stream. +ve
return  values indicate  successful  parsing of  stream  data, not  an
error.
2019-08-31 00:38:25 +01:00
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